跳到正文
arXiv:cs.LG· Edan Kinderman, Elad Hoffer, Yochai Blau, Brian Chmiel, Ron Banner, Daniel Soudry, Boris Ginsburg·· 7 小时前AI 评分46

UNREAL:用单一模型统一检索与长上下文推理

UNREAL: Unifying Retrieval and Long-Context with a Single Model

AI 导读

研究者提出 UNREAL,一种模型原生的证据选择框架,可从冻结 LLM 的内部表示中直接编码文本块并生成检索查询,仅新增不到 500K 可训练参数、不改动主干。

正文

View PDF HTML (experimental)

Abstract:Long-context inference and Retrieval-Augmented Generation (RAG) handle evidence selection at vastly different scales, from a single long prompt to an entire corpus. We ask whether a single model-internal mechanism can select evidence across this range. We introduce UNifying REtrieval And Long-Context with a Single Model (UNREAL), a model-native evidence selection framework to span corpus retrieval and long-context inference. UNREAL encodes chunks and derives retrieval queries directly from the frozen LLM's internal representations. It adds fewer than 500K trainable parameters and leaves the backbone unchanged. On a 3B-token, 21M-chunk Wikipedia index, all four dense and hybrid UNREAL backbones outperform state-of-the-art retriever-reranker systems. The best model raises recall from 49.1% to 73.2% on HotpotQA, from 31.7% to 60.1% on 2WikiMultiHopQA, and from 8.8% to 14.4% on MuSiQue. Applied to long-context tasks, the same selection mechanism removes distractors before generation, raising NoLiMa accuracy from 1.0% to 24.83% at its maximum context length of 128K tokens, and LV-Eval's F1 score from 49.97% to 54.66% at 256K. UNREAL also reduces FLOPs and time-to-first-token relative to full-context inference from roughly 32K tokens onward, with larger gains as context grows. Together, these results establish model-internal evidence selection as a common foundation for corpus retrieval and evidence-sparse long-context inference.
Subjects: Computation and Language (cs.CL); Information Retrieval (cs.IR); Machine Learning (cs.LG)
Cite as: arXiv:2610.08463 [cs.CL]
  (or arXiv:2610.08463v1 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2610.08463

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Edan Kinderman [view email]
[v1] Tue, 6 Oct 2026 14:48:53 UTC (762 KB)

来源:arXiv:cs.LG · arxiv.org