Elamur Research

Recitation-Augmented Language Models

Paper · 2022 · Zhiqing Sun, Xuezhi Wang, Yi Tay et al.

Summary

A system can have enough information to answer a question and still fail when asked for the answer directly. In Recitation-Augmented Language Models, the authors test whether an intermediate step can make that information easier to use. Their method, RECITE, asks a language model to generate a passage related to the question, then gives it the passage and asks for an answer. This is closed-book question answering: the system may use what it learned during training, along with examples in the prompt, and answers new questions without looking up documents in an external collection.

The simplest version uses separate prompts to demonstrate what a relevant passage looks like and how to give a short answer. An ensemble version samples several passages, produces an answer from each, and chooses the answer that receives the most votes. For questions that require facts from different sources, the system can generate passages in sequence, allowing a later passage to pick up an entity introduced earlier. Another version samples the titles and locations of possible passages first, generates the text for each distinct location, and then reads the resulting passages together. The authors train that version on Wikipedia passages paired with questions generated for them.

The main experiments use PaLM, UL2, OPT, and Codex on Natural Questions, TriviaQA, and HotpotQA. The gains over direct answering are more consistent across systems on Natural Questions. On TriviaQA, the gains are more pronounced for smaller systems in the main comparison. On HotpotQA, generating supporting passages can outperform prompting for a step-by-step explanation. The version trained to generate passages from location hints further improves PaLM’s Natural Questions performance.

Generating a passage gives the answerer something concrete to work with, but the passage can be wrong, and a correct candidate answer can lose the vote. In the TriviaQA error analysis, those problems account for more of the failures than cases where a sampled passage contains the answer and the answering stage never produces it. The experiments show that a change in how the system is asked can improve factual answers. A separate question remains whether a particular answer was grounded in the generated passage or whether that passage faithfully reproduces a source.

Deep dive: Recitation-Augmented Language Models

Recitation-Augmented Language Models tests whether generating relevant passages before answering improves factual accuracy without a live search. · about 33 minutes to read

The problem and its context

Answering directly asks for information in a particular form

Open-domain question answering starts with a question and no accompanying passage. The question may refer to an event, a person, or a connection between entities, and the system has to supply the requested fact. An open-book system can search Wikipedia or another text collection. In the pipeline described by the authors, a retriever finds likely documents, and a reader uses those documents to produce an answer. Reading Wikipedia to Answer Open-Domain Questions is one of the precedents the paper cites for that arrangement.

With the book closed, an answer has to come from information represented in the system’s learned parameters or supplied in its prompt. The benchmark can still have human-selected source passages and reference answers. Those materials serve to construct examples or judge outputs. The distinction concerns what can be accessed for a new question. In retrieval-augmented generation, the system can search a collection for text tailored to that question. In RECITE’s closed-book setting, the system itself generates that intermediate text. The earlier work includes Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks.

The authors’ motivation is that pretraining and direct answering ask for different kinds of text. During causal language pretraining, the task is to continue text given its preceding context. A short-answer prompt calls for a compact response, often in a form that would rarely occur in ordinary prose. Someone who remembers a run of digits can work out a particular digit from its position, even if they have never encountered a sentence stating the digit at that position. The paper uses the digits of π to illustrate this difference. Recovering an extended sequence and then inspecting it makes the answer available in a form suited to the question.

The same idea applies to prose. A passage about an event might give its date, participants, and location together. A question about the event asks for just one of those details. In a direct prompt, the system has to arrive at the requested detail and express it immediately. RECITE gives it time to generate a larger unit of text, then presents that text as part of the input to the answering step. The authors’ hypothesis is that this gives the system a better route to some information learned during pretraining.

A passage can also supply a connection that is difficult to infer from the question alone. If a question identifies a person by relationship to an institution, a passage about one named entity might first establish which institution is involved. A later passage can then describe the institution or identify the person. This motivates a version in which passage generation proceeds sequentially. The information needed to generate the next passage can emerge from an earlier passage, even when the final answer has yet to be generated.

What earlier closed-book tests measured

The paper connects closed-book answering to research that treated pretrained systems as implicit stores of facts. Work such as Language Models as Knowledge Bases? helped motivate the idea that useful factual associations could be recovered from learned parameters. The authors also describe earlier tests in which T5 was trained on question–answer pairs and then answered knowledge-intensive questions without a document lookup.

That earlier setup introduced a question about what the evaluation rewarded. The paper cites work finding that overlap between training and test questions contributed substantially to the apparent success of supervised closed-book answering. Success on a familiar question can reflect memory of a particular question and its response, whereas a fresh question can require expressing related knowledge in a different form. The authors also cite work finding closed-book answering difficult for comparatively small pretrained systems, including RoBERTa.

RECITE’s main comparisons use few-shot learning in context. A small set of examples appears in the input and shows the system what kind of response to produce. The examples guide the current generation while leaving the trained parameters as they are. This setup reduces reliance on benchmark-specific supervised training for the prompt-only comparisons. It still leaves open what material the system encountered in pretraining. The paper treats few-shot evaluation as a way to reduce one source of overlap bias, with the pretraining history a separate issue. Language Models Are Few-Shot Learners is the main precedent it cites for learning a task from examples in a prompt.

The related-work discussion also describes Atlas, which uses retrieval and can achieve strong knowledge-intensive performance with relatively little task-specific training. Atlas illustrates the value of locating facts in an external collection. RECITE examines a different opportunity in the same broad problem: a system with fixed weights may produce useful factual context when the prompt requests a passage, even if the same system struggles to produce a short answer directly.

Remembering a passage and working out an answer

The authors distinguish their use of intermediate text from the role of a worked solution. Prior work on math word problems generated explanations in ordinary language and equations before giving a result. Training Verifiers to Solve Math Word Problems developed that line of work with a larger training set and a learned ranker for candidate solutions. Chain-of-Thought Prompting brought intermediate reasoning into the few-shot prompt itself. In those approaches, the generated text can describe the steps that lead to the answer.

RECITE asks for information that a reader could use to take such steps. A supporting passage might identify which organization owns a property. The task may then be to combine that relationship with something learned from another passage. The passage has a function even when it never states how to combine the facts. This matters for the HotpotQA comparison, where a generated explanation and a succession of generated passages offer different ways to arrive at an answer.

