Pairwise Choice Markov Chains

Stephen Ragain, Johan Ugander

As datasets capturing human choices grow in richness and scale, particularly in online domains, there is an increasing need for choice models flexible enough to handle messy, real-world data. Traditional models often rely on strict choice-theoretic axioms that human behavior frequently violates. The Pairwise Choice Markov Chain (PCMC) is a new, inferentially tractable model for discrete choice that moves beyond these rigid "rationality" axioms by modeling choice as the stationary distribution of a Markov chain.

The Problem with Traditional Choice Models

In fields like economics, marketing, and transportation, researchers use "discrete choice models" to predict which option a person will pick from a set. For decades, the gold standard has been the Multinomial Logit (MNL) model, which relies heavily on Luce’s Choice Axiom.

This axiom assumes the "Independence of Irrelevant Alternatives" (IIA): if you prefer coffee over tea, adding juice to the menu shouldn't change the relative probability of you picking coffee over tea. However, real human behavior is rarely this consistent. We are highly susceptible to:

  • Violations of Regularity: Sometimes adding a third, inferior option makes one of the original options more attractive (often called the "decoy effect").
  • Non-transitivity: You might prefer option A over B, B over C, but C over A (similar to Rock-Paper-Scissors).
  • Framing Effects: The context and composition of the choice set fundamentally change the decision.

Traditional models like MNL or Random Utility Models (RUMs) struggle to capture these nuances because they are mathematically locked into strict transitivity and regularity. The challenge is finding a model flexible enough to capture these behaviors while remaining computationally tractable.

The PCMC Approach

To address these limitations, the authors introduce the Pairwise Choice Markov Chain (PCMC) model. Instead of assigning a fixed, absolute "utility" score to every item, PCMC shifts the focus to the relative relationship between items.

1. The Rate Matrix

The model is fundamentally defined by a matrix $Q$, where each entry $q_{ij}$ represents the "transition rate" from alternative $i$ to alternative $j$. You can think of this as a measure of pairwise preference for $j$ over $i$.

Heatmap representation of the transition rate matrix Q

2. The Markov Process

For any given subset of choices $S$ presented to a user, the model constructs a Continuous-Time Markov Chain (CTMC). Imagine a "random walker" jumping between the available options based on the rates defined in matrix $Q$.

Constructing a Markov chain for a choice set from pairwise transitions

By ensuring the Markov chain is irreducible (meaning you can eventually get from any option to any other), the authors guarantee that every option has a non-zero probability of being chosen, making the model robust.

3. Stationary Distribution

The probability of a user choosing an item $i$ from the set $S$ is defined as the probability of the random walker being at state $i$ in the long run—known mathematically as the stationary distribution of the chain.

Crucially, PCMC satisfies a property called contractibility, which implies uniform expansion (a weaker, more realistic version of Luce's axiom). This allows the model to handle "similar" items gracefully without falling back into the traps of the IIA axiom. Furthermore, the authors prove that the classic MNL model is actually just a special case of PCMC where the transition rates are restricted to a specific form based on latent "quality" parameters.

Empirical Results

The paper evaluates the model on synthetic data and two real-world empirical datasets involving transportation choices in the San Francisco Bay Area:

  • SFwork: 5,029 observations of commuting choices (e.g., driving alone, carpooling, bus, train, walking, biking).
  • SFshop: 3,157 observations of transportation choices for shopping trips.

These datasets are valuable because they involve choice sets larger than simple pairs, allowing researchers to observe complex trade-offs.

Key Findings

  • Superior Accuracy: On both datasets, PCMC significantly outperformed the standard MNL and the more complex Mixed MNL (MMNL) models.
  • Massive Error Reduction: Compared to MNL, PCMC reduced prediction error by 36.2% on the SFwork data and 46.5% on the SFshop data.
  • Capturing Cycles: Because PCMC does not rely on absolute utility, it can represent "cycles" of preference (A > B > C > A). The learned PCMC model identified real-world preference cycles in the data. For example, in the SFshop dataset, the model found 6 "cyclic triplets" out of a possible 20, confirming that human transportation choices are not perfectly transitive.

Limitations and Future Work

While highly flexible, the PCMC model introduces new computational challenges:

  • Optimization Complexity: Unlike MNL, the log-likelihood function for PCMC is non-concave. Finding the optimal parameters is computationally harder and requires sophisticated optimization techniques (like SLSQP).
  • Scaling Gradients: The choice probabilities are defined implicitly via the stationary distribution. Developing more efficient ways to calculate gradients for this implicit function is necessary to make the model faster to train on massive datasets.
  • Theoretical Characterization: While the authors show PCMC is not a Random Utility Model (RUM) in general, they leave it as an open challenge to determine exactly what conditions on the rate matrix $Q$ would make it one.

Ultimately, the Pairwise Choice Markov Chain offers a powerful new framework for researchers who need to model complex, irrational human choices without sacrificing mathematical rigor.

Summary updated

BibTeX
@inproceedings{ragain2016pairwise,
  author = {Stephen Ragain and Johan Ugander},
  title = {{Pairwise Choice Markov Chains}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2016},
  url = {https://openreview.net/forum?id=SkWdsD-_ZB},
}
Figure