COMPSCI 223: Computational Microeconomics, Spring 2018

WF 10:05-11:20am, Social Sciences 136. First class: January 12, 2018.
Instructor: Vincent Conitzer. (Please call me Vince.) Office hours: Wednesday 11:20-11:45am (catch me right after class), Thursday 8:55-10am (LSRC D207), Friday 11:20-11:50am (catch me right after class).

Teaching Assistants:
Harsh Parikh -- office hours Monday 10am-12 noon in the Social Science sitting area outside SocSci 113
Hanrui Zhang -- office hours Thursday 2-4pm in LSRC D309

In recent years, there has been a surge of interaction between computer scientists and economists. This interaction is driven both by necessity and opportunity. On the one hand, as computer systems become more interconnected, multiple parties must interact in the same environment and compete for scarce resources, which necessarily introduces economic phenomena. On the other hand, in the past, economic mechanisms (such as auctions and exchanges) have been designed to require very limited computing and communication resources, as they would otherwise be impractical. These days, computation and communication pose much less of a constraint, which presents an opportunity to create highly efficient, computationally intensive mechanisms.

In the first part of the course, we will study the design of expressive marketplaces. In such marketplaces, participant can express nontrivial valuations over outcomes: for example, a participant may express that a complete travel package to Las Vegas including a flight, hotel reservation, and entertainment is worth $700 to her, but any incomplete package is worth $0. This can greatly increase market efficiency, but clearing the market (deciding on the final outcome) becomes computationally hard. We will cover techniques for solving these problems.

In the second part of the course, we will study game theory. Game theory studies how to act optimally in strategic settings where each party's utility (happiness) depends on the actions of other parties. We will cover such definitions of optimality as well as techniques for computing optimal actions. We will study applications including bidding in auctions, building computer poker players, and security.

In the third part of the course, we will draw on the first two parts and study how to design market mechanisms that are optimal when we take into account that agents will behave strategically (game-theoretically). Again, we will cover techniques for computing the optimal mechanisms.

Students should be comfortable with probability. Background in computer science and/or economics will be helpful but neither is required; the goal is to bring together students from different backgrounds. While there are no other specific mathematical prerequisites, the course will probably not be enjoyable for students who dislike mathematics.

We will use parts of a book by Shoham and Leyton-Brown (SLB), Multiagent Systems. A free electronic copy is available at that link though the printed version is very reasonably priced as well.
There will be additional readings for individual classes. The slides for the course are also part of the reading.

Grading (subject to change)
Participation: 10%
Programming assignments: 15%
Written assignments: 15%
Midterm: 20%
Final exam: 40%

Rules for assignments: You may discuss homework assignments with at most one other person, in person. However, you may not simply copy down the other person's solution (or any part thereof). Each person should do her/his own writeup, at which point you should derive the solution yourself. This also implies that you cannot copy any code (linear programs etc.) from each other. Copying code is considered a serious form of cheating, and there are ways of detecting copied code. If you have trouble with the programming assignments, just ask for help. On your writeup, you should acknowledge your partner (if any) and any other sources you used.

Rules for exams: Exams will be closed-book. However, you do not need to remember every detail of the modeling language (where the colons go, for example).
We will not plan the course down to the individual lecture. Dates will be added as the course progresses. Topics are given below (a topic need not take exactly one lecture to complete and we may not cover all topics).