The memorization studies cited by the paper clarify what “recitation” means here. Some earlier experiments gave a system a prefix known to come from training material and checked whether it reproduced the continuation. The authors describe findings linking exact reproduction to factors including system capacity, repeated appearances of an example in training, and the amount of prefix available. RECITE typically starts with a question whose wording need never have appeared next to the relevant passage. The authors describe this as a looser kind of recall. A passage can be useful if it expresses the necessary relationship accurately, regardless of whether its wording matches any particular original.

That looser criterion also shapes the paper’s comparison with information retrieval. A search system returns an item from a collection. RECITE produces text that can play the role of a retrieved item in the answering prompt. Both workflows give a reader material particular to the question. Their outputs have different ties to source documents, which becomes important when assessing the accuracy of the intermediate material itself.

The method, step by step

Generate a passage, then use it

For a single-hop question, the authors begin with the assumption that one passage can usually supply the relevant information. They construct a recitation prompt with examples, each pairing a question with a supporting passage. The new question appears after these demonstrations. The system continues in the demonstrated format, producing a passage on the question’s subject. The examples teach the first stage to produce enough context to support an answer rather than immediately stopping at a name or short phrase.

The second stage uses a separate prompt. It includes the generated passage at the beginning, then the demonstrations of short question–answer pairs and the new question. The passage now serves as input to be read. The demonstrations show the intended response format. This arrangement lets the authors use a familiar few-shot answering prompt and change the information available to it by adding the generated text.

The basic procedure uses the same pretrained system for both roles. “Reciter” and “answerer” refer to different calls with different prompts. The reciter has to produce potentially relevant prose. The answerer has to identify what the question asks and generate a response while the prose is in view. A detail can be recoverable in the second call even if the first call does not state it in the form of a short answer. Conversely, the answerer can reach a response from its learned knowledge even when the generated context offers little help.

From a question to a recited passage and answer

The steps in order.

From a question to a recited passage and answerStep 1: Show examples pairing questions with supporting passages1. Show examples pairing questions with supporting passagesStep 2: Generate a passage for the new question2. Generate a passage for the new questionStep 3: Place the passage before the answering examples3. Place the passage before the answering examplesStep 4: Decode a short answer using that context4. Decode a short answer using that contextStep 5: For an ensemble, repeat with sampled passages5. For an ensemble, repeat with sampled passagesStep 6: Return the answer receiving the most votes6. Return the answer receiving the most votes

The split lets the authors examine the intermediate output. If the final answer is wrong, they can look for the expected answer in the generated passage and compare that with what the answering call returned. This is useful even though text inspection gives limited evidence about the computation itself. A passage can contain the right words in an unrelated statement, and a passage can imply an answer without spelling it out.

The prompt templates make the boundaries between questions, passages, and answers explicit. The authors generally use two successive newline characters between parts of an example and three between examples. The UL2 setup substitutes a semicolon for each newline because its SentencePiece vocabulary lacks the newline symbol used by the other prompts. Here the separator is part of the input format. Preserving the distinction between parts of an example and between complete examples helps retain the structure of the demonstration across systems.

Sample passages and vote on answers

A question may admit several useful passages. The authors illustrate this with the opening of London Bridge by Queen Elizabeth II. An article about the bridge and an article about events in the relevant month might both describe the opening. A generator might recover the same fact in an account centered on the bridge or in an account centered on the date. That possibility motivates an ensemble in which a single question goes through the pipeline several times.

For each path, the reciter generates a passage using top-k sampling. At a generation step, it limits the possible next tokens to the highest-ranked candidates and samples among those candidates. In the name “top-k,” k is the size of this candidate set at a step. A token is the unit of text used by the generator, which may be a word or part of one. Sampling lets the text take different continuations from the same prompt, so the resulting passages can cover different aspects of the question.

The answerer processes each sampled passage separately and uses greedy decoding: at each step of producing the short answer, it takes the highest-scoring next token. This puts stochastic variation in the evidence-generation stage. One path consists of a passage and its corresponding answer. The system counts votes for the answers across paths and selects the one with the most support. A plurality can be decisive even when the leading answer lacks an absolute majority.

The voting procedure adapts self-consistency from earlier work on sampling multiple lines of reasoning. The hypothesis is that useful differences between passages can produce the same correct answer. A passage may describe an event from one perspective and another may mention it in a chronology. In that case, the answer is the suitable object of comparison. Counting identical passages would discard the benefit of getting different accounts that support the same response.

The vote uses agreement as its selection signal. That signal has a clear limitation even before evaluation. A recurring mistake can gather support from several paths, while a sound passage may contribute only one correct answer. Independently sampling the paths describes how the generations are drawn. Their shared system and prompt still give them shared tendencies. This is why the paper later separates the appearance of a correct answer among the candidates from its selection as the final answer.

Let one passage supply the subject of the next

In multi-hop question answering, the supporting information spans documents. Asking for a single passage can keep the system on the subject most readily identified from the question. The authors extend the recitation prompt by demonstrating successive passages with separate labels. The first passage can settle one part of the question or uncover a useful entity. The next can move to the topic that entity suggests.

Generation takes place sequentially within a single completion. Every later passage has the question and the earlier recitations in its preceding context. The paper’s illustration shows the name Oberoi Group becoming available through an earlier passage and usable in the next. The point is the availability of an intermediate entity: demonstrations can teach the system that it should continue with a passage on a connected subject, and the actual subject can be supplied by text generated for that question.

The answering stage then uses the set of passages in the path. It may need to connect a fact from the earlier passage with another from the later one. A path for a multi-hop question therefore contains a sequence of recitations and its answer. Self-consistency can still operate across paths. The system samples multiple sequences, answers from each, and votes on the answers. Sampling across paths and continuing within a path serve different purposes. Sampling explores alternatives, while sequential generation carries information forward.

The first passage can direct subsequent generation towards the wrong entity as easily as towards the right one. Because the later passage is produced with the earlier one in view, a fluent sequence of passages can develop a mistaken association. Voting gives the method a chance to choose another path when the mistake is uncommon. The procedure itself supplies no external check on the relationship that connected the passages.

Vary the location before varying the text

The passage-hint variant addresses a tradeoff in sampling whole passages. More variation can uncover distinct supporting facts, but changes to the sampled text can also change a date, place, or name. Lower sampling temperature makes the generator favor likely continuations more heavily. The authors want to preserve selectivity when generating factual text while retaining enough variation to reach different pieces of evidence.

