arXiv:2610.08463v1 cs.CL

UNREAL: 단일 모델을 통한 검색과 긴 문맥의 통합

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

Edan Kinderman, Elad Hoffer, Yochai Blau, Brian Chmiel, Ron Banner, Daniel Soudry, Boris Ginsburg

제출 2026-10-06

한국어 초록

긴 문맥 추론(Long-context inference)과 검색-증강 생성(RAG)은 단일 긴 프롬프트부터 전체 코퍼스에 이르기까지 매우 상이한 규모에서 근거 선택을 처리합니다. 본 논문에서는 단일 모델 내부 메커니즘이 이러한 범위를 아우르며 근거를 선택할 수 있는지 질문을 던집니다. 이에 따라 코퍼스 검색과 긴 문맥 추론을 아우르는 모델 네이티브 근거 선택 프레임워크인 UNREAL(UNifying REtrieval And Long-Context with a Single Model)을 제안합니다. UNREAL은 동결된 대규모 언어 모델(LLM)의 내부 표현으로부터 직접 청크를 인코딩하고 검색 쿼리를 도출합니다. 50만 개 미만의 학습 가능한 파라미터만을 추가하며 백본 모델은 변경하지 않고 그대로 유지합니다. 30억(3B) 토큰 및 2,100만(21M) 청크 규모의 Wikipedia 인덱스에서 4개의 밀집(dense) 및 하이브리드 UNREAL 백본 모두 최고 수준(SOTA)의 검색기-재순위화기(retriever-reranker) 시스템을 능가합니다. 가장 우수한 모델은 HotpotQA에서 재현율을 49.1%에서 73.2%로, 2WikiMultiHopQA에서 31.7%에서 60.1%로, MuSiQue에서 8.8%에서 14.4%로 향상시킵니다. 긴 문맥 태스크에 적용했을 때도 동일한 선택 메커니즘이 생성 전에 방해 요소(distractor)를 제거하여, 최대 문맥 길이인 128K 토큰에서 NoLiMa 정확도를 1.0%에서 24.83%로, 256K 토큰에서 LV-Eval의 F1 점수를 49.97%에서 54.66%로 높입니다. 또한 UNREAL은 전체 문맥 추론 대비 약 32K 토큰 이후부터 FLOPs와 첫 번째 토큰 생성 시간(TTFT)을 줄이며, 문맥이 길어질수록 그 효과는 더욱 커집니다. 종합적으로 이러한 결과는 모델 내부 근거 선택이 코퍼스 검색과 근거 희소형 긴 문맥 추론을 위한 공통 기반임을 입증합니다.

원문 초록

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.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2610.08463v1

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.