How Many Pairwise Preferences Do We Need to Rank A Graph Consistently?

Aadirupa Saha, Rakesh Shivanna, Chiranjib Bhattacharyya

Abstract

Ranking items typically requires a quadratic number of pairwise comparisons. However, when items are nodes in a graph where neighbors share similar ranks, this complexity can be reduced. This paper introduces Pref-Rank, an algorithm that leverages graph structure to minimize the required comparisons. We provide the first statistical consistency guarantees for graph-based ranking and demonstrate that denser graphs significantly lower sample complexity, tied specifically to the chromatic number of the graph's complement.

Introduction

Ranking $n$ items based on pairwise preferences ("A is better than B") is a fundamental task. Without additional information, learning theory suggests $\Omega(n^2)$ pairs are necessary for a reliable reconstruction. In many real-world scenarios, items are linked in a network (e.g., social networks, citation graphs) where connected nodes likely possess similar rankings—a property known as locality. This paper explores how this underlying graph structure can be exploited to reduce the number of random pairwise comparisons needed to achieve a consistent ranking.

Methods: The Pref-Rank Algorithm

The authors propose Pref-Rank, a kernelized Support Vector Machine (SVM) framework designed for graph-based ranking. The methodology involves several key innovations:

  1. Product Graph Embedding: Since ranking involves pairs, the algorithm embeds the strong product graph ($G \boxtimes G$) to model relationships between pairs of nodes directly.
  2. Orthonormal Representations: Moving beyond standard Laplacian embeddings, which struggle with dense graphs, the authors utilize Kronecker Product Orthogonal Embeddings (Kron-Lab) and LS-labelling.
  3. SVM Scoring and Aggregation: Observed preferences are treated as binary labels for a kernelized SVM over the product graph. The algorithm predicts scores for all possible pairs, then aggregates "wins" for each node to produce a final sorted ranking.

Theoretical Contributions and Sample Complexity

A major contribution of this work is the mathematical link between graph density and sample complexity. The authors prove that the number of samples required is bounded by $O(n^2 \chi(\bar{G}))^{2/3}$, where $\chi(\bar{G})$ is the chromatic number of the complement graph. This directly relates ranking difficulty to the structural properties of the graph.

Comparison of Pref-Rank with existing ranking models and their respective sample complexities.

As shown in the table above, Pref-Rank provides a unique theoretical guarantee based on edge similarity, contrasting with prior active and random sampling techniques that often rely on specific noise models or low-rank assumptions.

Empirical Evaluation

The algorithm was tested on synthetic graphs and real-world datasets from LIBSVM, including bipartite, ordinal, and full ranking tasks. Graphs for real-world data were generated using RBF kernel similarity on item features.

Empirical performance of Pref-Rank (PR-Kron, PR-PD) against baselines across various real-world ranking tasks.

The results indicate that Pref-Rank consistently outperforms state-of-the-art baselines like Graph Rank (GR), Rank Centrality (RC), and Inductive Pairwise Ranking (IPR). Notably, the Kronecker product (Kron-Lab) and Pairwise Difference (PD-Lab) embeddings show superior error reduction as the sampling rate increases.

Key Insights

  • Structural Efficiency: Denser graphs allow for more information propagation, reducing the data needed. For disjoint cliques, complexity drops to $O(n^{4/3})$.
  • Embedding Choice Matters: The paper identifies that Laplacian embeddings have low expressiveness on highly connected graphs, justifying the shift to LS-labelling.
  • Statistical Consistency: Pref-Rank is the first to provide consistency for graph ranking under Kendall’s tau and Spearman’s footrule losses.

Conclusion and Future Work

Pref-Rank establishes a rigorous foundation for graph-based ranking. While it demonstrates strong empirical and theoretical performance, future work remains. Proving consistency for the Pairwise Difference (PD-Lab) embedding is an open challenge. Additionally, extending the framework to handle noisy preference models and optimizing for IR-specific metrics like NDCG would further broaden its applicability.

Summary updated

BibTeX
@inproceedings{saha2019how,
  author = {Aadirupa Saha and Rakesh Shivanna and Chiranjib Bhattacharyya},
  title = {{How Many Pairwise Preferences Do We Need to Rank A Graph Consistently?}},
  booktitle = {AAAI},
  year = {2019},
  url = {https://openreview.net/forum?id=HXCDOZflOTB},
}
Figure