A passage hint identifies a location using an article title, the relevant hierarchy of section headings, and the paragraph’s position within that section. The paper illustrates this with the Wikipedia article on child support, where the hierarchy identifies a subsection on enforcement and the position identifies a particular paragraph there. A heading like “Enforcement” could occur in many places. The article and section hierarchy make it specific, and the paragraph position allows the hint to distinguish neighboring passages.

At inference, the reciter samples possible hints for a question. It removes repeated hints before generating full passages. For each remaining hint, it generates the passage greedily, favoring the highest-scoring next token throughout. The sampling stage explores locations, while the passage-completion stage tries to give a stable continuation for each location. Greedy decoding is the authors’ way of reducing variation in the text once the hint is fixed. It supplies no direct test of whether a generated detail is true.

A hint is a generated text label at this stage. Even though the label has the structure of a Wikipedia location, the system is generating the content associated with it and does not fetch the corresponding paragraph. The second stage receives the generated passages together in one context, along with question–answer demonstrations. The design lets the answerer consider distinct passages jointly. It also changes how the passages are combined. The sampled-passage ensemble combines short answers by voting, whereas the hint-based variant combines passages before generating a short answer.

Removing duplicate hints ensures that identical location labels do not use several of the passage-generation slots. Distinct labels can still lead to passages that cover the same fact, and a generated passage can depart from the implied source. The deduplication rule acts on the available labels. Its rationale is that separate article or section locations are a practical way to seek distinct material without depending on random variation in every word of the recitation.

Create training examples from passages

The authors found that ordinary few-shot prompting made the hint format difficult to use. Wikipedia may be part of a system’s pretraining data without article structure being represented consistently in the text it saw. In particular, the authors say section titles are frequently missing from such training inputs. The scheme requires the system to associate questions with hints and hints with passages. Familiarity with prose alone may leave either association weak.

The authors therefore use fine-tuning for the Natural Questions hint variant. They assume access to highly ranked Wikipedia pages associated with search queries. They collect passages from those pages and construct hints from the documents’ structure. Each collected passage has an actual text and a location label. The missing element is a question that calls for information in the passage.

They generate that missing element by prompting in the reverse direction. The prompt contains 5 examples that pair an annotated Natural Questions long answer with its question. Given a sampled Wikipedia passage, the generator follows those demonstrations and writes a question for it. This produces a synthetic training item with a generated question, a rule-derived hint, and the original passage. The authors then train PaLM in the forward direction, asking it to predict the hint and the passage from the question.

There are two uses of passage text here. The original Wikipedia paragraph provides material from which to generate a training question and serves as a target in fine-tuning. The passage presented to the answerer at evaluation is generated. Training therefore adds exposure to an external document collection while preserving the closed-book condition at answer time. The hint-based approach relies on access to supporting pages during preparation, whereas the prompt-only approach relies on the recitation demonstrations and the pretrained system.

The reported PaLM run uses 10,000 training steps with a batch size of 64. The paper gives roughly 1 day on 64 TPUv4 chips for that run. After fine-tuning, the recitation stage can generate hints and passages without further recitation examples in its prompt. The answering stage still follows the procedure in which generated context accompanies demonstrations of the desired answer format. The authors released the RECITE evaluation code and documented the prompts used for the benchmarks.

Experiments and results

The benchmarks and the evidence shown in prompts

Natural Questions uses real Google search queries. The benchmark connects answers to a Wikipedia page among the top 5 search results. The authors evaluate it as a single-hop task, judging the generated short answer and using the benchmark’s long-answer annotations to demonstrate recitation. A long answer marks a portion of a page that contains enough information to infer the short answer. It gives the reciter an example of what a supporting passage looks like for a naturally phrased query.

The main Natural Questions comparisons include 5-shot and 64-shot conditions. Each count refers to how many demonstrations the prompt supplies in the relevant few-shot setup. The count does not change the number of generated passages in an ensemble, which is a separate setting. Natural Questions also supplies the material needed for the fine-tuned hint variant and the context-source comparison. Those analyses give the authors different ways to use its annotated long answers and associated Wikipedia pages.

TriviaQA pairs questions written by trivia enthusiasts with answers and retrospectively collected evidence. That evidence collection does not yield the same straightforward long-answer annotation. The authors sample 5 training questions and manually compose their supporting passages from Wikipedia for the 5-shot recitation prompt. The main experiments treat the task as single-hop. The tests therefore assess whether prompt-based recitation helps for questions whose style and demonstration passages differ from those of Natural Questions.

HotpotQA was designed to ask for information that must be connected across supporting documents. The paper evaluates it in a 4-shot setting. The recitation demonstrations show how to generate multiple passages for a question, and the chain-of-thought baseline uses demonstrations of intermediate reasoning. The paper’s appendix also shows qualitative comparisons with direct answering. The task gives the authors a setting in which the final answer may require both finding the relevant facts internally and composing them.

The evaluation uses a labeled test split where available and the development split otherwise. The authors run on the first 1,024 examples for TriviaQA and HotpotQA because evaluation with these systems is expensive. This fixed portion is the scope of those reported comparisons. A separate Natural Questions analysis explicitly uses the first 1024 validation examples and changes what context the answerer sees.

Systems, baselines, and scoring

The main systems are PaLM, UL2, OPT, and Codex. The PaLM configuration has 62B parameters. UL2-20B is an encoder–decoder trained with a mixture of denoising tasks. The experiments use its S-Denoiser mode, which supports generation after a supplied prefix. The OPT configuration has 30B parameters. The authors access Codex through the code-davinci-002 interface and say that its size and detailed configuration are unknown.

The primary baseline is standard prompting. In this condition, the system sees question–answer demonstrations and then answers the new question directly. Recite-and-answer adds the generated context. The settings with self-consistency also introduce multiple paths and answer voting. The HotpotQA comparison adds a rationale-based baseline. For the hint-based experiment, the authors compare standard prompting, recite-and-answer with self-consistency, and the fine-tuned system that generates passages from hints and gives them to the reader together.

The reported answer metrics are exact match, abbreviated EM, and F1. Exact match checks whether the normalized prediction is the same as an accepted reference answer. F1 reflects overlap between the prediction and reference, so an answer can receive some credit for matching relevant words while differing elsewhere. The paper says the precise text-normalization procedure can vary by dataset. These metrics assess the answer string. The paper examines the recited passages separately, using diagnostics for whether they contain an answer and comparisons with contexts of known origin.

