Glance:生成器本身就是其重排序器

·

研究论文 · 2026/10/30

检索增强生成通常使用独立的模型进行重排序和回答,导致模型驻留和段落处理重复。我们提出Glance,为生成器配备轻量级决策适配器和指针头,从共享的预填充中为候选段落打分。短相关性探针从缓存上下文中分支,为每个段落产生一个分数,而无需单独预填充每个查询-段落对。单个驻留的9B骨干模型支持生成、通用决策和重排序,每个决策技能额外占用约0.1 GiB内存。经过39分钟的MS MARCO微调,Glance在SciFact上达到nDCG@10为0.741,在NFCorpus上为0.345,而bge-reranker-v2-m3分别为0.721和0.326。在300个HotpotQA问题上,在相同基础生成器下,其选择的上下文比交叉编码器选择的上下文将答案F1提高了0.045(配对bootstrap 95% CI [0.014, 0.076])。在扩展性研究中,重排序质量持续上升,直到从一次共享预填充中评分200个候选(43k tokens),此时其nDCG@10超过交叉编码器0.058,并且仅激活探针的适配器允许从原始段落缓存继续生成。这些初步结果展示了基于生成器的重排序与单一驻留骨干模型;评估目前涵盖两个检索数据集、一个QA数据集和一个骨干模型系列。

Glance提出了一种新颖的生成器自重排序方法,显著降低了检索增强生成系统的复杂性和资源消耗,同时在多个基准上优于专用重排序器,为高效RAG系统设计提供了新思路。

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.

阅读原文

参与讨论