Lune

ACL Findings2023

Large Language Models are Built-in Autoregressive Search Engines

Noah Ziems, Wenhao Yu, Zhihan Zhang, Meng Jiang

Abstract

Document retrieval is a key stage of standard Web search engines. Existing dual-encoder dense retrievers obtain representations for questions and documents independently, allowing for only shallow interactions between them. To overcome this limitation, recent autoregressive search engines replace the dual-encoder architecture by directly generating identifiers for relevant documents in the candidate pool. However, the training cost of such autoregressive search engines rises sharply as the number of candidate documents increases. In this paper, we find that large language models (LLMs) can follow human instructions to directly generate URLs for document retrieval.

Surprisingly, when providing a few Query-URL pairs as in-context demonstrations, LLMs can generate Web URLs where nearly 90% of the corresponding documents contain correct answers to open-domain questions. In this way, LLMs can be thought of as built-in search engines, since they have not been explicitly trained to map questions to document identifiers. Experiments demonstrate that our method can consistently achieve better retrieval performance than existing retrieval approaches by a significant margin on three open-domain question answering benchmarks, under both zero and few-shot settings. The code for this work can be found at https://github.com/Ziems/ llm-url.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Semantic Gesticulator: Semantics-Aware Co-Speech Gesture Synthesis cites Autoregressive Search Engines: Generating Substrings as Document Identifiers
  • Semantic Gesticulator: Semantics-Aware Co-Speech Gesture Synthesis cites Transformer Memory as a Differentiable Search Index
  • Semantic Gesticulator: Semantics-Aware Co-Speech Gesture Synthesis cites Training language models to follow instructions with human feedback
  • Autoregressive Search Engines: Generating Substrings as Document Identifiers cites Transformer Memory as a Differentiable Search Index
  • How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advances cites Training language models to follow instructions with human feedback
  • Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval cites ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT
  • Retrieval-Augmented Visual Question Answering via Built-in Autoregressive Search Engines cites Autoregressive Search Engines: Generating Substrings as Document Identifiers
  • Retrieval-Augmented Visual Question Answering via Built-in Autoregressive Search Engines cites Transformer Memory as a Differentiable Search Index
  • How Does Generative Retrieval Scale to Millions of Passages? cites Autoregressive Search Engines: Generating Substrings as Document Identifiers
  • How Does Generative Retrieval Scale to Millions of Passages? cites Transformer Memory as a Differentiable Search Index
  • LawBench: Benchmarking Legal Knowledge of Large Language Models cites Transformer Memory as a Differentiable Search Index
  • LawBench: Benchmarking Legal Knowledge of Large Language Models cites Training language models to follow instructions with human feedback
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. LawBench: Benchmarking Legal Knowledge of Large Language ModelsZhiwei Fei, Xiaoyu Shen, Dawei Zhu, Fengzhe Zhou et al.EMNLP 2024 · 59 citations
  2. Semantic Gesticulator: Semantics-Aware Co-Speech Gesture SynthesisZeyi Zhang, Tenglong Ao, Yuyao Zhang, Qingzhe Gao et al.SIGGRAPH 2024 · 39 citations
  3. How Does Generative Retrieval Scale to Millions of Passages?Ronak Pradeep, Kai Hui, Jai Gupta, Ádám D. Lelkes et al.EMNLP 2023 · 23 citations
  4. How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent AdvancesZihan Zhang, Meng Fang, Ling Chen, Mohammad-Reza Namazi-Rad et al.EMNLP 2023 · 22 citations
  5. Retrieval-Augmented Visual Question Answering via Built-in Autoregressive Search EnginesXinwei Long, Zhiyuan Ma, Ermo Hua, Kaiyan Zhang et al.AAAI 2025 · 18 citations

Builds on15

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  2. Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text RetrievalLee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang et al.ICLR 2021 · 1,547 citations
  3. ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTOmar Khattab, Matei ZahariaSIGIR 2020 · 1,246 citations
  4. Transformer Memory as a Differentiable Search IndexYi Tay, Vinh Tran, Mostafa Dehghani, Jianmo Ni et al.NeurIPS 2022 · 506 citations
  5. Autoregressive Search Engines: Generating Substrings as Document IdentifiersMichele Bevilacqua, Giuseppe Ottaviano, Patrick Lewis, Scott Yih et al.NeurIPS 2022 · 242 citations

Related papers

  1. Open-source Large Language Models are Strong Zero-shot Query Likelihood Models for Document RankingShengyao Zhuang, Bing Liu, Bevan Koopman, Guido ZucconEMNLP Findings 2023 · 36 citations
  2. From Missteps to Mastery: Enhancing Low-Resource Dense Retrieval through Adaptive Query GenerationZhenyu Tong, Chuan Qin, Chuyu Fang, Kaichun Yao et al.KDD 2025 · 4 citations
  3. Auto-Instruct: Automatic Instruction Generation and Ranking for Black-Box Language ModelsZhihan Zhang, Shuohang Wang, Wenhao Yu, Yichong Xu et al.EMNLP Findings 2023 · 12 citations
  4. Retrieval-Augmented Retrieval: Large Language Models are Strong Zero-Shot RetrieverTao Shen, Guodong Long, Xiubo Geng, Chongyang Tao et al.ACL Findings 2024 · 29 citations
  5. Generate rather than Retrieve: Large Language Models are Strong Context GeneratorsWenhao Yu, Dan Iter, Shuohang Wang, Yichong Xu et al.ICLR 2023 · 86 citations
Dusk over the sea between two cliffs drawn in fine vertical lines