Professional Documents
Culture Documents
io/2016/05/11/optimizing-things-in-the-ussr/
As a data scientist, a big part of my job involves picking metrics to optimize and
Home
thinking about how to do things as efficiently as possible. With these types of
Archive
questions on my mind, I recently discovered a totally fascinating book about
Feed
about economic problems in the USSR and the team of data-driven economists
and computer scientists who wanted to solve them. The book is called Red
Plenty. It’s actually written as a novel, weirdly, but it nevertheless presents an
accurate economic history of the USSR. It draws heavily on an earlier book from
1973 called Planning Problems in the USSR, which I also picked up. As I read
these books, I couldn’t help but notice some parallels with planning in any
modern organization. In what will be familiar to any data scientist today, the
second book even includes a quote from a researcher who complained that 90%
of his time was spent cleaning the data, and only 10% of his time was spent
doing actual modeling!
Beyond all the interesting parallels to modern data science and operations
research, these books helped me understand a lot of interesting things I
previously knew very little about, such as linear programming, price equilibria,
and Soviet history. This blog post is about I learned, and ends with some
surprising-to-me speculation about whether the technical challenges that the
brought down the Soviet Union would be as much of a problem in the future.
Outputs
Inputs
Figure 1. Some example inputs and outputs in the Soviet economy in 1951, described in units of weight.
This summary shows an extreme dimensionality reduction, more extreme than was ever used in planning. In
this diagram, most commodities are excluded and each displayed commodity collapses across multiple
different product types. Multiple steps in the supply chain are collapsed into a single step. (Source: CIA)
Even if the administrators could get the accounting correct, which they couldn’t,
their attempts to allocate resources would still be far from optimal. In the steel
industry, for example, some factories were better at producing some types of
tubes whereas others were better at producing other types of tubes. Since there
were thousands of different factories and tube types, it was non-trivial to decide
how to best distribute resources and output requirements, and it was not
immediately obvious which factories should be expanded and which should be
closed down.
Home
Archive
Feed
Figure 2. Leonid Kantorovich, inventor of linear programming and winner of the 1975 Nobel Prize in
Economics.
The optimal planners had some success here. For example, in the steel industry,
about 60,000 consumers requested 10,000 different types of products from 500
producers. The producers were not equally efficient in their production. Some
producers were efficient for some types of steel products, but less efficient for
other types of steel products. Given the total amount of each product requested,
and given the constraints of how much each factory can produce, the goal was
decide how much each factory should produce of each type of product. If we
simplify the problem by just asking how much each factory should produce
without considering how the products will be distributed to the consuming
factories, this becomes a straightforward application of the Optimal Assignment
Problem, a well-studied example in linear programming. If we additionally want to
optimize distribution, taking into account the distance-dependent costs of
shipments from one factory to another, the problem becomes more complicated
but is still doable. The problem becomes similar to the Transportation Problem,
another well-studied example in linear programming, but in this case generalized
to multiple commodities instead of just one.
adopted by certain industries. It involved shadow prices and interest rates, and a
few other things I’ll admit I don’t totally understand. But while I don’t really
The File Drawer understand the implementation, I feel like the broader goal of the planners is
easier to understand and explain:
The optimal planners thought that they could do better. In particular, they pointed
to two problems with capitalism: First, prices in a capitalist society were
determined by individual agents using trial and error to guess the best price.
Surely these agents, who had imperfect information, were not picking the exactly
optimal prices. In contrast, a central planner using optimal computerized methods
could pick prices that hit the equilibrium more exactly. Second, and more
importantly, capitalism targeted an objective function that — while Pareto efficient
— was not socially optimal. Because of huge differences in wealth, some people
were able to obtain far more goods and services than other people. The optimal
planners proposed using linear programming to optimize an objective function
that would be more socially optimal. For example, it could aim to distribute goods
more equitably. It could prioritize certain socially valuable goods (e.g. books) over
socially destructive goods (e.g. alcohol). It could prioritize sectors that provide
benefits over longer time horizons (e.g. heavy industry). And it could include
constraints to ensure full employment.
What happened
None of this ever really happened. The ambitious ideas of the optimal planners
were never adopted, and by the 1970s it was clear that living standards in the
USSR were falling further behind those of the West. Perhaps things would have
been better if the optimal planners got their way, but it seems like the consensus
is that their plans would have failed even if they were implemented. Below are
some of the main problems that would have been encountered.
for a factory producing its 1000th widget was assumed to be the same as
the cost for producing its first widget. In the real world, this is obviously
The File Drawer false, as there are increasing returns to scale. It’s possible to model
increasing returns to scale, but it becomes harder to solve computationally.
Choosing an objective function. Choosing what the society should value
is really a political problem, and Cosma Shalizi does a very nice job
describing why it would be so hard to come to agreement.
Home
Incentives for innovation. The central planners couldn’t determine
Archive
resource allocation for products that didn’t exist yet, and more importantly
Feed
neither they nor the factories had much incentive to invent new products.
That’s why the Soviet Union remained so focused on the steel/coal/cement
economy while Western nations shifted their focus to plastics and
microelectronics.
Political resistance. As described in a previous example, the model-
based recommendations to shut down certain factories were ignored for
political reasons. It is likely that many recommendations for the broader
economy would have been ignored as well. For example, if a computer
recommended that the price of heating oil should be doubled in the winter,
how many politicians would let that happen?
As described earlier, the second serious issue with a centrally planned economy
was data quality: Central planners’ knowledge about the input requirements and
output capabilities of individual factories was simply not as good as the people
actually working in the factory. While this was certainly the case in the Soviet
Union, one can’t help but wonder about technological improvements in supply
chain management. Imagine if every product had a GPS device to track its
location, with other sensors and cameras to determine product quality. Already
Amazon is moving in that direction for pretty much all consumer goods, and one
could imagine a world where demand could be measured with the Internet of
Things. Whether a government would be able to harness this data as
competently as Amazon is doubtful, and it’s obviously worth asking whether we
would ever want a government to be using that type of data. But from a technical
point of view it’s interesting to think about how the data quality issues that
destroyed the USSR could be much less serious in the future.
All that being said, it’s still unclear to me how an objective function could be
chosen in way that would democratically satisfy people, how innovation could be
incentivized, or how political freedoms could be preserved. In terms of freedom,
things were obviously not-so-hot in the Soviet Union. If you’d like to read more
about this, you should definitely check out Red Plenty. It was one of the weirdest
The File Drawer and most interesting books I have read.
Home
Archive
Feed
Tweet
csaid81 requires you to verify your email address before posting. Send
verification email to graf.wasili@mailbox.tu-berlin.de
Home
Archive
Feed
Join the discussion…