Leveraging Importance Sampling to Detach Alignment Modules from Large Language Models
On the map: LLM alignment / RLHF / preference optimisation → LLM preference optimization methods
Abstract (arXiv)
The widespread adoption of large language models (LLMs) across industries has increased the demand for high-quality and customizable outputs. However, traditional alignment methods often require retraining large pretrained models, making it difficult to quickly adapt and optimize LLMs for diverse applications. To address this limitation, we propose a novel textitResidual Alignment Model (textitRAM) that formalizes the alignment process as a type of importance sampling. In this framework, the unaligned upstream model serves as the proposal distribution, while the alignment process is framed as secondary sampling based on an autoregressive alignment module that acts as an estimator of the importance weights. This design enables a natural detachment of the alignment module from the target aligned model, improving flexibility and scalability. Based on this model, we derive an efficient sequence-level training strategy for the alignment module, which operates independently of the proposal module. Additionally, we develop a resampling algorithm with iterative token-level decoding to address the common first-token latency issue in comparable methods. Experimental evaluations on two leading open-source LLMs across diverse tasks, including instruction following, domain adaptation, and preference optimization, demonstrate that our approach consistently outperforms baseline models.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in LLM preference optimization methods, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 38 of its 48 references that are in the map. First posted on arXiv 26 May 2025.
Builds on
38 of 48 references.
Closest ancestors · 12
Same direction, newest first
- 2025On-the-fly Preference Alignment via Principle-Guided Decoding20 Feb
- 2024FlipGuard: Defending Preference Alignment against Update Regression with Constrained Optimization1 Oct
- 2024SimPO: Simple Preference Optimization with a Reference-Free Reward23 May
- 2024LIRE: listwise reward enhancement for preference alignment22 May
- 2024Aligner: Efficient Alignment by Learning to Correct4 Feb
- 2023The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learning4 Dec
- 2023A General Theoretical Paradigm to Understand Learning from Human Preferences18 Oct
- 2023RLCD: Reinforcement Learning from Contrastive Distillation for Language Model Alignment24 Jul
- 2023Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervision4 May
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructions20 Dec
- 2022Training language models to follow instructions with human feedback4 Mar
- 2021A General Language Assistant as a Laboratory for Alignment1 Dec
Other references · 26
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2020Learning to summarize from human feedbackcited by 2,588
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
14 more
- 2024Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluatorscited by 897
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 839
- 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 642
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 472
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
- 2023The Capacity for Moral Self-Correction in Large Language Modelscited by 173
- 2023Controlled Decoding from Language Modelscited by 135
- 2020Residual Energy-Based Models for Text Generationcited by 95
- 2019Bias Correction of Learned Generative Models using Likelihood-Free Importance Weightingcited by 70
- 2025On the Trustworthiness of Generative Foundation Models: Guideline, Assessment, and Perspectivecited by 41
- 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspectivecited by 39
- 2024Why do small language models underperform? Studying Language Model Saturation via the Softmax Bottleneckcited by 21
- 2019Global Autoregressive Models for Data-Efficient Sequence Learningcited by 15
- 2024Aligners: Decoupling LLMs and Alignmentcited by 4
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Efficient Alignment of Large Language Models via Data Sampling
- 2025A Survey on Training-free Alignment of Large Language Models
- 2026AlignTune: Modular Toolkit for Post-Training Alignment of Large Language Models
- 2025Quantifying the Importance of Data Alignment in Downstream Model Performance
- 2025RIDE: Enhancing Large Language Model Alignment through Restyled In-Context Learning Demonstration Exemplars
- 2025Towards Efficient and Effective Alignment of Large Language Models
- 2025Test-time reward-guided alignment of language models by importance sampling on pre-logit space
- 2024Understanding Layer Significance in LLM Alignment