arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.14465cs.AI
收藏

Context-Picker: 基于多阶段强化学习的动态上下文选择

Context-Picker: Dynamic context selection using multi-stage reinforcement learning

Sun Yat-sen University(中山大学)

Siyuan Zhu, Chengdong Xu, Kaiqiang Ke, Chao Yu

AI总结:

Context-Picker通过多阶段强化学习动态选择上下文,提升长上下文问答的准确率和效率。

摘要:

在长上下文问答中,为查询选择合适的上下文范围仍然是一个关键且未解决的挑战。上下文不足可能导致遗漏关键信息,而过多的上下文往往会引入噪声并降低回答质量。传统方法,如检索固定数量的段落或应用重排序,难以动态确定应包含哪些上下文。这在事实性问题中尤为突出,因为这些问题通常仅依赖于少量精确的证据。为克服这一限制,我们提出Context-Picker,一个具有推理能力的框架,将上下文选择重新定义为识别一个最小充分证据子集的任务,超越传统的相似度排名。Context-Picker使用一种受人类启发的两阶段强化学习计划:阶段1专注于提高关键段落的召回率,阶段2则优先修剪冗余,以提炼一个紧凑的证据集。为解决奖励稀疏性问题,我们提出了一种离线证据蒸馏流水线,通过留一法(LOO)过程挖掘"最小充分集",提供密集且任务对齐的监督。在五个长上下文和多跳问答数据集上的实验表明,我们的方法优于强大的RAG基线,并实现了更高的回答准确率。消融研究也表明,我们的粗到细优化计划、冗余意识的奖励塑造,以及策略生成的推理,都对这些增益有显著贡献。

英文摘要:

In long-context question answering, selecting the appropriate scope of context for a query remains a key and unresolved challenge. Insufficient context can lead to missing essential information, whereas excessive context often introduces noise and degrades answer quality. Conventional methods, such as retrieving a fixed number of passages or applying reranking, struggle to dynamically determine which context to include. This is especially problematic for factoid questions, which typically depend only on a few precise pieces of evidence. To overcome this limitation, we propose Context-Picker, a reasoning-aware framework that reframes context selection as the task of identifying a minimal sufficient evidence subset, moving beyond conventional similarity-based ranking. Context-Picker uses a human-inspired two-stage reinforcement learning schedule: stage 1 focuses on improving the recall rate of critical passages, and stage 2 prioritizes pruning redundancy to distill a compact evidence set. To resolve reward sparsity, we propose an offline evidence distillation pipeline that mines ``minimal sufficient sets" via a Leave-One-Out (LOO) procedure, providing dense and task-aligned supervision. Experiments on five long-context and multi-hop QA datasets demonstrate that our method outperforms strong RAG baselines and achieved higher answer accuracy. Ablation studies also indicate that our coarse-to-fine optimization schedule, the redundancy-aware reward shaping, along with the rationale generated by the policy, all contribute substantially to these gains.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