Active preference learning for ordering items in- and out-of-sample

Herman Bergström, Emil Carlsson, Devdatt Dubhashi, Fredrik D. Johansson

The Challenge of Pairwise Comparisons

Imagine you are a radiologist trying to rank a thousand X-rays from "least diseased" to "most diseased." Assigning a precise numerical score to each image is mentally taxing and highly inconsistent. It is much easier to look at two images side-by-side and say, "This one looks worse than that one."

However, with 1,000 images, there are nearly half a million possible pairs to compare. Exhaustively checking them all is impossible. Active preference learning aims to solve this by picking only the most "informative" pairs to show the expert, drastically reducing the number of annotations needed.

Despite its utility, current active preference learning research has two major gaps:

  1. Ignoring Structure: Many algorithms treat items as isolated entities, ignoring the fact that items with similar features (like visual patterns or text attributes) likely have similar ranks.
  2. The "New Item" Problem: Most systems can only rank the items they were explicitly trained on. If a new patient walks in, the system has no way to place their X-ray into the existing list without starting a new round of expensive comparisons.

Introducing GURO: Context-Aware Active Learning

To address these limitations, researchers have developed GURO (Greedy Uncertainty Reduction for Ordering). The core idea is to model preferences using a logistic model (specifically, the Bradley-Terry model) based on item attributes or "context."

Algorithm 1: Greedy Uncertainty Reduction for Ordering (GURO)

What makes GURO unique is its pair selection strategy. It derives a mathematical upper bound on the "ordering error" and greedily picks pairs that minimize this bound. To achieve this, it balances two types of uncertainty:

  • Epistemic Uncertainty: The model's lack of knowledge about its own parameters ("I don't know the scoring function well enough yet").
  • Aleatoric Uncertainty: The inherent noise in the data ("These two items are so similar that even a human expert might flip a coin").

Crucially, the authors also propose a Hybrid Model. Purely contextual models can "plateau" if the available features don't capture every nuance of the items. The hybrid version adds a specific parameter for every individual item, allowing the system to fine-tune the ranking beyond what the general features suggest.

Key Insights

  • Noise is Information: Traditional active learning often avoids "noisy" pairs where annotators might disagree. This paper argues the opposite: high noise actually signals that two items are very close in rank. Identifying these "hard" pairs is essential for achieving a perfect ordering.
  • Context as a Bridge: By using features (like embeddings from a neural network), the model learns a general scoring function. This enables out-of-sample ordering—the ability to place a brand-new item into a ranked list without needing any new comparisons for that specific item.
  • The Hybrid Advantage: The Hybrid model offers the best of both worlds. It uses context to get a rough ranking very quickly (low variance) and then uses per-item parameters to fix any errors caused by imperfect features (low bias).

Experimental Results

The researchers evaluated their approach on four diverse tasks, including simulated X-ray age ranking, image clarity assessment, political ad tone ranking, and facial age comparisons (IMDB-WIKI-SbS).

Performance of GURO vs. baselines on in-sample ranking (left) and out-of-sample generalization (right).
  • Superior Efficiency: In tasks like X-RayAge, GURO reached a low error rate significantly faster than standard baselines like BALD or TrueSkill.
  • Generalization: GURO excelled at out-of-sample tests. When trained on one subset of data and tested on unseen items, it maintained high accuracy, whereas non-contextual methods were essentially guessing.
  • Solving the Plateau: On the large-scale IMDB-WIKI-SbS dataset (6,000+ images), the Hybrid model successfully avoided the performance plateau that limited purely contextual models. It eventually matched the accuracy of non-contextual models but achieved it with much higher initial speed.

Limitations and Future Directions

The primary limitation of GURO is computational complexity. Evaluating every possible pair in a large pool scales quadratically ($O(n^2)$), which becomes slow as the number of items grows. While the authors mitigated this by sub-sampling pairs, more efficient search strategies are needed for massive datasets.

Future work includes proving a theoretical lower bound (the absolute limit of how well any algorithm could perform on this task) and exploring how to update the item features themselves (representation learning) dynamically while the ranking is happening, rather than relying entirely on pre-trained static models.

Summary updated

BibTeX
@inproceedings{bergstrom2024active,
  author = {Herman Bergström and Emil Carlsson and Devdatt Dubhashi and Fredrik D. Johansson},
  title = {{Active preference learning for ordering items in- and out-of-sample}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=PSLH5q7PFo},
}
Figure