Fisher Random Walk: Automatic Debiasing Contextual Preference Inference for Large Language Model Evaluation

Yichi Zhang, Alexander Belloni, Ethan X. Fang, Junwei Lu, Xiaoan XuarXiv 2025 · DOI

Abstract

As Large Language Models (LLMs) proliferate, the need for nuanced, context-aware evaluation has surpassed the capabilities of global ranking systems like Elo. Standard preference models often fail to account for domain-specific performance and the inherent sparsity of comparison data. This paper introduces the Fisher Random Walk, a novel statistical framework designed for debiased contextual preference inference. By leveraging a graph-based random walk weighted by Fisher information, the method achieves semiparametric efficiency and computational scalability, allowing for rigorous statistical inference even when direct comparisons between models are absent.

1. Introduction

Evaluating LLMs has traditionally relied on the Bradley-Terry-Luce (BTL) model to generate global leaderboards. However, these rankings often obscure critical performance variations across different contexts—a model proficient in creative writing may struggle with technical code or medical diagnosis. To address this, researchers are shifting toward contextual preference scores.

Two primary challenges hinder this transition: heterogeneity (performance variance across domains) and sparsity (the impossibility of comparing every model pair across every context). Standard machine learning "plug-in" estimators often introduce significant bias in these sparse settings. The Fisher Random Walk framework addresses these issues by providing an automatically debiased estimator that extracts maximum information from available comparison data.

2. Methodology

2.1 The Fisher Random Walk Estimator

The core of the proposed method is a debiasing estimator that operates on a comparison graph where nodes represent LLMs and edges represent pairwise comparisons. To estimate the preference difference between two models ($i_0$ and $j_0$) that may not have been directly compared, the algorithm aggregates information across all possible paths between them.

Key components include:

  • Fisher-Information-Weighted Paths: The probability of transitioning between models in the random walk is proportional to the Fisher information of their specific comparison. This ensures the estimator is "semiparametric efficient," prioritizing the most reliable data points.
  • Residual Aggregation: The estimator cleans the bias of initial machine learning models (such as deep neural networks) by aggregating residuals—the difference between predicted and actual win rates—across the graph.

2.2 Computational Efficiency via Electrical Networks

A naive calculation of all path weights would result in $O(n^2)$ complexity, which is prohibitive for large model sets. The authors identify a structural analogy between the comparison graph and an electrical network. By representing model scores as electrical potentials and utilizing "Ohm’s Law," the problem is reduced to solving a graph Laplacian system. This optimization brings the computational complexity down to $O(n)$, making the framework scalable to modern LLM benchmarks.

2.3 Learner-Agnostic Framework

The Fisher Random Walk is "learner-agnostic," meaning it can be applied to various initial estimation models, including ReLU-DNNs. The debiasing step ensures that the final inference remains statistically valid regardless of the complexity of the underlying preference function.

3. Experimental Validation

3.1 Synthetic Simulations

The framework was tested against both linear and complex non-linear preference functions. In non-linear scenarios, the Fisher Random Walk estimator demonstrated significantly lower variance and superior coverage compared to standard plug-in estimators, proving its robustness in high-dimensional contextual spaces.

3.2 MMLU Benchmark Analysis

The authors applied the method to the Massive Multitask Language Understanding (MMLU) benchmark, focusing on five medical and biological subjects (e.g., Clinical Knowledge, College Biology). Using GPT-4 as a judge for pairwise preferences among models including Alpaca, LLaMA-1, LLaMA-2, GPT-3, and GPT-4o, the study found:

  • GPT-4o Dominance: GPT-4o consistently outperformed all other models across all medical sub-domains.
  • Statistical Rigor: The method successfully controlled the Family-Wise Error Rate (FWER), ensuring that detected performance differences were not statistical artifacts.
  • Sparsity Robustness: The estimator maintained the ability to identify significant differences even when the comparison graph was only partially observed.

4. Discussion and Future Work

The Fisher Random Walk represents a significant step toward rigorous, context-sensitive LLM evaluation. By bridging the gap between sparse data and reliable inference, it allows developers to understand exactly where a model excels or fails.

Future research directions include:

  • Multiway Comparisons: Extending the framework from pairwise BTL models to the Plackett-Luce model for ranking multiple items simultaneously.
  • Dynamic Rankings: Incorporating temporal dynamics to account for model updates and evolving human preferences.
  • Scaling: Further optimizing graph Laplacian solvers for extremely large-scale graphs involving millions of unique contexts.

5. Conclusion

By treating LLM evaluation as an inference problem on an electrical network, the Fisher Random Walk provides a scalable, unbiased, and theoretically grounded approach to understanding model performance. This framework moves the field beyond simple Elo ratings toward a more granular and scientifically robust standard of evaluation.

Summary updated

BibTeX
@misc{zhang2025fisher,
  author = {Yichi Zhang and Alexander Belloni and Ethan X. Fang and Junwei Lu and Xiaoan Xu},
  title = {{Fisher Random Walk: Automatic Debiasing Contextual Preference Inference for Large Language Model Evaluation}},
  year = {2025},
  eprint = {2509.05852},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.05852},
}
Figure