paper-with-me

홈 › Papers

Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMs

2023-12-10 · Oded Ovadia, Menachem Brief, Moshik Mishaeli, Oren Elisha

Large language models (LLMs) encapsulate a vast amount of factual information within their pre-trained weights, as evidenced by their ability to answer diverse questions across different domains. However, this knowledge is inherently limited, relying heavily on the characteristics of the training data. Consequently, using external datasets to incorporate new information or refine the capabilities of LLMs on previously seen information poses a significant challenge. In this study, we compare two common approaches: unsupervised fine-tuning and retrieval-augmented generation (RAG). We evaluate both approaches on a variety of knowledge-intensive tasks across different topics. Our findings reveal that while unsupervised fine-tuning offers some improvement, RAG consistently outperforms it, both for existing knowledge encountered during training and entirely new knowledge. Moreover, we find that LLMs struggle to learn new factual information through unsupervised fine-tuning, and that exposing them to numerous variations of the same fact during training could alleviate this problem.

📄 PDF Abstract BibTeX arXiv:2312.05934

Code (0)

등록된 구현이 없습니다.

Tasks

RAGRetrievalRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Weight Decay 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
WordPiece 설명 없음

Similar Papers 제목 키워드 기반

Fine-Tuning vs. RAG for Multi-Hop Question Answering with Novel Knowledge

2026-01-11 · Zhuoyi Yang, Yurun Song, Iftekhar Ahmed, Ian Harris arxiv

Multi-hop question answering is widely used to evaluate the reasoning capabilities of large language models (LLMs), as it requires integrating multiple pieces of supporting knowledge to arrive at a correct answer. While …

Multi-hop Question AnsweringScience Question AnsweringContinual Pretraining

Knowledge Injection via Prompt Distillation

2024-12-19 · Kalle Kujanpää, Harri Valpola, Alexander Ilin

In many practical applications, large language models (LLMs) need to incorporate new knowledge not present in their pre-training data. The primary methods for this are fine-tuning and retrieval-augmented generation (RAG)…

RAGRetrieval-augmented Generation

Synthetic Knowledge Ingestion: Towards Knowledge Refinement and Injection for Enhancing Large Language Models

2024-10-12 · Jiaxin Zhang, Wendi Cui, Yiran Huang, Kamalika Das 외

Large language models (LLMs) are proficient in capturing factual knowledge across various domains. However, refining their capabilities on previously seen knowledge or integrating new knowledge from external sources rema…

Question AnsweringRAGRetrieval-augmented Generation

Text Before Vision: Staged Knowledge Injection Matters for Agentic RLVR in Ultra-High-Resolution Remote Sensing Understanding

2026-02-15 · Fengxiang Wang, Mingshuo Chen, Yueying Li, Yajie Yang 외 arxiv

Multimodal reasoning for ultra-high-resolution (UHR) remote sensing (RS) is usually bottlenecked by visual evidence acquisition: the model necessitates localizing tiny task-relevant regions in massive pixel spaces. While…

Reinforcement LearningMultimodal ReasoningVisual Reasoning

Automated Instruction Revision (AIR): A Structured Comparison of Task Adaptation Strategies for LLM

2026-04-10 · Solomiia Bilyk, Volodymyr Getmanskyi, Taras Firman arxiv

This paper studies Automated Instruction Revision (AIR), a rule-induction-based method for adapting large language models (LLMs) to downstream tasks using limited task-specific examples. We position AIR within the broade…

Logical Reasoning