Amortized Latent Steering: Low-Cost Alternative to Test-Time Optimization

Nathan Egbuna, Saatvik Gaur, Sunishchal Dev, Ashwinee Panda, Maheep Chaudhary
9/10/2025
cs.LGcs.AI

Official code: negbuna/ALS (3 stars, MIT, last commit 2025-12-20).

Abstract

Test-time optimization remains impractical at scale due to prohibitive inference costs--techniques like iterative refinement and multi-step verification can require $10-100\times$ more compute per query than standard decoding. Latent space test-time optimization methods like LatentSeek offer a more direct approach by steering hidden representations, but still demand expensive per-query optimization loops with multiple backward passes. We propose Amortized Latent Steering (ALS), which collapses this iterative optimization into a single offline-computed vector applied at constant cost during inference. ALS computes the mean difference between hidden states from successful versus unsuccessful generations, then uses this direction to calibrate the model's hidden representations: when decoding drifts away from the success manifold, ALS nudges activations back toward it. Across GSM8K and MATH-500 benchmarks, ALS achieves $2-5\times$ speedup over iterative methods while matching or surpassing greedy Chain-of-Thought (CoT) and Self-Consistency baselines, yielding up to 101% improvement in efficiency--accuracy trade-off. These results show that much of latent optimization's benefit can be captured offline, making sophisticated reasoning techniques viable for production deployment. Code is available at https://github.com/negbuna/ALS.

View on arXivView PDF

Code Implementations(1)

negbuna/ALSOfficial100%
MIT

Amortized Latent Steering (ALS) for Efficient LLM Reasoning

31ANTLR, ShellOct 17, 202510 months agoMIT

Similar Papers

Cite this paper

@article{egbuna2025amortized,
  title  = {Amortized Latent Steering: Low-Cost Alternative to Test-Time Optimization},
  author = {Nathan Egbuna and Saatvik Gaur and Sunishchal Dev and Ashwinee Panda and Maheep Chaudhary},
  year   = {2025},
  eprint = {2509.18116},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.18116v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.18116.svg)](https://codeofpaper.com/paper/2509.18116)

Discussion