Embedding Domain Knowledge for Large Language Models via Reinforcement Learning from Augmented Generation
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) often exhibit limited performance on domain-specific tasks due to the natural disproportionate representation of specialized information in their training data and the static nature of these datasets. Knowledge scarcity and temporal lag create knowledge gaps for domain applications. While post-training on domain datasets can embed knowledge into models, existing approaches have some limitations. Continual Pre-Training (CPT) treats all tokens in domain documents with equal importance, failing to prioritize critical knowledge points, while supervised fine-tuning (SFT) with question-answer pairs struggles to develop the coherent knowledge structures necessary for complex reasoning tasks. To address these challenges, we propose Reinforcement Learning from Augmented Generation (RLAG). Our approach iteratively cycles between sampling generations and optimizing the model through calculated rewards, effectively embedding critical and contextually coherent domain knowledge. We select generated outputs with the highest log probabilities as the sampling result, then compute three tailored reward metrics to guide the optimization process. To comprehensively evaluate domain expertise, we assess answer accuracy and the rationality of explanations generated for correctly answered questions. Experimental results across medical, legal, astronomy, and current events datasets demonstrate that our proposed method significantly outperforms baseline approaches. Our code and data are open sourced at https://github.com/ChaojunNie/RLAG.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 24 of its 43 references that are in the map. First posted on arXiv 24 Sep 2025.
Builds on
24 of 43 references.
References · 24
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 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
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2020Learning to summarize from human feedbackcited by 2,562
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,324
- 2024SimPO: Simple Preference Optimization with a Reference-Free Rewardcited by 951
12 more
- 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 466
- 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 235
- 2021KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extractioncited by 180
- 2023Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMscited by 175
- 2023SAC3: Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistencycited by 89
- 2023Crawling the Internal Knowledge-Base of Language Modelscited by 85
- 2025Injecting Domain-Specific Knowledge into Large Language Models: A Comprehensive Surveycited by 47
- 2023Large Language Model-Aware In-Context Learning for Code Generationcited by 42
- 2025A Reasoning-Focused Legal Retrieval Benchmarkcited by 37
- 2024m2mKD: Module-to-Module Knowledge Distillation for Modular Transformerscited by 5
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026GRASP: GRanularity-Aware Search Policy for Agentic RAGcited by 0
- 2026GRASP: GRanularity-Aware Search Policy for Agentic RAG11 Jul 2026