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

Learning Preferences for Multiclass Problems

Fabio Aiolli, Alessandro Sperduti

TL;DR

This paper introduces the Preference Learning Model (PLM), a unifying framework that treats various multiclass tasks—like ranking, multi-label, and hierarchical classification—as a single problem of satisfying preference constraints. By generalizing the "large margin" principle used in Support Vector Machines (SVMs), the authors develop a kernel-based method, the Kernel Preference Learning Machine (KPLM), which outperforms existing baselines on complex document ranking tasks.

What Problem Does This Paper Address?

In the world of machine learning, "multiclass classification" is often oversimplified to just picking one label out of many. However, real-world problems are rarely that simple. You might need to rank categories by relevance, handle objects that belong to multiple classes (multi-label classification), or deal with nested hierarchies.

Historically, researchers have developed bespoke algorithms for each of these scenarios, resulting in a fragmented landscape without a universal theory. The authors argue that all these tasks are actually just different ways of expressing preferences (e.g., "Class A is more relevant than Class B"). They aim to move away from fragmented models toward a single, robust framework that can handle any multiclass problem defined by partial order constraints.

Methods

The authors propose two major contributions to solve this fragmentation:

1. The Preference Learning Model (PLM)

This is the conceptual "Grand Unified Theory" of the paper. It represents labels as preference graphs (p-graphs). In these graphs, nodes represent classes, and directed edges (arcs) represent a preference of one class over another. This graph-based approach allows the model to "code" any multiclass task into a standardized set of constraints.

Examples of preference graphs (p-graphs) representing different multiclass constraints.

2. Kernel Preference Learning Machine (KPLM)

To solve the PLM, the authors adapt "Kesler’s Construction"—a classic trick to turn multiclass problems into binary ones—into a higher-dimensional space. They then apply a large-margin approach similar to SVMs.

  • The "Secret Sauce": Instead of just summing up errors, the KPLM uses a "max-loss" strategy. It looks at the most violated constraint in a preference graph to determine the penalty.
  • Optimization: Because the resulting optimization problem is massive, they use an iterative strategy that selects one preference graph at a time and optimizes its variables, ensuring the algorithm scales to large datasets.

Datasets

The model was evaluated using the Reuters-21578 dataset (specifically the 'ModApte' split), a staple in text categorization benchmarking.

  • Scope: The evaluation focused on the 10 most popular categories.
  • Scale: The split included 6,490 training documents and 2,545 test documents.
  • Features: Documents were processed into 28,006 distinct features using tf-idf weighting.
  • Task: The authors induced a "binary category ranking" task, where the goal is to rank all relevant classes for a document higher than all irrelevant ones.

Key Insights and Ideas

  • Unification is Possible: The paper demonstrates that popular strategies like One-vs-All (OvA), One-vs-One (OvO), and Error-Correcting Output Codes (ECOC) are actually just specific, simplified instances of the PLM.
  • The Power of the Margin: By applying the large-margin principle (the idea of not just being "right," but being right by a wide safety buffer) to ranking, the model becomes significantly more robust against noise compared to perceptron-based methods.
  • Mapping Matters: The authors experimented with different ways to map labels to graphs (Identity, Disagreement, and Domination mappings). They found that how you "code" the preferences significantly impacts the final accuracy, with "Identity" and "Domination" mappings generally performing best.

Key Results

The KPLM was compared against the MMP (Multiclass Margin Perceptron), a well-known baseline for ranking.

Performance comparison of MMP and KPLM across various error and precision metrics.
  • Accuracy: KPLM consistently outperformed MMP across five different evaluation metrics.
  • Error Reduction: On the "Identity Error" (IErr) metric, KPLM reduced the error rate from 5.07% (MMP) to 3.77%.
  • Precision: In terms of Average Precision (AvgP), the KPLM reached an impressive 98.25%, compared to MMP's 97.49%.
  • Consistency: The results showed that the kernel-based approach is more stable across different cost definitions than simpler online algorithms.

Limitations and Future Work

While the framework is powerful, the authors note a few areas for growth:

  • Computational Complexity: Although the iterative optimization helps, solving these large-margin problems in high-dimensional kernel space is still computationally heavier than simple linear models.
  • Coding Optimization: The current work uses fixed "codes" for classes. The authors suggest that learning the optimal codes alongside the scoring functions could lead to even better performance.
  • Structured Labels: The paper lays the groundwork for hierarchical and interdependent labels, but detailed experiments on these specific structures were left for future research.

Summary updated

BibTeX
@inproceedings{aiolli2004learning,
  author = {Fabio Aiolli and Alessandro Sperduti},
  title = {{Learning Preferences for Multiclass Problems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2004},
}
Figure