NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Supervised learning as preference optimization

Fabio Aiolli, Alessandro Sperduti

Abstract

This paper presents a unified framework for supervised learning by reframing diverse tasks—ranging from binary classification to complex multi-label ranking—as a single problem of preference optimization. By treating supervision as a set of constraints on a scoring function, the authors introduce the General Preference Learning Model (GPLM). This large-margin framework maps qualitative and quantitative preferences into an augmented linear space, enabling the application of standard optimization techniques to a wide array of machine learning problems.

Introduction

In the mid-2000s, the machine learning landscape was characterized by a fragmentation of specialized algorithms for binary classification, multiclass ranking, and ordinal regression. These complex tasks were frequently decomposed into simpler sub-problems, such as "one-vs-all" classification, which often lacked a unified theoretical foundation and introduced computational inefficiencies. This paper addresses this fragmentation by proposing a single mathematical language based on the concept of preference. Whether identifying a category or ranking items, supervised learning essentially expresses a preference for one prediction over another.

The General Preference Learning Model (GPLM)

The core of the proposed framework is the General Preference Learning Model (GPLM), which operates through three primary components:

  1. Scoring Function: The model learns a function $u(x, y)$ that assigns a relevance score to a pair consisting of an instance $x$ and a label $y$.
  2. Preference Graphs: Supervision is modeled as a directed graph where an edge from $A$ to $B$ signifies that $A$ is preferred over $B$. This includes qualitative preferences (e.g., "label $y_r$ is better than $y_s$ for instance $x$") and quantitative preferences (e.g., "the score for $(x, y)$ must exceed threshold $\tau$").
  3. The Augmented Space Trick: To handle quantitative constraints, the authors augment the weight vector to include threshold values. This transformation converts quantitative constraints into homogeneous linear qualitative constraints of the form $w \cdot \psi(\lambda) > 0$.

Formalizing Supervision

The GPLM framework allows for the formalization of various learning settings by defining specific preference sets. As shown in Figure 1, tasks like Label Ranking (LR), Instance Ranking (IR), and Monotonic Ordinal Regression (MOR) are represented as distinct sets of preference constraints.

Formal definitions of supervision for Label Ranking (LR), Instance Ranking (IR), and Monotonic Ordinal Regression (MOR).

This unification demonstrates that these seemingly different tasks are merely different ways of constructing a preference graph. Furthermore, treating thresholds as learnable parameters within the weight vector allows the model to automatically determine the boundaries of ordinal categories during training.

Optimization Strategies

Because the raw cost function (counting preference violations) is non-continuous and difficult to optimize directly, the GPLM utilizes continuous surrogate loss functions. These losses, detailed in Figure 2, include the Perceptron loss, the $\beta$-margin loss (analogous to Support Vector Machines), and sigmoidal losses.

Common surrogate loss functions used within the GPLM framework to optimize preference constraints.

The choice of loss function is critical; for instance, the authors find that a sigmoidal loss often outperforms the standard hinge loss in ordinal regression tasks because it more closely approximates the 0-1 error.

Empirical Applications and Results

While primarily a theoretical framework, the GPLM has been validated across several real-world domains:

  • Interactive Text Categorization: On the Reuters-21578 dataset, the GPLM approach demonstrated significant improvements in precision-at-recall metrics compared to standard SVMs.
  • Patent Classification: The framework was successfully deployed in international patent offices to help experts navigate thousands of categories by providing accurate rankings rather than rigid classifications.
  • Flexibility: The model's compatibility with kernel methods allows it to handle non-linear relationships, while its graph-based nature allows users to encode domain-specific costs by weighting edges differently.

Conclusion and Future Work

The GPLM provides a robust, unified perspective on supervised learning, simplifying the design and training of models for complex tasks. However, challenges remain regarding computational complexity in problems with a massive number of labels, which can lead to very large preference graphs. Future research directions include the development of stochastic versions of the algorithm to scale the framework to modern big-data environments and improving feature engineering for the joint representation space $\phi(x, y)$.

Summary updated

BibTeX
@inproceedings{aiolli2009supervised,
  author = {Fabio Aiolli and Alessandro Sperduti},
  title = {{Supervised learning as preference optimization}},
  booktitle = {ESANN},
  year = {2009},
}
Figure