Algorithmic Game Theory · Prerequisites

Prerequisites for Algorithmic Game Theory

This page collects the background that the 16 slide decks build on. The Chapter 0 · Preliminaries deck covers the most essential core: sets, counting, sums and the geometric series, argmax and derivatives, probability, Bayes' rule, U[0, 1], expected value, xᵀAy, best response, indifference and backward induction. Chapters 1–14 use the topics below. Each topic's card says what you need to know, in which chapters it is used, and includes two short self-check questions. The details open with the Details and self-check button. Click a question to see its answer.

The essential core. Sets and logic, expected value, conditional probability, reading a payoff matrix, argmax, Big-O notation and basic Python. The other topics are explained in the decks. Even so, the course moves faster if they are known in advance.

Terms. The Terms line gives the terms used in the slides. The full list is in the course glossary.

Mathematics

Sets, proofs, counting, sums and logarithms, derivatives, convexity, matrices and fixed points.

Sets, functions and logic

Cartesian product · profiles · quantifiers

Terms strategy set; strategy profile; unilateral deviation

Every game is a tuple of sets and functions: players N, strategy sets Sᵢ, payoffs uᵢ : S → ℝ. Equilibrium definitions are built from the patterns “for every …” and “there exists a … such that”.

Chapters Chapter 0 Chapter 2 Chapter 3 Chapter 4 Chapter 7

Proof techniques

Direct proof · contradiction · induction · counterexample

Terms backward induction; strategy-stealing argument

Most results in the course are claims about every deviation, every mechanism or every preference profile. That is why you need to be able to read and write short proofs.

Chapters Chapter 2 Chapter 2 · Minimax and Alpha-Beta Pruning Chapter 3 Chapter 4 Chapter 7 Chapter 9

Combinatorics and permutations

Product rule · n! · subsets · partitions

Terms Shapley value; marginal contribution; Bell number

Strategy spaces, rankings, player orders and coalition structures grow very fast. Counting shows when brute-force search is hopeless.

Chapters Chapter 0 Chapter 2 Chapter 2 · Minimax and Alpha-Beta Pruning Chapter 3 Chapter 7 Chapter 10

Sums, logarithms and the exponential function

Geometric series · Hₙ · ln · ex

Terms discount factor; harmonic number; learning rate

Discounted repeated games, the Price of Stability, multiplicative weights and differential privacy are written with geometric sums, logarithms and the exponential function.

Chapters Chapter 0 Chapter 2 Chapter 2 · Minimax and Alpha-Beta Pruning Chapter 9 Chapter 13 Chapter 14

Derivatives and first-order conditions

Derivative · maximum · integral

Terms maximize; minimize; first-order condition

Continuous strategies (quantities, bids, prices, flows) are optimized by setting the derivative to zero. Then you check that the point found is really a maximum.

Chapters Chapter 0 Chapter 1 Chapter 3 Chapter 5 Chapter 6 Chapter 8

Convex and concave functions

Convex sets · Jensen · risk attitudes

Terms convex; concave; Jensen's inequality

Convexity makes optimization easy: a local optimum is also a global optimum. Risk aversion is also explained by Jensen's inequality.

Chapters Chapter 1 Chapter 3 Chapter 8 Chapter 12

Vectors and payoff matrices

Matrix indices · probability vectors · xᵀAy

Terms payoff matrix; mixed strategy; support

Finite two-player games are a pair of matrices. Mixed strategies are probability vectors. Expected payoffs are found by matrix–vector multiplication.

Chapters Chapter 0 Chapter 2 Chapter 3 Chapter 13

Fixed points (Brouwer and Kakutani)

x = f(x) · existence · correspondences

Terms fixed-point theorem; Nash's existence theorem; best-response correspondence

Nash's existence theorem is a fixed-point theorem. An equilibrium is a profile that is a best response to itself.

Chapters Chapter 3 Chapter 6 Chapter 13

Probability and statistics

Distributions, expected value, Bayes' rule, order statistics, sampling and Markov models.

Probability and distributions

Events · independence · distribution function · uniform distribution

Terms uniform distribution; common prior; independent private values

Mixed strategies, private types, bidder values and model errors are random variables. You need to read distributions and compute simple probabilities.

Chapters Chapter 0 Chapter 1 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 12

Expected value and variance

Linearity · E[f(X)] · spread

Terms expected value; expected payoff; lottery

Mixed-strategy payoffs, expected revenue, bandit rewards and decision trees are all expected values.

Chapters Chapter 0 Chapter 1 Chapter 2 Chapter 3 Chapter 5 Chapter 12 Chapter 13

Conditional probability and Bayes' rule

Prior · likelihood · posterior · base rates

Terms Bayes' rule; prior; posterior; base rate

Bayesian games, reputation systems, fairness metrics and decision analysis update beliefs with conditional probabilities.

Chapters Chapter 0 Chapter 1 Chapter 3 Chapter 4 Chapter 6 Chapter 11

