mlsanityData to 14 Oct 2026

Q-Adapter: Customizing Pre-trained LLMs to New Preferences with Forgetting Mitigation

arXiv 2407.03856 ↗First posted 4 Jul 2024cs.LGcited by 7

On the map: LLM alignment / RLHF / preference optimisation → LLM preference optimization methods

Abstract (arXiv)

Large Language Models (LLMs), trained on a large amount of corpus, have demonstrated remarkable abilities. However, it may not be sufficient to directly apply open-source LLMs like Llama to certain real-world scenarios, since most of them are trained for general purposes. Thus, the demands for customizing publicly available LLMs emerge, but are currently under-studied. In this work, we consider customizing pre-trained LLMs with new human preferences. Specifically, the LLM should not only meet the new preference but also preserve its original capabilities after customization. Drawing inspiration from the observation that human preference can be expressed as a reward model, we propose to cast LLM customization as optimizing the sum of two reward functions, one of which (denoted as r1) was used to pre-train the LLM while the other (denoted as r2) characterizes the new human preference. The obstacle here is that both reward functions are unknown, making the application of modern reinforcement learning methods infeasible. Thanks to the residual Q-learning framework, we can restore the customized LLM with the pre-trained LLM and the residual Q-function without the reward function r1. Moreover, we find that for a fixed pre-trained LLM, the reward function r2 can be derived from the residual Q-function, enabling us to directly learn the residual Q-function from the new human preference data upon the Bradley-Terry model. We name our method Q-Adapter as it introduces an adapter module to approximate the residual Q-function for customizing the pre-trained LLM towards the new preference. Experiments based on the Llama-3.1 model on the DSP dataset and HH-RLHF dataset illustrate the superior effectiveness of Q-Adapter on both retaining existing knowledge and learning new preferences. Code is available at https://github.com/mansicer/Q-Adapter.

Key facts. Cited by 7 papers 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 41 of its 59 references that are in the map. First posted on arXiv 4 Jul 2024.

Builds on

41 of 59 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023Mitigating the Alignment Tax of RLHF12 Sep
  2. 2022Training language models to follow instructions with human feedback4 Mar

Other references · 39

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2017Proximal Policy Optimization Algorithmscited by 15,215
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  7. 2017Deep reinforcement learning from human preferencescited by 3,912
  8. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  9. 2023A Survey of Large Language Modelscited by 2,576
  10. 2022Emergent Abilities of Large Language Modelscited by 2,512
  11. 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
  12. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
27 more
  1. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
  2. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  3. 2018Soft Actor-Critic Algorithms and Applicationscited by 1,240
  4. 2023Instruction-Following Evaluation for Large Language Modelscited by 1,228
  5. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
  6. 2024Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluatorscited by 897
  7. 2020Aligning AI With Shared Human Valuescited by 723
  8. 2017Reinforcement Learning with Deep Energy-Based Policiescited by 669
  9. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 639
  10. 2023LaMP: When Large Language Models Meet Personalizationcited by 437
  11. 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 391
  12. 2023A Survey of Reinforcement Learning from Human Feedbackcited by 264
  13. 2022Is Reinforcement Learning (Not) for Natural Language Processing: Benchmarks, Baselines, and Building Blocks for Natural Language Policy Optimizationcited by 246
  14. 2023ReMax: A Simple, Effective, and Efficient Reinforcement Learning Method for Aligning Large Language Modelscited by 187
  15. 2023Large Language Models for Robotics: A Surveycited by 133
  16. 2024Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsalcited by 118
  17. 2023The Impact of Large Language Models on Scientific Discovery: a Preliminary Study using GPT-4cited by 112
  18. 2024Beyond Accuracy: Evaluating the Reasoning Behavior of Large Language Models -- A Surveycited by 83
  19. 2024A Survey on Retrieval-Augmented Text Generation for Large Language Modelscited by 77
  20. 2024A Survey on Large Language Models for Critical Societal Domains: Finance, Healthcare, and Lawcited by 74
  21. 2023Inverse Preference Learning: Preference-based RL without a Reward Functioncited by 68
  22. 2024Personalized Large Language Modelscited by 44
  23. 2023Everyone Deserves A Reward: Learning Customized Human Preferencescited by 43
  24. 2023A Survey of Progress on Cooperative Multi-agent Reinforcement Learning in Open Environmentcited by 39
  25. 2024Customizing Language Model Responses with Contrastive In-Context Learningcited by 19
  26. 2023Residual Q-Learning: Offline and Online Policy Customization without Valuecited by 10
  27. 2023Large Language Models Illuminate a Progressive Pathway to Artificial Healthcare Assistant: A Reviewcited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 4; 2026: 2.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025LoRe: Personalizing LLMs via Low-Rank Reward Modeling
  2. 2024Orchestrating LLMs with Different Personalizations
  3. 2025ShiQ: Bringing back Bellman to LLMs
  4. 2024ICPL: Few-shot In-context Preference Learning via LLMs
  5. 2024Reinforcement Learning for LLM Post-Training: A Survey
  6. 2024Regularizing Hidden States Enables Learning Generalizable Reward Model for LLMs
  7. 2024Optimizing LLMs with Direct Preferences: A Data Efficiency Perspective
  8. 2024Mixed Preference Optimization: Reinforcement Learning with Data Selection and Better Reference Model