SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.14393 · EMNLP · 2023

Merging Generated and Retrieved Knowledge for Open-Domain QA

Honglak Lee, Lajanugen Logeswaran, Muhammad Khalifa, Yunxiang Zhang, Moontae Lee, Lu Wang

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 3 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2310.14393.json · badge: /api/ran/2310.14393.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
yunx-z/combo canonical (classifier label)
classifier basis: census
5 ran · 1 no recorded run
FunctionStatusWhere it lives
check_answer Ran
ran, violated the contract we drafted
yunx-z/combo/passage_matching/evaluation.py
pointer only (licence: NONE) · get_code("3c9429bad228b98b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yunx-z/combo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

has_answer Ran
ran, violated the contract we drafted
yunx-z/combo/passage_matching/evaluation.py
pointer only (licence: NONE); the stored copy get_code serves, from xbmxb/EnvDistraction, is pointer only (licence: NONE) · get_code("2075373a61e75fd7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yunx-z/combo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_answer Ran
ran; our contract draft was wrong, not the code
yunx-z/combo/passage_matching/evaluation.py
pointer only (licence: NONE); the stored copy get_code serves, from mjy1111/PRUNE, is pointer only (licence: NONE) · get_code("4cca112e5e6da5dc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yunx-z/combo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resize_list Ran
ran; our contract draft was wrong, not the code
yunx-z/combo/passage_matching/build_psg_pairs.py
pointer only (licence: NONE) · get_code("47fc27396a07c2f4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yunx-z/combo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resize_matrix Ran
ran; our contract draft was wrong, not the code
yunx-z/combo/passage_matching/build_psg_pairs.py
pointer only (licence: NONE) · get_code("6428ebca756f3ea1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yunx-z/combo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_nli_score Not yet run
unverified (harvested, no recorded run)
yunx-z/combo/passage_matching/build_psg_pairs.py
pointer only (licence: NONE) · get_code("83360c6f5e584874")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yunx-z/combo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
normalize_answer 9 other papers
2 dated earlier, 7 later
2305.12421 (2023-05)
Evaluating Open-QA Evaluation
2308.11730 (2023-08)
Knowledge Graph Prompting for Multi-Document Question Answering
2401.11911 (2024-01)
Blinded by Generated Contexts: How Language Models Merge Generated and Retrieved Contexts When Knowledge Conflicts?
and 6 more not named here
has_answer 4 other papers
1 dated earlier, 3 later
2308.11730 (2023-08)
Knowledge Graph Prompting for Multi-Document Question Answering
2401.11911 (2024-01)
Blinded by Generated Contexts: How Language Models Merge Generated and Retrieved Contexts When Knowledge Conflicts?
2407.10670 (2024-07)
Enhancing Retrieval and Managing Retrieval: A Four-Module Synergy for Improved Quality and Efficiency in RAG Systems
and 1 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Open-domain question answering (QA) systems are often built with retrieval modules. However, retrieving passages from a given source is known to suffer from insufficient knowledge coverage. Alternatively, prompting large language models (LLMs) to generate contextual passages based on their parametric knowledge has been shown to improve QA performance. Yet, LLMs tend to "hallucinate" content that conflicts with the retrieved knowledge. Based on the intuition that answers supported by both sources are more likely to be correct, we propose COMBO, a Compatibility-Oriented knowledge Merging for Better Open-domain QA framework, to effectively leverage the two sources of information. Concretely, we match LLM-generated passages with retrieved counterparts into compatible pairs, based on discriminators trained with silver compatibility labels. Then a Fusionin-Decoder-based (Izacard and Grave, 2021b) reader model handles passage pairs to arrive at the final answer. Experiments show that COMBO outperforms competitive baselines on three out of four tested open-domain QA benchmarks. Further analysis reveals that our proposed framework demonstrates greater efficacy in scenarios with a higher degree of knowledge conflicts. 1

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2310.14393")
get_code_for_paper("2310.14393")
have("2310.14393")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2310.14393.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2310.14393.svg)](https://syntology.ai/paper/2310.14393)

Connect an agent — have() is free.