SAGE: Selective Attention-Guided Extraction for Token-Efficient Document Indexing

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wang, Xinzhi, Chen, Peter Baile, Vitagliano, Gerardo, Russo, Matthew, Chen, Jun, Cafarella, Michael, Madden, Samuel, Liu, Chunwei
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908990700519424
author Wang, Xinzhi
Chen, Peter Baile
Vitagliano, Gerardo
Russo, Matthew
Chen, Jun
Cafarella, Michael
Madden, Samuel
Liu, Chunwei
author_facet Wang, Xinzhi
Chen, Peter Baile
Vitagliano, Gerardo
Russo, Matthew
Chen, Jun
Cafarella, Michael
Madden, Samuel
Liu, Chunwei
contents Large language models with long context windows can answer complex questions directly from full-length academic, technical, and policy documents, but passing entire documents is often costly, slow, and can degrade answer quality while increasing the risk of unnecessary data leakage. This paper targets the common setting of answering many heterogeneous questions over long document(s), where fixed position heuristics and standard retrieval-augmented generation (RAG) can fail due to document structure variability and weak query-chunk semantic similarity, which often requires task- and domain-specific tuning of embedding retrievers. We propose {Selective Attention-Guided Extraction} (\ourmethod), a training-free, plug-and-play context reduction framework that uses a lightweight local LLM to perform a single prefilling pass and convert language model attention signals into a query-specific relevance heatmap at configurable granularities. \ourmethod\ further introduces \emph{differential attention} strategies to better isolate question-relevant evidence, then selects the top-scoring units under a user-defined token budget and forwards only this reduced context to a downstream LLM for answer generation. \ourmethod\ surpasses traditional reduction techniques across multiple long-document QA benchmarks, notably securing a top-4 rank on QuALITY-hard while constrained to a 10\% context budget. This enables a 90\% reduction in tokens with competitive accuracy, without the need for model fine-tuning or complex calibration.
format Preprint
id arxiv_https___arxiv_org_abs_2604_15583
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle SAGE: Selective Attention-Guided Extraction for Token-Efficient Document Indexing
Wang, Xinzhi
Chen, Peter Baile
Vitagliano, Gerardo
Russo, Matthew
Chen, Jun
Cafarella, Michael
Madden, Samuel
Liu, Chunwei
Databases
Large language models with long context windows can answer complex questions directly from full-length academic, technical, and policy documents, but passing entire documents is often costly, slow, and can degrade answer quality while increasing the risk of unnecessary data leakage. This paper targets the common setting of answering many heterogeneous questions over long document(s), where fixed position heuristics and standard retrieval-augmented generation (RAG) can fail due to document structure variability and weak query-chunk semantic similarity, which often requires task- and domain-specific tuning of embedding retrievers. We propose {Selective Attention-Guided Extraction} (\ourmethod), a training-free, plug-and-play context reduction framework that uses a lightweight local LLM to perform a single prefilling pass and convert language model attention signals into a query-specific relevance heatmap at configurable granularities. \ourmethod\ further introduces \emph{differential attention} strategies to better isolate question-relevant evidence, then selects the top-scoring units under a user-defined token budget and forwards only this reduced context to a downstream LLM for answer generation. \ourmethod\ surpasses traditional reduction techniques across multiple long-document QA benchmarks, notably securing a top-4 rank on QuALITY-hard while constrained to a 10\% context budget. This enables a 90\% reduction in tokens with competitive accuracy, without the need for model fine-tuning or complex calibration.
title SAGE: Selective Attention-Guided Extraction for Token-Efficient Document Indexing
topic Databases
url https://arxiv.org/abs/2604.15583