Order statistics for auctions

Highest · second highest · revenue

Terms revenue equivalence theorem; winner's curse; virtual value

Auction revenue is the expected value of the highest or second-highest bid. That is why the expected value of the k-th largest of n random values appears throughout Chapter 5.

Chapters Chapter 5 Chapter 14

Sampling, rates and simulation

Sample mean · error · confusion matrix

Terms confusion matrix; true positive rate; sample complexity

Simulations, bandit estimates, fairness audits and learned mechanisms estimate quantities from noisy samples.

Chapters Chapter 5 Chapter 11 Chapter 13 Chapter 14

Markov chains and Markov decision processes

States · transitions · rewards · discounting

Terms policy; state–action value

Q-learning and repeated games evaluate long sequences of rewards. The model behind them is the Markov decision process.

Chapters Chapter 2 Chapter 13

Optimization

argmax, linear programming and duality. This is the language of best responses, welfare and minimax.

Optimization basics and argmax

Objective · constraints · max and argmax

Terms optimization; social welfare; social optimum

Best responses, VCG allocations and social optima do the same job: among the feasible options, pick the one with the largest objective.

Chapters Chapter 0 Chapter 3 Chapter 4 Chapter 5 Chapter 9 Chapter 10 Chapter 12

Linear programming and duality

Feasible polyhedron · dual · minimax

Terms linear programming; minimax theorem; value of the game; saddle point

Zero-sum games, correlated equilibria and some mechanism design problems are solved by linear programs. The reason the maximin value equals the minimax value is LP duality.

Chapters Chapter 3 Chapter 13 Chapter 14

Algorithms and complexity

Running time, algorithm design, XOR, graphs and the classes P, NP, PPAD and PLS.

Big-O and running time

Growth rates · polynomial and exponential

Terms greedy; alpha–beta pruning

Algorithmic game theory is not content with whether a result exists. It also asks whether that result can be computed quickly.

Chapters Chapter 2 Chapter 2 · Minimax and Alpha-Beta Pruning Chapter 4 Chapter 8 Chapter 9 Chapter 10

Algorithm design and step-by-step tracing

Recursion · greedy · dynamic programming

Terms deferred acceptance

Many of the slide decks contain step-by-step code traces. You need to be able to trace an algorithm, state its input and output, and justify that it halts and is correct.

Chapters Chapter 0 Chapter 2 Chapter 2 · Minimax and Alpha-Beta Pruning Chapter 4 Chapter 10

Trees, recursion and exponential growth

Root · leaf · depth · branching factor · logb

Terms game tree; branching factor; depth-first search; iterative deepening

Minimax and alpha-beta traverse the game tree recursively, in depth-first order. The size of the tree grows exponentially with the branching factor and depth. How deep one can search in a given time is computed with a logarithm.

Chapters Chapter 2 Chapter 2 · Minimax and Alpha-Beta Pruning

Binary numbers and XOR

Bit operations · Nim

Terms nim-sum; impartial game; Sprague–Grundy theorem

Nim is solved exactly by the bitwise XOR of the pile sizes. The Sprague–Grundy theory extends this result to other impartial games.

Chapters Chapter 2 Chapter 2 · Minimax and Alpha-Beta Pruning

P, NP, PPAD and PLS

Reductions · hardness · total search problems

Terms NP-hard; PPAD-complete; PLS-complete; ε-approximate equilibrium

Complexity classes explain which objects in game theory are easy to compute (equilibria of zero-sum games, correlated equilibria) and which are believed to be hard (general Nash equilibria, optimal allocations).

Chapters Chapter 3 Chapter 4 Chapter 7 Chapter 8 Chapter 14

Graphs, shortest paths and flows

Directed graphs · cycles · flows · load

Terms graph; node; edge; latency function

Routing games, network formation, matching markets, voting tournaments and kidney exchange are all graph problems.

Chapters Chapter 4 Chapter 7 Chapter 8 Chapter 9 Chapter 10

Strategic reasoning and economics

Expected utility, best responses, welfare terms and regret.

Expected utility and mixed strategies

Lotteries · indifference · risk attitude

Terms expected utility; indifference principle; risk-neutral; certainty equivalent

When there is chance, a player compares lotteries by their expected utility Σ p(x)·u(x). Mixed equilibria are computed this way, and risk attitudes are modeled this way too.

Chapters Chapter 0 Chapter 1 Chapter 3 Chapter 5 Chapter 12

Best responses and dominance

Best response · dominance · deviation

Terms best response; dominant strategy; dominated strategy; Nash equilibrium

The core skill of the course is this: given the others' choices, what is each player's best response, and does anyone want to deviate?

Chapters Chapter 0 Chapter 2 Chapter 3 Chapter 8 Chapter 12

Economics terms

Valuation · utility · welfare · revenue

Terms valuation; quasi-linear utility; revenue; surplus

