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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Egbuna, Nathan, Gaur, Saatvik, Dev, Sunishchal, Panda, Ashwinee, Chaudhary, Maheep
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912692724301824
author Egbuna, Nathan
Gaur, Saatvik
Dev, Sunishchal
Panda, Ashwinee
Chaudhary, Maheep
author_facet Egbuna, Nathan
Gaur, Saatvik
Dev, Sunishchal
Panda, Ashwinee
Chaudhary, Maheep
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2509_18116
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Amortized Latent Steering: Low-Cost Alternative to Test-Time Optimization
Egbuna, Nathan
Gaur, Saatvik
Dev, Sunishchal
Panda, Ashwinee
Chaudhary, Maheep
Machine Learning
Artificial Intelligence
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.
title Amortized Latent Steering: Low-Cost Alternative to Test-Time Optimization
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2509.18116