SlideShare a Scribd company logo
NETWORKS, CROWDS
AND MARKETS

CHAPTER 10: MATCHING MARKETS
             Chapter 10. Matching markets.   1
Abstract
• Many practical problems can be seen under
  network-structured view.
  • For instance. Issue of traffic, etc.
• Market is a prime example of network-
  structured interaction between many
  agents.
  • Matching markets.



                    Chapter 10. Matching markets.   2
Matching markets
- Basic principles.
  1. People may have different preferences for
     different kinds of goods.
  2. Prices can decentralize the allocation of goods
     to people.
  3. Prices can lead to allocations that are socially
     optimal.



                   Chapter 10. Matching markets.        3
The 1st scenario. Room Assigning
- Assigning rooms to student.
  - Room is designed for a single student.
  - Students may have different preferences over
    rooms.




                  Chapter 10. Matching markets.    4
The 1st scenario. Room Assigning




              Chapter 10. Matching markets.   5
Definitions
-   Bipartite graph.
-   Perfect matchings.
-   Constricted sets.
-   The Matching theorem.




                 Chapter 10. Matching markets.   6
Bipartite graph
- Nodes are divided into
  two categories.

- Edges connect a node in
  one category to a node
  in the other category.



                 Chapter 10. Matching markets.   7
Perfect matchings
• A choice of edges in the
  bipartite graph so that
  each node is the endpoint
  of exactly one of the
  chosen edges.




                Chapter 10. Matching markets.   8
Constricted sets
• A set of nodes that their
  edges to the other side of
  the bipartite graph
  “constrict” the formation
  of a perfect matching.




                 Chapter 10. Matching markets.   9
The Matching theorem

  Matching theorem. If a bipartite graph
  (with equal numbers of nodes on the left
  and right) has no perfect matching, then it
  must contain a constricted set.




                                                 Proof here

                 Chapter 10. Matching markets.                10
The 1bis scenario. Valuations and Optimal Assignment

 More than binary choice “accept-or-not”.




                    Chapter 10. Matching markets.      11
Definitions
- Valuations.
- Optimal assignments.




                Chapter 10. Matching markets.   12
Valuations
• A collection of individuals evaluating a
  collection of objects.

Quality of an                                      Sum of each
assignment of
objects to individuals
                               =                   individual’s
                                                   valuations.



                   Chapter 10. Matching markets.                  13
Optimal assignment
• An assignment that maximizes the total
  happiness of everyone for what they get.




                 Chapter 10. Matching markets.   14
The 2nd scenario. Market-clearing prices

• More standard picture of a market.
   • Decisions based on prices and own valuations.
   • Buyers and sellers.




                   Chapter 10. Matching markets.     15
Definitions
-   Prices and payoffs.
-   Preferred sellers.
-   Preferred-seller graph.
-   Market-clearing prices.




                   Chapter 10. Matching markets.   16
Prices and payoffs
• Suppose that each seller i put his house up
  for a price pi >= 0.
• The buyer’s payoff is her valuation for this
  house minus the amount of money she had
  to pay: vij – pi.




                 Chapter 10. Matching markets.   17
Prices and payoffs

                          Payoffs of each buyer on each house:

                                              a    b         c
                                X             7    2         2
                                Y             3    5         6
                                Z             2    3         2




              Chapter 10. Matching markets.                      18
Preferred sellers
• Seller or sellers that maximize the payoff for
  buyer j the preferred sellers.


                                                  a   b   c
                                    X             7   2   2
                                    Y             3   5   6
                                    Z             2   3   2




                  Chapter 10. Matching markets.               19
Preferred-seller graph
• A graph containing edges between buyers
  and their preferred sellers.




                Chapter 10. Matching markets.   20
Market-clearing prices
• A set of prices is call market-clearing if they
  cause each house to get bought by a
  different buyer.
Or
• A set of prices is market-clearing if the
  resulting preferred-seller graph has a perfect
  matching.


                  Chapter 10. Matching markets.     21
Market-clearing prices

• Existence of market-clearing prices. For
  any set of buyer valuations, there exists a
  set of market-clearing prices.




                  Chapter 10. Matching markets.   22
Market-clearing prices

• Optimality of market-clearing prices. For
  any set of market-clearing prices, a perfect
  matching in the resulting preferred-seller
  graph has the maximum total valuation of
  any assignment of sellers to buyers.
      Total Payoff of M = Total Valuation of M − Sum of all prices.




                          Chapter 10. Matching markets.               23
Constructing a set of market-clearing prices

• A general round of the auction looks like
  what we’ve just described.
1. At the start of each round, there is a
   current set of prices, with the smallest one
   equal to 0.
2. We construct the preferred-seller graph
   and check whether there is a perfect
   matching.

                  Chapter 10. Matching markets.   24
Constructing a set of market-clearing prices

3. If there is, we’re done: the current prices
   are market-clearing.
4. If not, we find a constricted set of buyers S
   and their neighbours N(S).
5. Each seller in N(S) (simultaneously) raises
   his price by one unit.



                  Chapter 10. Matching markets.    25
Constructing a set of market-clearing prices

6. If necessary, we reduce the prices — the
   same amount is subtracted from each price
   so that the smallest price becomes zero.
7. We now begin the next round of the
   auction, using these new prices.




                Chapter 10. Matching markets.   26
Constructing a set of market-clearing prices




                Chapter 10. Matching markets.   27
Constructing a set of market-clearing prices
1.   At the start of each round, there is a current set of prices, with the
     smallest one equal to 0.
2.   We construct the preferred-seller graph and check whether there
     is a perfect matching.
3.   If there is, we’re done: the current prices are market-clearing.
4.   If not, we find a constricted set of buyers S and their neighbours
     N(S).
5.   Each seller in N(S) (simultaneously) raises his price by one unit.
6.   If necessary, we reduce the prices — the same amount is
     subtracted from each price so that the smallest price becomes
     zero.
7.   We now begin the next round of the auction, using these new
     prices.

                                                            LOOP FOREVER ?
                            Chapter 10. Matching markets.                     28
A proof of the Matching Theorem
The Matching Theorem.

The problem.
• How can we identify a constricted set in a
  bipartite graph, knowing only that it contains
  no perfect matching.



                 Chapter 10. Matching markets.   29
A proof of the Matching Theorem
The idea.
1. Give a bipartite graph.
2. Consider a maximum matching.
3. Try to enlarge -> FAIL.
4. Identify the constricted set.




                Chapter 10. Matching markets.   30
Definitions
1. Matching edges. Edges are used in given
   matching.
2. Non-matching edges. The other edges.
3. Alternating path. A simple path that
   alternates between non-matching and
   matching.



                 Chapter 10. Matching markets.   31
Definitions
4. Augmenting path. An alternating path
   whose endpoints are unmatched nodes,
   then the matching can be enlarged.




               Chapter 10. Matching markets.   32
Searching for an augmenting path
• Alternating BFS.
  • Start any unmatched node on the right.
  • Explore the rest of the graph layer by layer, add
    new nodes to the next layer if have connections.
     • Use non-matching edges to discover new nodes.
  • If contains an unmatched node from the left-
    hand size of the graph -> an augmenting path ->
    enlargeable.


                    Chapter 10. Matching markets.       33
Searching for an augmenting path



             Alternating BFS




              Chapter 10. Matching markets.   34
Augmenting paths and constricted sets




              Chapter 10. Matching markets.   35
Augmenting paths and constricted sets
• Claim. Consider any bipartite graph with a
  matching, and let W be any un-matched
  node on the right-hand size. Then either
  there is an augmenting path beginning at W,
  or there is a constricted set containing W.




                 Chapter 10. Matching markets.   36
Computing a perfect matching
1. Start with an empty matching.
2. Look for an unmatched node W.
3. Use alternating BFS to search for an
   augmenting path beginning at W.
4. If found, use this path to enlarge the
   matching. Else, indicate the constricted set.



                  Chapter 10. Matching markets.    37
Computing a maximum matching
• Looking for a maximum matching can matter
  where we start our search for an
  augmenting path.
• If there is no augmenting path beginning at
  any node on the right-hand size, then in fact
  the current matching has maximum size.
• Revise the alternating BFS by putting all
  unmatched nodes on the right to layer 0.

                 Chapter 10. Matching markets.    38
Computing a maximum matching



- If starting from W, we may fail to
find augmenting path.
- If starting from Y, we can produce
the path Y – B – Z – D.




                         Chapter 10. Matching markets.   39
Q&A




      Chapter 10. Matching markets.   40

More Related Content

What's hot

Parallel/Distributed Deep Learning and CDSW
Parallel/Distributed Deep Learning and CDSWParallel/Distributed Deep Learning and CDSW
Parallel/Distributed Deep Learning and CDSW
DataWorks Summit
 
Image restoration
Image restorationImage restoration
Image restoration
Upendra Pratap Singh
 
Image segmentation
Image segmentation Image segmentation
Transfer Learning -- The Next Frontier for Machine Learning
Transfer Learning -- The Next Frontier for Machine LearningTransfer Learning -- The Next Frontier for Machine Learning
Transfer Learning -- The Next Frontier for Machine Learning
Sebastian Ruder
 
