Soviet Algorithms and Theory
Abstract
Soviet computer scientists had slower and fewer machines than their American colleagues, and a strong mathematical school. Several results that every computer science student now learns came from it: Karatsuba’s fast multiplication (1960), the AVL tree (1962), Levenshtein distance (1965), Dinitz’s maximum-flow algorithm (1969), Matiyasevich’s solution of Hilbert’s tenth problem (1970), Levin’s independent discovery of NP-completeness (published 1973), and Khachiyan’s polynomial-time algorithm for linear programming (1979). Many reached the West late, in four-page papers in Doklady that few Western readers could decipher, and some became known under garbled names or the names of those who explained them.
“We Used Better Algorithms”
Yefim Dinitz begins his history of his own algorithm with an anecdote from after the fall of the Iron Curtain. An American and a Russian who had both worked on nuclear weapons met, and the American asked how the Soviet side had managed such enormous computations with its weak computers. The Russian answered that they had used better algorithms. Dinitz explains it with the Soviet method for hard problems, pressure from the authorities combined with people’s enthusiasm: for the bomb project, mathematicians such as Israel Gelfand and Alexander Kronrod set aside pure mathematics for computing and built teams that kept growing after the project ended.
The Soviet school had a theory of its own as well. A. A. Markov Jr. defined normal algorithms, ordered lists of string substitutions applied until a final rule fires, in a paper of 1951; they are equivalent to Turing machines, and Valentin Turchin’s language Refal is built on the same idea (see Valentin Turchin and Refal). Soviet researchers called exhaustive search perebor, and the question of whether it could be avoided occupied them from the 1950s; Boris Trakhtenbrot surveyed that work for Western readers in the Annals of the History of Computing in 1984.
Karatsuba and Kolmogorov
In 1960 Andrei Kolmogorov ran a seminar on mathematical problems of cybernetics at Moscow University and stated his conjecture that multiplying two n-digit numbers needs on the order of n² operations, as in the school method. Within a week Anatoly Karatsuba, a 23-year-old student, found a method that needs about n^1.58, by splitting each number in halves and replacing four multiplications of the halves with three. Kolmogorov presented the result at the next meeting and then ended the seminar. He wrote it up himself, together with a separate result by Yuri Ofman, as “Multiplication of many-digital numbers by automatic computers” in Doklady in 1962, under the names Karatsuba and Ofman; Karatsuba learned of the paper only when the reprints arrived. It was the first multiplication algorithm asymptotically faster than the school method; Karatsuba told the story in 1995.
Trees, Distances, and Flows
Georgy Adelson-Velsky and Evgenii Landis published the AVL tree, the first balanced binary search tree, in a paper of a few pages in 1962 (see Data Structures). In the Soviet Union, Dinitz writes, its approach of maintaining a data structure under updates became standard, while in the West there was no reaction until a longer paper by another author explained it some years later.
Vladimir Levenshtein defined the distance that bears his name in 1965, in “Binary codes capable of correcting deletions, insertions, and reversals” in Doklady: the number of single-character edits needed to turn one string into another. His paper was about error-correcting codes. The dynamic-programming method used to compute the distance today is usually credited to Robert Wagner and Michael Fischer in 1974.
Yefim Dinitz was a student of Adelson-Velsky, whose group in 1968 also included Alexander Karzanov and Mikhail Kronrod, later one of the “Four Russians” of another well-known algorithm. Adelson-Velsky taught them, Dinitz writes, to combine deep study of a problem with clever data-structure maintenance and amortised analysis of running time, seventeen years before amortised analysis was published in the West. In January 1969 Dinitz improved the Ford–Fulkerson method for maximum flow in a network by keeping a layered network and analysing its cost carefully; Karzanov published a second new flow algorithm in 1974. In Haifa, Shimon Even and his student Alon Itai spent three days deciphering the two papers, each compressed into four pages for Doklady, filled the gaps with their own ideas, and Even lectured on “Dinic’s algorithm” at universities across the West. The algorithm became famous in Even’s version, with the name misspelt; the Moscow school’s book on network flows appeared in the West only more than fifteen years later.
Decidability and Complexity
Hilbert’s tenth problem of 1900 asked for a method to decide whether any polynomial equation with integer coefficients has integer solutions. Martin Davis, Hilary Putnam, and Julia Robinson had reduced it by 1961 to a single hypothesis that Robinson had stated about 1950. In 1970 Yuri Matiyasevich, a young mathematician born in 1947, at the Leningrad branch of the Steklov Institute, proved it, using Nikolai Vorobyov’s work on Fibonacci numbers, and so showed that no such general method can exist. The result is now known as the Davis–Putnam–Robinson–Matiyasevich theorem.
Kolmogorov published “Three approaches to the quantitative definition of information” in 1965, defining the complexity of an object as the length of the shortest program that produces it; Ray Solomonoff had found the central theorem in 1960 and Gregory Chaitin independently soon after, and Kolmogorov acknowledged Solomonoff’s priority. His student Leonid Levin found the second foundation of modern complexity theory. He lectured for some years on what he called universal search problems, problems to which every search problem of a broad class can be reduced, and published “Universal search problems” in Problemy Peredachi Informatsii in 1973, with six such problems. Stephen Cook had presented the same idea, NP-completeness, at an ACM symposium in 1971, and the theorem is now named after both (see Cook and Levin). Levin worked at institutes in Moscow until 1977, emigrated to the United States in 1978, took a PhD at MIT in 1979, and received the Knuth Prize in 2012.
Khachiyan’s Ellipsoids
In February 1979 Leonid Khachiyan, a 26-year-old researcher at the Computing Centre of the Academy of Sciences in Moscow, published a four-page paper without proofs showing that an ellipsoid method, building on work by Naum Shor, Arkadi Nemirovski, and David Yudin, solves linear programming problems in polynomial time. The simplex method used in practice has exponential worst cases, so the question had been open. Peter Gács and László Lovász brought the paper to the International Symposium on Mathematical Programming in Montreal in August 1979, Gina Kolata reported it in Science in November, and major newspapers followed. The method proved too slow for practical use, and Narendra Karmarkar’s interior-point method was faster in practice and in the worst case, but it settled the theoretical question. Khachiyan emigrated to the United States in 1989 and taught at Rutgers until his death in 2005.
Dead End: Doklady Without Readers
Soviet theory travelled badly. Doklady limited papers to four pages, so proofs were compressed or left out; translations appeared a year or more later; Soviet researchers could seldom travel or correspond, and their institutes were often closed. The results reached the West through intermediaries: Kolmogorov’s lectures abroad for Karatsuba, Even’s lectures for Dinitz, Gács and Lovász for Khachiyan, and Trakhtenbrot’s survey for the perebor work. Some names stuck to the intermediaries’ versions, and some results, Levin’s among them, were for years credited mainly to the American who published first. Several of the authors, Levin in 1978, Khachiyan in 1989, and Adelson-Velsky in 1992, later left for the United States or Israel.
📚 Sources
- Dinitz, Yefim: “Dinitz’ Algorithm: The Original Version and Even’s Version”, in Theoretical Computer Science: Essays in Memory of Shimon Even, LNCS 3895, Springer (2006), 218–240 (author’s PDF) (the “better algorithms” anecdote, Gelfand and Kronrod, Adelson-Velsky’s group in 1968, Karzanov and M. Kronrod, the AVL-tree reception, amortised analysis, January 1969, layered networks, Even and Itai’s three days, four-page Doklady papers, the misspelt name, the network-flow book)
- Trakhtenbrot, Boris A.: “A Survey of Russian Approaches to Perebor (Brute-Force Searches) Algorithms”, IEEE Annals of the History of Computing 6(4), 384–400 (1984) (perebor; includes a translation of Levin’s 1973 paper)
- Cook, Stephen A.: “The complexity of theorem-proving procedures”, Proceedings of the Third Annual ACM Symposium on Theory of Computing (1971), 151–158
- Wagner, Robert A., and Michael J. Fischer: “The String-to-String Correction Problem”, Journal of the ACM 21(1), 168–173 (1974)
- Davis, Martin, Hilary Putnam, and Julia Robinson: “The Decision Problem for Exponential Diophantine Equations”, Annals of Mathematics 74(3), 425–436 (1961)
- Khachiyan, L. G.: “Polynomial algorithms in linear programming”, USSR Computational Mathematics and Mathematical Physics 20(1), 53–72 (1980) (the proofs of the 1979 announcement)
- Karatsuba algorithm, Wikipedia (finding aid: Kolmogorov’s 1960 seminar and conjecture, the week, the 23-year-old student, the end of the seminar, the 1962 Doklady paper written by Kolmogorov, the reprints, Karatsuba’s 1995 account in Proceedings of the Steklov Institute 211)
- Levenshtein distance, Wikipedia, Markov algorithm, Wikipedia, and Kolmogorov complexity, Wikipedia (finding aids: Levenshtein’s 1965 paper, Markov’s 1951 paper and Refal, Kolmogorov 1965, Solomonoff 1960, Chaitin, Kolmogorov’s acknowledgement)
- Hilbert’s tenth problem, Wikipedia and Yuri Matiyasevich, Wikipedia (finding aids: Robinson’s hypothesis around 1950, Matiyasevich’s 1970 proof via Vorobyov, birth on 2 March 1947, LOMI)
- Cook–Levin theorem, Wikipedia and Leonid Levin, Wikipedia (finding aids: 1973 paper with six problems, earlier lectures, institutes 1972–1977, emigration 1978, MIT PhD 1979, Knuth Prize 2012)
- Leonid Khachiyan, Wikipedia and Ellipsoid method, Wikipedia (finding aids: birth 1952, the February 1979 paper without proofs, Gács and Lovász at Montreal in August 1979, Kolata in Science on 2 November 1979, Shor, Nemirovski and Yudin, emigration 1989, Rutgers, death 2005)
- Georgy Adelson-Velsky, Wikipedia (finding aid: AVL tree 1962, move to Israel in 1992)