Entrywise Error Bounds for Spectral Ranking with Semi-Random Adversaries

Dongmin Lee, Anuran Makur, Japneet SingharXiv 2026

TL;DR

This paper provides the first entry-wise ($\ell_\infty$) error analysis for spectral ranking algorithms under a semi-random adversary model. It demonstrates that while an adversary can degrade ranking performance by selectively adding edges to destroy a graph's spectral gap, an edge-reweighting scheme can restore optimal performance guarantees.

What Problem Does This Paper Address?

Pairwise preference learning—the task of ranking a collection of items based on head-to-head comparisons—is a foundational problem with applications ranging from sports analytics to aligning Large Language Models (LLMs) via human feedback. A popular and computationally efficient approach is spectral ranking (specifically, the Rank Centrality algorithm), which models comparisons as a Markov chain and finds the stationary distribution.

While spectral ranking is well-understood and optimal when data is sampled uniformly (like an Erdős-Rényi random graph), real-world data is rarely uniform. To model this, the authors adopt a semi-random adversary model. Here, an adversary can arbitrarily increase the sampling probabilities of certain edges. Paradoxically, adding more data (edges) can actually distort the graph's structure, shrinking its "spectral gap" (the second smallest eigenvalue of its Laplacian) and causing standard spectral ranking methods to fail. This paper tackles how to maintain tight, entry-wise error bounds even when an adversary tries to sabotage the graph's spectral properties.

Visualizing how adding an edge can reduce the spectral gap

Methods

The authors approach the problem through two main theoretical lenses:

  1. Vanilla (Unweighted) Spectral Ranking: They first analyze the standard Rank Centrality algorithm under the semi-random model. They prove that if the graph's spectral gap remains lower-bounded by a constant with high probability, the standard unweighted method still achieves optimal entry-wise error bounds. They show this condition naturally holds for certain assortative Stochastic Block Models (SBMs).
  2. Weighted Spectral Ranking: To handle cases where the adversary successfully destroys the spectral gap, they introduce an edge-weighted variant. Using a monotone coupling argument, they prove that a uniform Erdős-Rényi subgraph always exists within the semi-random graph. Edge reweighting acts as a continuous relaxation of extracting this clean subgraph.
  3. Optimization via MMWU: To find these weights without knowing the underlying true probabilities, they employ the Matrix Multiplicative Weight Update (MMWU) algorithm. This algorithm solves a semi-definite program (SDP) in near-linear time to maximize the spectral gap of the weighted Laplacian matrix under specific degree constraints.

Datasets

The paper does not use real-world datasets, as it is primarily a theoretical work. Instead, the authors validate their findings using synthetic random graph simulations:

  • A 3-block Stochastic Block Model (SBM): Configured with highly non-uniform edge probabilities to simulate adversarial clustering and varying node degrees.
  • An Erdős-Rényi Graph: Used as a baseline to test the algorithm's performance in a standard, non-adversarial setting.

Key Insights and Ideas

  • The "More-Data" Paradox: Counter-intuitively, giving a spectral algorithm more data points (edges) can hurt it. If the data is added non-uniformly, it can drastically reduce the spectral gap, making the principal eigenvector highly sensitive to noise.
  • Reweight to Neutralize: Instead of discarding data to find a uniform subgraph, the MMWU algorithm continuously downweights overrepresented edge regions and upweights underrepresented ones. This effectively normalizes node degrees and stabilizes the spectral gap.
  • Worst-Case Safety: Even when reweighting is completely unnecessary (such as on a standard Erdős-Rényi graph), the weighted spectral method performs almost identically to the unweighted version, proving there is no penalty for robustness.

Key Results

  • Optimal Bounds for Dense Graphs: For sufficiently dense semi-random graphs ($np \ge c\sqrt{n}$), the MMWU-weighted spectral method achieves an entry-wise error bound of $O(\sqrt{\frac{\log n}{npk}})$, matching the minimax optimal rate achieved under perfect uniform sampling.
  • Experimental Validation: In simulations on a 3-block SBM where the unweighted spectral gap decays toward zero as the number of items ($n$) increases, the MMWU method successfully counteracts the decay. As a result, the weighted method significantly outperforms the standard unweighted spectral method in relative $\ell_\infty$ error as the graph scales.
Figure 2: Experiment 1 (Subfigures (a)–(c)): 3-block SBM with edge sampling probabilities between each pair of blocks given by the matrix (7). Experiment 2 (Subfigures (d)–(f)): Erdős-Rényi model with edge sampling probability 𝑝= 2 log(𝑛)/𝑛.

Limitations and Future Work

The primary limitation of the current work is the density requirement for the weighted method's optimality condition ($np \ge c\sqrt{n}$). While the algorithm remains empirically effective on sparser graphs, the current proof techniques cannot yet guarantee optimal theoretical bounds in sparse regimes. The authors highlight the development of alternate proof techniques to establish optimal bounds for sparser semi-random graphs as a promising direction for future research.

Summary updated

BibTeX
@misc{lee2026entrywise,
  author = {Dongmin Lee and Anuran Makur and Japneet Singh},
  title = {{Entrywise Error Bounds for Spectral Ranking with Semi-Random Adversaries}},
  year = {2026},
  eprint = {2605.23854},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.23854},
}
Figure