NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Guiding LLMs at Inference Time via Bregman Tilting

Jacob L. Block, Aryan Mokhtari, Sanjay ShakkottaiarXiv 2026

TL;DR

When you give an LLM feedback on a failed attempt—like a compiler error or a math critique—just pasting that feedback into the prompt leaves you hoping the model actually pays attention to it. This paper introduces Bregman tilting, a training-free decoding method that mathematically steers an LLM's next-token probabilities toward what the feedback suggests, while preventing weird, low-probability tokens from hijacking the generation. Across coding and math benchmarks, this gentle, geometry-aware nudge consistently beats standard prompting and existing guidance techniques.

What Problem Does This Paper Address?

Iterative problem-solving is a staple of modern AI: an LLM writes code or a math proof, an external tool or reviewer points out a mistake, and the model tries again. Because we usually want to do this at inference time without retraining the model's weights, the standard strategy is input prompting—stuffing the previous attempt and the feedback into the context window and hitting "generate."

The catch? Input prompting treats the LLM as an uncontrollable black box. You have zero control over how strongly or faithfully the model incorporates the critique; in fact, models frequently ignore feedback and repeat their exact same mistakes. Existing inference-time guidance methods try to fix this by directly scaling token probabilities ("exponential tilting"), but they often accidentally boost garbage tokens that happen to get a noisy high score, derailing the output.

Methods

Bregman tilting sits on top of any standard input-prompting strategy (like Self-Refine or Recursive Self-Aggregation) and directly adjusts the LLM's next-token probability distribution at every decoding step. It introduces two novel pieces to replace standard approaches:

  1. Feedback-Isolated Token Scoring: To know which tokens the feedback favors, the authors run two forward passes per step. One prompt has the [Question + Prior Attempt + Feedback], and a reference prompt has just [Question + Prior Attempt]. The log-probability difference between the two gives a per-token "feedback score." Unlike standard contrastive methods that compare against a bare [Question] prompt, keeping the prior attempt in the reference prompt isolates the exact effect of the feedback.
  2. Mirror Ascent with Tsallis Geometry: Instead of naively multiplying token probabilities by an exponential of their feedback score, the authors frame the update as a single step of mirror ascent—maximizing the expected feedback score while penalizing deviations from the base distribution using a family of Bregman divergences (based on Tsallis entropy) indexed by $\alpha \in [0, 1]$.
  3. Setting $\alpha = 1$ gives the standard KL divergence, recovering traditional exponential tilting.
  4. Setting $\alpha < 1$ (specifically $\alpha = 0$, the log-barrier) changes the underlying geometry. It dampens each token's tilt by its base probability, meaning unlikely tokens face massive resistance to probability spikes, while plausible tokens get steered smoothly.

Datasets

Because Bregman tilting is training-free, datasets are used strictly for evaluation (no new benchmarks are introduced):

  • Coding: LiveCodeBench-v6 (131 contest problems from Feb–Apr 2025) and MBPP+ (evaluated on a "hard set" of 155 tasks that the base model couldn't trivially ace, plus the full 378-task set in the appendix). Feedback comes from executing code against unit tests.
  • Math: AIME 2025 (30 problems) and HMMT February 2025 (30 problems). Feedback is generated by a stronger reviewer LLM (Qwen3.5-27B) prompted to critique the first failing step without giving away the answer.

Key Insights and Ideas

  • Don't let noisy scores rescue implausible tokens: Under standard exponential tilting ($\alpha = 1$), a token with a tiny $0.0001\%$ base probability can suddenly jump into contention if the contrastive score spikes due to noise. With $\alpha = 0$, the log-probability boost is multiplied by the token's base likelihood. Unlikely tokens stay unlikely; the tilt concentrates its power on rearranging the good candidates.
  • Your reference prompt matters enormously: If you contrast [Attempt + Feedback] against [Question alone] (as in Context-Aware Decoding), you reward tokens simply for copying the old attempt—flaws and all. Isolating only the feedback slashes the rate at which the model stubbornly repeats flagged wrong answers (dropping from 44.3% down to 21.7% on AIME).
  • Surrogate ascent provably helps the true goal: The authors prove mathematically that taking a small Bregman tilting step increases the true probability of solving the problem whenever the feedback score positively covaries with actual correctness under a temperature-sharpened version of the base LLM.

Key Results

Using Qwen3-4B-Instruct over 5 iterative rounds (16 parallel rollouts per problem):

  • Consistent wins everywhere: Bregman tilting beats vanilla input prompting across all 8 combinations of benchmarks and prompting frameworks (Self-Refine and RSA), with $\alpha = 0$ outperforming or tying $\alpha = 1$ across the board.
  • Math boosts: On AIME 2025 with RSA, zero-shot pass@1 starts at 41.4%. Standard RSA prompting lifts this to 80.7%, exponential tilting ($\alpha = 1$) hits 84.5%, and Bregman tilting ($\alpha = 0$) reaches 85.9%—actually surpassing the zero-shot pass@1 of the much larger 27B reviewer model (75.8%).
  • Coding boosts: On LiveCodeBench with Self-Refine, pass@16 climbs from 52.1% (prompting) to 55.5% ($\alpha = 1$) and 59.0% ($\alpha = 0$).
  • Modest compute overhead: Solving the $\alpha = 0$ root-finding equation takes just 6 bisection and 6 Newton steps—adding only 1–2% to decoding time over $\alpha = 1$. The main cost is running the reference prompt in the batch, resulting in a 1.11× to 1.34× wall-clock overhead per token and roughly doubling KV-cache memory.

Limitations and Future Work

While the authors do not include a standalone limitations section, several constraints emerge in their analysis:

  • Double the batch, double the KV-cache: Because every chain requires evaluating both the feedback prompt and the no-feedback reference prompt, prompt-processing time and KV-cache memory roughly double (e.g., jumping from 32.1 GiB to 54.6 GiB for 8 parallel chains).
  • Hyperparameter calibration: Theory cannot prescribe the optimal $\alpha$ or step size $\eta$ ahead of time because true token-level correctness is unknown; $\eta$ had to be calibrated empirically on a single seed of AIME 2025.
  • Informative feedback required: On coding benchmarks, public tests alone caught only ~60% of bad programs, requiring the authors to expose half of the private tests to ensure the feedback signal was rich enough to test how well methods utilize informative critiques rather than test-set generalization. Future directions are not explicitly discussed in the paper.

Summary updated

BibTeX
@misc{block2026guiding,
  author = {Jacob L. Block and Aryan Mokhtari and Sanjay Shakkottai},
  title = {{Guiding LLMs at Inference Time via Bregman Tilting}},
  year = {2026},
  eprint = {2611.35277},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.35277},
}
Figure