Date Topic Materials
1/12,1/19 Course at a glance. Slides: ppt, pdf.
Optional: CACM overview article.
Part 0: Basic techniques from computer science.
1/19-1/26 Linear programming. (Mixed) integer linear programming. Slides: ppt, pdf.
Example files: painting.lp, knapsack.lp, knapsack_simple.mod, knapsack.mod, cell.lp, cell.mod, hotdog.mod, sudoku.mod.
SLB Appendices A, B.
Programming assignment 1 out (due 2/2).
Guide to the modeling language. Here are also lecture notes I wrote those for a course on linear and integer programming; if you want to learn more about these topics there may be some useful resources on that course's website.
1/31, 2/2 Computational problems. Algorithms. Runtime of algorithms. Easy and hard problems. Slides: ppt, pdf.
Sorting algorithms spreadsheet.
Example files: set_cover.mod, set_cover2.mod, matching.mod.
Yu Cheng's guest lecture slides: ppt, pdf.
Optional: CACM article on P vs. NP.
Part 1: Expressive marketplaces.
2/7 - 2/16 Single-item auctions. Combinatorial auctions. Bidding languages. Winner determination problem. Variants (reverse auctions, exchanges). Sasa's guest lecture slides: pdf.
Slides: ppt, pdf.
Note: we are not going in the same order as the book on these topics. The book does mechanism design before getting into auctions. I'm pointing out the chapters that are associated with each topic, but for reading purposes you may prefer following the order of the book for the next few lectures, reading mechanism design (Ch. 10) before auctions (Ch. 11), and single-item auctions and their analysis before combinatorial auctions.
SLB 11.3.1-11.3.4, 11.4.1.
Optional: 11.2, 11.3.5, Conitzer chapter on auctions, Lehmann et al. chapter on winner determination, Sandholm chapter on optimal winner determination.
2/16 - 3/7 Expressive financial securities. Slides: ppt, pdf.
SLB 10.4.2.
Programming assignment 2 out. Partial solution to graph winner determination problem, for first problem.
Optional: Paper 1, paper 2.
Article about Predictalot.
2/21 Barter exchanges/matching markets. Kidney exchange. Slides: ppt, pdf.
Paper (you do not need to understand all the details about constraint and column generation).
2/28 - 3/7 Voting and social choice. Slides: ppt, pdf.
SLB Chapter 9 (9.5 is optional).
Optional (if you really like this): chapter on computational social choice.
A website aiming to do liquid democracy (presented without endorsement; seems legitimate as far as I can tell but I don't know the people involved, use your own judgment if you consider signing up).
3/21 Midterm review. Practice midterm.
More practice questions: ppt, pdf.
3/23 Midterm.
Part 2: Game theory.
3/9 Risk neutrality and risk aversion. Expected utility theory. Homework 2.5 out.
Slides: ppt, pdf.
SLB Section 3.1.
3/9 - 4/4 Games in normal form. Dominance and iterated dominance. Computing dominated strategies. Minimax strategies. Computing minimax strategies. Nash equilibrium. Computing Nash equilibria. Homework 3 out.
Slides: ppt, pdf.
SLB 3.2, 3.4.3, 4.5; 3.3.1-3.3.3, 3.4.1, 4.1, 4.2.1, 4.2.3, 4.2.4, 4.4.
Optional (including the papers): 3.3.4, 4.2.2; 3.4.5, 4.6. Paper on computing dominated strategies. (You can skip the part on Bayesian games.) Paper on computing Nash equilibria. (You only need to read the part concerning 2-player games.) Paper on computing special kinds of Nash equilibria. (You can skip everything from Bayesian games on.)
4/4, 4/6 Games in extensive form. Backwards induction. Subgame perfect equilibrium. Imperfect information. Equilibrium refinements. Computing equilibria. Poker. Slides: ppt, pdf.
Yu's guest lecture.
SLB 5.1 (alpha-beta is optional), 5.2.1, 5.2.2.
Optional (including the paper): 5.2.3. Paper on finding optimal strategies to commit to.
Part 3: Mechanism design.
4/11-4/18 Bayesian games. Auctions revisited. Homework 4 out.
Slides: ppt, pdf.
SLB 6.3, 11.1.1-11.1.8.
Optional: 11.1.9, 11.1.10.
4/20 Incentive compatibility. Individual rationality. Revelation principle. Clarke mechanism. Groves mechanisms. Slides: ppt, pdf.
SLB 10.1-10.4.
Optional: rest of chapter 10.
Article on the Swoopo auction.
4/25 Automated mechanism design. Slides: ppt, pdf.
Optional: Chapter on automated mechanism design, read up to and including 6.6.
4/27 Final review. Practice final.
Tuesday, May 1, 2:00PM - 5:00PM Final exam.