Regularization in deep learning
Regularization in deep learningRegularization in deep learning
Regularization in deep learning
VARUN KUMAR
 
Convolutional neural network from VGG to DenseNet
Convolutional neural network from VGG to DenseNetConvolutional neural network from VGG to DenseNet
Convolutional neural network from VGG to DenseNet
SungminYou
 
Assignment 1 ns
Assignment 1 nsAssignment 1 ns
Vanishing & Exploding Gradients
Vanishing & Exploding GradientsVanishing & Exploding Gradients
Vanishing & Exploding Gradients
Siddharth Vij
 
ImageProcessing10-Segmentation(Thresholding) (1).ppt
ImageProcessing10-Segmentation(Thresholding) (1).pptImageProcessing10-Segmentation(Thresholding) (1).ppt
ImageProcessing10-Segmentation(Thresholding) (1).ppt
VikramBarapatre2
 
Support vector machine
Support vector machineSupport vector machine
Support vector machine
zekeLabs Technologies
 
Latent diffusions vs DALL-E v2
Latent diffusions vs DALL-E v2Latent diffusions vs DALL-E v2
Latent diffusions vs DALL-E v2
Vitaly Bondar
 
Line drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesLine drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniques
Ankit Garg
 
Seminar Report on image compression
Seminar Report on image compressionSeminar Report on image compression
Seminar Report on image compression
Pradip Kumar
 
CS 354 Texture Mapping
CS 354 Texture MappingCS 354 Texture Mapping
CS 354 Texture Mapping
Mark Kilgard
 
3.5 model based clustering
3.5 model based clustering3.5 model based clustering
3.5 model based clustering
Krish_ver2
 
“An Introduction to Data Augmentation Techniques in ML Frameworks,” a Present...
“An Introduction to Data Augmentation Techniques in ML Frameworks,” a Present...“An Introduction to Data Augmentation Techniques in ML Frameworks,” a Present...
“An Introduction to Data Augmentation Techniques in ML Frameworks,” a Present...
Edge AI and Vision Alliance
 
Machine Learning lecture4(logistic regression)
Machine Learning lecture4(logistic regression)Machine Learning lecture4(logistic regression)
Machine Learning lecture4(logistic regression)
cairo university
 
Ensemble modeling and Machine Learning
Ensemble modeling and Machine LearningEnsemble modeling and Machine Learning
Ensemble modeling and Machine Learning
StepUp Analytics
 
Presentation on unsupervised learning
Presentation on unsupervised learning Presentation on unsupervised learning
Presentation on unsupervised learning
ANKUSH PAL
 
Flower Classification Using Neural Network Based Image Processing
Flower Classification Using Neural Network Based Image ProcessingFlower Classification Using Neural Network Based Image Processing
Flower Classification Using Neural Network Based Image Processing
IOSR Journals
 

What's hot (20)

Parallel/Distributed Deep Learning and CDSW
Parallel/Distributed Deep Learning and CDSWParallel/Distributed Deep Learning and CDSW
Parallel/Distributed Deep Learning and CDSW
 
Image restoration
Image restorationImage restoration
Image restoration
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Transfer Learning -- The Next Frontier for Machine Learning
Transfer Learning -- The Next Frontier for Machine LearningTransfer Learning -- The Next Frontier for Machine Learning
Transfer Learning -- The Next Frontier for Machine Learning
 
Regularization in deep learning
Regularization in deep learningRegularization in deep learning
Regularization in deep learning
 
Convolutional neural network from VGG to DenseNet
Convolutional neural network from VGG to DenseNetConvolutional neural network from VGG to DenseNet
Convolutional neural network from VGG to DenseNet
 
Assignment 1 ns
Assignment 1 nsAssignment 1 ns
Assignment 1 ns
 
Vanishing & Exploding Gradients
Vanishing & Exploding GradientsVanishing & Exploding Gradients
Vanishing & Exploding Gradients
 
ImageProcessing10-Segmentation(Thresholding) (1).ppt
ImageProcessing10-Segmentation(Thresholding) (1).pptImageProcessing10-Segmentation(Thresholding) (1).ppt
ImageProcessing10-Segmentation(Thresholding) (1).ppt
 
Support vector machine
Support vector machineSupport vector machine
Support vector machine
 
Latent diffusions vs DALL-E v2
Latent diffusions vs DALL-E v2Latent diffusions vs DALL-E v2
Latent diffusions vs DALL-E v2
 
