[Paper Review] Autoregressive Search Engines: Generating Substrings as Document Identifiers
SEAL combines an autoregressive language model with a compressed full-text substring index (FM-index) to generate and score ngrams as document identifiers, enabling efficient retrieval and achieving strong downstream results on knowledge-intensive tasks.
Knowledge-intensive language tasks require NLP systems to both provide the correct answer and retrieve supporting evidence for it in a given corpus. Autoregressive language models are emerging as the de-facto standard for generating answers, with newer and more powerful systems emerging at an astonishing pace. In this paper we argue that all this (and future) progress can be directly applied to the retrieval problem with minimal intervention to the models' architecture. Previous work has explored ways to partition the search space into hierarchical structures and retrieve documents by autoregressively generating their unique identifier. In this work we propose an alternative that doesn't force any structure in the search space: using all ngrams in a passage as its possible identifiers. This setup allows us to use an autoregressive model to generate and score distinctive ngrams, that are then mapped to full passages through an efficient data structure. Empirically, we show this not only outperforms prior autoregressive approaches but also leads to an average improvement of at least 10 points over more established retrieval solutions for passage-level retrieval on the KILT benchmark, establishing new state-of-the-art downstream performance on some datasets, while using a considerably lighter memory footprint than competing systems. Code and pre-trained models at https://github.com/facebookresearch/SEAL.
Motivation & Objective
- Motivate improving knowledge-intensive retrieval by leveraging autoregressive models.
- Propose a retrieval method that uses all ngrams in documents as identifiers without imposing structural constraints.
- Integrate an autoregressive LM with an FM-index to constrain generation and retrieve documents.
- Develop a novel scoring mechanism that combines LM probabilities with corpus frequencies for ngrams.
Proposed method
- Use BART as the autoregressive model to generate constrained ngrams of fixed length from documents.
- Employ an FM-index to constrain decoding and identify documents containing generated ngrams in O(|n| log |V|).
- Score documents by combining P(n|q) with corpus frequency P(n) to form LM+FM scores.
- Introduce an intersective scoring that aggregates multiple ngrams per document with a coverage-aware weight.
- Train SEAL with supervised and unsupervised signals over KILT datasets to learn robust ngram generation.
Experimental results
Research questions
- RQ1Can autoregressive generation of ngrams provide effective identifiers for retrieval without imposing a predefined index structure?
- RQ2Does combining LM probabilities with FM-index frequencies improve retrieval accuracy and robustness across datasets?
- RQ3Does aggregating multiple ngrams per document (intersective scoring) yield better ranking than single-gram scoring?
- RQ4How does SEAL perform in passage-level retrieval and downstream QA when paired with standard readers?
Key findings
- SEAL matches or outperforms recent autoregressive retrieval methods on known benchmarks.
- The LM+FM and intersective scoring provide state-of-the-art downstream performance on several datasets when paired with a reader.
- SEAL achieves substantial memory efficiency, with a lighter index footprint than several baselines.
- Interpretable ngram generation demonstrates improved generalization to novel questions and answers.
- SEAL’s intersective scoring improves top-k retrieval by aggregating complementary ngram signals.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.