Learning to Rank Using Privileged Information

Viktoriia Sharmanska, Novi Quadrianto, Christoph H. Lampert

Abstract

Standard machine learning assumes that the information available during training is identical to that available at test time. However, many real-world scenarios provide "privileged information"—extra data like textual descriptions, bounding boxes, or expert rationales—that is only accessible during the training phase. This paper introduces Rank Transfer, a novel method for Learning Using Privileged Information (LUPI). By leveraging this extra data to identify the relative difficulty of training examples, Rank Transfer significantly improves model performance at test time, even when the privileged information is no longer available.

Introduction: The Teacher-Student Paradigm

In traditional supervised learning, a model learns a mapping from inputs $x$ to labels $y$. In the LUPI framework, the model also has access to privileged information $x^*$ during training. A useful analogy is a student learning from a teacher: the teacher provides detailed explanations and step-by-step rationales ($x^*$) that help the student understand the underlying concepts. During the final exam (test time), the teacher is absent, but the student retains the insights gained from those explanations to solve problems more effectively.

Examples of privileged information ($x^*$) available during training but not at test time, including attributes, rationales, bounding boxes, and text.

In computer vision, privileged information can take several forms:

  • Attributes: Semantic descriptions such as "has stripes" or "eats fish."
  • Bounding Boxes: Precise spatial locations of objects within an image.
  • Rationales: Annotator notes or segmentations explaining why a specific label was assigned.

Methodology: SVM+ and Rank Transfer

The authors compare two primary maximum-margin techniques for solving the LUPI problem.

1. SVM+

Proposed by Vapnik, SVM+ uses privileged information to model the "slack variables" (error tolerance) of a Support Vector Machine. In this setup, the privileged data acts as an "oracle," informing the model which training examples are inherently difficult and should be given more leeway during optimization.

2. Rank Transfer

The core contribution of this work is Rank Transfer, a two-stage ranking approach:

  • Stage 1: A ranking model is trained on the privileged data $x^*$ to determine the relative "separability" or margin between pairs of examples.
  • Stage 2: These learned margins serve as targets for a second ranking model trained on the original visual data $x$.

Unlike SVM+, which requires complex, specialized solvers, Rank Transfer is highly practical. It can be implemented using standard, efficient SVM packages like LIBLINEAR by treating the privileged margins as per-sample weights.

Experimental Evaluation

The authors evaluated Rank Transfer across four diverse datasets:

  • Animals with Attributes (AwA): 85 semantic attributes used to improve object classification.
  • ImageNet (ILSVRC2012): Bounding boxes used to enhance whole-image recognition for specific categories like snakes and sports balls.
  • IsraeliImages: Textual tags used as privileged information for image ranking.
  • Hot or Not: Annotator rationales (specific facial regions) used to predict attractiveness.

Key Insights

  • The "Easy vs. Hard" Intuition: The fundamental premise is that if two images are easily distinguishable via high-level attributes (the "teacher's" view), they should also be distinguishable via raw pixels. If the teacher struggles to separate them, the model should not be penalized heavily for failing to do so.
  • Robustness to Noise: By ignoring pairs that are "hopeless" even in the privileged space, Rank Transfer prevents the model from overfitting to noise in the visual data.
  • No Negative Transfer: Experiments demonstrated that even when privileged information was not particularly helpful (e.g., sparse textual descriptions), it did not degrade the performance of the baseline model.

Results and Conclusion

Rank Transfer demonstrated significant gains over standard SVM baselines. On the AwA dataset, it outperformed the baseline in 34 out of 45 cases, showing particular strength in "hard" classification tasks where Average Precision was below 90%. For fine-grained snake classification in ImageNet, both SVM+ and Rank Transfer showed substantial improvements.

The study concludes that ranking-based models are exceptionally effective at leveraging privileged data, as relative comparisons provide a more robust signal for transfer than absolute classification labels. Rank Transfer offers a scalable and efficient framework for incorporating diverse metadata into visual recognition systems.

Summary updated

BibTeX
@inproceedings{sharmanska2013learning,
  author = {Viktoriia Sharmanska and Novi Quadrianto and Christoph H. Lampert},
  title = {{Learning to Rank Using Privileged Information}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2013},
  doi = {10.1109/iccv.2013.107},
}
Figure