Line drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesLine drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniques
 
Seminar Report on image compression
Seminar Report on image compressionSeminar Report on image compression
Seminar Report on image compression
 
CS 354 Texture Mapping
CS 354 Texture MappingCS 354 Texture Mapping
CS 354 Texture Mapping
 
3.5 model based clustering
3.5 model based clustering3.5 model based clustering
3.5 model based clustering
 
“An Introduction to Data Augmentation Techniques in ML Frameworks,” a Present...
“An Introduction to Data Augmentation Techniques in ML Frameworks,” a Present...“An Introduction to Data Augmentation Techniques in ML Frameworks,” a Present...
“An Introduction to Data Augmentation Techniques in ML Frameworks,” a Present...
 
Machine Learning lecture4(logistic regression)
Machine Learning lecture4(logistic regression)Machine Learning lecture4(logistic regression)
Machine Learning lecture4(logistic regression)
 
Ensemble modeling and Machine Learning
Ensemble modeling and Machine LearningEnsemble modeling and Machine Learning
Ensemble modeling and Machine Learning
 
Presentation on unsupervised learning
Presentation on unsupervised learning Presentation on unsupervised learning
Presentation on unsupervised learning
 
Flower Classification Using Neural Network Based Image Processing
Flower Classification Using Neural Network Based Image ProcessingFlower Classification Using Neural Network Based Image Processing
Flower Classification Using Neural Network Based Image Processing
 

Viewers also liked

On the Expressiveness of Attribute-based Communication
On the Expressiveness of Attribute-based CommunicationOn the Expressiveness of Attribute-based Communication
On the Expressiveness of Attribute-based Communication
Yehia ABD ALRahman
 
Page-Rank Algorithm Final
Page-Rank Algorithm FinalPage-Rank Algorithm Final
Page-Rank Algorithm Final
William Keene
 
【埼玉賢人 第1回付録】人口動態から考える埼玉県の未来
【埼玉賢人 第1回付録】人口動態から考える埼玉県の未来【埼玉賢人 第1回付録】人口動態から考える埼玉県の未来
【埼玉賢人 第1回付録】人口動態から考える埼玉県の未来
Tetsuya Sato
 
Azure with Visual Studio LightSwitch
Azure with Visual Studio LightSwitchAzure with Visual Studio LightSwitch
Azure with Visual Studio LightSwitch
Cheah Eng Soon
 
Дайджест вакансий второй площадки ИТ-парка в г. Набережные Челны
Дайджест вакансий второй площадки ИТ-парка в г. Набережные ЧелныДайджест вакансий второй площадки ИТ-парка в г. Набережные Челны
Дайджест вакансий второй площадки ИТ-парка в г. Набережные Челныitpark-kazan
 
ELT isltm10
ELT isltm10ELT isltm10
ELT isltm10
Sugawara Ryousuke
 
Lady gaga vs Katy Perry 2013
Lady gaga  vs  Katy Perry 2013Lady gaga  vs  Katy Perry 2013
Lady gaga vs Katy Perry 2013
Maru Romano
 
Brand U program
Brand U programBrand U program
Brand U program
Pedro Aguirre
 
Project basic English
Project basic EnglishProject basic English
Project basic English
Jhonatan Villafuerte Huaman
 
Facebook: The Changing Landscape
Facebook: The Changing LandscapeFacebook: The Changing Landscape
Facebook: The Changing Landscape
DT
 
Evaluation of Digital Library PPT
Evaluation of Digital Library PPTEvaluation of Digital Library PPT
Evaluation of Digital Library PPT
florence tamid-ay
 
Adafruit raspberry-pi-lesson-9-controlling-a-dc-motor
Adafruit raspberry-pi-lesson-9-controlling-a-dc-motorAdafruit raspberry-pi-lesson-9-controlling-a-dc-motor
Adafruit raspberry-pi-lesson-9-controlling-a-dc-motor
Stefan Oprea
 
【埼玉賢人 第3回付録】埼玉県における地方創生
【埼玉賢人 第3回付録】埼玉県における地方創生【埼玉賢人 第3回付録】埼玉県における地方創生
【埼玉賢人 第3回付録】埼玉県における地方創生
Tetsuya Sato
 

Viewers also liked (15)

On the Expressiveness of Attribute-based Communication
On the Expressiveness of Attribute-based CommunicationOn the Expressiveness of Attribute-based Communication
On the Expressiveness of Attribute-based Communication
 
Page-Rank Algorithm Final
Page-Rank Algorithm FinalPage-Rank Algorithm Final
Page-Rank Algorithm Final
 
