Guiding LLMs at Inference Time via Bregman Tilting
Abstract
We study inference-time guidance for large language models (LLMs) in iterative problem solving, where the LLM generates an attempt, receives text feedback from the environment, and tries again. While input prompting, which puts prior attempts and feedback in context, is a standard approach, it gives no control over how the LLM uses the feedback in its next attempt. Thus, we introduce Bregman tilting, which complements any input-prompting approach by directly modifying the LLM's next-token distribution. At each decoding step, it scores each token by its change in log-probability when the feedback is added to a prompt that contains the prior attempt, and updates the distribution via a mirror ascent step on the expected score, regularized by a Tsallis-entropy-based family of Bregman divergences indexed by . At this recovers the exponential tilt of prior methods, while changes the divergence geometry to discount the influence of unlikely tokens under input prompting. The resulting update damps each token's tilt by its input-prompting likelihood, and it locally improves the true correctness probability whenever the score positively covaries with correctness under the input-prompting distribution sharpened to a lower temperature. Experiments on coding and math show that Bregman tilting outperforms input prompting in every setting, while performs best, beating the exponential tilt at and highlighting the value of our framework as a whole.
Create a lesson
Related papers
Inference-Time Weak-to-Strong Transfer for Efficient Distillation
Shared title terminologycs.LGYuxiao Yang, Shangzhe Li, Tianrun Yu et al.
Temporal Expert Caching for Accelerating Inference in MoE Diffusion Language Models
Shared title terminologycs.LGVikhyath Kothamasu, Sandeep Kumar, Deepika Palagani
Auditing Adversarial Robustness with Training-time Canaries
Shared title terminologycs.LGYoojin Jung, Sebastian Szyller
TS-RSI: Recursive Self-Improvement in Long-Term Time Series Forecasting
Shared title terminologycs.LGXinhua Miao, Bowei Yang, Zhengong Cai
The Target Betrays the Trigger: Defending Multivariate Time-Series Forecasters Against Backdoor Attacks
Shared title terminologycs.LGChibueze Peace Obioma, Youcheng Sun, Edoardo Manino et al.
pyconformal: Exact and Fast Conformal Prediction for Tabular Data and Time Series
Shared title terminologycs.LGValery Manokhin