Papers › Robust Retrieval Augmented Generation for Zero-shot Slot Filling

Robust Retrieval Augmented Generation for Zero-shot Slot Filling

31 Aug 2021EMNLP 2021 11arXiv:2108.13934archive 2025-07-28

Michael Glass, Gaetano Rossiello, Md Faisal Mahbub Chowdhury, Alfio Gliozzo

Automatically inducing high quality knowledge graphs from a given collection of documents still remains a challenging problem in AI. One way to make headway for this problem is through advancements in a related task known as slot filling. In this task, given an entity query in form of [Entity, Slot, ?], a system is asked to fill the slot by generating or extracting the missing value exploiting evidence extracted from relevant passage(s) in the given document collection. The recent works in the field try to solve this task in an end-to-end fashion using retrieval-based language models. In this paper, we present a novel approach to zero-shot slot filling that extends dense passage retrieval with hard negatives and robust training procedures for retrieval augmented generation models. Our model reports large improvements on both T-REx and zsRE slot filling datasets, improving both passage retrieval and slot value generation, and ranking at the top-1 position in the KILT leaderboard. Moreover, we demonstrate the robustness of our system showing its domain adaptation capability on a new variant of the TACRED dataset for slot filling, through a combination of zero/few-shot learning. We release the source code and pre-trained models.

PaperPDFConference PDFCodeCode 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="2108.13934")

Code

Syntology Ran 1 of 8 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

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

ibm/kgi-slot-filling officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
IBM/retrieve-write-slot-filling mentioned on GitHubpytorchApache-2.0 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

8 samples harvested; 1 ran; 0 honoured the contract we drafted; 7 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.

1ran · our draft was wrong
7unverified

Licence: 0 of the 8 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 IBM/retrieve-write-slot-filling. “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.

normalize_answer IBM/retrieve-write-slot-filling/slot_filling/rag_util.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · e7e75981cb464788 · report
clean_text IBM/retrieve-write-slot-filling/slot_filling/kilt_passage_corpus.py community (archive-listed) unverified Apache-2.0 (permissive) · d890771bd3e4b3f7 · report
find_para_range IBM/retrieve-write-slot-filling/slot_filling/kilt_passage_corpus.py community (archive-listed) unverified Apache-2.0 (permissive) · 50ec835b3753c6ec · report
get_relation_from_inst IBM/retrieve-write-slot-filling/slot_filling/dataset_stats.py community (archive-listed) unverified Apache-2.0 (permissive) · e57ce1467b8c1988 · report
matching_passage_ids IBM/retrieve-write-slot-filling/dpr/dpr_kilt_slot_filling_dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · 0fa853d294de8b23 · report
postprocess_docs IBM/retrieve-write-slot-filling/slot_filling/rag_util.py community (archive-listed) unverified Apache-2.0 (permissive) · 89afe8d9e930bb10 · report
prefix_allowed_tokens_fn IBM/retrieve-write-slot-filling/slot_filling/rag_client_server_apply.py community (archive-listed) unverified Apache-2.0 (permissive) · 1d4a7d4d6e3eb7e0 · report
prepare_seq2seq_batch IBM/retrieve-write-slot-filling/slot_filling/rag_util.py community (archive-listed) unverified Apache-2.0 (permissive) · f92394bf8b4685cc · report

Tasks

Domain AdaptationFew-Shot LearningKnowledge GraphsPassage RetrievalRetrievalRetrieval-augmented GenerationSlot FillingZero-shot Slot Fillingslot-filling

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Zero-shot Slot Filling T-REx DPRDNS+RAG R-Prec 74.34 #1 of 6 Archive leaderboard report
Zero-shot Slot Filling T-REx DPRDNS+RAG R@5 82.89 #1 of 6 Archive leaderboard report
Zero-shot Slot Filling T-REx DPRBM25+RAG R-Prec 65.02 #2 of 6 Archive leaderboard report
Zero-shot Slot Filling T-REx DPRBM25+RAG R@5 75.52 #2 of 6 Archive leaderboard report
Zero-shot Slot Filling T-REx DPRNQ+RAG R-Prec 53.04 #3 of 6 Archive leaderboard report
Zero-shot Slot Filling T-REx DPRNQ+RAG R@5 65.54 #3 of 6 Archive leaderboard report
Zero-shot Slot Filling T-REx DPRBM25 R-Prec 49.02 #4 of 6 Archive leaderboard report
Zero-shot Slot Filling T-REx DPRBM25 R@5 63.34 #4 of 6 Archive leaderboard report
Zero-shot Slot Filling T-REx DPRDNS R-Prec 42.62 #5 of 6 Archive leaderboard report
Zero-shot Slot Filling T-REx DPRDNS R@5 55.09 #5 of 6 Archive leaderboard report
Zero-shot Slot Filling T-REx DPRNQ R-Prec 19.5 #6 of 6 Archive leaderboard report
Zero-shot Slot Filling T-REx DPRNQ R@5 29.8 #6 of 6 Archive leaderboard report
Zero-shot Slot Filling zsRE DPRDNS+RAG R-Prec 98.60 #1 of 6 Archive leaderboard report
Zero-shot Slot Filling zsRE DPRDNS+RAG R@5 99.70 #1 of 6 Archive leaderboard report
Zero-shot Slot Filling zsRE DPRDNS R-Prec 97.53 #2 of 6 Archive leaderboard report
Zero-shot Slot Filling zsRE DPRDNS R@5 99.3 #2 of 6 Archive leaderboard report
Zero-shot Slot Filling zsRE DPRBM25+RAG R-Prec 96.89 #3 of 6 Archive leaderboard report
Zero-shot Slot Filling zsRE DPRBM25+RAG R@5 98.01 #3 of 6 Archive leaderboard report
Zero-shot Slot Filling zsRE DPRBM25 R-Prec 94.55 #4 of 6 Archive leaderboard report
Zero-shot Slot Filling zsRE DPRBM25 R@5 98.17 #4 of 6 Archive leaderboard report
Zero-shot Slot Filling zsRE DPRNQ+RAG R-Prec 68.13 #5 of 6 Archive leaderboard report
Zero-shot Slot Filling zsRE DPRNQ+RAG R@5 79.19 #5 of 6 Archive leaderboard report
Zero-shot Slot Filling zsRE DPRNQ R-Prec 45.49 #6 of 6 Archive leaderboard report
Zero-shot Slot Filling zsRE DPRNQ R@5 60.77 #6 of 6 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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