A gain in exact match is evidence of more correct short answers under the benchmark’s matching rule. F1 can also register gains when the system supplies more of the reference answer without reproducing it completely. Neither score tells which passage supported a response or whether a correct response follows from that passage. That distinction matters because RECITE changes several aspects of generation with the aim of improving the final answer, while also making intermediate text visible for inspection.

Where recitation improved answers

On Natural Questions, the authors report that prompt-based recitation improves upon direct prompting more consistently across the systems than it does on TriviaQA. The result applies to a setup in which the recitation examples come from annotated long answers. This is evidence that the passage-first procedure helps across different pretrained systems in that benchmark setting. The reports of gains at different demonstration counts also make the case less dependent on any one prompt length.

On TriviaQA, the authors report stronger gains from recitation for the smaller systems in their main comparison. They suggest that trivia questions tend to supply more contextual cues in their own wording. For a system such as PaLM, the question may already contain enough cues to make direct answering effective, leaving less room for a generated passage to help. This is their explanation of the pattern across the tested configurations. The experiment compares systems and prompts on the available questions, rather than varying the amount of information in a given question.

On HotpotQA, multiple recitations can outperform the chain-of-thought baseline. The authors also observe that PaLM, which benefits substantially from chain-of-thought prompting, benefits substantially from recitation. That combination is consistent with the different roles of the intermediate text. A system that uses extra context effectively can gain from factual passages as well as from a worked line of reasoning. The reported comparison concerns the benchmark answers, with qualitative examples illustrating how the prompting formats can produce different intermediate outputs.

The fine-tuned PaLM-62B hint variant further improves Natural Questions results in the reported comparison. In that run, the system has been trained to predict passage locations and text, diversifies the locations it tries, and reads the generated passages as a group. Its advantage is a result for the whole configuration. The experiment does not assign separate amounts of the gain to the training examples, hint sampling, duplicate removal, or the change from answer voting to joint reading.

The main comparisons are described by the direction of their EM and F1 results in the paper’s prose. The explicit percentages below come from a different measurement, the per-path TriviaQA error analysis. In the analysis of the 1024 TriviaQA evaluation examples, the authors report that around 7% to 10% of cases in the per-path analysis have a passage with the answer tokens but an incorrect output. Around 12% have a correct output in spite of the absence of the matching answer tokens in the recitation. The bounds in the chart represent the reported range for the same kind of mismatch.

TriviaQA per-path analysis, share of cases where passage match and answer accuracy disagree

Correct answers without matching passage tokens occur more often than incorrect answers with matching tokens.

TriviaQA per-path analysis, share of cases where passage match and answer accuracy disagreeAnswer tokens present, answer incorrect, lower bound: 7Answer tokens present, answer incorrect,lower bound7Answer tokens present, answer incorrect, upper bound: 10Answer tokens present, answer incorrect,upper bound10RECITE answer correct, answer tokens absent (this paper): 12RECITE answer correct, answer tokensabsent (this paper)12
The numbers
System or settingshare of cases %
Answer tokens present, answer incorrect, lower bound7
Answer tokens present, answer incorrect, upper bound10
RECITE answer correct, answer tokens absent (this paper)12

The chart measures disagreement between a token-level passage check and the outcome of the answering call. In this diagnostic, lower means less disagreement. Correct answers without matching tokens still count as successes on the answering task. They are informative because they show that answer accuracy can improve without establishing that the generated passage supplied the answer in a form the token check detects.

What the ablations show

More sampled passages helped the ensemble

The authors vary the number of self-consistency paths on TriviaQA using OPT-30B and UL2-20B. To avoid repeatedly paying for new generations at every path count, they first generate a pool and simulate smaller ensembles by drawing subsets from it. The pool limit is written as:

k = 20

In this analysis, k is the cap on the number of recitation passages sampled for a question, the equals sign specifies the chosen cap, and 20 is that cap. This use of k refers to complete passages per question. In the method’s term “top-k sampling,” k instead refers to the pool of next-token candidates within an individual generation step.

For each tested number of paths, the authors repeat the subset evaluation five times. They report the mean, which summarizes the resulting scores, and the standard deviation, which summarizes their spread. Using subsets of the same generation pool keeps the reciter fixed while changing how much of its output the vote can consider. They find that more paths tend to improve the TriviaQA EM and F1 results and reduce the variation seen across subsets.

The comparison shows what the answer vote gains from access to more samples of the existing reciter. Additional paths may supply a correct candidate absent from a small subset or reinforce an answer already found. The design does not distinguish these effects in the path-count curves. It also uses a finite pool, so the trend applies over the tested range. Beyond that range, more samples would depend on what other passages the reciter can produce and whether the vote can recognize their contribution.

The result survived changes to the demonstrations

A few-shot evaluation can depend on which examples are chosen and the order in which they appear. The authors test this by sampling and shuffling the 5-shot demonstrations for TriviaQA with 5 random seeds. Each seed governs a choice and ordering of examples. For UL2, they compare direct prompting and sampled recite-and-answer and report how the scores vary over the runs.

Under these changes, the authors find that the sampled recitation approach has similarly small deviations to standard prompting, with performance gains across the tested choices. This provides a check against the result being due entirely to a favorable demonstration set. Because selection and order change together, the comparison measures their combined effect. It leaves separate questions about which demonstration features matter and how sensitive the method would be to examples from a different distribution.

The amount of demonstration material is varied in another analysis. On Natural Questions with UL2-20B, recite-and-answer consistently improves on standard prompting across the plotted demonstration counts, with the largest reported improvement in the 1-shot setting. The authors’ finding concerns the difference between prompting methods at each count. The setting with the largest gain need not be the setting with the highest answer score. The comparison shows that the recitation procedure can provide a substantial advantage even when the prompt gives only a single example of the task.

The appendix also compares standard prompting with recite-and-answer on TriviaQA using instruction-fine-tuned FLAN-T5. Its instruction training exposed the system to tasks presented in written instructions. Recitation improves the reported 5-shot EM and F1 results across the tested sizes, and the largest gain is reported for the largest configuration, described as xxl (11B). That pattern and the stronger gains for smaller systems in the main TriviaQA comparison come from different groups of systems. Together they show that the benefit is sensitive to the family and training setup. The experiments do not reduce it to a general rule about size.

