Lune

NeurIPS2025Top-tier venue

Inference-time Alignment in Continuous Space

Yige Yuan, Teng Xiao, Yunfan Li, Bingbing Xu, Shuchang Tao, Yunqi Qiu, Huawei Shen, Xueqi Cheng

Abstract

Aligning large language models with human feedback at inference time has received increasing attention due to its flexibility. Existing methods rely on generating multiple responses from the base policy for search using a reward model, which can be considered as searching in a discrete response space. However, these methods struggle to explore informative candidates when the base policy is weak or the candidate set is small, resulting in limited effectiveness. In this paper, to address this problem, we propose Simple Energy Adaptation (SEA\textbf{SEA}), a simple yet effective algorithm for inference-time alignment. In contrast to expensive search over the discrete space, SEA directly adapts original responses from the base policy toward the optimal one via gradient-based sampling in continuous latent space. Specifically, SEA formulates inference as an iterative optimization procedure on an energy function over actions in the continuous space defined by the optimal policy, enabling simple and effective alignment. For instance, despite its simplicity, SEA outperforms the second-best baseline with a relative improvement of up to 77.51% \textbf{77.51\%} on AdvBench and 16.36%\textbf{16.36\%} on MATH. Our code is publicly available at https://github.com/yuanyige/sea

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Model Alignment as Prospect Theoretic Optimization cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Model Alignment as Prospect Theoretic Optimization cites Training language models to follow instructions with human feedback
  • Alignment-Aware Decoding cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Alignment-Aware Decoding cites Training language models to follow instructions with human feedback
  • ∇-Reasoner: LLM Reasoning via Test-Time Gradient Descent in Latent Space cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • ∇-Reasoner: LLM Reasoning via Test-Time Gradient Descent in Latent Space cites Training language models to follow instructions with human feedback
  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Training language models to follow instructions with human feedback
  • Large Language Models are Zero-Shot Reasoners cites Training language models to follow instructions with human feedback
  • From Outcomes to Processes: Guiding PRM Learning from ORM for Inference-Time Alignment cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • From Outcomes to Processes: Guiding PRM Learning from ORM for Inference-Time Alignment cites Training language models to follow instructions with human feedback
  • Training language models to follow instructions with human feedback cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. ∇-Reasoner: LLM Reasoning via Test-Time Gradient Descent in Latent SpacePeihao Wang, Ruisi Cai, Zhen Wang, Hongyuan Mei et al.ICLR 2026 · 5 citations
  2. From Outcomes to Processes: Guiding PRM Learning from ORM for Inference-Time AlignmentBin Xie, Bingbing Xu, Yige Yuan, Shengmao Zhu et al.ACL 2025 · 4 citations
  3. Alignment-Aware DecodingFrédéric Berdoz, Luca Lanzendörfer, René Caky, Roger WattenhoferICML 2026 · 1 citation

Builds on33

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  2. Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
  3. Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo et al.NeurIPS 2022 · 8,168 citations
  4. Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung et al.ICLR 2020 · 1,166 citations
  5. Model Alignment as Prospect Theoretic OptimizationKawin Ethayarajh, Winnie Xu, Niklas Muennighoff, Dan Jurafsky et al.ICML 2024 · 973 citations

Related papers

  1. Spectral Editing of Activations for Large Language Model AlignmentYifu Qiu, Zheng Zhao, Yftah Ziser, Anna Korhonen et al.NeurIPS 2024 · 66 citations
  2. Self-Evolution Fine-Tuning for Policy OptimizationRuijun Chen, Jiehao Liang, Shiping Gao, Fanqi Wan et al.EMNLP Findings 2024
  3. Inference-Aware Meta-Alignment of LLMs via Non-Linear GRPOShokichi Takakura, Akifumi Wachi, Rei Higuchi, Kohei Miyaguchi et al.ICML 2026
  4. Dynamic Rewarding with Prompt Optimization Enables Tuning-free Self-Alignment of Language ModelsSomanshu Singla, Zhen Wang, Tianyang Liu, Abdullah Ashfaq et al.EMNLP 2024 · 1 citation
  5. One Refiner to Unlock Them All: Inference-Time Reasoning Elicitation via Reinforcement Query RefinementYixiao Zhou, Dongzhou Cheng, Zhiliang Wu, Yi Yang et al.ACL 2026 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines