Nudging: Inference-time Alignment of LLMs via Guided Decoding
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) require alignment to effectively and safely follow user instructions. This process necessitates training an aligned version for every base model, resulting in significant computational overhead. In this work, we propose NUDGING, a simple, training-free algorithm that aligns any base model at inference time using a small aligned model. NUDGING is motivated by recent findings that alignment primarily alters the model's behavior on a small subset of stylistic tokens (e.g., discourse markers). We find that base models are significantly more uncertain when generating these tokens. Building on this insight, NUDGING employs a small aligned model to generate nudging tokens to guide the base model's output during decoding when the base model's uncertainty is high, with only a minor additional inference overhead. We evaluate NUDGING across 3 model families on a diverse range of open-instruction tasks. Without any training, nudging a large base model with a 7x-14x smaller aligned model achieves zero-shot performance comparable to, and sometimes surpassing, that of large aligned models. By operating at the token level, NUDGING enables off-the-shelf collaboration between model families. For instance, nudging Gemma-2-27b with Llama-27b-chat outperforms Llama-2-70b-chat on various tasks. Overall, our work offers a modular and cost-efficient solution to LLM alignment. Our code and demo are available at: https://fywalter.github.io/nudging/ .
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Builds on 34 of its 42 references that are in the map. First posted on arXiv 11 Oct 2024.
Builds on
34 of 42 references.
References · 34
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
22 more
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2023LIMA: Less Is More for Alignmentcited by 1,080
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
- 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 736
- 2024OLMo: Accelerating the Science of Language Modelscited by 599
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
- 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 405
- 2016Solving General Arithmetic Word Problemscited by 353
- 2023The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learningcited by 251
- 2023Mitigating Label Biases for In-context Learningcited by 88
- 2023Reward-Augmented Decoding: Efficient Controlled Text Generation With a Unidirectional Reward Modelcited by 79
- 2024A Closer Look at the Limitations of Instruction Tuningcited by 76
- 2023An Emulator for Fine-Tuning Large Language Models using Small Language Modelscited by 61
- 2024Learning to Decode Collaboratively with Multiple Language Modelscited by 61
- 2023Investigating the Effectiveness of Task-Agnostic Prefix Prompt for Instruction Followingcited by 33
- 2023In-Context Alignment: Chat with Vanilla Language Models Before Fine-Tuningcited by 19
Built on by
Citing papers per year: 2024: 2; 2025: 5; 2026: 15.
22 papers.
Sort:
By area:
- 2025Base Models Know How to Reason, Thinking Models Learn Whencited by 25
- 2024Test-Time Alignment via Hypothesis Reweightingcited by 11
- 2025Don't Throw Away Your Pretrained Modelcited by 9
- 2025Optimizing Diversity and Quality through Base-Aligned Model Collaborationcited by 8
- 2024SpecFuse: Ensembling Large Language Models via Next-Segment Predictioncited by 6
- 2026Among Us: Measuring and Mitigating Malicious Contributions in Model Collaboration Systemscited by 6
- 2026MoCo: A One-Stop Shop for Model Collaboration Researchcited by 5
- 2025Do Methods to Jailbreak and Defend LLMs Generalize Across Languages?cited by 4
- 2026Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuningcited by 4
- 2026LASA: Language-Agnostic Semantic Alignment at the Semantic Bottleneck for LLM Safetycited by 3
- 2026MentorCollab: Large-to-Small Inference-Time Mentorship for Concise Reasoning in Language Modelscited by 2
- 2025Kad: A Framework for Proxy-based Test-time Alignment with Knapsack Approximation Deferralcited by 1
10 more
- 2026Steer Model beyond Assistant: Controlling System Prompt Strength via Contrastive Decodingcited by 1
- 2026To Intervene or Not: Guiding Inference-time Alignment with Probabilistic Model Blendingcited by 1
- 2026ALIGNBEAM : Inference-Time Alignment Transfer via Cross-Vocabulary Logit Mixingcited by 1
- 2026The Master Key Hypothesis: Unlocking Cross-Model Capability Transfer via Linear Subspace Alignmentcited by 0
- 2026On the Rejection Criterion for Proxy-based Test-time Alignmentcited by 0
- 2026Measuring, Localizing, and Ablating Alignment Signatures in LLMscited by 0
- 2026Gradient-Guided Reward Optimization for Inference-time Alignmentcited by 0
- 2026Beyond Token-Level Guidance: Inference-Time Alignment of Specialized LLMs via Cross-Family Representation Steeringcited by 0
- 2026Beyond Token Positions: Safety Alignment Across Denoising Steps in Diffusion Language Modelscited by 0
- 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMscited by 0
- 2026Beyond Token Positions: Safety Alignment Across Denoising Steps in Diffusion Language Models31 Aug 2026
- 2026Beyond Token-Level Guidance: Inference-Time Alignment of Specialized LLMs via Cross-Family Representation Steering31 Aug 2026
- 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMs26 Aug 2026
- 2026ALIGNBEAM : Inference-Time Alignment Transfer via Cross-Vocabulary Logit Mixing10 Jun 2026
- 2026Gradient-Guided Reward Optimization for Inference-time Alignment8 Jun 2026
- 2026Measuring, Localizing, and Ablating Alignment Signatures in LLMs28 May 2026
- 2026To Intervene or Not: Guiding Inference-time Alignment with Probabilistic Model Blending22 Apr 2026
- 2026On the Rejection Criterion for Proxy-based Test-time Alignment17 Apr 2026
- 2026LASA: Language-Agnostic Semantic Alignment at the Semantic Bottleneck for LLM Safety13 Apr 2026
- 2026The Master Key Hypothesis: Unlocking Cross-Model Capability Transfer via Linear Subspace Alignment7 Apr 2026
- 2026Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuning8 Mar 2026
- 2026MentorCollab: Large-to-Small Inference-Time Mentorship for Concise Reasoning in Language Models5 Feb 2026
10 more
- 2026Among Us: Measuring and Mitigating Malicious Contributions in Model Collaboration Systems5 Feb 2026
- 2026MoCo: A One-Stop Shop for Model Collaboration Research29 Jan 2026
- 2026Steer Model beyond Assistant: Controlling System Prompt Strength via Contrastive Decoding10 Jan 2026
- 2025Optimizing Diversity and Quality through Base-Aligned Model Collaboration7 Nov 2025
- 2025Do Methods to Jailbreak and Defend LLMs Generalize Across Languages?1 Nov 2025
- 2025Kad: A Framework for Proxy-based Test-time Alignment with Knapsack Approximation Deferral30 Oct 2025
- 2025Don't Throw Away Your Pretrained Model10 Oct 2025
- 2025Base Models Know How to Reason, Thinking Models Learn When8 Oct 2025
- 2024Test-Time Alignment via Hypothesis Reweighting11 Dec 2024
- 2024SpecFuse: Ensembling Large Language Models via Next-Segment Prediction10 Dec 2024
- 2024Test-Time Alignment via Hypothesis Reweightingcited by 11
- 2025Do Methods to Jailbreak and Defend LLMs Generalize Across Languages?cited by 4
- 2026Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuningcited by 4
- 2026LASA: Language-Agnostic Semantic Alignment at the Semantic Bottleneck for LLM Safetycited by 3
- 2026To Intervene or Not: Guiding Inference-time Alignment with Probabilistic Model Blendingcited by 1
- 2026Measuring, Localizing, and Ablating Alignment Signatures in LLMscited by 0
- 2026Gradient-Guided Reward Optimization for Inference-time Alignmentcited by 0
- 2026Gradient-Guided Reward Optimization for Inference-time Alignment8 Jun 2026
- 2026Measuring, Localizing, and Ablating Alignment Signatures in LLMs28 May 2026
- 2026To Intervene or Not: Guiding Inference-time Alignment with Probabilistic Model Blending22 Apr 2026
- 2026LASA: Language-Agnostic Semantic Alignment at the Semantic Bottleneck for LLM Safety13 Apr 2026
- 2026Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuning8 Mar 2026
- 2025Do Methods to Jailbreak and Defend LLMs Generalize Across Languages?1 Nov 2025
- 2024Test-Time Alignment via Hypothesis Reweighting11 Dec 2024
- 2025Base Models Know How to Reason, Thinking Models Learn Whencited by 25
- 2025Don't Throw Away Your Pretrained Modelcited by 9
- 2026MentorCollab: Large-to-Small Inference-Time Mentorship for Concise Reasoning in Language Modelscited by 2
- 2026The Master Key Hypothesis: Unlocking Cross-Model Capability Transfer via Linear Subspace Alignmentcited by 0
- 2026The Master Key Hypothesis: Unlocking Cross-Model Capability Transfer via Linear Subspace Alignment7 Apr 2026
- 2026MentorCollab: Large-to-Small Inference-Time Mentorship for Concise Reasoning in Language Models5 Feb 2026
- 2025Don't Throw Away Your Pretrained Model10 Oct 2025
- 2025Base Models Know How to Reason, Thinking Models Learn When8 Oct 2025
- 2025Optimizing Diversity and Quality through Base-Aligned Model Collaborationcited by 8
- 2024SpecFuse: Ensembling Large Language Models via Next-Segment Predictioncited by 6
- 2026MoCo: A One-Stop Shop for Model Collaboration Researchcited by 5
- 2025Kad: A Framework for Proxy-based Test-time Alignment with Knapsack Approximation Deferralcited by 1
- 2026Steer Model beyond Assistant: Controlling System Prompt Strength via Contrastive Decodingcited by 1
- 2026On the Rejection Criterion for Proxy-based Test-time Alignmentcited by 0
- 2026Beyond Token-Level Guidance: Inference-Time Alignment of Specialized LLMs via Cross-Family Representation Steeringcited by 0
- 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMscited by 0
- 2026Beyond Token-Level Guidance: Inference-Time Alignment of Specialized LLMs via Cross-Family Representation Steering31 Aug 2026
- 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMs26 Aug 2026
- 2026On the Rejection Criterion for Proxy-based Test-time Alignment17 Apr 2026
- 2026MoCo: A One-Stop Shop for Model Collaboration Research29 Jan 2026
- 2026Steer Model beyond Assistant: Controlling System Prompt Strength via Contrastive Decoding10 Jan 2026
- 2025Optimizing Diversity and Quality through Base-Aligned Model Collaboration7 Nov 2025
- 2025Kad: A Framework for Proxy-based Test-time Alignment with Knapsack Approximation Deferral30 Oct 2025
- 2024SpecFuse: Ensembling Large Language Models via Next-Segment Prediction10 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2024DeAL: Decoding-time Alignment for Large Language Models
- 2025A Survey on Training-free Alignment of Large Language Models
- 2025Alignment-Aware Decoding
- 2024Aligning Large Language Models with Representation Editing: A Control Perspective
- 2024Fast Best-of-N Decoding via Speculative Rejection
- 2024CodecLM: Aligning Language Models with Tailored Synthetic Data
- 2025DiffPO: Diffusion-styled Preference Optimization for Efficient Inference-Time Alignment of Large Language Models
- 2024Efficient Alignment of Large Language Models via Data Sampling