Pairwise Ranking Objectives for Performance Predictors

17 concepts11 papers

When optimizing complex systems—whether searching for the best neural network architecture, tuning hyperparameters, or selecting branching variables in combinatorial solvers—we rely heavily on surrogate models. These performance predictors evaluate candidate configurations without running expensive, full-scale training or execution loops.

Traditionally, surrogate models are framed as regression tasks: given a configuration, predict its absolute performance (e.g., 92.4% accuracy or a 45-second runtime). However, this framing introduces unnecessary difficulty. In optimization, we rarely care about the exact numerical performance of a mediocre candidate; we only care whether candidate $A$ is better than candidate $B$.

By shifting the objective from absolute regression to relative ranking, recent research across Neural Architecture Search (NAS) and Hyperparameter Optimization (HPO) has unlocked massive gains in sample efficiency, robustness, and cross-task generalization.

The Pitfalls of Absolute Regression

Forcing a surrogate model to predict exact performance metrics introduces several distinct failure modes:

  1. Scale Invariance and Task Transfer: Absolute metrics do not translate across different datasets or environments. For instance, a hyperparameter configuration that achieves 98% accuracy on a simple dataset might only achieve 65% on a harder one. As noted by Rémi Bardenet et al. in their work on collaborative tuning, regressing to raw error scores prevents a model from transferring knowledge across diverse tasks. Similarly, Ekrem Öztürk et al. demonstrate that absolute performance metrics exhibit high variance across different datasets, making regression-based zero-shot AutoML highly fragile.
  2. Spurious Noise: Absolute execution metrics are inherently noisy. In combinatorial optimization, the time a solver takes to evaluate a variable subset can fluctuate based on hardware state or minor algorithmic stochasticity. Aaron M Ferber et al. show that predicting absolute execution times introduces high variance, whereas ranking candidate subsets based on relative solver performance filters out this background noise.
  3. Wasted Model Capacity: A regression model trained with Mean Squared Error (MSE) penalizes a 10% prediction error on a terrible architecture just as harshly as a 10% error on a top-tier architecture. This forces the model to expend capacity mapping out the exact performance of unviable candidates, rather than sharpening its resolution around the best-performing region of the search space.

The Mechanics of Relative Ranking

To bypass these limitations, performance predictors can be trained using ranking losses. Instead of mapping a single configuration to a scalar performance value ($f(x) \to y$), the model is trained to preserve the ordinal relationships between configurations.

As categorized in a comprehensive study by the authors of a recent survey on NAS loss functions, these approaches generally fall into two categories:

Pairwise Ranking

In a pairwise framework, the training instances are pairs of configurations $(x_i, x_j)$. The objective function penalizes the model if its predicted ordering contradicts the true ordering.

A common implementation is the hinge pairwise ranking loss, utilized by Xuefei Ning et al. and Ziye Chen et al.. The loss enforces a safety margin $m$ between the predicted scores of the superior and inferior candidates:

$$\mathcal{L}_{\text{pairwise}} = \max(0, m - (f(x_{\text{better}}) - f(x_{\text{worse}})))$$

Alternatively, this can be framed as a binary classification task. Yanan Sun et al. present a protocol that transforms pairs into binary indicators and fits them using logistic regression, directly predicting the probability that one architecture outperforms another. For sparse data scenarios, Han Ji et al. utilize Bayesian Personalized Ranking to optimize this relative ordering.

Listwise Ranking

Rather than evaluating isolated pairs, listwise approaches optimize the consistency of an entire predicted sequence. Shenghe Zheng et al. leverage listwise ranking losses within a curriculum contrastive learning framework, forcing the predictor to sort a collection of candidate architectures accurately from best to worst.

Absolute Regression (MSE):
[Arch A] ---> Predictor ---> 91.2%  (Target: 94.5%)  ==> High Error
[Arch B] ---> Predictor ---> 82.1%  (Target: 81.0%)  ==> Low Error

Pairwise Ranking:
[Arch A, Arch B] ---> Predictor ---> Score(A) > Score(B) ==> Zero Error (Correct Order)

Why Ranking Supercharges Search Efficiency

Shifting to a relativistic paradigm fundamentally changes how effectively a predictor can guide a search algorithm.

Perfect Alignment with Downstream Selection

Search algorithms—whether driven by Reinforcement Learning, Evolutionary Algorithms, or Bayesian Optimization—rely on selection mechanisms. An evolutionary algorithm selects the top $k$ parents for the next generation; an RL controller maximizes expected reward by picking the argmax candidate.

Hang Yin et al. demonstrate this in production-scale AutoML systems at Meta, showing that a pairwise ranking loss allows search algorithms to isolate top-tier model candidates far more effectively than traditional regression. Because the predictor's objective matches the search engine's selection criteria, the entire optimization loop becomes more robust.

Radical Sample Efficiency

Because learning a relative boundary is a simpler mathematical problem than learning a global continuous landscape, ranking predictors require significantly less labeled data.

Yixing Xu et al. demonstrate this property with ReNAS, showing that relativistic evaluation simplifies the learning task to such an extent that it drastically reduces the number of fully trained architectures needed to find optimal networks. When exact numerical precision is discarded in favor of ordinal accuracy, the model generalizes to unseen regions of the search space with a fraction of the training samples.

Key Foundational Work

A Generic Graph-Based Neural Architecture Encoding Scheme for Predictor-Based NAS (2020) — contributed 2 concept elements to this direction.
Collaborative hyperparameter tuning (2013) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_relative_performance_prediction_cdc6f30d,
  title = {relative performance prediction},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/relative-performance-prediction/rdr_cdc6f30d93ee42f4b44fc95f672f1b16},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_relative_performance_prediction_cdc6f30d_v1,
  title = {relative performance prediction},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/relative-performance-prediction/rdr_cdc6f30d93ee42f4b44fc95f672f1b16/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}

See something wrong? Report a mistake