【埼玉賢人 第1回付録】人口動態から考える埼玉県の未来
【埼玉賢人 第1回付録】人口動態から考える埼玉県の未来【埼玉賢人 第1回付録】人口動態から考える埼玉県の未来
【埼玉賢人 第1回付録】人口動態から考える埼玉県の未来
 
Azure with Visual Studio LightSwitch
Azure with Visual Studio LightSwitchAzure with Visual Studio LightSwitch
Azure with Visual Studio LightSwitch
 
Дайджест вакансий второй площадки ИТ-парка в г. Набережные Челны
Дайджест вакансий второй площадки ИТ-парка в г. Набережные ЧелныДайджест вакансий второй площадки ИТ-парка в г. Набережные Челны
Дайджест вакансий второй площадки ИТ-парка в г. Набережные Челны
 
ELT isltm10
ELT isltm10ELT isltm10
ELT isltm10
 
Lady gaga vs Katy Perry 2013
Lady gaga  vs  Katy Perry 2013Lady gaga  vs  Katy Perry 2013
Lady gaga vs Katy Perry 2013
 
Brand U program
Brand U programBrand U program
Brand U program
 
Project basic English
Project basic EnglishProject basic English
Project basic English
 
Facebook: The Changing Landscape
Facebook: The Changing LandscapeFacebook: The Changing Landscape
Facebook: The Changing Landscape
 
Trakya egitim
Trakya egitimTrakya egitim
Trakya egitim
 
Evaluation of Digital Library PPT
Evaluation of Digital Library PPTEvaluation of Digital Library PPT
Evaluation of Digital Library PPT
 
Adafruit raspberry-pi-lesson-9-controlling-a-dc-motor
Adafruit raspberry-pi-lesson-9-controlling-a-dc-motorAdafruit raspberry-pi-lesson-9-controlling-a-dc-motor
Adafruit raspberry-pi-lesson-9-controlling-a-dc-motor
 
新土俵戦略2012
新土俵戦略2012新土俵戦略2012
新土俵戦略2012
 
【埼玉賢人 第3回付録】埼玉県における地方創生
【埼玉賢人 第3回付録】埼玉県における地方創生【埼玉賢人 第3回付録】埼玉県における地方創生
【埼玉賢人 第3回付録】埼玉県における地方創生
 

Similar to Kleinberg - Chap10. Matching markets

Spectrum auction Theory and Spectrum Price Model
Spectrum auction Theory and Spectrum Price ModelSpectrum auction Theory and Spectrum Price Model
Spectrum auction Theory and Spectrum Price Model
www.nbtc.go.th
 
Economic network analysis - Part 1
Economic network analysis - Part 1Economic network analysis - Part 1
Economic network analysis - Part 1
Vani Kandhasamy
 
Chapter 7 Product Variety and Quality under Monopoly.docx
Chapter 7 Product Variety and Quality under Monopoly.docxChapter 7 Product Variety and Quality under Monopoly.docx
Chapter 7 Product Variety and Quality under Monopoly.docx
robert345678
 
Economics cbse board_solution_2011-12 (1)
Economics cbse board_solution_2011-12 (1)Economics cbse board_solution_2011-12 (1)
Economics cbse board_solution_2011-12 (1)
studymate
 
Ch1
Ch1Ch1
Microeconomics - Market Power - Monopoly and Monopsony.pptx
Microeconomics - Market Power - Monopoly and Monopsony.pptxMicroeconomics - Market Power - Monopoly and Monopsony.pptx
Microeconomics - Market Power - Monopoly and Monopsony.pptx
NazmiNawi1
 
1. Exchange Intermediate Microeconomics.pdf
1. Exchange Intermediate Microeconomics.pdf1. Exchange Intermediate Microeconomics.pdf
1. Exchange Intermediate Microeconomics.pdf
kunal2422m
 
Sener salci 2018 04-24
Sener salci 2018 04-24Sener salci 2018 04-24
Sener salci 2018 04-24
Sener Salci
 
Introduction to Algorithmic aspect of Market Equlibra
Introduction to Algorithmic aspect of Market EqulibraIntroduction to Algorithmic aspect of Market Equlibra
Introduction to Algorithmic aspect of Market Equlibra
Abner Chih Yi Huang
 
Learning, Prediction and Optimization in Real-Time Bidding based Display Adve...
Learning, Prediction and Optimization in Real-Time Bidding based Display Adve...Learning, Prediction and Optimization in Real-Time Bidding based Display Adve...
Learning, Prediction and Optimization in Real-Time Bidding based Display Adve...
Jian Xu
 
