Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Lee, Jinhyuk, Chen, Anthony, Dai, Zhuyun, Dua, Dheeru, Sachan, Devendra Singh, Boratko, Michael, Luan, Yi, Arnold, Sébastien M. R., Perot, Vincent, Dalmia, Siddharth, Hu, Hexiang, Lin, Xudong, Pasupat, Panupong, Amini, Aida, Cole, Jeremy R., Riedel, Sebastian, Naim, Iftekhar, Chang, Ming-Wei, Guu, Kelvin
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917698913435648
author Lee, Jinhyuk
Chen, Anthony
Dai, Zhuyun
Dua, Dheeru
Sachan, Devendra Singh
Boratko, Michael
Luan, Yi
Arnold, Sébastien M. R.
Perot, Vincent
Dalmia, Siddharth
Hu, Hexiang
Lin, Xudong
Pasupat, Panupong
Amini, Aida
Cole, Jeremy R.
Riedel, Sebastian
Naim, Iftekhar
Chang, Ming-Wei
Guu, Kelvin
author_facet Lee, Jinhyuk
Chen, Anthony
Dai, Zhuyun
Dua, Dheeru
Sachan, Devendra Singh
Boratko, Michael
Luan, Yi
Arnold, Sébastien M. R.
Perot, Vincent
Dalmia, Siddharth
Hu, Hexiang
Lin, Xudong
Pasupat, Panupong
Amini, Aida
Cole, Jeremy R.
Riedel, Sebastian
Naim, Iftekhar
Chang, Ming-Wei
Guu, Kelvin
contents Long-context language models (LCLMs) have the potential to revolutionize our approach to tasks traditionally reliant on external tools like retrieval systems or databases. Leveraging LCLMs' ability to natively ingest and process entire corpora of information offers numerous advantages. It enhances user-friendliness by eliminating the need for specialized knowledge of tools, provides robust end-to-end modeling that minimizes cascading errors in complex pipelines, and allows for the application of sophisticated prompting techniques across the entire system. To assess this paradigm shift, we introduce LOFT, a benchmark of real-world tasks requiring context up to millions of tokens designed to evaluate LCLMs' performance on in-context retrieval and reasoning. Our findings reveal LCLMs' surprising ability to rival state-of-the-art retrieval and RAG systems, despite never having been explicitly trained for these tasks. However, LCLMs still face challenges in areas like compositional reasoning that are required in SQL-like tasks. Notably, prompting strategies significantly influence performance, emphasizing the need for continued research as context lengths grow. Overall, LOFT provides a rigorous testing ground for LCLMs, showcasing their potential to supplant existing paradigms and tackle novel tasks as model capabilities scale.
format Preprint
id arxiv_https___arxiv_org_abs_2406_13121
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?
Lee, Jinhyuk
Chen, Anthony
Dai, Zhuyun
Dua, Dheeru
Sachan, Devendra Singh
Boratko, Michael
Luan, Yi
Arnold, Sébastien M. R.
Perot, Vincent
Dalmia, Siddharth
Hu, Hexiang
Lin, Xudong
Pasupat, Panupong
Amini, Aida
Cole, Jeremy R.
Riedel, Sebastian
Naim, Iftekhar
Chang, Ming-Wei
Guu, Kelvin
Computation and Language
Artificial Intelligence
Information Retrieval
Long-context language models (LCLMs) have the potential to revolutionize our approach to tasks traditionally reliant on external tools like retrieval systems or databases. Leveraging LCLMs' ability to natively ingest and process entire corpora of information offers numerous advantages. It enhances user-friendliness by eliminating the need for specialized knowledge of tools, provides robust end-to-end modeling that minimizes cascading errors in complex pipelines, and allows for the application of sophisticated prompting techniques across the entire system. To assess this paradigm shift, we introduce LOFT, a benchmark of real-world tasks requiring context up to millions of tokens designed to evaluate LCLMs' performance on in-context retrieval and reasoning. Our findings reveal LCLMs' surprising ability to rival state-of-the-art retrieval and RAG systems, despite never having been explicitly trained for these tasks. However, LCLMs still face challenges in areas like compositional reasoning that are required in SQL-like tasks. Notably, prompting strategies significantly influence performance, emphasizing the need for continued research as context lengths grow. Overall, LOFT provides a rigorous testing ground for LCLMs, showcasing their potential to supplant existing paradigms and tackle novel tasks as model capabilities scale.
title Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?
topic Computation and Language
Artificial Intelligence
Information Retrieval
url https://arxiv.org/abs/2406.13121