Skip to main content
QUICK REVIEW

[Paper Review] Injecting Domain-Specific Knowledge into Large Language Models: A Comprehensive Survey

Zhihua Song, Bin Yan|ArXiv.org|Feb 15, 2025
Topic ModelingComputer Science8 citations
TL;DR

This survey categorizes domain-specific knowledge injection methods for LLMs into four paradigms (dynamic, static, adapters, and prompts), surveys applications across multiple domains, benchmarks, and compares domain-specific LLMs to general-domain models.

ABSTRACT

Large Language Models (LLMs) have demonstrated remarkable success in various tasks such as natural language understanding, text summarization, and machine translation. However, their general-purpose nature often limits their effectiveness in domain-specific applications that require specialized knowledge, such as healthcare, chemistry, or legal analysis. To address this, researchers have explored diverse methods to enhance LLMs by integrating domain-specific knowledge. In this survey, we provide a comprehensive overview of these methods, which we categorize into four key approaches: dynamic knowledge injection, static knowledge embedding, modular adapters, and prompt optimization. Each approach offers unique mechanisms to equip LLMs with domain expertise, balancing trade-offs between flexibility, scalability, and efficiency. We discuss how these methods enable LLMs to tackle specialized tasks, compare their advantages and disadvantages, evaluate domain-specific LLMs against general LLMs, and highlight the challenges and opportunities in this emerging field. For those interested in delving deeper into this area, we also summarize the commonly used datasets and benchmarks. To keep researchers updated on the latest studies, we maintain an open-source at: https://github.com/abilliyb/Knowledge_Injection_Survey_Papers, dedicated to documenting research in the field of specialized LLM.

Motivation & Objective

  • Summarize the landscape of domain-specific knowledge injection for LLMs across disciplines.
  • Present a unified framework categorizing injection methods and their trade-offs.
  • Survey datasets, benchmarks, and open-source tools used in domain-specific LLM research.
  • Compare domain-specific LLMs with general-domain LLMs to assess performance gains.

Proposed method

  • Define and unify four knowledge-injection paradigms: dynamic knowledge injection, static knowledge embedding, modular adapters, and prompt optimization.
  • Provide formal notations for integrating external knowledge into LLMs and discuss pros/cons of each paradigm.
  • Review domain-specific applications across biomedicine, finance, materials/chemistry, and human-centered sciences.
  • Summarize open-source frameworks (KnowGPT, StructTuning, K-Adapter, SelfLift) and available datasets/benchmarks.
  • Offer a performance-oriented comparison between domain-specific and general-domain LLMs using medical benchmarks.

Experimental results

Research questions

  • RQ1What are the main paradigms for injecting domain-specific knowledge into LLMs and how do they differ in training/inference costs and capabilities?
  • RQ2How do domain-specific LLMs perform relative to general-domain LLMs on standard biomedical benchmarks?
  • RQ3What datasets, benchmarks, and frameworks are most commonly used to study domain-specific LLMs?
  • RQ4What challenges and opportunities arise for integrated knowledge consistency and cross-domain transfer in knowledge-injected LLMs?

Key findings

  • Four paradigms are identified: dynamic knowledge injection, static knowledge embedding, modular adapters, and prompt optimization.
  • Dynamic injection depends on retrieval quality and can be slower due to retrieval steps, while static embedding requires costly updates and risks catastrophic forgetting.
  • Adapters provide a middle ground with low training cost by freezing base parameters and training small modules.
  • Prompts enable use of internal knowledge without retraining but require careful design and can reduce context window.
  • Domain-specific LLMs can outperform general-domain models on certain biomedical tasks, but closed-source LLMs (e.g., GPT-4, Med-Gemini) currently achieve strong results on benchmarks.
  • PMC-LLaMA-13B can surpass LLaMA2-70B on MedQA, illustrating the value of domain-specific models in open-source efforts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.