External, generated, and annotated contexts

The authors also change the source of the passage available to the answerer. They compare BM25 retrieval, generated recitation, and annotated long answers on the first 1024 Natural Questions validation examples. BM25 searches an indexed Wikipedia passage collection to find text related to the question. Recitation generates text from the question. The annotated long answer supplies human-designated context for the same benchmark item. UL2 and Codex are the answerers in this comparison.

The long answer matters because it helps separate the quality of the context source from the answerer’s ability to make use of a relevant passage. A system can fail even with a passage selected to contain sufficient information. The annotated context is a reference condition for the reader. BM25 tests whether an ordinary search method supplies practically useful context, and recitation tests whether internally generated text can serve that role.

The authors find BM25 strong and describe recitation as competitive without the document lookup. They also report a more favorable comparison for Codex’s own recitations relative to its BM25 context. These are comparisons of downstream answering. A recited paragraph may help because it expresses a salient fact succinctly, while a retrieved paragraph may require the reader to ignore more irrelevant material. The experimental score reflects the interaction between passage and answerer, and the comparison does not establish the relative factual accuracy of the passages themselves.

Natural Questions is the benchmark that gives the authors a consistent long-answer reference for this analysis. That makes it possible to compare the three sources in the same task. The results apply to the specified validation portion, answerers, and retrieval setup. They show that generated context can compete with a useful external baseline under those conditions. Retrieval with other collections, retrievers, or answering procedures is a separate comparison.

Where the right answer disappeared

The TriviaQA error analysis follows correct-answer strings through the stages of sampled recitation. The authors examine up to 20 passages and their corresponding candidate answers for each question in the analysis. First they ask whether the answer appears anywhere in the passages. If it does, they ask whether any answering call outputs it. If at least one call does, they ask whether voting selects it. Exact match identifies an ultimately correct answer.

In the first failure category, the expected answer is absent from all sampled recitations. This points to evidence generation as a practical bottleneck. Some questions may call for information that the system rarely produces. In others, the needed fact could appear indirectly or in a form the answer-string check misses. The diagnostic labels the outcome the authors can observe. It cannot distinguish unavailable knowledge from a failure to express accessible knowledge in those samples.

In the next category, a passage contains the answer but none of the candidates returns it. The reader may miss the relevant text or prefer a different answer. Simply finding the right string in a passage does not establish that the rest of the passage supports it. This category is still useful for locating a failure after generation has exposed the answer tokens. The authors find these cases less prominent than missing coverage and losing the vote.

In the other major failure category, at least one path returns the right answer and the aggregate decision selects another candidate. The system has already generated an acceptable answer, so the observed failure is in the selection procedure. This explains why improvements in passage generation can be hidden by voting. A new passage may contribute the first correct candidate and still have no effect on exact match if many other paths return the same wrong answer.

The per-path analysis complements the question-level categories. A passage with the right tokens can lead to an incorrect answer, and the answerer can be correct without those tokens in view. The latter case could involve inference from an indirectly helpful passage or recall from the system’s learned parameters. The diagnostic does not discriminate between those explanations. What it establishes is that visible answer tokens are neither a guarantee of successful answering nor a requirement for it.

Limitations

Limits identified by the authors

The authors single out time-sensitive facts. When a fact changes, a system using only learned parameters to generate its evidence may keep producing the old account. Updating those parameters with a new collection would require training or fine-tuning, which the authors describe as costly. An external collection can be updated separately from the system that reads it. The closed-book design gives up that direct route to current information at question time.

The ethics statement identifies a related risk. The reciter and answerer both draw on learned parameters, so an existing bias can appear in the supporting passage and then influence the final response. Retrieval can supply material from an independently chosen, trusted collection. RECITE’s passages may look like evidence from such a collection while having been produced by the system itself. The experiments measure answers on the selected benchmarks. They do not measure bias amplification or establish overall improvements in faithfulness.

The authors also leave broader knowledge-intensive tasks for future work. They mention fact checking as an example. Finding a short answer to a question and verifying a claim put different demands on evidence. The latter may require identifying a contradiction, comparing sources, or establishing what an independent source actually says. The reported closed-book QA results give a reason to investigate such tasks while leaving their outcomes open.

Limits visible in the setup

The name “recitation” is an account of how the system is prompted and how the authors motivate the method. The benchmark gains cannot establish the origin of every generated passage in training data. A system might reproduce part of an article, synthesize material across related texts, or generate a plausible passage containing unsupported details. The passage remains inspectable in any of those cases, but its availability is distinct from verifiable provenance. Even a correctly formed passage hint is a generated claim about where content belongs when the system has performed no lookup.

For the same reason, the experiments do not isolate internal recall as the sole cause of improvement. The passage-first procedure changes the prompt, gives the system more space to produce relevant material, and makes that text available to another generation. The ensemble adds multiple attempts and a selection rule. The method-level comparison shows what happens when those procedures replace direct answering. A claim about exactly which internal process caused the gain would require evidence that follows the contribution of the generated passage more directly.

The task scores also leave room for a correct answer supported by a mistaken account. Exact match cares about the final normalized string. F1 cares about the overlap with the reference. If a passage offers a correct name with an incorrect explanation of the person’s role, the answer can receive full credit when only the name is requested. The multi-hop setting carries a related ambiguity. A correct response alone does not prove that the passages jointly established the intended chain of facts.

The few-shot setting uses a small number of supervised demonstrations, but those demonstrations contain real work. The Natural Questions recitation prompt benefits from long-answer annotations. The TriviaQA demonstrations rely on manually composed support. The HotpotQA prompts encode how to express separate evidence passages. The findings show what recitation can do with those kinds of examples. They do not establish how well it would perform if the only material available were short question–answer pairs and no one had prepared passage examples.

The fine-tuned condition has a different data dependency. It uses an external set of passages collected from Wikipedia pages associated with search queries, as well as synthetic questions. The word “closed-book” correctly describes how the trained system answers at evaluation. It does not imply that preparing that system is possible without document access. This distinction matters when comparing the hint-based result to direct prompting. The improved configuration has seen additional training data and uses a different decoding and aggregation procedure.

