Glance: The Generator Is Its Own Reranker

Adilet Metinov, Chingiz Arziev

arXiv:2610.40454 · 2026-11-01 공개 · arXiv · PDF

retrieval-augmented-generation hotpotqa cross-encoder pointer-head nfcorpus scifact ms-marco nlg

Abstract

Retrieval-augmented generation commonly serves separate models for reranking and answering, duplicating model residency and passage processing. We introduce Glance, which equips the generator with a lightweight decision adapter and pointer head to score candidate passages from a shared prefill. Short relevance probes branch from the cached context, producing one score per passage without separately prefilling each query-passage pair. A single resident 9B backbone supports generation, general decisions and reranking, with approximately 0.1 GiB of additional memory per decision skill. After 39 minutes of MS MARCO fine-tuning, Glance achieves nDCG@10 of 0.741 on SciFact and 0.345 on NFCorpus, compared with 0.721 and 0.326 for bge-reranker-v2-m3. On 300 HotpotQA questions, its selected context improves answer F1 by 0.045 over cross-encoder-selected context under the same base generator (paired bootstrap 95% CI [0.014, 0.076]). In a scaling study, reranking quality keeps rising up to 200 candidates (43k tokens) scored from one shared prefill, where it exceeds the cross-encoder by 0.058 nDCG@10, and a probe-only activated adapter lets generation continue from the original passage cache. These initial results demonstrate generator-based reranking with one resident backbone; evaluation currently covers two retrieval datasets, one QA dataset and one backbone family.

한국어 요약

한 줄 요약

Glance는 생성 모델 자체를 재정렬기로 활용하여, 단일 9B 백본으로 효율적인 RAG 시스템을 구현한다.

핵심 기여도

핵심 아이디어

기존 RAG 시스템은 생성과 재정렬을 별도 모델로 처리해 계산과 메모리 낭비가 발생했다. Glance는 생성 모델 자체를 재정렬기로 활용하는 새로운 접근법을 제시한다. 생성 모델은 후보 문서들을 **shared prefill**로 한 번만 인코딩한 뒤, **short relevance probes**를 통해 각 문서에 대한 점수를 산출한다. 이는 **query–passage pair 별 별도 인코딩**을 생략함으로써 효율성을 높인다. **pointer head**는 각 probe를 **256차원의 relevance score**로 변환하며, **decision adapter**는 가벼운 추가 파라미터로 재정렬 및 일반 결정을 가능하게 한다. 이 방식은 **cross-encoder의 별도 서빙 필요성을 제거**하면서도, 재정렬 품질을 유지하거나 개선한다.

기술적 접근법

주요 결과

의의 및 한계

Glance는 생성 모델 자체를 재정렬기로 활용함으로써, **서빙 효율성**과 **계산 자원 절약**을 실현한다. 기존 cross-encoder 대비 **재정렬 품질은 유지되거나 개선**되며, **단일 백본 서빙**을 통해 복잡도를 줄인다. 그러나 평가 대상은 **2개의 retrieval 데이터셋**, **1개의 QA 데이터셋**, **1개의 백본 가족**에 제한되어 있어 일반화 가능성에 한계가 있다. 또한, **cross-encoder 대비 처리 속도는 여전히 느림**.

실용적 활용

Glance는 **RAG 기반 QA 시스템**, **문서 기반 추론**, **대규모 컨텍스트 처리** 등에 적용 가능하다. 특히, **서빙 효율성**이 중요한 클라우드 또는 모바일 환경에서 유용하며, **생성과 재정렬을 통합한 단일 모델 서빙**이 필요한 경우에 적합하다.