pith. sign in

arxiv: 2406.13121 · v1 · pith:BJ3JT2CInew · submitted 2024-06-19 · 💻 cs.CL · cs.AI· cs.IR

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

classification 💻 cs.CL cs.AIcs.IR
keywords lclmstasksretrievalabilitycontextentirelanguagelike
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 10 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. RULER: What's the Real Context Size of Your Long-Context Language Models?

    cs.CL 2024-04 accept novelty 8.0

    RULER shows most long-context LMs drop sharply in performance on complex tasks as length and difficulty increase, with only half maintaining results at 32K tokens.

  2. Can Language Models Actually Retrieve In-Context? Drowning in Documents at Million Token Scale

    cs.CL 2026-07 unverdicted novelty 7.0

    A 0.6B LM with length-aware attention adjustments performs competitive in-context retrieval at million-token scale on MS MARCO, NQ, and LIMIT benchmarks.

  3. Model-Native Computing Architecture: Envisioning Future System Architecture Through the Lens of Computer Architecture

    cs.AI 2026-05 unverdicted novelty 7.0

    Proposes the Intelligent Computing Architecture (ICA) as a six-layer framework with dual probabilistic-deterministic planes and three Amdahl-style heuristics to unify design of LLM-based systems.

  4. Scalable Model-Based Clustering with Sequential Monte Carlo

    stat.ML 2026-04 unverdicted novelty 7.0

    A memory-efficient SMC clustering method decomposes problems into approximately independent subproblems to handle large-scale online clustering with complex distributions.

  5. Recursive Agent Harnesses

    cs.CL 2026-06 unverdicted novelty 6.0

    RAH improves coding performance on Oolong-Synthetic from 71.75% to 81.36% with fixed GPT-5 backbone by spawning subagent harnesses via executable scripts.

  6. ATLAS: All-round Testing of Long-context Abilities across Scales

    cs.CL 2026-05 unverdicted novelty 5.0

    ATLAS is a length-dependent benchmarking framework that evaluates 26 models on 8 capability dimensions and shows substantial rank changes when moving from 128K to 1M token ranges.

  7. Inference Time Context Sparsity: Illusion or Opportunity?

    cs.AI 2026-05 unverdicted novelty 5.0

    Current LLMs remain robust to high levels of inference-time context sparsity across diverse tasks, enabling up to 10x acceleration via sparse kernels.

  8. LLM as Attention-Informed NTM and Topic Modeling as long-input Generation: Interpretability and long-Context Capability

    cs.CL 2025-10 unverdicted novelty 5.0

    LLMs recover interpretable topic structures via attention and achieve competitive topic modeling performance as long-context generators.

  9. World Model on Million-Length Video And Language With Blockwise RingAttention

    cs.LG 2024-02 unverdicted novelty 5.0

    Presents open-source 7B models for million-token video and language understanding via Blockwise RingAttention, setting new benchmarks in retrieval and long video tasks.

  10. Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilities

    cs.CL 2025-07 unverdicted novelty 4.0

    Gemini 2.5 Pro and Flash models are presented as achieving frontier performance in reasoning, coding, and long-context multimodal tasks while spanning a cost-capability Pareto curve.