MBA 681 Economics for Strategic DecisionsPrepared by Yun Wan.docx
MBA 681 Economics for Strategic DecisionsPrepared by Yun Wan.docxMBA 681 Economics for Strategic DecisionsPrepared by Yun Wan.docx
MBA 681 Economics for Strategic DecisionsPrepared by Yun Wan.docx
alfredacavx97
 
Mathematics basic she said that he isass
Mathematics basic she said that he isassMathematics basic she said that he isass
Mathematics basic she said that he isass
anaskhalidsheikh6395
 

Similar to Kleinberg - Chap10. Matching markets (12)

Spectrum auction Theory and Spectrum Price Model
Spectrum auction Theory and Spectrum Price ModelSpectrum auction Theory and Spectrum Price Model
Spectrum auction Theory and Spectrum Price Model
 
Economic network analysis - Part 1
Economic network analysis - Part 1Economic network analysis - Part 1
Economic network analysis - Part 1
 
Chapter 7 Product Variety and Quality under Monopoly.docx
Chapter 7 Product Variety and Quality under Monopoly.docxChapter 7 Product Variety and Quality under Monopoly.docx
Chapter 7 Product Variety and Quality under Monopoly.docx
 
Economics cbse board_solution_2011-12 (1)
Economics cbse board_solution_2011-12 (1)Economics cbse board_solution_2011-12 (1)
Economics cbse board_solution_2011-12 (1)
 
Ch1
Ch1Ch1
Ch1
 
Microeconomics - Market Power - Monopoly and Monopsony.pptx
Microeconomics - Market Power - Monopoly and Monopsony.pptxMicroeconomics - Market Power - Monopoly and Monopsony.pptx
Microeconomics - Market Power - Monopoly and Monopsony.pptx
 
1. Exchange Intermediate Microeconomics.pdf
1. Exchange Intermediate Microeconomics.pdf1. Exchange Intermediate Microeconomics.pdf
1. Exchange Intermediate Microeconomics.pdf
 
Sener salci 2018 04-24
Sener salci 2018 04-24Sener salci 2018 04-24
Sener salci 2018 04-24
 
Introduction to Algorithmic aspect of Market Equlibra
Introduction to Algorithmic aspect of Market EqulibraIntroduction to Algorithmic aspect of Market Equlibra
Introduction to Algorithmic aspect of Market Equlibra
 
Learning, Prediction and Optimization in Real-Time Bidding based Display Adve...
Learning, Prediction and Optimization in Real-Time Bidding based Display Adve...Learning, Prediction and Optimization in Real-Time Bidding based Display Adve...
Learning, Prediction and Optimization in Real-Time Bidding based Display Adve...
 
MBA 681 Economics for Strategic DecisionsPrepared by Yun Wan.docx
MBA 681 Economics for Strategic DecisionsPrepared by Yun Wan.docxMBA 681 Economics for Strategic DecisionsPrepared by Yun Wan.docx
MBA 681 Economics for Strategic DecisionsPrepared by Yun Wan.docx
 
Mathematics basic she said that he isass
Mathematics basic she said that he isassMathematics basic she said that he isass
Mathematics basic she said that he isass
 

Recently uploaded

What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
National Information Standards Organization (NISO)
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
IsmaelVazquez38
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
ImMuslim
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
nitinpv4ai
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
Celine George
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
indexPub
 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
JomonJoseph58
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
nitinpv4ai
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
Celine George
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 

Recently uploaded (20)

What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 

