Comparison-Based Choices

Jon M. Kleinberg, Sendhil Mullainathan, Johan Ugander

Abstract

Traditional ranking models often assume fixed utilities, yet human decision-making is frequently influenced by the context of available options, such as the compromise effect. This paper investigates whether such context-dependent preferences can be learned efficiently. We formalize a class of comparison-based choice functions where items are embedded in a one-dimensional space. We demonstrate that despite the apparent complexity of context effects, these preferences can be recovered with $O(n \log n)$ queries—the same complexity as standard sorting. Our results extend to population mixtures and passive observation settings, showing that "irrational" choice patterns do not necessarily pose an algorithmic barrier to preference inference.

1. Introduction

Standard machine learning approaches to ranking typically rely on the assumption of Independence of Irrelevant Alternatives (IIA). Under this paradigm, if an agent prefers item A over item B, this preference should remain stable regardless of other available options. However, behavioral economics has long documented violations of IIA, such as the "compromise effect," where the introduction of an extreme "decoy" option shifts preference toward a middle-ground alternative. This paper addresses the fundamental question: can we efficiently learn a user's underlying preference structure when their choices are context-dependent?

2. Comparison-Based Choice Models

We consider a setting where $n$ items are embedded on a one-dimensional line, representing a trade-off spectrum (e.g., price vs. quality). A user’s choice function $f(S)$ selects the $\ell$-th item from any subset $S$ of size $k$ according to this linear ordering. This model captures behaviors like picking the "second cheapest" or the "middle" option.

3. The Discard Algorithm and Active Querying

To learn the underlying ordering and the parameter $\ell$, we propose an active querying strategy. A key challenge is that we do not initially know the order of items on the line. We introduce a "discard algorithm" designed to identify "ineligible" alternatives—items that reside at the extreme ends of the spectrum and are never selected in any $k$-sized subset.

The discard algorithm identifies ineligible alternatives at the ends of the spectrum to serve as anchors for sorting.

Once these ineligible items are identified, they serve as "anchors." By including these anchors in query sets, we can effectively reduce complex $k$-set choices into binary-like comparisons, allowing the use of efficient sorting algorithms.

4. Theoretical Guarantees

Our analysis yields several key results:

  • Query Complexity: We prove that $O(n \log n)$ active queries are sufficient to fully recover the choice function. This matches the lower bound for standard sorting, implying that context effects do not increase the fundamental difficulty of the learning task.
  • Population Mixtures: In scenarios where a population shares an underlying ordering but individuals have different choice parameters $\ell$, the ordering can still be recovered using noisy sorting techniques.
  • Passive Observation: In a "clickstream" setting where the learner cannot choose the sets, we show that observing a vanishingly small fraction of possible sets (proportional to $\frac{\log n}{n}$) is sufficient for near-perfect recovery as $n$ grows.

5. Conclusion

This work demonstrates that "irrational" context-dependent choices are as learnable as traditional utility-based rankings. The presence of unchosen, extreme items—often viewed as noise in other models—actually provides critical structural information that simplifies the learning process. Future research will explore higher-dimensional embeddings and more complex distance-based choice functions.

Summary updated

BibTeX
@inproceedings{kleinberg2017comparison,
  author = {Jon M. Kleinberg and Sendhil Mullainathan and Johan Ugander},
  title = {{Comparison-Based Choices}},
  booktitle = {EC},
  year = {2017},
  doi = {10.1145/3033274.3085134},
}
Figure