Skip to main content
QUICK REVIEW

[論文レビュー] Detecting Overflow in Compressed Token Representations for Retrieval-Augmented Generation

Julia Belikova, Danila Rozhevskii|arXiv (Cornell University)|Feb 12, 2026
Natural Language Processing TechniquesComputer Science被引用数 0
ひとこと要約

この論文は、RAGのソフト圧縮におけるトークンオーバーフローを定義し、圧縮トークンと非圧縮トークンを区別する飽和統計を示し、前LM前提で約0.72のAUC-ROCを達成する問合せ意識型学習プローブを提案して、低コストゲートを可能にする。

ABSTRACT

Efficient long-context processing remains a crucial challenge for contemporary large language models (LLMs), especially in resource-constrained environments. Soft compression architectures promise to extend effective context length by replacing long token sequences with smaller sets of learned compressed tokens. Yet, the limits of compressibility -- and when compression begins to erase task-relevant content -- remain underexplored. In this paper, we define token overflow as a regime in which compressed representations no longer contain sufficient information to answer a given query, and propose a methodology to characterize and detect it. In the xRAG soft-compression setting, we find that query-agnostic saturation statistics reliably separate compressed from uncompressed token representations, providing a practical tool for identifying compressed tokens but showing limited overflow detection capability. Lightweight probing classifiers over both query and context xRAG representations detect overflow with 0.72 AUC-ROC on average on HotpotQA, SQuADv2, and TriviaQA datasets, demonstrating that incorporating query information improves detection performance. These results advance from query-independent diagnostics to query-aware detectors, enabling low-cost pre-LLM gating to mitigate compression-induced errors.

研究の動機と目的

  • Motivate and formalize token overflow as a degradation of information in compressed tokens for RAG.
  • Characterize compressed vs. uncompressed token representations using saturation statistics and context measures.
  • Develop and compare overflow detection methods from query-agnostic to query-aware detectors.
  • Demonstrate that overflow detection can occur without full LLM inference by using projection-stage representations.
  • Assess whether overflow signals require modeling query-context interactions or can be inferred from tokens alone.

提案手法

  • Formalize overflow in soft compression as degraded task performance after compression relative to an uncompressed baseline.
  • Define context complexity, saturation statistics (Hoyer sparsity, spectral entropy, kurtosis), and attention-based features.
  • Develop three detection approaches: (i) hand-crafted saturation and context features with logistic regression, (ii) pre-LLM learned probes on joint query-context representations (preproj/postproj), (iii) post-LLM probes using middle/last layer states.
  • Introduce joint representations φ_i = [x_i^(s_c); q_i^(s_q)] for probing (s_c, s_q in {preproj, postproj, mid, last}).
  • Evaluate linear and shallow nonlinear probes, including supervised contrastive learning (SCL) variants, on datasets SQuADv2, TriviaQA, HotpotQA.
Figure 1: Comparison of classifier architectures (Linear scikit-learn, Linear PyTorch, MLP, MLP with SCL) across datasets and feature combinations. All architectures achieve comparable performance, with differences typically $<$ 1 percentage point, demonstrating that overflow is largely linearly sep
Figure 1: Comparison of classifier architectures (Linear scikit-learn, Linear PyTorch, MLP, MLP with SCL) across datasets and feature combinations. All architectures achieve comparable performance, with differences typically $<$ 1 percentage point, demonstrating that overflow is largely linearly sep

実験結果

リサーチクエスチョン

  • RQ1RQ1: How can overflow in compressed representations be characterized?
  • RQ2RQ2: Can overflow be efficiently detected without full LLM inference using lightweight diagnostics?
  • RQ3RQ3: Is overflow detectable from compressed tokens alone or does it require modeling query-context interactions?

主な発見

  • 飽和統計はxRAGトークンをベースライントークンから信頼性よく区別する;線形分離可能性はほぼ完璧(AUC-ROC > 0.95)だが、オーバーフローの予測には不十分。
  • 結合の問い合わせ-文脈表現を学習したプローブは、前LLMの射影段階でオーバーフロー検出において平均0.72のAUC-ROCを達成し、文脈のみのベースラインより上回る。
  • 推論後の検出は前推論と同等の性能を達成し、オーバーフローは圧縮時に決定され、モデルを通じて伝搬することを示唆。
  • 結合表現(Representation-joint)は文脈のみ(Representation)よりデータセット全体で約5–8ポイントのAUC-ROC向上。
  • 注意機構ベースの信号はオーバーフロー情報が限定的でLLMのフォワードパスを必要とする;飽和特徴はオーバーフローの有用性が限定的である。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。