paper-with-me

홈 › Papers

Demystifying LLM-as-a-Judge: Analytically Tractable Model for Inference-Time Scaling

2025-12-22 · Indranil Halder, Cengiz Pehlevan arxiv

Recent developments in large language models have shown advantages in reallocating a notable share of computational resource from training time to inference time. However, the principles behind inference time scaling are not well understood. In this paper, we introduce an analytically tractable model of inference-time scaling: Bayesian linear regression with a reward-weighted sampler, where the reward is determined from a linear model, modeling LLM-as-a-judge scenario. We study this problem in the high-dimensional regime, where the deterministic equivalents dictate a closed-form expression for the posterior predictive mean and variance. We analyze the generalization error when training data are sampled from a teacher model. We draw $k$ inference-time samples and select via softmax at a temperature applied to a quadratic reward. When the reward is not too different from the teacher, the generalization error decreases monotonically with increasing inference time samples $k$. However, the specific reward that optimizes inference-time selection generally differs from the teacher. In contrast, substantial reward misspecification induces a finite optimal $k$ beyond which more sampling can increase the generalization error. For fixed $k$, there exists an optimal sampling temperature. We experimentally verify these facts in large language model inference with an additional large language model as a judge. In the "best-of-$k$" limit with the teacher as reward, we theoretically show that the generalization error decays as $Θ(1/k^2)$ and determine the leading coefficient via extreme value theory. These formulas delineate domains where scaling inference-time computation is provably preferable to collecting more data. Finally, we demonstrate that when task difficulty increases, the previously mentioned advantage of inference-time compute degrades.

📄 PDF Abstract BibTeX arXiv:2512.19905

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Analytically Tractable Hidden-States Inference in Bayesian Neural Networks

2021-07-08 · Luong-Ha Nguyen, James-A. Goulet

With few exceptions, neural networks have been relying on backpropagation and gradient descent as the inference engine in order to learn the model parameters, because the closed-form Bayesian inference for neural network…

Adversarial AttackBayesian Inference

Variational Learning for the Inverted Beta-Liouville Mixture Model and Its Application to Text Categorization

2021-12-29 · Yongfa Ling, Wenbo Guan, Qiang Ruan, Heping Song 외

The finite invert Beta-Liouville mixture model (IBLMM) has recently gained some attention due to its positive data modeling capability. Under the conventional variational inference (VI) framework, the analytically tracta…

ObjectText CategorizationVariational Inference

Mean-Field Variational Inference for Gradient Matching with Gaussian Processes

2016-10-21 · Nico S. Gorbach, Stefan Bauer, Joachim M. Buhmann

Gradient matching with Gaussian processes is a promising tool for learning parameters of ordinary differential equations (ODE's). The essence of gradient matching is to model the prior over state variables as a Gaussian …

Gaussian ProcessesVariational Inference

Delayed Sampling and Automatic Rao-Blackwellization of Probabilistic Programs

2017-08-25 · Lawrence M. Murray, Daniel Lundén, Jan Kudlicka, David Broman 외

We introduce a dynamic mechanism for the solution of analytically-tractable substructure in probabilistic programs, using conjugate priors and affine transformations to reduce variance in Monte Carlo estimators. For infe…

parameter estimationProbabilistic Programming

Variational inference for Markov jump processes

2007-12-01 · NeurIPS 2007 12 · Manfred Opper, Guido Sanguinetti

Markov jump processes play an important role in a large number of application domains. However, realistic systems are analytically intractable and they have traditionally been analysed using simulation based techniques, …

parameter estimationVariational Inference