Papers › Enhancing LLM Factual Accuracy with RAG to Counter Hallucinations: A Case Study on...

Enhancing LLM Factual Accuracy with RAG to Counter Hallucinations: A Case Study on Domain-Specific Queries in Private Knowledge-Bases

15 Mar 2024arXiv:2403.10446archive 2025-07-28

Jiarui Li, Ye Yuan, Zehua Zhang

We proposed an end-to-end system design towards utilizing Retrieval Augmented Generation (RAG) to improve the factual accuracy of Large Language Models (LLMs) for domain-specific and time-sensitive queries related to private knowledge-bases. Our system integrates RAG pipeline with upstream datasets processing and downstream performance evaluation. Addressing the challenge of LLM hallucinations, we finetune models with a curated dataset which originates from CMU's extensive resources and annotated with the teacher model. Our experiments demonstrate the system's effectiveness in generating more accurate answers to domain-specific and time-sensitive inquiries. The results also revealed the limitations of fine-tuning LLMs with small-scale and skewed datasets. This research highlights the potential of RAG systems in augmenting LLMs with external datasets for improved performance in knowledge-intensive tasks. Our code and models are available on Github.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2403.10446")

Code

Syntology Ran 12 of 13 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 12 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

anlp-team/LTI_Neural_Navigator officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 12 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

12ran
1unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from anlp-team/LTI_Neural_Navigator. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

filter anlp-team/LTI_Neural_Navigator/src/data_prep/get_paper.py official repository ran MIT (permissive) · 16f4131c96c45844 · report
find_pdf_files anlp-team/LTI_Neural_Navigator/src/data_prep/get_paper.py official repository ran fingerprinted MIT (permissive) · 6b05e4043da9fa41 · report
fix_json_string anlp-team/LTI_Neural_Navigator/src/annotation/fix_json_str.py official repository ran fingerprinted MIT (permissive) · 6c210b1b9a24dc88 · report
get_dst_filename anlp-team/LTI_Neural_Navigator/src/annotation/anno_reference.py official repository ran fingerprinted MIT (permissive) · 09838de41af0c00e · report
get_incremental_list anlp-team/LTI_Neural_Navigator/src/annotation/anno_reference.py official repository ran MIT (permissive) · 32d7d414e146c489 · report
get_incremental_list anlp-team/LTI_Neural_Navigator/src/annotation/plan_annotation.py official repository ran MIT (permissive) · f8e9d133543a2771 · report
get_msg_func anlp-team/LTI_Neural_Navigator/src/annotation/local_auto.py official repository ran MIT (permissive) · a1bec14819bec9eb · report
json_repair_api anlp-team/LTI_Neural_Navigator/src/annotation/fix_json_str.py official repository ran fingerprinted MIT (permissive) · 786dc72edd4e7742 · report
list_all_files anlp-team/LTI_Neural_Navigator/src/annotation/anno_reference.py official repository ran fingerprinted MIT (permissive) · 43ff90719e493366 · report
list_all_files anlp-team/LTI_Neural_Navigator/src/annotation/local_auto.py official repository ran fingerprinted MIT (permissive) · 8976b470bd9dbdb3 · report
normalize_dirty_str anlp-team/LTI_Neural_Navigator/src/annotation/fix_json_str.py official repository ran fingerprinted MIT (permissive) · 58068d0689548837 · report
split_file anlp-team/LTI_Neural_Navigator/src/annotation/local_auto.py official repository ran MIT (permissive) · e1f6085807a868da · report
download_pdf_file anlp-team/LTI_Neural_Navigator/src/data_prep/get_paper.py official repository unverified MIT (permissive) · 766cd5d654d83f7a · report

Tasks

RAGRetrievalRetrieval-augmented Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamAttentionAttention DropoutBARTBERTBPEDense ConnectionsDropoutLayer NormalizationLinear LayerLinear Warmup With Linear DecayMulti-Head AttentionRAGResidual ConnectionSoftmaxWeight DecayWordPiece

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections