LLM: Hämtning kontra Parametriskt Minne

Large language models (\textit{LLM}) have made remarkable progress but still suffer from factual inconsistencies when it comes to general knowledge questions, often producing incorrect or unsupported information. This thesis addresses that limitation by comparing two paradigms for open-domain question answering: a retrieval-augmented generation (\textit{RAG}) system that supplements a small \textit{LLM} with an external document retriever, and a large standalone \textit{LLM} that relies solely on knowledge stored in its model weights. The central question is whether a much smaller retriever-backed model can achieve factual accuracy comparable to or better than a state-of-the-art large standalone \textit{LLM} in answering general knowledge questions. To investigate this, a \textit{RAG} pipeline was implemented using a relatively small \textit{LLM} (billions of parameters) for generation, and a large (millions of documents) retrieval corpus. Its performance on answer accuracy was then evaluated against leading large \textit{LLM}s (trillion+ parameters) on a curated dataset of 1,000 open-domain question \& answer (\textit{QA}) pairs. Each system’s rate of factually correct answers were measured and analyzed where their responses differ. This study thus explores the trade-off between “memory” (internal parametric knowledge) and “retrieval” (external knowledge lookup) in LLMs, aiming to understand how much external retrieval can compensate for a smaller model’s limited internal knowledge in terms of factual accuracy.

Publication Details

Journal
KTH Publication Database DiVA (KTH Royal Institute of Technology)
Published
2025-01-01
Primary Topic
Libraries and Information Services
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LLM: Hämtning kontra Parametriskt Minne

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Libraries and Information Services
article

LLM: Hämtning kontra Parametriskt Minne

article en

Abstract

Large language models (\textit{LLM}) have made remarkable progress but still suffer from factual inconsistencies when it comes to general knowledge questions, often producing incorrect or unsupported information. This thesis addresses that limitation by comparing two paradigms for open-domain question answering: a retrieval-augmented generation (\textit{RAG}) system that supplements a small \textit{LLM} with an external document retriever, and a large standalone \textit{LLM} that relies solely on knowledge stored in its model weights. The central question is whether a much smaller retriever-backed model can achieve factual accuracy comparable to or better than a state-of-the-art large standalone \textit{LLM} in answering general knowledge questions. To investigate this, a \textit{RAG} pipeline was implemented using a relatively small \textit{LLM} (billions of parameters) for generation, and a large (millions of documents) retrieval corpus. Its performance on answer accuracy was then evaluated against leading large \textit{LLM}s (trillion+ parameters) on a curated dataset of 1,000 open-domain question \& answer (\textit{QA}) pairs. Each system’s rate of factually correct answers were measured and analyzed where their responses differ. This study thus explores the trade-off between “memory” (internal parametric knowledge) and “retrieval” (external knowledge lookup) in LLMs, aiming to understand how much external retrieval can compensate for a smaller model’s limited internal knowledge in terms of factual accuracy.

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Kungliga Tekniska Högskolan
Openalex Percentile: Top 39%
Libraries and Information Services
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.