Kleinberg - Chap10. Matching markets

  • 1. NETWORKS, CROWDS AND MARKETS CHAPTER 10: MATCHING MARKETS Chapter 10. Matching markets. 1
  • 2. Abstract • Many practical problems can be seen under network-structured view. • For instance. Issue of traffic, etc. • Market is a prime example of network- structured interaction between many agents. • Matching markets. Chapter 10. Matching markets. 2
  • 3. Matching markets - Basic principles. 1. People may have different preferences for different kinds of goods. 2. Prices can decentralize the allocation of goods to people. 3. Prices can lead to allocations that are socially optimal. Chapter 10. Matching markets. 3
  • 4. The 1st scenario. Room Assigning - Assigning rooms to student. - Room is designed for a single student. - Students may have different preferences over rooms. Chapter 10. Matching markets. 4
  • 5. The 1st scenario. Room Assigning Chapter 10. Matching markets. 5
  • 6. Definitions - Bipartite graph. - Perfect matchings. - Constricted sets. - The Matching theorem. Chapter 10. Matching markets. 6
  • 7. Bipartite graph - Nodes are divided into two categories. - Edges connect a node in one category to a node in the other category. Chapter 10. Matching markets. 7
  • 8. Perfect matchings • A choice of edges in the bipartite graph so that each node is the endpoint of exactly one of the chosen edges. Chapter 10. Matching markets. 8
  • 9. Constricted sets • A set of nodes that their edges to the other side of the bipartite graph “constrict” the formation of a perfect matching. Chapter 10. Matching markets. 9
  • 10. The Matching theorem Matching theorem. If a bipartite graph (with equal numbers of nodes on the left and right) has no perfect matching, then it must contain a constricted set. Proof here Chapter 10. Matching markets. 10
  • 11. The 1bis scenario. Valuations and Optimal Assignment More than binary choice “accept-or-not”. Chapter 10. Matching markets. 11
  • 12. Definitions - Valuations. - Optimal assignments. Chapter 10. Matching markets. 12
  • 13. Valuations • A collection of individuals evaluating a collection of objects. Quality of an Sum of each assignment of objects to individuals = individual’s valuations. Chapter 10. Matching markets. 13
  • 14. Optimal assignment • An assignment that maximizes the total happiness of everyone for what they get. Chapter 10. Matching markets. 14
  • 15. The 2nd scenario. Market-clearing prices • More standard picture of a market. • Decisions based on prices and own valuations. • Buyers and sellers. Chapter 10. Matching markets. 15
  • 16. Definitions - Prices and payoffs. - Preferred sellers. - Preferred-seller graph. - Market-clearing prices. Chapter 10. Matching markets. 16
  • 17. Prices and payoffs • Suppose that each seller i put his house up for a price pi >= 0. • The buyer’s payoff is her valuation for this house minus the amount of money she had to pay: vij – pi. Chapter 10. Matching markets. 17
  • 18. Prices and payoffs Payoffs of each buyer on each house: a b c X 7 2 2 Y 3 5 6 Z 2 3 2 Chapter 10. Matching markets. 18
  • 19. Preferred sellers • Seller or sellers that maximize the payoff for buyer j the preferred sellers. a b c X 7 2 2 Y 3 5 6 Z 2 3 2 Chapter 10. Matching markets. 19
  • 20. Preferred-seller graph • A graph containing edges between buyers and their preferred sellers. Chapter 10. Matching markets. 20
  • 21. Market-clearing prices • A set of prices is call market-clearing if they cause each house to get bought by a different buyer. Or • A set of prices is market-clearing if the resulting preferred-seller graph has a perfect matching. Chapter 10. Matching markets. 21
  • 22. Market-clearing prices • Existence of market-clearing prices. For any set of buyer valuations, there exists a set of market-clearing prices. Chapter 10. Matching markets. 22
  • 23. Market-clearing prices • Optimality of market-clearing prices. For any set of market-clearing prices, a perfect matching in the resulting preferred-seller graph has the maximum total valuation of any assignment of sellers to buyers. Total Payoff of M = Total Valuation of M − Sum of all prices. Chapter 10. Matching markets. 23
  • 24. Constructing a set of market-clearing prices • A general round of the auction looks like what we’ve just described. 1. At the start of each round, there is a current set of prices, with the smallest one equal to 0. 2. We construct the preferred-seller graph and check whether there is a perfect matching. Chapter 10. Matching markets. 24
  • 25. Constructing a set of market-clearing prices 3. If there is, we’re done: the current prices are market-clearing. 4. If not, we find a constricted set of buyers S and their neighbours N(S). 5. Each seller in N(S) (simultaneously) raises his price by one unit. Chapter 10. Matching markets. 25
  • 26. Constructing a set of market-clearing prices 6. If necessary, we reduce the prices — the same amount is subtracted from each price so that the smallest price becomes zero. 7. We now begin the next round of the auction, using these new prices. Chapter 10. Matching markets. 26
  • 27. Constructing a set of market-clearing prices Chapter 10. Matching markets. 27
  • 28. Constructing a set of market-clearing prices 1. At the start of each round, there is a current set of prices, with the smallest one equal to 0. 2. We construct the preferred-seller graph and check whether there is a perfect matching. 3. If there is, we’re done: the current prices are market-clearing. 4. If not, we find a constricted set of buyers S and their neighbours N(S). 5. Each seller in N(S) (simultaneously) raises his price by one unit. 6. If necessary, we reduce the prices — the same amount is subtracted from each price so that the smallest price becomes zero. 7. We now begin the next round of the auction, using these new prices. LOOP FOREVER ? Chapter 10. Matching markets. 28
  • 29. A proof of the Matching Theorem The Matching Theorem. The problem. • How can we identify a constricted set in a bipartite graph, knowing only that it contains no perfect matching. Chapter 10. Matching markets. 29
  • 30. A proof of the Matching Theorem The idea. 1. Give a bipartite graph. 2. Consider a maximum matching. 3. Try to enlarge -> FAIL. 4. Identify the constricted set. Chapter 10. Matching markets. 30
  • 31. Definitions 1. Matching edges. Edges are used in given matching. 2. Non-matching edges. The other edges. 3. Alternating path. A simple path that alternates between non-matching and matching. Chapter 10. Matching markets. 31
  • 32. Definitions 4. Augmenting path. An alternating path whose endpoints are unmatched nodes, then the matching can be enlarged. Chapter 10. Matching markets. 32
  • 33. Searching for an augmenting path • Alternating BFS. • Start any unmatched node on the right. • Explore the rest of the graph layer by layer, add new nodes to the next layer if have connections. • Use non-matching edges to discover new nodes. • If contains an unmatched node from the left- hand size of the graph -> an augmenting path -> enlargeable. Chapter 10. Matching markets. 33
  • 34. Searching for an augmenting path Alternating BFS Chapter 10. Matching markets. 34
  • 35. Augmenting paths and constricted sets Chapter 10. Matching markets. 35
  • 36. Augmenting paths and constricted sets • Claim. Consider any bipartite graph with a matching, and let W be any un-matched node on the right-hand size. Then either there is an augmenting path beginning at W, or there is a constricted set containing W. Chapter 10. Matching markets. 36
  • 37. Computing a perfect matching 1. Start with an empty matching. 2. Look for an unmatched node W. 3. Use alternating BFS to search for an augmenting path beginning at W. 4. If found, use this path to enlarge the matching. Else, indicate the constricted set. Chapter 10. Matching markets. 37
  • 38. Computing a maximum matching • Looking for a maximum matching can matter where we start our search for an augmenting path. • If there is no augmenting path beginning at any node on the right-hand size, then in fact the current matching has maximum size. • Revise the alternating BFS by putting all unmatched nodes on the right to layer 0. Chapter 10. Matching markets. 38
  • 39. Computing a maximum matching - If starting from W, we may fail to find augmenting path. - If starting from Y, we can produce the path Y – B – Z – D. Chapter 10. Matching markets. 39
  • 40. Q&A Chapter 10. Matching markets. 40

