arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.16104cs.LG
收藏

SelectTTRL:面向高效测试时强化学习的表征引导数据选择方法

SelectTTRL: Representation-Guided Data Selection for Efficient Test-Time Reinforcement Learning

Southeast University(东南大学);The Hong Kong Polytechnic University(香港理工大学)

Yi Li, Linan Yue, Weibo Gao

AI总结:

SelectTTRL通过表征引导数据选择,利用响应表征与问题可解性的稳定关系,仅对部分测试问题应用TTRL,在保持或提升性能的同时大幅降低测试时计算量。

摘要:

测试时强化学习(Test-Time Reinforcement Learning, TTRL)使大语言模型能够通过从多个采样响应构建伪标签,直接在未标记的测试问题上进行适配。然而,现有的TTRL方法通常对所有测试问题应用相同的、开销高昂的采样与优化流程,尽管这些问题的训练效用存在显著差异。在本文中,我们研究能否在代价高昂的测试时训练前识别出这类问题,且无需访问真实答案。我们发现了内部响应表征与问题级经验准确率之间的稳定关系:定义COS为模型响应表征与从独立问答数据集构建的正确性相关方向之间的余弦相似度,COS在不同模型、数据集和实验设置下均与问题可解性一致相关,我们还提供了该关系的理论分析。基于此发现,我们提出SelectTTRL,一种表征引导的数据选择方法,该方法通过COS对测试问题进行排序,仅对选定的百分位区间应用TTRL。SelectTTRL对选定问题保留标准TTRL流程不变,同时避免对其余问题进行不必要的多响应采样和强化学习更新。在多个推理基准上的实验表明,SelectTTRL大幅降低了测试时计算量,同时保持或提升了标准TTRL的性能。代码可在该https URL获取。

英文摘要:

Test-Time Reinforcement Learning (TTRL) enables large language models to adapt directly on unlabeled test problems by constructing pseudo-labels from multiple sampled responses. However, existing TTRL methods typically apply the same expensive sampling and optimization procedure to all test problems, despite substantial differences in their training utility. In this paper, we study whether such problems can be identified before costly test-time training, without access to ground-truth answers. We uncover a stable relationship between internal response representations and problem-level empirical accuracy. Specifically, we define COS as the cosine similarity between a model's response representation and a correctness-related direction constructed from an independent question-answering dataset. COS consistently correlates with problem solvability across different models, datasets, and experimental settings, and we further provide a theoretical analysis explaining this relationship. Building on this finding, we propose SelectTTRL, a representation-guided data selection method that ranks test problems using COS and applies TTRL only to a selected percentile interval. SelectTTRL leaves the standard TTRL pipeline unchanged for the selected problems, while avoiding unnecessary multi-response sampling and reinforcement learning updates on the remaining ones. Experiments across multiple reasoning benchmarks demonstrate that SelectTTRL substantially reduces test-time computation while maintaining or improving the performance of standard TTRL. Code is available at https://github.com/heyiliyi/SelectTTRL-public.

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

↑