The tested dataset portions and comparisons also limit generalization. The TriviaQA and HotpotQA evaluations use the first 1,024 examples rather than an analysis over every available labeled item. The comparison with retrieval uses a particular BM25 index and a particular Natural Questions validation portion. The robustness check changes random seeds on TriviaQA with UL2, and the path-count study uses two named systems on that benchmark. Each tells the reader where a pattern was observed. The paper does not establish that every pattern carries across all collections, retrievers, prompt designs, and pretrained systems.

Finally, repeated generation incurs extra inference work. A path needs both a recitation and an answer, and multi-hop paths include more supporting text. The path-count analysis explicitly reuses a sampled pool to limit expense. The hint-based variant also incurs a training run. The paper shows cases where the additional work improves accuracy, while leaving the cost comparison with direct prompting and retrieval dependent on the implementation and evaluation setting.

What came after

Deciding where supporting information comes from

RECITE treats access to knowledge as a decision about what information to place in front of the answerer. Later citing work studies source selection more directly. When Not to Trust Language Models investigates the effectiveness of parametric and non-parametric memory. Parametric memory is information represented through learned weights. Non-parametric memory supplies information from outside the weights, such as through a document collection. RECITE’s use of a passage generated from weights is one case on the parametric side of that comparison. The later paper’s question is when the choice between sources matters to the reliability of an answer. When Not to Trust Language Models

Self-Knowledge Guided Retrieval Augmentation connects retrieval to what a system can determine about its own knowledge. RECITE uses internal generation to supply evidence under a fixed closed-book constraint. Self-knowledge-guided retrieval considers internal knowledge in making use of an external source. The relationship is particularly clear in light of RECITE’s error analysis. In some cases a generator finds several usable passages, while in others its sampled material never exposes the required fact. An external route is relevant to the latter case if the system has a signal that it needs help. Self-Knowledge Guided Retrieval Augmentation

FreshLLMs addresses the freshness problem through search engine augmentation. RECITE’s authors identify changing facts as a particular difficulty for relying on stored parameters. Search provides a route by which a system can receive information from sources available at answer time. These papers place the update at different points in the process. The closed-book system must be adapted to make new information available in its learned parameters. Search augmentation can change the text supplied to the answerer without requiring that text to have been incorporated into those parameters beforehand. FreshLLMs

The survey Retrieval-Augmented Generation for Large Language Models places retrieval-based methods within a broader account of the field. Its relationship to RECITE is the shared use of supporting text before generation. RECITE is a useful case for thinking about the boundary of retrieval augmentation because the recited paragraph can occupy the same place in the answer prompt as a retrieved paragraph. How it reached the prompt determines whether there is a document the reader can consult to check it. Retrieval-Augmented Generation for Large Language Models: A Survey

Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questions brings search into a succession of reasoning steps. The connection to RECITE is the role of information revealed along the way. In the HotpotQA method, an earlier recitation can introduce an entity that guides the next one. In interleaved retrieval and reasoning, an intermediate step can inform what to retrieve as the question is worked through. Both arrangements give the next stage a more specific starting point than the original question alone may offer. The later work is explicitly concerned with a setting that includes a retrieval source. Interleaving Retrieval with Chain-of-Thought Reasoning

Active Retrieval Augmented Generation moves the retrieval decision into generation. Its relation to RECITE is easiest to see by asking when the system commits to the text it will use. RECITE’s main answerer receives its recited context before it starts producing the short answer. Active retrieval concerns seeking information as generation proceeds. This makes the developing output relevant to the timing of evidence acquisition, whereas RECITE’s sequential variant uses developing passage text to guide the next recitation. Active Retrieval Augmented Generation

Query2doc uses generated language for query expansion. A short query can give a search system few words with which to find the relevant material. Generating a document-like expansion puts the original request into a richer textual form. In RECITE, that richer form goes straight to the answerer as context. In Query2doc, it serves the search process. This is a distinct use of the same broad observation about form: generating text around a question can make that question easier for a subsequent component to act on. Query2doc

Demonstrate-Search-Predict studies the composition of demonstrations, retrieval, and prediction for knowledge-intensive language tasks. RECITE is also compositional, with separate demonstrations for generating evidence and generating an answer. The operation between the demonstrations and prediction is different. Searching a collection produces documents to pass forward, while recitation generates the material passed forward. Comparing the designs makes clear that the arrangement of stages is separable from the choice of information source at each stage. Demonstrate-Search-Predict

Examining the status of generated evidence

“According to . . . ” studies prompting for quotations from pretraining data. Its subject gives source wording a more direct role than it has in RECITE’s question-answering tests. A recitation can help answer a question when it conveys the relevant fact in different words. A quotation is judged partly by whether it reproduces a source’s wording. These tasks thus distinguish two possible goals for prompting a system to recall text: making the content available for use and reproducing how it appeared in a source. “According to . . . ”

Blinded by Generated Contexts examines how generated and retrieved contexts are combined when they conflict. RECITE compares the two context sources in separate Natural Questions conditions. A conflict setting instead presents a reader with the consequences of having both kinds of material available. The distinction matters because an answer produced after reading a generated passage can look as well grounded as one produced after reading a retrieved passage. When the passages disagree, the source of the text and the reader’s response to that disagreement become central to the evaluation. Blinded by Generated Contexts

Making Reasoning Matter concerns measuring and improving whether a displayed chain of thought is faithful to the reasoning behind an answer. RECITE exposes a related evaluation problem for factual context. Its answerer can be correct when its passage lacks the matching answer tokens, and a passage can contain the tokens without yielding a correct answer. The intermediate artifacts differ, since a chain of thought describes reasoning and a recitation supplies putative facts. In both settings, a reader can see the intermediate text, while measuring whether that text actually determined the outcome calls for a separate analysis. Making Reasoning Matter

Cite

Cite as Zhiqing Sun, Xuezhi Wang, Yi Tay, Yiming Yang and Denny Zhou. 2022. Recitation-Augmented Language Models. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2210.01296 · arXiv 2210.01296

@misc{sun2022recitation,
  title = {{Recitation-Augmented Language Models}},
  author = {Zhiqing Sun, Xuezhi Wang, Yi Tay, Yiming Yang and Denny Zhou},
  year = {2022},
  doi = {10.48550/arxiv.2210.01296},
  eprint = {2210.01296},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2210.01296}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/sun-2022-recitation-augmented-language-models/

References

