Papers › LLatrieval: LLM-Verified Retrieval for Verifiable Generation

LLatrieval: LLM-Verified Retrieval for Verifiable Generation

14 Nov 2023arXiv:2311.07838archive 2025-07-28

Xiaonan Li, Changtai Zhu, Linyang Li, Zhangyue Yin, Tianxiang Sun, Xipeng Qiu

Verifiable generation aims to let the large language model (LLM) generate text with supporting documents, which enables the user to flexibly verify the answer and makes the LLM's output more reliable. Retrieval plays a crucial role in verifiable generation. Specifically, the retrieved documents not only supplement knowledge to help the LLM generate correct answers, but also serve as supporting evidence for the user to verify the LLM's output. However, the widely used retrievers become the bottleneck of the entire pipeline and limit the overall performance. Their capabilities are usually inferior to LLMs since they often have much fewer parameters than the large language model and have not been demonstrated to scale well to the size of LLMs. If the retriever does not correctly find the supporting documents, the LLM can not generate the correct and verifiable answer, which overshadows the LLM's remarkable abilities. To address these limitations, we propose \LLatrieval (Large Language Model Verified Retrieval), where the LLM updates the retrieval result until it verifies that the retrieved documents can sufficiently support answering the question. Thus, the LLM can iteratively provide feedback to retrieval and facilitate the retrieval result to fully support verifiable generation. Experiments show that LLatrieval significantly outperforms extensive baselines and achieves state-of-the-art results.

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="2311.07838")

Code

Syntology Ran 8 of 11 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 6 ran with no contract checked.

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

beastyz/llm-verified-retrieval officialmentioned in papermentioned on GitHubpytorch 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

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

2ran · our draft was wrong
6ran
3unverified

Licence: 11 of the 11 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 beastyz/llm-verified-retrieval. “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.

doc_to_text_dense beastyz/llm-verified-retrieval/searcher.py official repository ran no licence file found · pointer only · 6fd0394cdc745c1a · report
doc_to_text_tfidf beastyz/llm-verified-retrieval/searcher.py official repository ran no licence file found · pointer only · af88e97a5d3a1410 · report
letter_to_int beastyz/llm-verified-retrieval/llm_retrieval_related/iterative_select_supporting_documents.py official repository ran fingerprinted no licence file found · pointer only · ae54d17fb7b70826 · report
letter_to_int_upper beastyz/llm-verified-retrieval/llm_retrieval_related/iterative_select_supporting_documents.py official repository ran no licence file found · pointer only · 7e994b3c8896c050 · report
make_doc_prompt beastyz/llm-verified-retrieval/utils.py official repository ran no licence file found · pointer only · c7d29eb322d5d6e3 · report
normalize_answer beastyz/llm-verified-retrieval/utils.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · dae7ab386661a4f4 · report
remove_citations beastyz/llm-verified-retrieval/utils.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 5df8b525aada9853 · report
truncate_doc_in_user_prompt beastyz/llm-verified-retrieval/llm_retrieval_related/iterative_select_supporting_documents.py official repository ran fingerprinted no licence file found · pointer only · aceacde2c4863219 · report
call_chatgpt beastyz/llm-verified-retrieval/Iterative_retrieval.py official repository unverified no licence file found · pointer only · 6f8ce522206ccecd · report
get_account_manager beastyz/llm-verified-retrieval/openai_account_manager.py official repository unverified no licence file found · pointer only · b21a09bb4f5acda6 · report
repeat_until_success_call_openai_api beastyz/llm-verified-retrieval/Iterative_retrieval.py official repository unverified no licence file found · pointer only · 2e0d00845ac4b2cd · report

Tasks

Language ModelingLanguage ModellingLarge Language ModelRetrieval

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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