Greatest Benefit
Al Roth, Economics Professor at Harvard (right), with Colm Harmon, Head of School, Economics, University of Sydney (left), at the Sydney Ideas lecture, 10 July 2012.
Economics 2012

A Letter About Roommates, Answered by Afternoon

A roommate puzzle Lloyd Shapley solved in an afternoon, his work on trading houses, and the algorithm Roth and Peranson developed to match new residents.

Lloyd S. Shapley and Alvin E. RothHonoured “for the theory of stable allocations and the practice of market design”

Told in 3 voices, 2012The laureates’ own wordsThe prize-awarding body

2012

One day, a letter arrived for Lloyd Shapley from his Princeton classmate David Gale, framing a problem of choosing roommates.1 Gale suspected there wasn’t a way to make a stable solution, but couldn’t prove it.2 As Lloyd Shapley describes it, he received the letter around noon, spent some time thinking, wrote up the solution, and mailed it back to Gale later that afternoon.3 The reply said that there was a stable solution, and showed how to come up with it.3

Sources 1–3
  1. 1One day, a letter arrived from Gale framing a problem of choosing roommates.Lloyd S. Shapley, Autobiography 2012
  2. 2Gale suspected there wasn’t a way to make a stable solution, but couldn’t prove it.Lloyd S. Shapley, Autobiography 2012
  3. 3he received the letter around noon, spent some time thinking, wrote up the solution (There was a stable solution, and this is how you come up with it), and mailed it back to Gale later that afternoon.Lloyd S. Shapley, Autobiography 2012

Stability and who proposes

In the example in the lecture Shapley gave as a Nobel laureate, “we look at a set of boys and girls arranging their dates.”5 The match in the lecture’s example is stable, since no boy could improve his matching by switching to a partner he ranked higher than the one he ended up with.7 Which side proposes matters: if the boys do the proposing, the resulting pairings would be better for the boys, while if the girls do, it ends up better overall for the girls.8

Sources 5–8
  1. 5In this example, we look at a set of boys and girls arranging their dates.Lloyd S. Shapley, Nobel lecture 2012
  2. 7this match is stable, since no boy could improve his matching by switching to a partner he ranked higher than the one he ended up with.Lloyd S. Shapley, Nobel lecture 2012
  3. 8if the boys do the proposing, the resulting pairings would be better for the boys; while if the girls do the proposing, it ends up better overall for the girls.Lloyd S. Shapley, Nobel lecture 2012

Shapley said of the algorithm he created that it, and extensions of it, “have turned out to be useful in a number of real world problems.”9 Shapley said that the mathematics, besides devising the algorithm itself, was the proof that the algorithm works: “Applying this to real world situations has been the work of economists.”10

Sources 9–10
  1. 9the algorithm I created, and extensions of it, have turned out to be useful in a number of real world problems.Lloyd S. Shapley, Nobel lecture 2012
  2. 10Applying this to real world situations has been the work of economists.Lloyd S. Shapley, Nobel lecture 2012
Al Roth, Economics Professor at Harvard University, at the Sydney Ideas lecture, 10 July 2012.
Al Roth, Economics Professor at Harvard University, at the Sydney Ideas lecture, 10 July 2012.Newtown grafitti · CC BY 2.0

Houses to trade

In the 1970s, Shapley solved another abstract problem, that of one-sided matching.12 The question was whether individuals who each own a house can follow a procedure to exchange houses “up to a point where no further improvement is possible, given their housing preferences.”13 Roth’s lecture says that Shapley and Scarf in 1974, for a 1-sided market, showed that the top trading cycles algorithm, which Roth credits to David Gale, could use the preferences of the participants as input to reach a core allocation.14

Sources 12–14
  1. 12In the 1970s, Shapley solved another abstract problem, that of one-sided matching.Award ceremony speech, Economic Sciences 2012
  2. 13If a number of individuals each own a house, is there any specific procedure which permits them to exchange houses up to a point where no further improvement is possible, given their housing preferences?Award ceremony speech, Economic Sciences 2012
  3. 14Shapley and Scarf ’74, for a 1-sided market, showed that the top trading cycles algorithm (of David Gale) could use the preferences of the participants as input to reach a core allocationAlvin E. Roth, Nobel lecture 2012

A clearinghouse is not a market

Some measure of how much economics has changed in the last decades, Roth wrote, can be glimpsed in the reaction a paper of his received when he submitted it to the Journal of Political Economy.16 Roth submitted the paper “sometime around 1980.”16 The editor, George Stigler, wrote a polite letter.17 The paper, the letter said, was interesting and important but, “except for the title, it wasn’t about economics at all.”17 Stigler did not think that a clearinghouse was a marketplace “if it didn’t use adjustments in prices/wages to clear the market.”18

Sources 16–18
  1. 16Some measure of how much economics has changed in the last decades can be glimpsed from the reaction my paper received when I submitted it to the Journal of Political Economy sometime around 1980.Alvin E. Roth, Autobiography 2012
  2. 17The editor, George Stigler, wrote me a polite letter in which he said that he could see that the paper was interesting and important, but that, except for the title, it wasn’t about economics at all.Alvin E. Roth, Autobiography 2012
  3. 18He didn’t think that a clearinghouse was a marketplace if it didn’t use adjustments in prices/wages to clear the market.Alvin E. Roth, Autobiography 2012

Roth described matching markets, loosely speaking, as markets that have application procedures, or selection criteria or other institutions.19 In them, a person cannot simply choose what is wanted, even if affordable, but also has to be chosen.19

Source 19
  1. 19Alvin E. Roth, Autobiography 2012

Redesigning the match for new residents

When Roth took a first call asking him to undertake a task, his gut reaction was “why me?”20 Roth knew why he was a natural choice for the call: he had written papers on the medical labor market and the history of the match, and a book on matching.20 The only things in Roth’s book that applied directly to the task, Roth wrote, “were the counterexamples.”21 Complications in that book were handled by counterexamples, such as showing that with two-career households in the market the set of stable matchings could be empty.22

Sources 20–22
  1. 20Alvin E. Roth, Autobiography 2012
  2. 21Alvin E. Roth, Autobiography 2012
  3. 22Alvin E. Roth, Autobiography 2012

As a theorist, it had been enough to note that couples therefore presented a hard problem; as a market designer, they would become Roth’s problem.23 Roth and Peranson, an entrepreneurial matchmaker, together developed the algorithm that continues today to run the “main match” for new residents.24

Sources 23–24
  1. 23In my role as a theorist, it had been enough to note that couples therefore presented a hard problem. In my new role as a market designer, they would become my problem.Alvin E. Roth, Autobiography 2012
  2. 24Alvin E. Roth, Autobiography 2012

A niece, a stranger, a chain

The committee noted that thirty kidneys can be allocated among thirty patients in an almost infinite number of ways, and only a few of those matches are truly great, because the human body is so prone to reject foreign organs.28 In the committee’s account of one chain, a niece was asked to donate a kidney to an unknown woman in Wisconsin, whose ex-boyfriend in turn donated a kidney to another anonymous patient in Pittsburgh.26 The chain did not end until 60 coordinated transplants had taken place across the entire United States.27

Sources 28–27
  1. 28Thirty kidneys can be allocated among thirty patients in an almost infinite number of ways. But only a few of these potential matches are truly great, because the human body is so prone to reject foreign organs.Award ceremony speech, Economic Sciences 2012
  2. 26Instead, the niece is asked to donate her kidney to an unknown woman in Wisconsin, whose ex-boyfriend in turn donates one of his kidneys to another anonymous patient in Pittsburgh.Award ceremony speech, Economic Sciences 2012
  3. 27Award ceremony speech, Economic Sciences 2012

“In my role as a theorist, it had been enough to note that couples therefore presented a hard problem. In my new role as a market designer, they would become my problem.”

Alvin E. Roth, Autobiography 2012

The committee said that the laureates’ contributions together constitute “one of those unexpected journeys, from basic research motivated by sheer curiosity, to practical use for the benefit of mankind.”29 Roth wrote that decentralized marketplaces “face design issues just as much as centralized ones do,” and anticipated that this would be “a next frontier in market design.”30

Sources 29–30
  1. 29But together your contributions constitute one of those unexpected journeys, from basic research motivated by sheer curiosity, to practical use for the benefit of mankind.Award ceremony speech, Economic Sciences 2012
  2. 30Decentralized marketplaces face design issues just as much as centralized ones do, and I anticipate that this will be a next frontier in market design.Alvin E. Roth, Autobiography 2012

What the work rested on and led to

Rested on
top trading cycles algorithm 1974
Worked with
Peranson 1999
Led to
school choice in New Yorkkidney exchange

Teachers and students among the laureates

Alvin E. Roth was taught by
Robert B. Wilson Economics 2020

Written from