Query2doc: Query Expansion with Large Language Models
Paper · 2023 · Liang Wang, Nan Yang and Furu Wei
Summary
A search query can name exactly what a reader wants and still share few words with a useful document. The query may omit a full name, a related term, or enough background to distinguish between meanings. Query2doc gives the search engine more text to work with. It asks a large language model to write a passage that could answer the query, then adds that passage to the search request. The passage is a pseudo-document, a piece of generated text used to find material in the collection. The retrieval system still ranks documents from its own index.
The authors use OpenAI’s text-davinci-003 for the main experiments. Each prompt contains an instruction and 4 labeled query–passage examples sampled from the MS-MARCO training set. The expanded query takes a different form depending on the retriever. BM25, which scores lexical matches, gets 5 copies of the original query followed by the generated passage. Repetition gives the user’s terms more influence alongside the longer text. A dense retriever, which compares numerical representations of texts, gets the query and passage joined by a [SEP] separator. In the supervised dense experiments, the retriever learns to work with that combined input during fine-tuning.
On MS-MARCO passage ranking and TREC DL 2019 and 2020, the paper reports BM25 gains in the range of 3% to 15% without fine-tuning. Its main-results discussion describes gains of over 15% on the TREC DL sets. DPR, SimLM, and E5 improve over their corresponding dense baselines in the in-domain comparison, with smaller gains in the stronger training settings. Transfer to selected BEIR datasets is uneven. DBpedia is among the clearest beneficiaries, while ranking quality decreases in some comparisons on NFCorpus and Scifact. The analyses also find that stronger generators make better expansions in the tested setup and that BM25 works better with the original query and the generated passage together than with either text alone.
The change is small at the interface to the retriever, but it adds work on both sides of that interface. The generator must write a passage, and the expanded text makes lexical search slower. Generating passages for supervised dense training also consumed most of the authors’ API calls. The generated text can supply good search terms even when it contains a wrong fact, so a gain in ranking quality says little about whether the passage itself is safe to use as an answer. The authors release the text-davinci-003 generations as intfloat/query2doc_msmarco.
Deep dive: Query2doc: Query Expansion with Large Language Models
Query2doc expands search queries with generated passages, improving BM25 and some dense retrievers while adding latency and risking factual errors. · about 37 minutes to read
The problem and its context
A relevant document can use different words
In information retrieval, the input is a request and the output is a ranking of items from a collection. The collection might contain passages that directly address the request, passages that provide supporting information, and many others that share some wording with the request while discussing something else. A retriever has to decide which of these deserve the earliest positions. The problem Query2doc addresses begins before the ranking calculation. The string the user typed may give the calculation too little to work with.
The difficulty can be understood as a difference between the language of a request and the language of a possible answer. A short query about a named entity can use an informal name while a relevant passage uses a formal one. The query can ask about a relationship without naming the other things involved in that relationship. A term may refer to more than one entity, with the intended meaning supplied by context that the user sees no reason to spell out. A relevant passage can contain exactly the desired information and still offer a weak literal match to the words entered by the user.
BM25 represents the lexical side of the paper’s comparison. It ranks documents using evidence from terms in the query and in the collection. A term that never appears in the query cannot contribute a direct match for that query. This gives lexical retrieval a particular vulnerability to missing vocabulary, alongside a useful sensitivity to the exact spelling of names and other distinctive expressions. A closely related term may be valuable once the search request contains it. The ranker itself has no passage of background explanation from which to infer that term.
Dense retrieval uses embeddings, which are vectors that summarize text in a form suitable for numerical comparison. A query and a passage can be judged similar even when they express their subject in different words. That helps with the mismatch that motivates expansion, but the embedding still has to be computed from the text it receives. A query with little context can leave the encoder with weak evidence about the intended topic. Query expansion can therefore have a purpose for dense retrieval even when literal overlap is unnecessary. A passage can give the encoder a more explicit account of the subject and its relationships. The paper discusses Dense Passage Retrieval and RocketQA in this line of work.
The authors describe a field in which these approaches already had different strengths. Dense systems were strong when they had substantial labeled training data. BM25 remained a competitive option outside the dataset or domain on which a system had learned. That distinction matters to the design of the paper. A useful change to a standard lexical ranker can have value in its own right, even with dense retrievers available. A method meant to serve both families also needs to make clear which parts of the retrieval setup it changes and which training resources each use requires.
Where expansion used to get its words
Query expansion takes the original request and adds or rewrites material to make retrieval easier. As described in the paper, earlier methods looked for this material in relevance feedback, in lexical resources such as WordNet, or in contextual clues produced by a trained encoder–decoder. A lexical resource supplies relationships among words. A feedback method starts with evidence about documents that appear relevant to the particular search. These sources can offer different kinds of help. The same word can belong to several topics, and a relationship recorded in a lexical resource is useful only if it fits the user’s intended meaning.
Explicit feedback can draw on judgments about which documents are relevant. Pseudo-relevance feedback proceeds by treating high-ranked initial results as provisional evidence of relevance. A search system first runs the original query, examines its leading documents, and derives additions from them for another search. The paper’s representative method is RM3, which belongs to the relevance-model line of work. The provisional assumption makes it possible to use feedback without asking for new judgments at search time. It also makes the method sensitive to the quality of the initial results. A query that begins by retrieving the wrong subject can pick up vocabulary that sends it further in that direction. The authors cite Relevance-Based Language Models in describing this family.
Document expansion acts on the other side of the match. In doc2query, a trained generator takes a document and predicts queries that people might write when looking for it. The predicted language is added on the document side of the index, where it can help the document match a future request. This addresses the same language mismatch as expanding the current query, with a different input and a different place to put the new words. Query expansion starts from what the user has just asked. Document expansion starts from material already in the collection. The paper also describes learned sparse methods such as SPLADE, which learn which terms to emphasize as part of the retrieval representation. The relevant examples are doc2query and SPLADE.
By the authors’ account, document expansion had already shown its value for lexical ranking, while methods such as RM3 had enjoyed limited success on popular retrieval benchmarks. Expansion was also unusual in the strong dense systems they compare against. Query2doc brings a new source of text to that familiar intervention. The generator can draw on language and associations acquired during pretraining and organize them as a passage about the query. It can do this before the system has found anything in the collection. The method consequently has a way to propose useful vocabulary even when the raw query would make a poor initial search.
Why ask for a passage?
The prompt asks for a passage shaped like something that could satisfy the request. In principle, such a passage can contain names and descriptions that would make sense in a relevant document, as well as sentences that show how the terms relate. That is useful for the two kinds of ranker in different ways. A lexical system can use the individual terms to find matches. A dense system can use contextual clues when constructing an embedding. The authors connect the ability to produce such passages to earlier work on examples in the prompt, including Language Models are Few-Shot Learners.
The related work includes a close retrieval precedent in HyDE. HyDE generates a hypothetical response document without labeled demonstrations and uses its embedding for similarity search. Query2doc supplies demonstrations and keeps the original query in the representation used for search. A text that imagines a plausible answer can be useful even if it interprets the request too broadly or adds details that a real relevant passage does not share. The paper treats the decision to retain the request as consequential for that reason. The related method is HyDE.
The authors also relate their proposal to work on question answering that elicits context from a generator. RECITE and GENREAD illustrate why generated context might contain relevant information in the first place. Their place in the argument is different from that of the retrieval baselines. They motivate the expectation that a generated passage can carry facts and useful language. Query2doc examines what happens when that passage becomes part of a search query and the system is judged on its ranking of corpus items. The paper discusses RECITE and GENREAD.
The method, step by step
From the request to a pseudo-document
The method starts with the query as written. The generator receives it after a short instruction and a series of demonstrations of the same task. Each demonstration associates a query with a passage labeled as relevant. The passages show the generator what kind of response is wanted: prose about the request, detailed enough to look like a useful passage from a search collection. The examples are part of the input to generation. In this use of few-shot learning, they guide the response through the prompt, without a round of parameter updates to the generator.
The authors draw the demonstrations from MS-MARCO training data. They use 4 labeled pairs, with a fresh random selection for each API call to vary the prompts. The new query follows the demonstrations and is the one for which the generator supplies a passage. The random selection means that the same request can be presented after a different set of examples in another run. A demonstration and a generated passage have separate roles. A demonstration shows the kind of query-to-passage mapping expected. The generated passage is the new search material for the current request.
The principal generator is text-davinci-003. The authors sample with a temperature of 1 and a maximum of 128 generated tokens. Temperature is a setting for sampling possible continuations. A token is a unit of text processed or produced by the generator, so the token limit bounds the length of the continuation. It need not be reached in an individual response. The result is a short passage, which can carry a direct answer, other words associated with that answer, or details intended to make the explanation coherent.
The generation call occurs before retrieval. An initial set of corpus results is unnecessary to create the expansion. This is the procedural distinction from pseudo-relevance feedback: here the new passage is produced from the prompt and the current query, rather than assembled from evidence in a first search. It also explains the term pseudo-document. The generated string resembles a passage and can be encoded or matched as text. It has no corresponding status as a retrieved item or a relevance judgment for the current search.
From a user query to ranked corpus passages
The steps in order.
The same generation step serves both retrieval branches. The branches differ in how they turn its result into a query and in whether retrieval training is part of the experiment. For BM25, query construction is followed by ordinary sparse search. For the supervised dense runs, construction supplies the form of the training queries as well as that of the evaluation queries. In both branches the passages against which the query is scored still come from the collection.
Giving the user’s words enough weight in BM25
A generated passage will typically supply more words than the input query. Simply placing the two strings together would give the new vocabulary substantial influence. Some of those words may be excellent clues. Others are part of the generator’s explanation, or reflect a detail inferred from an ambiguous request. The sparse recipe therefore repeats the original text before appending the passage. This is the paper’s practical way of giving the original terms more weight while keeping the additional vocabulary available.
q⁺ = concat({q} × n, d′)
Here q is the original query, d′ is the generated pseudo-document, and q⁺ is the expanded query passed to BM25. The braces group q as the string being repeated, × denotes repetition in this expression, and n is the number of copies. concat joins its arguments in the order shown. The parentheses enclose those arguments, the comma separates them, and the equals sign defines the resulting query. The superscript plus distinguishes the expanded query from the original. The prime marks the generated passage.
The authors use n = 5 as a generally suitable setting and do not tune it separately on each dataset. The repetition occurs after the passage has been generated. The operation changes the input to the search backend, with one generated passage appended after the copies of the raw request. It neither requires a new representation for every document nor introduces a new learned scorer for the sparse branch. BM25 and the RM3 comparison use the default implementations in Pyserini.
What the repetition preserves is easiest to see when the request contains a distinctive term that the passage uses sparingly. A search result matching that original term should still have a way to stand out. At the same time, a result using the fuller vocabulary in the generated text can now match words that would have been absent from the raw query. The concatenation rule makes room for both kinds of evidence in the same scoring operation. It remains possible for a term supplied by the generator to help retrieve an irrelevant document. Repetition changes the relative influence of the two texts without judging individual additions for relevance.
Supplying context to the dense encoder
A dense retriever encodes a query as a vector and compares it with document vectors. Here the expanded query is a single input to the query encoder, with a separator between its parts. The separator explicitly marks where the user’s request ends and the new passage begins. The sparse branch’s repetition rule has no equivalent in this input. The encoder receives a copy of the request and a copy of the generated passage, in that order.
q⁺ = concat(q, [SEP], d′)
In this expression q⁺ is the expanded input to the dense retriever, q is the original query, and d′ is the pseudo-document. [SEP] is the separator token included between the strings. concat places the arguments in sequence. The parentheses enclose the ingredients, commas divide them, and = gives the definition of the new input. The plus and prime identify the same quantities as in the sparse expression.
The dense branch lets the encoder use the combined input when forming its representation. This gives it a chance to learn when particular words in the passage help interpret the request. It can also expose the encoder to a longer and different style of query than a bare question. The authors raise the maximum query length to 144 and use training settings mostly drawn from SimLM. The length limit applies to the retriever’s query input, while the generation cap of 128 tokens applies to the passage that the generator produces. The two settings govern different stages.
Dense training uses pseudo-documents generated for the training queries. Those passages change the inputs on the query side. Relevance supervision still connects a training query to documents and supplies the distinction between positive and negative examples. A fluent piece of generated text is therefore not itself placed on the document side as the answer the retriever must learn to find. The retriever must connect the expanded query to relevant corpus material under the training procedure used for that system.
Learning from difficult nonmatches
The first supervised setting uses DPR initialized from BERT-base. Its hard negatives come from BM25. A hard negative is a training document that can look promising to a retriever even though it serves as a nonmatch in the training example. It may concern related material or share important terms with the query. Presenting such cases alongside a positive document gives the dense retriever practice separating plausible distractors from the material that carries the desired relevance signal.
The training objective compares a positive document with the negatives using their embedding scores. The score of a document is given by the dot product of its embedding with the query embedding. A higher score for the positive helps the loss, and high scores for the hard negatives count against it. This is contrastive learning in the sense used here: the desired match is learned in relation to competing candidates.
L_cont = −log(e^(h_q · h_d) / (e^(h_q · h_d) + ∑_{d_i ∈ ℕ} e^(h_q · h_{d_i})))
L_cont is the contrastive loss. q labels the query and d labels its positive document. h_q and h_d are their embedding vectors. Each d_i is a negative document indexed by i, and h_{d_i} is its embedding. ℕ denotes the set of hard negatives, with ∈ indicating that a document belongs to the set. The dot · is the vector dot product. e is the base of the natural exponential and ^ indicates exponentiation. ∑ adds the exponential scores for the negatives. The plus sign adds the positive document’s exponential score to that sum, and / divides the positive score by the resulting total. log takes the natural logarithm of the fraction, and − negates it. Parentheses group the exponent, denominator, and logarithm argument, while braces delimit the indexing expressions. The equals sign defines the loss.
The fraction gives the positive document’s share of the exponentiated scores in this training comparison. The loss falls as that share rises. Its numerator and denominator explain why the negatives matter even when the retriever already gives the positive a high score. If it also gives similarly high scores to the competing candidates, the positive gets a smaller share of the total. Expansion changes the query from which h_q is built. The same loss then evaluates how well the new representation separates the documents in the training example.
This DPR setup offers a view of expansion under direct contrastive supervision. The source of hard negatives is a choice about how to make training comparisons informative. It is separate from the source of the text used to expand the query. Although BM25 is involved in choosing negatives, the generator does not need those results in order to produce the passage. The distinction matters because the generation procedure and the construction of dense training examples solve different problems.
Learning from a stronger ranker
The second dense setting adds knowledge distillation. A cross-encoder can score a query and a candidate document as a joint input. A dense retriever uses separate text embeddings, which makes it suitable for searching a collection by vector similarity. In distillation the cross-encoder acts as a teacher, giving the dense student a distribution of scores to learn from. The teacher can express how the candidates compare, in addition to the positive and negative distinction already present in the contrastive objective.
min D_KL(p_ce, p_stu) + α L_cont
min asks training to minimize the combined quantity. D_KL is the Kullback–Leibler divergence used to compare the teacher’s probability distribution p_ce with the student’s p_stu. The subscript ce identifies the cross-encoder, and stu identifies the dense student. The parentheses contain the distributions in the order given by the paper, with a comma between them. L_cont is the contrastive loss defined above. α is the coefficient multiplying that loss, and + adds its weighted value to the divergence. The balance determines how strongly the direct contrastive comparison contributes alongside agreement with the teacher.
The authors use teacher scores released with SimLM. They initialize the stronger dense systems from available SimLM and E5 checkpoints and retain the pooling associated with each. Pooling determines how an encoder’s output becomes a single vector. SimLM uses the vector at the [CLS] position. E5 uses mean pooling, which represents the text by averaging vectors. These choices keep the way each retriever constructs its embeddings aligned with the way it was previously trained. The systems draw on SimLM and E5’s weakly supervised embedding work.
The dense objectives explain the sense in which Query2doc fits an existing training pipeline. The retrievers still use their usual kinds of relevance and teacher supervision. The expanded text can be inserted into the existing query side of that procedure. The sparse result has a narrower operational requirement because an off-the-shelf scorer can consume the expanded string immediately. These are different ways of integrating the same generation step, and they account for the different fine-tuning requirements reported in the experiments.
Experiments and results
What the evaluations measure
The in-domain evaluation includes MS-MARCO passage ranking and the TREC DL 2019 and 2020 datasets. The MS-MARCO development set is used to examine the ranking of passages for its queries. The TREC DL evaluations add another view of retrieval quality within the paper’s in-domain grouping. The authors’ interpretation of those results pays particular attention to the kinds of queries in the track. The TREC 2019 Deep Learning Track overview supplies the earlier benchmark context.
The out-of-domain experiments use a selection from BEIR: DBpedia, NFCorpus, Scifact, Trec-Covid, and Touche2020. The paper describes them as low-resource datasets. The demonstrations still come from MS-MARCO training data. Consequently the test asks whether a passage-generation procedure configured with examples from one dataset can help search in other collections without prompting on labeled examples from those collections. The authors use the released SimLM checkpoint as the basis for their SimLM comparisons in this setting. Scifact is the collection associated with Fact or Fiction.
The metrics capture different parts of a ranked list. MRR@10, mean reciprocal rank at 10, rewards the system for placing its first relevant result high in that range. A result at an earlier position receives more credit than one at a later position. A query without a relevant result within the cutoff contributes no reciprocal-rank credit. Averaging over queries gives a measure that is particularly sensitive to how quickly the ranking supplies a relevant passage.
Recall asks how much of the known relevant material makes it into a set of retrieved candidates. The reported cutoffs are R@50 and R@1k. A gain in recall at the deeper cutoff can be valuable when another stage will inspect or rerank those candidates. It can coexist with little improvement near the top, because the new relevant items may appear well below the positions a reader will see first. The RM3 result illustrates why the paper reports different measures instead of treating any improvement in retrieval as interchangeable with an improvement in early ranking.
The ranking-quality measure nDCG@10 incorporates the judged usefulness of results in the leading positions. It discounts contributions further down the ranking and normalizes against an ideal arrangement of the judged results. This lets differences in graded relevance matter as well as order. The paper uses nDCG@10 for its BEIR results. A gain under this measure concerns the recovered corpus items and their order. It provides no direct score for the prose, factual accuracy, or intended meaning of the pseudo-document.
Sparse retrieval in domain
The main lexical comparison uses the same BM25 backend with and without Query2doc. The authors report in the abstract a range of 3% to 15% for BM25 improvement on ad-hoc retrieval datasets, giving MS-MARCO and TREC DL as examples. The main-results discussion separately describes improvements of over 15% on the TREC DL 2019 and 2020 evaluations. The overall range is stated for a set of evaluations and should be read at that level. It does not give a particular dataset, metric, and split for each endpoint.
Reported range of BM25 improvement with Query2doc on ad-hoc retrieval benchmarks
The reported gains vary across the ad-hoc retrieval evaluations.
The numbers
| System or setting | reported BM25 improvement % |
|---|---|
| Lower end of the reported range | 3 |
| Upper end of the reported range with Query2doc (this paper) | 15 |
In their inspection of the TREC DL queries, the authors found that many concern uncommon entities. Such requests make the wording of names and related facts especially important. A generated passage can put the search term beside expressions that appear in relevant documents, helping BM25 match those documents even when the input question uses the entity’s name in a different form or supplies little context. This is the authors’ reading of the result in light of the topics they inspected. The experiment measures ranking for the sets as a whole and leaves open how much of the gain any particular term or query type accounts for.
RM3 supplies a comparison with traditional query expansion. Its small gain is reported on R@1k. That provides evidence of some added coverage in a deep candidate set. Query2doc’s stronger results make sense in view of where its supplementary vocabulary comes from. RM3 needs a sufficiently informative initial set of hits, whereas the generator can offer relevant terms on the basis of the request even if such hits would be hard to find at first. The comparison establishes a difference between the tested methods in this setup. The paper does not infer the outcome for every procedure that uses feedback.
DocT5query is an important stronger comparator. It has better numbers on the MS-MARCO development set, according to the paper’s discussion. It obtains its document expansions using a T5-based generator trained with all the available labeled data for that purpose. Query2doc obtains its BM25 result by prompting and query construction, without a task-specific fine-tuning stage. That is a distinction in what it takes to obtain the ranking. An application may care about whether it can change only the query path, while the benchmark comparison also records that a trained document-side method can rank better on the development set.
The in-domain sparse results therefore address more than one question. The comparison with plain BM25 isolates the effect of deploying the expanded input with the same kind of scorer. The comparison with RM3 asks how that approach fares against a familiar query-side source of additions. DocT5query represents an intervention on the other side of the index under a different training budget. Reading the three comparisons together keeps the practical claim about ease of integration separate from the empirical claim about which evaluated system gives the strongest ranking on a particular set.
Dense retrieval in domain
The main table pairs each dense variant with a corresponding baseline. Under the in-domain evaluation the expanded DPR, SimLM, and E5 variants outperform those counterparts on the reported metrics. The comparisons are useful because a gain over plain lexical matching would establish only part of the paper’s claim. The dense results show that adding explanatory text can still improve retrieval when the ranking mechanism already uses semantic similarity between vectors.
The benefit tends to be smaller for the systems that use intermediate pretraining or distillation from a strong cross-encoder. An encoder with a stronger starting representation has already learned to interpret some cases of terse wording. The teacher also supplies richer ranking information during fine-tuning. These are reasons that the same expansion might make less of a difference in a stronger system. The authors report diminishing gains in that setting, but their comparisons are between complete training configurations. They do not assign a separate share of the reduced gain to the initialization, distillation, or other choices in those configurations.
There is an important distinction between the size of a gain and the quality of the system to which it is added. A stronger dense retriever can improve by a smaller amount and still be more competitive in the final ranking. The paired comparisons show the value of changing the query within each setup. They give a better answer to that question than comparing an expanded retriever of one family with a raw-query retriever of another family, where baseline strength and the input change would be mixed together.
The training procedure also qualifies the meaning of the dense result. The evaluated dense variants are trained to encode expanded queries. A change made only at inference would expose a raw-query-trained encoder to a different input distribution, so it would be a separate test. In the reported supervised setting, the gains belong to a retriever adapted to the expanded input. The BM25 result, by comparison, requires no such adaptation to the scorer.
Transfer to the BEIR collections
The BEIR evaluation shows that expansion can travel beyond the domain from which the demonstrations are drawn, with outcomes depending on the collection. DBpedia, an entity search dataset, is among the strongest examples of improvement. Its result fits the paper’s interpretation of the TREC DL results. If successful retrieval turns on the vocabulary associated with an entity, a passage about that entity can supply more helpful terms than the short request alone. This is a plausible explanation linking the two evaluations. The dataset-level result itself measures the ranking change.
The paper also reports decreases in ranking quality on NFCorpus and Scifact. The authors suggest that mismatch between the training and evaluation distributions may contribute. The demonstrations show the generator what a useful passage looks like in MS-MARCO. A collection with a different kind of request or evidence may reward different choices about what to generate. The study reports the mixed outcome and offers the domain-mismatch account as an interpretation.
In this setting, zero-shot describes transfer to the target collections. It can coexist with few-shot prompting because the examples given to the generator come from MS-MARCO. The distinction answers a practical question about supervision. The target collection supplies material to be searched, while the generator’s demonstrations were selected from another training set. The resulting scores indicate how that specific transfer setup behaves. They do not imply that removing the demonstrations altogether would have produced the same ranking.
What the ablations show
Generator choice affects the value of the expansion
The authors vary the generator and evaluate the resulting expansions. Performance improves across the tested range from the 1.3B generator to generators at 175B. They also observe that the smaller systems tend to produce shorter passages and include more factual errors. These observations give concrete ways in which one output can be less useful than another. A short passage may introduce little beyond the request, while an erroneous one can introduce a highly specific but misleading clue.
Generator size is one aspect of this comparison. The paper also reports that davinci-003 gives better retrieval results than davinci-001 and attributes the difference to improved training data and instruction tuning. The latter refers to adapting a generator to respond more effectively to instructions. The comparison therefore includes changes that are distinct from scaling the parameter count. The retrieval evidence supports a claim about the generators the authors tested. A precise account of how much improvement to expect from size alone would need to hold those other differences fixed.
GPT-4 is the strongest generator in this analysis. The authors could use it for the comparison but had insufficient quota to use it for the main experiments. They also noticed that it sometimes responded to a query by asking for clarification. To obtain the passage needed by the retrieval pipeline, they used a system instruction telling it to produce the passage directly. This illustrates another property of a useful expansion generator. It has to follow the intended response format consistently enough to deliver a string that the rest of the procedure can use. The paper relates the generator to the GPT-4 Technical Report.
The original request and the generated passage complement each other
The input ablation compares sparse retrieval from the original query, from the pseudo-document, and from the combined query. The combination works substantially better in the reported comparison. Changing which text is sent to the retriever is a direct way to ask whether the generated passage could serve as the entire search request. The outcome shows that preserving the original words matters even when the generated passage carries valuable background.
The two inputs have different properties. The query preserves the user’s expression of what they want. The generated passage adds language that might occur in an answer and can also include the generator’s assumptions about the request. A passage-only search gives those assumptions a larger role. A query-only search loses the additional vocabulary. Their combination retains exact wording that may distinguish the intended subject while offering matches to terms the user did not supply.
The tested combination is the paper’s sparse recipe, which includes repetition of the original query. The comparison supports the use of the two sources together under that recipe. It does not identify an ideal balance for all collections, or establish whether another combination rule would do better. It also concerns lexical retrieval. HyDE’s use of a generated document for embedding similarity is a different procedure, so the sparse ablation does not evaluate that method as a whole.
DPR benefits across the amounts of training data tested
The authors train raw-query and expanded-query DPR variants using different amounts of labeled MS-MARCO data. They compare mean reciprocal rank on the development set. The expanded variant leads by approximately 1% throughout the data amounts tested, as the paper describes the result. Training in this analysis is capped at 40 epochs or 18k steps, with the stopping condition determined by which threshold is reached first.
The comparison asks whether the gain disappears as more relevance labels are available. The reported pattern suggests that the generated passages contribute something that remains helpful over the investigated amounts of supervision. More labels give the retriever more examples of matching queries to passages. Expansion changes the information in an individual input by making associations and likely answer vocabulary explicit. The experiment shows that those contributions can coexist for DPR over the reported range.
The datum being varied here is the amount of labeled retriever training data. The source of the prompt examples and the generation procedure are still part of the setup. The result therefore speaks to complementarity with supervision under this design. It does not specify how many labels another system could save by expanding queries or whether an equally consistent gain would appear with another kind of retriever.
The cases show lexical overlap and factual risk together
The paper inspects 2 queries from TREC DL 2020. For each it places the generated text beside the reference passage and identifies overlapping words. This is a view of the proposed mechanism at the level of individual queries. Several useful expressions can appear in both passages even when the original question supplied little of that vocabulary. The authors observe that a generated passage can sometimes be detailed enough to satisfy the apparent information need.
One case also shows how an expansion can contain useful detail and a factual error. In the example involving the theme song “It’s a Jungle Out There,” the generated passage associates the change with 2002. The authors give 2003 as the correct year, when the theme was used from the second season. A song title and references to the program can still help the search engine reach relevant material even when an accompanying date is wrong. A retrieval metric can credit the ranking prompted by those terms without penalizing the false statement in the generated passage.
The examples help explain how useful keywords can emerge from a piece of prose. They also show why the passage is not inherently a reliable source of facts. An answer can be close enough in subject and wording to act as a good search input while remaining wrong in a way that matters to a reader. The case study illustrates that possibility. It offers no estimate of how often errors occur or how frequently an erroneous term changes the rank of the relevant passage.
The appendix tests revision and run-to-run variation
The authors try a revision pass in which GPT-4 receives its earlier passage and the query. The instruction calls for correcting factual mistakes while avoiding edits unrelated to factual accuracy. The generator makes few changes. The authors give two readings of this outcome. The initial passages may already be good, or the revising generator may have difficulty recognizing its own mistakes. The amount of changed text does not distinguish those possibilities. The result shows how this form of self-review behaved, with no independent evidence that the retained claims were verified.
The paper also reports averages and standard deviations from 3 random runs of sparse retrieval. This analysis includes variation in both the sampled demonstrations and the sampled generation. Top-p sampling, one of the sources of generation randomness, selects continuations from a set whose combined probability mass reaches a chosen threshold. Word choice can change across runs even with the same underlying generator. The reported variation thus concerns the whole procedure under rerunning, including changes before and during generation.
Sampling demonstrations by similarity to the query is raised as a possible future change. The rationale is that a demonstration on a related subject or with a similar kind of request might guide the generator more effectively than an arbitrary example. The paper uses the random selection in its reported setup. Its run-to-run analysis characterizes variation under that choice and does not establish the outcome of a similarity-based selector.
Limitations
Limits identified by the authors
The authors flag latency as a practical limitation. An autoregressive generator produces a passage by repeatedly predicting its continuation. That work sits in front of search for a new query and adds a waiting period beyond the retriever’s own response time. The more powerful generators that give the best expansions in the analysis can also face service availability constraints. GPT-4’s quota was a concrete example during the study, where it restricted which experiments the authors could run with that generator.
Sparse retrieval has another latency cost after the passage is available. An inverted index provides access to documents by their terms. A longer query can introduce many terms for the backend to handle, increasing the work of a search. The paper’s benchmark retrieves the top 100 results for each MS-MARCO development query with a single thread and averages over the queries. This defines the search operation whose latency the authors discuss. They point out that server load affects API timing and that measuring it precisely is difficult. The observations therefore describe costs under the studied conditions, with search work and generation latency arising at different stages.
The appendix gives a separate account of the scale of preparing the experiments. The authors made about 550k API calls at a cost of nearly 5k dollars. Most calls generated material for training queries. The reported training and evaluation time for a dense retriever is less than 10 hours. These figures describe different parts of the research procedure. The runtime for a dense retrieval experiment concerns the retriever. The calls describe the generation work needed to prepare and evaluate expansions. The claim that BM25 requires no added fine-tuning leaves both the cost of the generation call and the cost of processing its output in place.
The authors also identify false claims as a practical obstacle. Even a specific, fluent passage can contain a date or relationship that is wrong. The query expansion task can tolerate some errors if enough of the vocabulary remains helpful, but the same errors become consequential if the passage is presented as an authoritative response. The paper’s case analysis and its experiment with self-revision make factual reliability a separate issue from improvements in rank.
Limits of the evidence
The evaluation measures where judged corpus passages appear in the results. It provides no direct measure of how well the synthetic text expresses the user’s intention or how accurately it describes the subject. An incorrect detail could be incidental to a successful search, or it could push the search towards an irrelevant topic. The ranking metrics can show that the combined intervention helped on average, but they do not identify which clauses improved or harmed an individual ranking. The inspected cases help illuminate this mechanism without turning it into a measured error rate.
The gains also depend on choices that could interact. The prompt format, the generator’s prior training, the random examples, the passage length, and the way the texts are combined can all affect the words and context sent to the retriever. The generator comparison changes several properties across systems. The input ablation compares complete query constructions. The evidence supports the authors’ conclusions at those tested levels of intervention. It cannot establish the contribution of every component or predict the gain from adopting any one of them in isolation.
Transfer is another boundary. The BEIR experiments cover selected collections and use demonstrations sourced from MS-MARCO. They offer examples of both beneficial and adverse outcomes under that protocol. They do not determine how much of the variation comes from the source examples, the target collection’s vocabulary, or the kind of relevance the benchmark rewards. The proposed distribution-mismatch explanation makes those possibilities worth separating conceptually, but the paper leaves them empirically unresolved.
The source of retrieval evidence is important as well. Generation ahead of search is useful because it can offer terms that the initial lexical query would miss. The same independence means the passage can describe a plausible answer that the collection cannot support. The retriever may use that text to reach relevant evidence, but the procedure includes no stage that checks the generated assertions against the collection. Consequently the work supports using generated text as a search input. Its evaluations do not establish that the generation can replace inspecting the document that search returns.
What came after
Retrieval and generation in surveys
Several citing works locate Query2doc within broader accounts of retrieval and generation. The survey on language models for information retrieval is closest in topic. Query2doc’s contribution concerns the query representation supplied to a retriever. That makes it naturally comparable with work on how to represent documents and with work on scoring candidate results. The distinction locates where generation affects the ranking. In Query2doc it changes what the retrieval system sees before that system has formed a candidate list. The citing surveys include Large Language Models for Information Retrieval and A Survey of Large Language Models.
Surveys of retrieval-augmented generation place the paper near a more general question about the order of operations. Query2doc generates text to improve a search. Retrieval can also provide material for a later stage that generates an answer. A system has room for both operations, with different jobs for the text at each point. A synthetic query expansion is a means of reaching evidence. Retrieved material can then provide context for composing a response. The surveys’ stated subjects provide that larger setting for the paper’s narrower retrieval intervention. The citing works are A Survey on RAG Meeting LLMs and Retrieval-Augmented Generation for AI-Generated Content.
The hallucination survey addresses a problem demonstrated by the incorrect theme-song date. The example shows why factual accuracy and task usefulness can diverge for generated search inputs. Readers assessing a factual error in a final answer care whether the claim is true. Readers assessing a search expansion care first about where it takes the ranking. Both questions arise if the same response is allowed to function as a search aid and a user-facing answer. This is the connection to the subject of A Survey on Hallucination in Large Language Models.
The surveys of retrieval-augmented generation best practices and long-context language modeling frame different questions around the paper. Best-practice research concerns the choices involved in assembling an entire retrieval and generation system. Query2doc studies a choice near the start of such a sequence. The long-context survey concerns systems that process extended inputs, which raises a different question about how selected text is used once it has been gathered. These are connections between research topics. Citation alone does not identify which Query2doc settings either survey discusses or endorses. The works are Searching for Best Practices in Retrieval-Augmented Generation and A Comprehensive Survey on Long Context Language Modeling.
Changing queries, embeddings, and rankings
Several papers cite Query2doc while studying another part of first-stage retrieval. Work on zero-shot retrieval puts attention on what can be accomplished without target supervision. Query2doc supplies one concrete regime for comparison in that discussion, since it transfers with source demonstrations rather than target demonstrations. Work on improving embeddings puts the representation itself in focus. Query2doc’s dense experiment makes that point of contact clear: the generator changes the text that enters an encoder, and the encoder determines which features of that text matter to similarity search. The titles identify the research directions, while their citations establish the connection to Query2doc. The works are Large Language Models are Strong Zero-Shot Retriever and Improving Text Embeddings with Large Language Models.
Thought-augmented embedding takes up the idea of furnishing extra material for dense retrieval. The difference visible in the titles is the kind of material foregrounded. Query2doc asks for prose that might answer the query. Thought augmentation places additional emphasis on reasoning before an embedding is formed. Generative keyword-based retrieval studies how to specify the request in terms suitable for keyword search. Read alongside Query2doc, it raises the question of whether a whole candidate passage is the right unit for carrying extra search terms, since an expansion can be useful for a small subset of its wording. The cited work in these directions includes Let Retrievers Think Before Action and QueStER.
Multilingual query fusion explicitly brings language choice into the construction and combination of queries. This is adjacent to the problem of retaining what was in the request while adding helpful language from another source. The work on Russian-focused embedders, in turn, concerns benchmark and encoder design for a particular language. Its topic is relevant to the transfer questions that Query2doc raises, but its citation gives no basis for extending Query2doc’s own test results to Russian retrieval. The citing studies are Enhancing Multilingual RAG Systems with Debiased Language Preference-Guided Query Fusion and The Russian-focused embedders’ exploration.
Other citing papers assign the generator a role later in the search process. The ChatGPT search study addresses reranking, where a set of candidates has already been retrieved. Pairwise ranking prompting addresses the relative order of candidate texts through comparisons. A reranking study can ask how well a generator chooses among concrete documents. Query2doc asks whether generated text helps bring useful documents into the results in the first place. Research on optimizing retrieval-augmented rerankers with feedback and reinforcement learning likewise targets that later decision stage. The citing papers are Is ChatGPT Good at Search?, Large Language Models are Effective Text Rankers with Pairwise Ranking Prompting, and Optimizing RAG Rerankers with LLM Feedback via Reinforcement Learning.
SimLM also appears among the citing works, and Query2doc itself uses SimLM as a strong dense retrieval starting point. The concrete technical relationship established in Query2doc runs from the existing checkpoint, training settings, and teacher scores to an evaluation of expanded inputs. This reciprocal citation context is useful because it shows how work on retriever training and work on query construction can intersect without one being reducible to the other. It does not document a later version of SimLM adopting the expansion recipe. The work is SimLM.
From a single expansion to search within a larger process
Generate-then-Ground names a sequence that is particularly close to an issue Query2doc exposes. Generation can identify promising language or information before there is corpus evidence for it. Grounding brings retrieved evidence into the process. The later paper places this ordering in multi-hop question answering, where an answer requires connecting information across more than one step. DualRAG also addresses multi-hop questions, with its title foregrounding the integration of retrieval and reasoning. These works take up the relationship between what a system can propose from the request and what it can learn by consulting documents. Their titles do not establish that either implements Query2doc’s concatenation rule. The works are Generate-then-Ground and DualRAG.
Search-o1 puts search inside an agentic reasoning setting. WebThinker addresses deep research capability, and RAG-Star emphasizes verification and refinement with retrieval. The scope suggested by these papers is broader than a single transformation at the front of a search. Their stated subjects include search during a reasoning or research process and the use of retrieval to check or revise what the system has produced. Query2doc provides a relatively direct case of a generation influencing retrieval. Its factual-error example makes clear why the later question of checking a generation against evidence is distinct from the question of whether that generation helped locate the evidence. The citing works are Search-o1, WebThinker, and RAG-Star.
Work on retrieval as generation focuses on information planning that can be triggered during a task. Test-time corpus feedback foregrounds evidence from the collection and its use at the time of the request. That emphasis is particularly apt in light of Query2doc’s comparison with RM3. Query2doc demonstrates one way to start search without depending on the quality of any preliminary results. Corpus feedback makes those results or other corpus evidence part of the process again. The titles establish those contrasting emphases in how search is organized, without specifying how the later systems use Query2doc internally. The works are Retrieval as Generation and Test-time Corpus Feedback.
RepoCoder identifies an iterative relationship between retrieval and generation in repository-level code completion. Its subject gives the interaction a different purpose. Search in that setting can bring relevant repository context into a completion task, with iteration joining stages that Query2doc runs in a fixed sequence for one retrieval request. CLAG addresses the organization of agent memory through clustering, which shifts attention to how searchable material is organized in the first place. TALLRec concerns alignment for recommendation through tuning, a further example of citing work in a setting where adapting behavior to the task is central. These citations connect neighboring problems without establishing that the papers reuse the expansion procedure. The works are RepoCoder, CLAG, and TALLRec.
Across these works, the citations cover several positions where generated text can matter: before candidate retrieval, during embedding or reranking, and within a longer search-and-reasoning process. Query2doc establishes a particular result within that broader area. A generated passage can improve the ranking of real documents when it is added to the original request, and the quality of that passage, the ranking backend, and the target collection all matter. The later titles and citations show where the research questions extend. They establish the subjects and citation relationships, while specific claims about reuse of the prompt, training procedure, or query construction require evidence from the individual studies.
Institutions
Fields, topics and concepts
Shelves 5The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 worksInformation Systems · 1,888 works
Topics 1Research subjects and languages the work is about.Information retrieval & search · 561 works
Cite
Cite as Liang Wang, Nan Yang and Furu Wei. 2023. Query2doc: Query Expansion with Large Language Models. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing.
@inproceedings{wang2023query2doc,
title = {{Query2doc: Query Expansion with Large Language Models}},
author = {Liang Wang, Nan Yang and Furu Wei},
booktitle = {Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing},
year = {2023},
doi = {10.18653/v1/2023.emnlp-main.585},
eprint = {2303.07678},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/2023.emnlp-main.585}
}References
- Alexander Bondarenko, Maik Fröbe, Johannes Kiesel, Shahbaz Syed, Timon Gurcke, Meriem Beloucif, Alexander Panchenko, Chris Biemann, Benno Stein, Henning Wachsmuth, et al. 2022. Overview of touché 2022: argument retrieval. In International Conference of the Cross-Language Evaluation Forum for European Languages, pages 311–336. Springer. OpenAlex ↗ · Scholar ↗
- Vera Boteva, Demian Gholipour, Artem Sokolov, and Stefan Riezler. 2016. A full-text learning to rank dataset for medical information retrieval. In European Conference on Information Retrieval, pages 716–722. Springer. OpenAlex ↗ · Scholar ↗
- Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners (https://proceedings.neurips.cc/paper/2020/hash/1457c0d6bfcb4967418bfb8ac142f64a-Abstract.html). In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual. our card
- Daniel Fernando Campos, Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, Li Deng, and Bhaskar Mitra. 2016. Ms marco: A human generated machine reading comprehension dataset (https://arxiv.org/abs/1611.09268). ArXiv preprint, abs/1611.09268. our card
- Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, Parker Schuh, Kensen Shi, Sasha Tsvyashchenko, Joshua Maynez, Abhishek Rao, Parker Barnes, Yi Tay, Noam M. Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Benton C. Hutchinson, Reiner Pope, James Bradbury, Jacob Austin, Michael Isard, Guy Gur-Ari, Pengcheng Yin, Toju Duke, Anselm Levskaya, Sanjay Ghemawat, Sunipa Dev, Henryk Michalewski, Xavier García, Vedant Misra, Kevin Robinson, Liam Fedus, Denny Zhou, Daphne Ippolito, David Luan, Hyeontaek Lim, Barret Zoph, Alexander Spiridonov, Ryan Sepassi, David Dohan, Shivani Agrawal, Mark Omernick, Andrew M. Dai, Thanumalayan Sankaranarayana Pillai, Marie Pellat, Aitor Lewkowycz, Erica Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Díaz, Orhan Firat, Michele Catasta, Jason Wei, Kathleen S. Meier-Hellstern, Douglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. 2022. Palm: Scaling language modeling with pathways (https://arxiv.org/abs/2204.02311). ArXiv preprint, abs/2204.02311. our card
- Nick Craswell, Bhaskar Mitra, Emine Yilmaz, Daniel Campos, and Ellen M Voorhees. 2020a. Overview of the trec 2019 deep learning track (https://arxiv.org/abs/2003.07820). ArXiv preprint, abs/2003.07820. our card
- Nick Craswell, Bhaskar Mitra, Emine Yilmaz, Daniel Fernando Campos, and Ellen M. Voorhees. 2020b. Overview of the trec 2020 deep learning track (https://arxiv.org/abs/2003.07820). ArXiv preprint, abs/2003.07820. OpenAlex ↗ · Scholar ↗
- Thibault Formal, Benjamin Piwowarski, and Stéphane Clinchant. 2021. Splade: Sparse lexical and expansion model for first stage ranking. Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval. our card
- Luyu Gao and Jamie Callan. 2021. Condenser: a pre-training architecture for dense retrieval (https://doi.org/10.18653/v1/2021.emnlp-main.75). In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 981–993, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics. our card
- Luyu Gao, Xueguang Ma, Jimmy Lin, and Jamie Callan. 2022. Precise zero-shot dense retrieval without relevance labels (https://arxiv.org/abs/2212.10496). ArXiv preprint, abs/2212.10496. our card
- Faegheh Hasibi, Fedor Nikolaev, Chenyan Xiong, Krisztian Balog, Svein Erik Bratsberg, Alexander Kotov, and Jamie Callan. 2017. Dbpedia-entity v2: A test collection for entity search (https://doi.org/10.1145/3077136.3080751). In Proceedings of the 40th International ACM SIGIR Conference on Research and Development in Information Retrieval, Shinjuku, Tokyo, Japan, August 7-11, 2017, pages 1265–1268. ACM. OpenAlex ↗ · Scholar ↗
- Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020. Dense passage retrieval for open-domain question answering (https://doi.org/10.18653/v1/2020.emnlp-main.550). In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 6769–6781, Online. Association for Computational Linguistics. our card
- Victor Lavrenko and W. Bruce Croft. 2001. Relevance-based language models. ACM SIGIR Forum, 51:260 – 267. our card
- Jimmy J. Lin and Xueguang Ma. 2021. A few brief notes on deepimpact, coil, and a conceptual framework for information retrieval techniques (https://arxiv.org/abs/2106.14807). ArXiv preprint, abs/2106.14807. OpenAlex ↗ · Scholar ↗
- Jimmy J. Lin, Xueguang Ma, Sheng-Chieh Lin, Jheng-Hong Yang, Ronak Pradeep, Rodrigo Nogueira, and David R. Cheriton. 2021. Pyserini: A python toolkit for reproducible information retrieval research with sparse and dense representations. Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval. OpenAlex ↗ · Scholar ↗
- Linqing Liu, Minghan Li, Jimmy Lin, Sebastian Riedel, and Pontus Stenetorp. 2022. Query expansion using contextual clue sampling with language models (https://arxiv.org/abs/2210.07093). ArXiv preprint, abs/2210.07093. OpenAlex ↗ · Scholar ↗
- Yuanhua Lv and ChengXiang Zhai. 2009. A comparative study of methods for estimating query language models with pseudo feedback. Proceedings of the 18th ACM conference on Information and knowledge management. OpenAlex ↗ · Scholar ↗
- George A. Miller. 1992. WordNet: A lexical database for English (https://aclanthology.org/H92-1116). In Speech and Natural Language: Proceedings of a Workshop Held at Harriman, New York, February 23-26, 1992. our card
- Rodrigo Nogueira and Jimmy Lin. From doc2query to doctttttquery. our card
- Rodrigo Nogueira, Wei Yang, Jimmy J. Lin, and Kyunghyun Cho. 2019. Document expansion by query prediction (https://arxiv.org/abs/1904.08375). ArXiv preprint, abs/1904.08375. our card
- OpenAI. 2023. Gpt-4 technical report. ArXiv, abs/2303.08774. our card
- Ofir Press, Muru Zhang, Sewon Min, Ludwig Schmidt, Noah A Smith, and Mike Lewis. 2022. Measuring and narrowing the compositionality gap in language models. arXiv preprint arXiv:2210.03350. OpenAlex ↗ · Scholar ↗
- Yingqi Qu, Yuchen Ding, Jing Liu, Kai Liu, Ruiyang Ren, Wayne Xin Zhao, Daxiang Dong, Hua Wu, and Haifeng Wang. 2021. RocketQA: An optimized training approach to dense passage retrieval for open-domain question answering (https://doi.org/10.18653/v1/2021.naacl-main.466). In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 5835–5847, Online. Association for Computational Linguistics. our card
- Ruiyang Ren, Yingqi Qu, Jing Liu, Wayne Xin Zhao, QiaoQiao She, Hua Wu, Haifeng Wang, and Ji-Rong Wen. 2021. RocketQAv2: A joint training method for dense passage retrieval and passage re-ranking (https://doi.org/10.18653/v1/2021.emnlp-main.224). In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 2825–2835, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics. our card
- J. J. Rocchio. 1971. Relevance feedback in information retrieval. OpenAlex ↗ · Scholar ↗
- Zhiqing Sun, Xuezhi Wang, Yi Tay, Yiming Yang, and Denny Zhou. 2022. Recitation-augmented language models (https://arxiv.org/abs/2210.01296). ArXiv preprint, abs/2210.01296. our card
- Nandan Thakur, Nils Reimers, Andreas Rücklé, Abhishek Srivastava, and Iryna Gurevych. 2021. Beir: A heterogeneous benchmark for zero-shot evaluation of information retrieval models. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2). OpenAlex ↗ · Scholar ↗
- Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aur'elien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. 2023. Llama: Open and efficient foundation language models (https://arxiv.org/abs/2302.13971). ArXiv preprint, abs/2302.13971. our card
- Ellen Voorhees, Tasmeer Alam, Steven Bedrick, Dina Demner-Fushman, William R Hersh, Kyle Lo, Kirk Roberts, Ian Soboroff, and Lucy Lu Wang. 2021. Trec-covid: constructing a pandemic information retrieval test collection. In ACM SIGIR Forum, volume 54, pages 1–12. ACM New York, NY, USA. OpenAlex ↗ · Scholar ↗
- David Wadden, Shanchuan Lin, Kyle Lo, Lucy Lu Wang, Madeleine van Zuylen, Arman Cohan, and Hannaneh Hajishirzi. 2020. Fact or fiction: Verifying scientific claims (https://doi.org/10.18653/v1/2020.emnlp-main.609). In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 7534–7550, Online. Association for Computational Linguistics. our card
- Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder, and Furu Wei. 2022. Text embeddings by weakly-supervised contrastive pre-training (https://arxiv.org/abs/2212.03533). ArXiv preprint, abs/2212.03533. our card
- Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder, and Furu Wei. 2023. SimLM: Pre-training with representation bottleneck for dense passage retrieval (https://doi.org/10.18653/v1/2023.acl-long.125). In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2244–2258, Toronto, Canada. Association for Computational Linguistics. our card
- Lee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang, Jialin Liu, Paul N. Bennett, Junaid Ahmed, and Arnold Overwijk. 2021. Approximate nearest neighbor negative contrastive learning for dense text retrieval (https://openreview.net/forum?id=zeFrfgyZln). In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net. our card
- W. Yu, Dan Iter, Shuohang Wang, Yichong Xu, Mingxuan Ju, Soumya Sanyal, Chenguang Zhu, Michael Zeng, and Meng Jiang. 2022. Generate rather than retrieve: Large language models are strong context generators (https://arxiv.org/abs/2209.10063). ArXiv preprint, abs/2209.10063. our card
- Hang Zhang, Yeyun Gong, Yelong Shen, Jiancheng Lv, Nan Duan, and Weizhu Chen. 2022. Adversarial retriever-ranker for dense text retrieval (https://openreview.net/forum?id=MR7XubKUFB). In The Tenth International Conference on Learning Representations, ICLR 2022, Virtual Event, April 25-29, 2022. OpenReview.net. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/wang-2023-query2doc-query-expansion-large-language/