Editor's Notes

  1. Agents and behaviors.Implicit network between buyers and sellers.Number of ways of using networks to model interaction among market participant.Extend to the broad notion of social exchange
  2. First class of model as the focus of the current chapter.-They embody, in a very clean and stylized way, a number of basicprinciples:
  3. Rather than expressing preferences simply as binary choice, each individual to express how much they’d like each object, in numerical form.
  4. Of course, while the optimal assignment maximizes total happiness, it does not necessarily give everyone their favourite item; for example, in Figure 10.3(b), all the students think Room 1 is the best, but it can only go to one of them.
  5. Individuals making decisions based on prices and their own valuations.
  6. If this quantity is maximized in a tie between several sellers, then the buyer can maximize her payoff by choosing any one of them.If her payoff vij − pi is negative for every choice of seller i, then the buyer would prefer not to buy any house: we assume she can obtain a payoff of 0 by simply not transacting.
  7. A harder challenge: understanding why market-clearing prices must always exists.+ Take an arbitrary set of buyer valuation.+ Describe a procedure that arrives at market-clearing prices.
  8. - Initially all sellers set their prices to 0. Buyers react by choosing their preferred seller(s) and we look at the resulting preferred-seller graph. If this graph has a perfect matching we’re done. Else -> constricted set.
  9. Potential of a buyer: maximum payoff she can currently get from any seller.Potential of a seller: current price he’s charging.Potential energy of the auction: sum of the potential.
  10. Claim. In a bipartite graph with a matching, if there is an alternating path whose endpoints are unmatched nodes, then the matching can be enlarged.
  11. Even-numbered layers consists of nodes from the right-hand size. Odd-numbered layers consists of nodes from the left-hand sizse.Odd layers contains the same number of nodes as the subsequent even layer.Not counting node W, we have the same number of nodes in odd and even layers.Each nodes in even layers all of its neighbors in the graph present in some layer.
  12. If the alternating breadth-first search fails from any node on the right-hand side, this is enough to expose a constricted set and hence prove there is no perfect matching. However, it is still possible that an alternating breadth-first search could still succeed from some other node. (In this case, the search from W would fail, but the search from Y would succeed.)