SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2204.07496 · EMNLP · 2022

Improving Passage Retrieval with Zero-Shot Question Generation

Joelle Pineau, Mike Lewis, Wen-Tau Yih, Luke Zettlemoyer, Devendra Singh Sachan, Armen Aghajanyan, Mandar Joshi

arXiv · PDF · Open in the Atlas

Code that ran

8 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 3 failures of our instrument; 6 no recorded run), measured 2026-11-24; 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/2204.07496.json · badge: /api/ran/2204.07496.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
DevSinghSachan/unsupervised-passage-reranking marked official in Papers with Code
Papers with Code archive
8 ran · 2 no recorded run
castorini/pygaggle community
Papers with Code archive
0 ran · 4 no recorded run
FunctionStatusWhere it lives
CustomDataLoader Ran
ran on a synthesized input · constructed an object; no result was computed
DevSinghSachan/unsupervised-passage-reranking/upr.py
pointer only (licence: NONE) · get_code("d5901455e19a84f8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DevSinghSachan/unsupervised-passage-reranking 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.

DistributedBatchSampler Ran
ran on a synthesized input · constructed an object; no result was computed
DevSinghSachan/unsupervised-passage-reranking/upr.py
pointer only (licence: NONE) · get_code("4f65156d8be990b5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DevSinghSachan/unsupervised-passage-reranking 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.

OpenQADataset Ran
ran on a synthesized input · constructed an object; no result was computed
DevSinghSachan/unsupervised-passage-reranking/upr.py
pointer only (licence: NONE) · get_code("a3c5fbbe7959f17b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DevSinghSachan/unsupervised-passage-reranking 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.

OpenRetrievalEvidenceDataset Ran
ran on a synthesized input · constructed an object; no result was computed
DevSinghSachan/unsupervised-passage-reranking/upr.py
pointer only (licence: NONE) · get_code("ba8cd692f32803b2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DevSinghSachan/unsupervised-passage-reranking 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.

build_sample Ran
ran; our contract draft was wrong, not the code
DevSinghSachan/unsupervised-passage-reranking/upr.py
pointer only (licence: NONE) · get_code("21e99db1be01d7eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DevSinghSachan/unsupervised-passage-reranking 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_one_epoch_dataloader Ran
ran on a synthesized input
DevSinghSachan/unsupervised-passage-reranking/upr.py
pointer only (licence: NONE) · get_code("61c86a4b8de629dd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DevSinghSachan/unsupervised-passage-reranking 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_open_retrieval_wiki_dataset Ran
ran; our contract draft was wrong, not the code
DevSinghSachan/unsupervised-passage-reranking/upr.py
pointer only (licence: NONE) · get_code("a1921ddd1ee47af6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DevSinghSachan/unsupervised-passage-reranking 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_openqa_dataset Ran
ran; our contract draft was wrong, not the code
DevSinghSachan/unsupervised-passage-reranking/upr.py
pointer only (licence: NONE) · get_code("c4f3e9bb67241b4c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DevSinghSachan/unsupervised-passage-reranking 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.

Query Not yet run
unverified (harvested, no recorded run)
castorini/pygaggle/pygaggle/rerank/transformer.py
code served (permissive licence) · get_code("fa40f72ce9f3d097")
How it ran

no invocation recorded.

QuestionAnsweringTransformerReranker Not yet run
unverified (harvested, no recorded run)
castorini/pygaggle/pygaggle/rerank/transformer.py
code served (permissive licence) · get_code("d5d41b07008bdae5")
How it ran

no invocation recorded.

Reranker Not yet run
unverified (harvested, no recorded run)
castorini/pygaggle/pygaggle/rerank/transformer.py
code served (permissive licence) · get_code("cbf50e14db93384e")
How it ran

no invocation recorded.

Text Not yet run
unverified (harvested, no recorded run)
castorini/pygaggle/pygaggle/rerank/transformer.py
code served (permissive licence) · get_code("31c7b4b7bfee3a66")
How it ran

no invocation recorded.

UnsupervisedPassageReranker Not yet run
unverified (harvested, no recorded run)
DevSinghSachan/unsupervised-passage-reranking/upr.py
pointer only (licence: NONE) · get_code("79f98dfffed2b010")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DevSinghSachan/unsupervised-passage-reranking 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.

print_rank_0 Not yet run
unverified (harvested, no recorded run)
DevSinghSachan/unsupervised-passage-reranking/upr.py
pointer only (licence: NONE) · get_code("4d4b4d61d1dc8caa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DevSinghSachan/unsupervised-passage-reranking 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 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 later) and 12 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
print_rank_0
brick of this paper's assembly: helper
2 other papers
2 later
2210.02414 (2022-10)
GLM-130B: An Open Bilingual Pre-trained Model
2409.17481 (2024-09)
MaskLLM: Learnable Semi-Structured Sparsity for Large Language Models
get_openqa_dataset
brick of this paper's assembly: helper
1 other paper
1 later
2403.03516 (2024-03)
Unsupervised Multilingual Dense Retrieval via Generative Pseudo Labeling

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-24.

Repositories linked to this paper

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

Abstract

We propose a simple and effective re-ranking method for improving passage retrieval in open question answering. The re-ranker re-scores retrieved passages with a zero-shot question generation model, which uses a pre-trained language model to compute the probability of the input question conditioned on a retrieved passage. This approach can be applied on top of any retrieval method (e.g. neural or keywordbased), does not require any domain-or taskspecific training (and therefore is expected to generalize better to data distribution shifts), and provides rich cross-attention between query and passage (i.e. it must explain every token in the question). When evaluated on a number of open-domain retrieval datasets, our re-ranker improves strong unsupervised retrieval models by 6%-18% absolute and strong supervised models by up to 12% in terms of top-20 passage retrieval accuracy. We also obtain new stateof-the-art results on full open-domain question answering by simply adding the new re-ranker to existing models with no further changes. 1

For agents

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

get_harvested_code_for_paper("2204.07496")
get_code_for_paper("2204.07496")
have("2204.07496")

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

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

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

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

Connect an agent — have() is free.