Skip to main content
QUICK REVIEW

[Paper Review] Recitation-Augmented Language Models

Zhiqing Sun, Xuezhi Wang|arXiv (Cornell University)|Oct 4, 2022
Topic ModelingComputer Science30 citations
TL;DR

RECITE introduces a recite-and-answer paradigm where an LLM first recites passages from its own memory and then generates answers, improving closed-book QA across multiple datasets and model families without external retrieval.

ABSTRACT

We propose a new paradigm to help Large Language Models (LLMs) generate more accurate factual knowledge without retrieving from an external corpus, called RECITation-augmented gEneration (RECITE). Different from retrieval-augmented language models that retrieve relevant documents before generating the outputs, given an input, RECITE first recites one or several relevant passages from LLMs' own memory via sampling, and then produces the final answers. We show that RECITE is a powerful paradigm for knowledge-intensive NLP tasks. Specifically, we show that by utilizing recitation as the intermediate step, a recite-and-answer scheme can achieve new state-of-the-art performance in various closed-book question answering (CBQA) tasks. In experiments, we verify the effectiveness of \method~on four pre-trained models (PaLM, UL2, OPT, and Codex) and three CBQA tasks (Natural Questions, TriviaQA, and HotpotQA). Our code is available at "https://github.com/Edward-Sun/RECITE".

Motivation & Objective

  • Motivation to improve factual accuracy in knowledge-intensive tasks without external retrieval.
  • Decompose QA into a recitation (memory-based retrieval) step and a final answer generation step.
  • Demonstrate effectiveness across diverse large language models and CBQA datasets.
  • Explore enhancements via diversified recitation, self-consistency, and fine-tuning for better recitation quality.

Proposed method

  • Propose a two-step RECITE framework: knowledge recitation from model memory followed by task execution to answer.
  • Use prompt-based in-context learning to generate recitations conditioned on question-answer exemplars.
  • Apply self-consistency through multiple recitations and majority voting to select final answers.
  • Extend with multiple recite-and-answer for multi-hop questions to combine information from several recitations.
  • Introduce passage hint-based diversified recitation to improve evidence diversity and factual accuracy.
  • Fine-tune LLMs on synthetic question-hint-passage pairs to better map questions to recitations and passages.

Experimental results

Research questions

  • RQ1Can recitation-augmented generation (RECITE) improve closed-book QA across multiple datasets and model scales without external retrieval?
  • RQ2What is the impact of self-consistency and diversified recitation on answer quality and robustness in RECITE?
  • RQ3How does RECITE compare to retrieval-based and chain-of-thought baselines on knowledge-intensive tasks?
  • RQ4Does fine-tuning on synthetic question-hint-passage data further enhance recitation effectiveness?
  • RQ5How does RECITE perform on single-hop vs. multi-hop questions across datasets like Natural Questions, TriviaQA, and HotpotQA?

Key findings

  • RECITE with recite-and-answer yields measurable improvements over standard prompting across several models (PaLM, UL2, OPT, Codex) and CBQA datasets.
  • Diversified and diversified-passage recitations further boost performance on Natural Questions for PaLM-62B.
  • Self-consistency (multi-path recitations) generally improves answer accuracy, with more recitations yielding better results up to a point.
  • RECITE can outperform some chain-of-thought baselines on multi-hop QA (HotpotQA) in the tested settings.
  • Recitation-based approaches show competitive results even without external retrieval, often matching or approaching BM25 retrieval baselines in some contexts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.