Mechanism design and auctions use a small set of economics terms again and again. Confusing these terms, especially welfare and revenue, is a common mistake.

Chapters Chapter 4 Chapter 5 Chapter 6 Chapter 9

Regret and online learning

External regret · Hedge · bandits

Terms regret; no-regret; multiplicative weights; multi-armed bandit

Learning in games measures an algorithm by its regret: how much worse it did, in hindsight, than the best single action.

Chapters Chapter 1 Chapter 9 Chapter 13

Programming

Every deck contains short Python programs and code traces.

Programming with Python

Loops · functions · lists and dictionaries · random

Every deck contains short Python programs and code traces: payoff tables, auctions, Shapley values, bandits, Q-learning. You need to be able to read, run and modify these programs.

Chapters Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14

Prerequisites chapter by chapter

The topics each deck builds on (Python is used in every chapter).

SlidesChapterPrerequisites
Chapter 0PreliminariesSets, functions and logic, Combinatorics and permutations, Sums, logarithms and the exponential function, Derivatives and first-order conditions, Vectors and payoff matrices, Probability and distributions, Expected value and variance, Conditional probability and Bayes' rule, Optimization basics and argmax, Algorithm design and step-by-step tracing, Expected utility and mixed strategies, Best responses and dominance
Chapter 1Decision TheoryDerivatives and first-order conditions, Convex and concave functions, Probability and distributions, Expected value and variance, Conditional probability and Bayes' rule, Expected utility and mixed strategies, Regret and online learning
Chapter 2Games and RepresentationsSets, functions and logic, Proof techniques, Combinatorics and permutations, Sums, logarithms and the exponential function, Vectors and payoff matrices, Expected value and variance, Markov chains and Markov decision processes, Big-O and running time, Algorithm design and step-by-step tracing, Trees, recursion and exponential growth, Binary numbers and XOR, Best responses and dominance
Chapter 2Minimax and Alpha-Beta PruningProof techniques, Combinatorics and permutations, Sums, logarithms and the exponential function, Big-O and running time, Algorithm design and step-by-step tracing, Trees, recursion and exponential growth, Binary numbers and XOR
Chapter 3Nash EquilibriumSets, functions and logic, Proof techniques, Combinatorics and permutations, Derivatives and first-order conditions, Convex and concave functions, Vectors and payoff matrices, Fixed points (Brouwer and Kakutani), Probability and distributions, Expected value and variance, Conditional probability and Bayes' rule, Optimization basics and argmax, Linear programming and duality, P, NP, PPAD and PLS, Expected utility and mixed strategies, Best responses and dominance
Chapter 4Mechanism DesignSets, functions and logic, Proof techniques, Probability and distributions, Conditional probability and Bayes' rule, Optimization basics and argmax, Big-O and running time, Algorithm design and step-by-step tracing, P, NP, PPAD and PLS, Graphs, shortest paths and flows, Economics terms
Chapter 5AuctionsDerivatives and first-order conditions, Probability and distributions, Expected value and variance, Order statistics for auctions, Sampling, rates and simulation, Optimization basics and argmax, Expected utility and mixed strategies, Economics terms
Chapter 6Online PlatformsDerivatives and first-order conditions, Fixed points (Brouwer and Kakutani), Probability and distributions, Conditional probability and Bayes' rule, Economics terms
Chapter 7Social Choice and VotingSets, functions and logic, Proof techniques, Combinatorics and permutations, P, NP, PPAD and PLS, Graphs, shortest paths and flows
Chapter 8Network Design and RoutingDerivatives and first-order conditions, Convex and concave functions, Big-O and running time, P, NP, PPAD and PLS, Graphs, shortest paths and flows, Best responses and dominance
Chapter 9The Price of AnarchyProof techniques, Sums, logarithms and the exponential function, Optimization basics and argmax, Big-O and running time, Graphs, shortest paths and flows, Economics terms, Regret and online learning
Chapter 10Multi-Agent SystemsCombinatorics and permutations, Optimization basics and argmax, Big-O and running time, Algorithm design and step-by-step tracing, Graphs, shortest paths and flows
Chapter 11Algorithmic Fairness and EthicsConditional probability and Bayes' rule, Sampling, rates and simulation
Chapter 12Behavioral and Collective DecisionsConvex and concave functions, Probability and distributions, Expected value and variance, Optimization basics and argmax, Expected utility and mixed strategies, Best responses and dominance
Chapter 13Learning and AdaptationSums, logarithms and the exponential function, Vectors and payoff matrices, Fixed points (Brouwer and Kakutani), Expected value and variance, Sampling, rates and simulation, Markov chains and Markov decision processes, Linear programming and duality, Regret and online learning
Chapter 14Future DirectionsSums, logarithms and the exponential function, Order statistics for auctions, Sampling, rates and simulation, Linear programming and duality, P, NP, PPAD and PLS

© Sercan Külcü · Algorithmic Game Theory