65 references, from the paper's own bibliography.

  1. Aida Amini, Saadia Gabriel, Shanchuan Lin, Rik Koncel-Kedziorski, Yejin Choi, and Hannaneh Hajishirzi. Mathqa: Towards interpretable math word problem solving with operation-based formalisms. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 2357–2367, 2019. our card
  2. Stephen Bach, Victor Sanh, Zheng Xin Yong, Albert Webson, Colin Raffel, Nihal V Nayak, Abheesht Sharma, Taewoon Kim, M Saiful Bari, Thibault Févry, et al. Promptsource: An integrated development environment and repository for natural language prompts. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, pp. 93–104, 2022. our card
  3. Michele Bevilacqua, Giuseppe Ottaviano, Patrick Lewis, Wen-tau Yih, Sebastian Riedel, and Fabio Petroni. Autoregressive search engines: Generating substrings as document identifiers. arXiv preprint arXiv:2204.10628, 2022. OpenAlex ↗ · Scholar ↗
  4. Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:0 1877–1901, 2020. our card
  5. Nicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos, and Dawn Song. The secret sharer: Evaluating and testing unintended memorization in neural networks. In 28th USENIX Security Symposium (USENIX Security 19), pp. 267–284, 2019. our card
  6. Nicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom Brown, Dawn Song, Ulfar Erlingsson, et al. Extracting training data from large language models. In 30th USENIX Security Symposium (USENIX Security 21), pp. 2633–2650, 2021. our card
  7. Nicholas Carlini, Daphne Ippolito, Matthew Jagielski, Katherine Lee, Florian Tramer, and Chiyuan Zhang. Quantifying memorization across neural language models. arXiv preprint arXiv:2202.07646, 2022. OpenAlex ↗ · Scholar ↗
  8. Danqi Chen, Adam Fisch, Jason Weston, and Antoine Bordes. Reading wikipedia to answer open-domain questions. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1870–1879, 2017. our card
  9. Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021. our card
  10. Xinyun Chen, Chen Liang, Adams Wei Yu, Denny Zhou, Dawn Song, and Quoc V Le. Neural symbolic reader: Scalable integration of distributed and symbolic representations for reading comprehension. In International Conference on Learning Representations, 2019. OpenAlex ↗ · Scholar ↗
  11. Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. Palm: Scaling language modeling with pathways. arXiv preprint arXiv:2204.02311, 2022. our card
  12. Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, et al. Scaling instruction-finetuned language models. arXiv preprint arXiv:2210.11416, 2022. OpenAlex ↗ · Scholar ↗
  13. Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021. our card
  14. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4171–4186, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. . URL https://aclanthology.org/N19-1423. our card
  15. Kelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat, and Mingwei Chang. Retrieval augmented language model pre-training. In International Conference on Machine Learning, pp. 3929–3938. PMLR, 2020. OpenAlex ↗ · Scholar ↗
  16. Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, et al. Training compute-optimal large language models. arXiv preprint arXiv:2203.15556, 2022. our card
  17. Gautier Izacard and Edouard Grave. Distilling knowledge from reader to retriever for question answering. In International Conference on Learning Representations, 2020. OpenAlex ↗ · Scholar ↗
  18. Gautier Izacard and Édouard Grave. Leveraging passage retrieval with generative models for open domain question answering. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pp. 874–880, 2021. our card
  19. Gautier Izacard, Patrick Lewis, Maria Lomeli, Lucas Hosseini, Fabio Petroni, Timo Schick, Jane Dwivedi-Yu, Armand Joulin, Sebastian Riedel, and Edouard Grave. Few-shot learning with retrieval augmented language models. arXiv preprint arXiv:2208.03299, 2022. OpenAlex ↗ · Scholar ↗
  20. Zhengbao Jiang, Frank F Xu, Jun Araki, and Graham Neubig. How can we know what language models know. Transactions of the Association for Computational Linguistics, 8:0 423–438, 2020. our card
  21. Mandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1601–1611, 2017. our card
  22. Eugene Kharitonov, Marco Baroni, and Dieuwke Hupkes. How bpe affects memorization in transformers. arXiv preprint arXiv:2110.02782, 2021. OpenAlex ↗ · Scholar ↗
  23. Taku Kudo and John Richardson. Sentencepiece: A simple and language independent subword tokenizer and detokenizer for neural text processing. arXiv preprint arXiv:1808.06226, 2018. our card
  24. Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. Natural questions: a benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:0 453–466, 2019. our card
  25. Andrew K Lampinen, Ishita Dasgupta, Stephanie CY Chan, Kory Matthewson, Michael Henry Tessler, Antonia Creswell, James L McClelland, Jane X Wang, and Felix Hill. Can language models learn from explanations in context? arXiv preprint arXiv:2204.02329, 2022. our card
  26. Angeliki Lazaridou, Elena Gribovskaya, Wojciech Stokowiec, and Nikolai Grigorev. Internet-augmented language models through few-shot prompting for open-domain question answering. arXiv preprint arXiv:2203.05115, 2022. our card
  27. Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, et al. Retrieval-augmented generation for knowledge-intensive nlp tasks. Advances in Neural Information Processing Systems, 33:0 9459–9474, 2020. our card
  28. Patrick Lewis, Pontus Stenetorp, and Sebastian Riedel. Question and answer test-train overlap in open-domain question answering datasets. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pp. 1000–1008, 2021. our card
  29. Wang Ling, Dani Yogatama, Chris Dyer, and Phil Blunsom. Program induction by rationale generation: Learning to solve and explain algebraic word problems. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 158–167, 2017. our card
  30. Jiacheng Liu, Alisa Liu, Ximing Lu, Sean Welleck, Peter West, Ronan Le Bras, Yejin Choi, and Hannaneh Hajishirzi. Generated knowledge prompting for commonsense reasoning. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 3154–3169, 2022. OpenAlex ↗ · Scholar ↗
  31. Linqing Liu, Patrick Lewis, Sebastian Riedel, and Pontus Stenetorp. Challenges in generalization in open domain question answering. arXiv preprint arXiv:2109.01156, 2021. our card
  32. Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019. our card
  33. Mark A McDaniel, Daniel C Howard, and Gilles O Einstein. The read-recite-review study strategy: Effective and portable. Psychological Science, 200 (4):0 516–522, 2009. OpenAlex ↗ · Scholar ↗
  34. Sharan Narang, Colin Raffel, Katherine Lee, Adam Roberts, Noah Fiedel, and Karishma Malkan. Wt5?! training text-to-text models to explain their predictions. arXiv preprint arXiv:2004.14546, 2020. our card
  35. Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. arXiv preprint arXiv:2203.02155, 2022. our card
  36. Fabio Petroni, Tim Rocktäschel, Sebastian Riedel, Patrick Lewis, Anton Bakhtin, Yuxiang Wu, and Alexander Miller. Language models as knowledge bases? In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 2463–2473, 2019. our card
  37. John Prager et al. Open-domain question–answering. Foundations and Trends® in Information Retrieval, 10 (2):0 91–231, 2007. our card
  38. Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving language understanding by generative pre-training. a. OpenAlex ↗ · Scholar ↗
  39. Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. b. OpenAlex ↗ · Scholar ↗
  40. Jack W Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, Francis Song, John Aslanides, Sarah Henderson, Roman Ring, Susannah Young, et al. Scaling language models: Methods, analysis & insights from training gopher. arXiv preprint arXiv:2112.11446, 2021. our card
  41. Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J Liu, et al. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 210 (140):0 1–67, 2020. our card
  42. Adam Roberts, Colin Raffel, and Noam Shazeer. How much knowledge can you pack into the parameters of a language model? In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 5418–5426, 2020. our card
  43. Stephen Robertson, Hugo Zaragoza, et al. The probabilistic relevance framework: Bm25 and beyond. Foundations and Trends® in Information Retrieval, 30 (4):0 333–389, 2009. OpenAlex ↗ · Scholar ↗
  44. Subhro Roy, Shyam Upadhyay, and Dan Roth. Equation parsing: Mapping sentences to grounded equations. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pp. 1088–1097, 2016. OpenAlex ↗ · Scholar ↗
  45. Victor Sanh, Albert Webson, Colin Raffel, Stephen Bach, Lintang Sutawika, Zaid Alyafeai, Antoine Chaffin, Arnaud Stiegler, Arun Raja, Manan Dey, et al. Multitask prompted training enables zero-shot task generalization. In International Conference on Learning Representations, 2021. our card
  46. Vered Shwartz, Peter West, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Unsupervised commonsense question answering with self-talk. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 4615–4629, 2020. our card
  47. Alon Talmor, Yanai Elazar, Yoav Goldberg, and Jonathan Berant. olmpics-on what language model pre-training captures. Transactions of the Association for Computational Linguistics, 8:0 743–758, 2020. our card
  48. Yi Tay, Mostafa Dehghani, Vinh Q Tran, Xavier Garcia, Dara Bahri, Tal Schuster, Huaixiu Steven Zheng, Neil Houlsby, and Donald Metzler. Unifying language learning paradigms. arXiv preprint arXiv:2205.05131, 2022a. OpenAlex ↗ · Scholar ↗
  49. Yi Tay, Vinh Q Tran, Mostafa Dehghani, Jianmo Ni, Dara Bahri, Harsh Mehta, Zhen Qin, Kai Hui, Zhe Zhao, Jai Gupta, et al. Transformer memory as a differentiable search index. arXiv preprint arXiv:2202.06991, 2022b. our card
  50. Om Thakkar, Swaroop Ramaswamy, Rajiv Mathews, and Françoise Beaufays. Understanding unintended memorization in federated learning. arXiv preprint arXiv:2006.07490, 2020. OpenAlex ↗ · Scholar ↗
  51. Kushal Tirumala, Aram H Markosyan, Luke Zettlemoyer, and Armen Aghajanyan. Memorization without overfitting: Analyzing the training dynamics of large language models. arXiv preprint arXiv:2205.10770, 2022. our card
  52. Cunxiang Wang, Pai Liu, and Yue Zhang. Can generative pre-trained language models serve as knowledge bases for closed-book qa? In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 3241–3251, 2021. OpenAlex ↗ · Scholar ↗
  53. Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. Rationale-augmented ensembles in language models. arXiv preprint arXiv:2207.00747, 2022a. our card
  54. Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171, 2022b. our card
  55. Yujing Wang, Yingyan Hou, Haonan Wang, Ziming Miao, Shibin Wu, Hao Sun, Qi Chen, Yuqing Xia, Chengmin Chi, Guoshuai Zhao, et al. A neural corpus indexer for document retrieval. arXiv preprint arXiv:2206.02743, 2022c. OpenAlex ↗ · Scholar ↗
  56. Jason Wei, Maarten Bosma, Vincent Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M Dai, and Quoc V Le. Finetuned language models are zero-shot learners. In International Conference on Learning Representations, 2021. our card
  57. Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Brian Ichter, Fei Xia, Quoc Le, and Denny Zhou. Chain of thought prompting elicits reasoning in large language models. Advances in Neural Information Processing Systems, 35, 2022. our card
  58. Wei Yang, Yuqing Xie, Aileen Lin, Xingyu Li, Luchen Tan, Kun Xiong, Ming Li, and Jimmy Lin. End-to-end open-domain question answering with bertserini. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics (Demonstrations), pp. 72–77, 2019a. our card
  59. Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov, and Christopher D Manning. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 2369–2380, 2018. our card
  60. Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Russ R Salakhutdinov, and Quoc V Le. Xlnet: Generalized autoregressive pretraining for language understanding. Advances in neural information processing systems, 32, 2019b. our card
  61. Chiyuan Zhang, Daphne Ippolito, Katherine Lee, Matthew Jagielski, Florian Tramèr, and Nicholas Carlini. Counterfactual memorization in neural language models. arXiv preprint arXiv:2112.12938, 2021. OpenAlex ↗ · Scholar ↗
  62. Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, et al. Opt: Open pre-trained transformer language models. arXiv preprint arXiv:2205.01068, 2022. our card
  63. Zihao Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. Calibrate before use: Improving few-shot performance of language models. In International Conference on Machine Learning, pp. 12697–12706. PMLR, 2021. our card
  64. Yujia Zhou, Jing Yao, Zhicheng Dou, Ledell Wu, Peitian Zhang, and Ji-Rong Wen. Ultron: An ultimate retriever on corpus with a model-based indexer. arXiv preprint arXiv:2208.09257, 2022. OpenAlex ↗ · Scholar ↗
  65. Shengyao Zhuang, Houxing Ren, Linjun Shou, Jian Pei, Ming Gong, Guido Zuccon, and Daxin Jiang. Bridging the gap between indexing and retrieval for differentiable search index with query generation. arXiv preprint arXiv:2206.10128, 2022. OpenAlex ↗ · Scholar ↗