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

Linear Ranking Analysis

Weihong Deng, Jiani Hu, Jun GuoCVPR 2014

Abstract

We extend the classical linear discriminant analysis (LDA) technique to linear ranking analysis (LRA), by considering the ranking order of classes centroids on the projected subspace. Under the constrain on the ranking order of the classes, two criteria are proposed: 1) minimization of the classification error with the assumption that each class is homogenous Guassian distributed, 2) maximization of the sum (average) of the K minimum distances of all neighboring-class (centroid) pairs. Both criteria can be efficiently solved by the convex optimization for one-dimensional subspace. Greedy algorithm is applied to extend the results to the multi-dimensional subspace. Experimental results show that 1) LRA with both criteria achieve state-of-the-art performance on the tasks of ranking learning and zero-shot learning, and 2) the maximum margin criterion provides a discriminative subspace selection method, which can significantly remedy the class separation problem in comparing with several representative extensions of LDA.

Introduction

Dimensionality reduction is a fundamental task in machine learning, essential for data visualization and improving classification performance. Fisher’s Linear Discriminant Analysis (LDA) has long been the standard approach. However, LDA possesses two significant limitations: the "class separation problem" and an inability to model semantic relationships.

The class separation problem occurs when LDA, in its pursuit of maximizing global between-class scatter, "sacrifices" local separation between nearby classes, often merging them in low-dimensional projections. Additionally, standard LDA treats classes as independent, ignoring inherent ordinal strengths (e.g., "more open" vs. "less open" scenes) that are vital for modern computer vision tasks like zero-shot learning. Linear Ranking Analysis (LRA) bridges these gaps by treating dimensionality reduction as a ranking problem.

Conceptual comparison of LDA and LRA projections. LDA may merge nearby classes (Class 1 and 2) to satisfy global objectives, whereas LRA enforces a ranking order that preserves local separation.

Methodology

The core innovation of LRA is finding a projection direction $w$ that preserves a predefined ranking of class centroids. The authors propose two optimization criteria:

  1. Minimum Error LRA (ME-LRA): This approach assumes each class follows a Gaussian distribution and seeks to minimize the Bayes classification error under the constraint of a specific ranking order.
  2. Maximum Margin LRA (MM-LRA): A more robust, practical criterion that uses a "max-k-min" distance approach. Instead of focusing on the single closest pair of classes, it maximizes the average distance of the $k$ closest neighboring class pairs. The parameter $k$ allows tuning between local overlap correction and global data spread.

For 1D projections, these problems are formulated as efficient convex optimizations (linear programming). Multi-dimensional subspaces are constructed using a greedy recursive approach, finding successive directions in the null space of previous ones.

Experimental Evaluation

LRA was evaluated on synthetic data, UCI datasets (Image Segmentation, LandSat), and large-scale classification tasks (USPS digits). Crucially, it was tested on attribute-based zero-shot learning using the Outdoor Scene Recognition (OSR) and Public Figure Face Database (PubFig) datasets.

Key Results

  • Superior Visualization: LRA produces significantly more separable clusters compared to LDA and Bayes Optimal LDA (BLDA) by maintaining distinct boundaries where other methods fail.
  • Zero-Shot Learning: LRA achieves state-of-the-art accuracy in zero-shot tasks. By learning ranking functions for attributes on "seen" classes, it effectively categorizes "unseen" classes based on relative attribute descriptions. As shown in Figure 5, LRA variants maintain high accuracy even as the number of unseen classes increases.
  • Scalability: By operating on class centroids rather than individual sample pairs (like Ranking SVMs), LRA is highly scalable for large datasets.
Zero-shot learning accuracy on the PubFig dataset. LRA variants (MM-LRA and ME-LRA) consistently outperform baseline methods like DAP and SRA as the complexity of the task increases.

Conclusion

LRA effectively addresses the class separation problem of LDA by utilizing ordinal constraints. The "max-k-min" criterion in MM-LRA provides a flexible bridge between local and global discriminative analysis. While the current multi-dimensional extension is greedy, LRA sets a new benchmark for ranking-based dimensionality reduction, with potential for future integration into non-linear frameworks.

Summary updated

BibTeX
@inproceedings{deng2014linear,
  author = {Weihong Deng and Jiani Hu and Jun Guo},
  title = {{Linear Ranking Analysis}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  url = {https://openreview.net/forum?id=B1NIMxM_Wr},
}
Figure