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

基于验证器驱动样本选择的测试时训练实现大型语言模型的持续自我改进

Continuous Self-Improvement of Large Language Models by Test-time Training with Verifier-Driven Sample Selection

Department of Computer Science, Concordia University(计算机科学系,康科迪亚大学);Ascend Team, Huawei Technologies(华为技术有限公司Ascend团队)

Mohammad Mahdi Moradi, Hossam Amer, Sudhir Mudur, Weiwei Zhang, Yang Liu, Walid Ahmed

AI总结:

提出 VDS-TTT 框架,通过验证器驱动选择高置信度伪标记样本进行测试时 LoRA 微调,实现大语言模型在分布外数据上的持续自我改进,实验显示最高提升 32.29%。

摘要:

学习使预训练语言模型适应未标记的分布外数据是一项关键挑战,因为模型通常在结构上新颖的推理任务上表现不佳,即使在其训练分布内表现优异。我们引入了一个名为 VDS-TTT(Verifier-Driven Sample Selection for Test-Time Training,用于测试时训练的验证器驱动样本选择)的新框架来高效解决这一问题。我们使用一个学习到的验证器对生成的响应池进行评分,并仅从高排名的伪标记样本中进行选择以进行微调适应。具体而言,对于每个输入查询,我们的 LLM 生成 N 个候选答案;验证器为每个答案分配一个可靠性分数,并且将具有最高置信度且高于固定阈值的响应与其查询配对以进行测试时训练。我们仅微调低秩 LoRA 适配器参数,确保适应效率和快速收敛。我们提出的自监督框架是首个综合验证器驱动的测试时训练数据以实现模型持续自我改进的框架。在三个不同的基准和三个最先进的 LLM 上的实验表明,与基础模型相比,VDS-TTT 产生了高达 32.29% 的相对改进,与没有测试时训练的基于验证器的方法相比获得了 6.66% 的提升,突显了其在大型语言模型即时适应方面的有效性和效率。

英文摘要:

Learning to adapt pretrained language models to unlabeled, out-of-distribution data is a critical challenge, as models often falter on structurally novel reasoning tasks even while excelling within their training distribution. We introduce a new framework called VDS-TTT - Verifier-Driven Sample Selection for Test-Time Training to efficiently address this. We use a learned verifier to score a pool of generated responses and select only from high ranking pseudo-labeled examples for fine-tuned adaptation. Specifically, for each input query our LLM generates N candidate answers; the verifier assigns a reliability score to each, and the response with the highest confidence and above a fixed threshold is paired with its query for test-time training. We fine-tune only low-rank LoRA adapter parameters, ensuring adaptation efficiency and fast convergence. Our proposed self-supervised framework is the first to synthesize verifier driven test-time training data for continuous self-improvement of the model. Experiments across three diverse benchmarks and three state-of-the-art LLMs demonstrate that VDS-TTT yields up to a 32.29% relative improvement over the base model and a 6.66% gain compared to verifier-based methods without test-time training, highlighting its effectiveness and efficiency for on-the-fly large language model adaptation.

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

↑