2026-10-08 논문 목록

논문 해설 · 2026-10-08

UNREAL: 하나의 모델로 검색과 긴 문맥 처리를 통합하다

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

긴 문맥 추론과 검색 증강 생성(RAG)은 근거를 고르는 규모가 크게 다르다. UNREAL은 고정된 LLM의 내부 표현으로 청크를 인코딩하고 검색 질의를 만들어, 두 상황에서 같은 방식으로 근거를 선택하는 프레임워크다. 위키피디아 검색과 긴 문맥 과제 모두에서 기존 방식보다 높은 성능을 보였다고 보고한다.

논문 초록을 바탕으로 정리했습니다. 논문 전체의 실험 조건과 한계까지 검토한 심층 리뷰는 아닙니다.

논문 원문 읽기 ↗

연구 문제

긴 문맥 추론은 하나의 긴 프롬프트 안에서, RAG는 방대한 말뭉치 전체에서 근거를 골라야 한다. 두 작업은 근거를 선택하는 규모가 매우 다르다. 연구진은 이 넓은 범위를 모델 내부의 단일 메커니즘으로 처리할 수 있는지 묻는다.

방법

UNREAL은 모델 자체를 활용하는 근거 선택 프레임워크다. 고정된 LLM의 내부 표현에서 청크를 인코딩하고 검색 질의도 직접 만들어 낸다. 추가되는 학습 파라미터는 50만 개 미만이며 기본 모델은 바꾸지 않는다. 초록에는 이보다 자세한 구조나 학습 방식이 나오지 않는다.

결과

30억 토큰, 2,100만 청크 규모의 위키피디아 색인에서 UNREAL의 밀집·하이브리드 백본 네 가지가 모두 최신 검색기-재순위기 시스템보다 좋은 성능을 냈다. 최고 모델의 재현율은 HotpotQA에서 49.1%에서 73.2%로, 2WikiMultiHopQA에서 31.7%에서 60.1%로, MuSiQue에서 8.8%에서 14.4%로 올랐다.

같은 선택 방식을 긴 문맥 과제에 적용하면 생성 전에 방해 정보를 제거한다. 그 결과 최대 길이 128K 토큰의 NoLiMa 정확도가 1.0%에서 24.83%로, 256K 토큰의 LV-Eval F1이 49.97%에서 54.66%로 올랐다. 또 약 32K 토큰 이상에서는 전체 문맥 추론보다 FLOPs와 첫 토큰 생성 시간이 줄고, 문맥이 길수록 이득이 커진다고 한다.

의미

연구진은 이 결과를 근거로 모델 내부 근거 선택이 말뭉치 검색과 근거가 드문 긴 문맥 추론의 공통 토대가 될 수 있다고 주장한다.

근거로 읽은 영문 초록

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.