mlsanityData to 7 Oct 2026

Nudging: Inference-time Alignment of LLMs via Guided Decoding

arXiv 2410.09300 ↗First posted 11 Oct 2024cs.CL cs.AI cs.LGcited by 22

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2024The Llama 3 Herd of Modelscited by 14,192
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  7. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  8. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  9. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  10. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  11. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  12. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
22 more
  1. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  2. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  3. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
  4. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  5. 2022Language Models (Mostly) Know What They Knowcited by 1,783
  6. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  7. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  8. 2023LIMA: Less Is More for Alignmentcited by 1,080
  9. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
  10. 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 736
  11. 2024OLMo: Accelerating the Science of Language Modelscited by 599
  12. 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
  13. 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 405
  14. 2016Solving General Arithmetic Word Problemscited by 353
  15. 2023The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learningcited by 251
  16. 2023Mitigating Label Biases for In-context Learningcited by 88
  17. 2023Reward-Augmented Decoding: Efficient Controlled Text Generation With a Unidirectional Reward Modelcited by 79
  18. 2024A Closer Look at the Limitations of Instruction Tuningcited by 76
  19. 2023An Emulator for Fine-Tuning Large Language Models using Small Language Modelscited by 61
  20. 2024Learning to Decode Collaboratively with Multiple Language Modelscited by 61
  21. 2023Investigating the Effectiveness of Task-Agnostic Prefix Prompt for Instruction Followingcited by 33
  22. 2023In-Context Alignment: Chat with Vanilla Language Models Before Fine-Tuningcited by 19

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 5; 2026: 15.

22 papers.

Sort:

By area:

  1. 2025Base Models Know How to Reason, Thinking Models Learn Whencited by 25
  2. 2024Test-Time Alignment via Hypothesis Reweightingcited by 11
  3. 2025Don't Throw Away Your Pretrained Modelcited by 9
  4. 2025Optimizing Diversity and Quality through Base-Aligned Model Collaborationcited by 8
  5. 2024SpecFuse: Ensembling Large Language Models via Next-Segment Predictioncited by 6
  6. 2026Among Us: Measuring and Mitigating Malicious Contributions in Model Collaboration Systemscited by 6
  7. 2026MoCo: A One-Stop Shop for Model Collaboration Researchcited by 5
  8. 2025Do Methods to Jailbreak and Defend LLMs Generalize Across Languages?cited by 4
  9. 2026Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuningcited by 4
  10. 2026LASA: Language-Agnostic Semantic Alignment at the Semantic Bottleneck for LLM Safetycited by 3
  11. 2026MentorCollab: Large-to-Small Inference-Time Mentorship for Concise Reasoning in Language Modelscited by 2
  12. 2025Kad: A Framework for Proxy-based Test-time Alignment with Knapsack Approximation Deferralcited by 1
10 more
  1. 2026Steer Model beyond Assistant: Controlling System Prompt Strength via Contrastive Decodingcited by 1
  2. 2026To Intervene or Not: Guiding Inference-time Alignment with Probabilistic Model Blendingcited by 1
  3. 2026ALIGNBEAM : Inference-Time Alignment Transfer via Cross-Vocabulary Logit Mixingcited by 1
  4. 2026The Master Key Hypothesis: Unlocking Cross-Model Capability Transfer via Linear Subspace Alignmentcited by 0
  5. 2026On the Rejection Criterion for Proxy-based Test-time Alignmentcited by 0
  6. 2026Measuring, Localizing, and Ablating Alignment Signatures in LLMscited by 0
  7. 2026Gradient-Guided Reward Optimization for Inference-time Alignmentcited by 0
  8. 2026Beyond Token-Level Guidance: Inference-Time Alignment of Specialized LLMs via Cross-Family Representation Steeringcited by 0
  9. 2026Beyond Token Positions: Safety Alignment Across Denoising Steps in Diffusion Language Modelscited by 0
  10. 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024DeAL: Decoding-time Alignment for Large Language Models
  2. 2025A Survey on Training-free Alignment of Large Language Models
  3. 2025Alignment-Aware Decoding
  4. 2024Aligning Large Language Models with Representation Editing: A Control Perspective
  5. 2024Fast Best-of-N Decoding via Speculative Rejection
  6. 2024CodecLM: Aligning Language Models with Tailored Synthetic Data
  7. 2025DiffPO: Diffusion-styled Preference Optimization for Efficient Inference-Time Alignment of Large Language Models
  8. 2024Efficient Alignment of Large Language Models via Data Sampling