arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.08305cs.LGcs.AI
收藏

通过黎曼激活引导实现测试时多样化推理

Test-time Diverse Reasoning by Riemannian Activation Steering

Ly Tran Ho Khanh, Dongxuan Zhu, Man-Chung Yue, Viet Anh Nguyen

AI总结:

针对Best-of-N推理的输出多样性限制问题,提出测试时无监督黎曼激活引导策略,通过优化引导向量提升推理路径多样性,在数学基准上同时改善生成多样性与求解准确性。

摘要:

Best-of-N推理通过采样多个候选解并基于某些标准选择最优解,提升了语言模型解决复杂任务的准确性。该策略的关键瓶颈是输出多样性限制,即模型尽管采用随机采样仍生成相似输出,从而重复相同错误。为解决推理路径缺乏方差的问题,我们提出一种新颖的无监督激活引导策略,在测试时同时优化多个推理轨迹的引导向量。在批量生成过程中的任何同步锚点,我们找到能最大化所有可能干预激活子集所张成总体积的引导向量。我们证明这些引导向量可通过在球体乘积空间上求解带有对数行列式目标函数的黎曼优化问题确定。然后使用调优学习率的黎曼块坐标下降算法获得问题的驻点,并应用这些引导向量直到生成过程到达后续同步锚点。在流行数学基准上的实证评估表明,我们的测试时黎曼激活引导策略在生成多样性和求解准确性方面优于普通采样技术。

英文摘要:

Best-of-$N$ reasoning improves the accuracy of language models in solving complex tasks by sampling multiple candidate solutions and then selecting the best one based on some criteria. A critical bottleneck for this strategy is the output diversity limit, which occurs when the model generates similar outputs despite stochastic sampling, and hence recites the same error. To address this lack of variance in reasoning paths, we propose a novel unsupervised activation steering strategy that simultaneously optimizes the steering vectors for multiple reasoning trajectories at test time. At any synchronization anchor along the batch generation process, we find the steering vectors that maximize the total volume spanned by all possible intervened activation subsets. We demonstrate that these steering vectors can be determined by solving a Riemannian optimization problem over the product of spheres with a log-determinant objective function. We then use a Riemannian block-coordinate descent algorithm with a well-tuned learning rate to obtain a stationary point of the problem, and we apply these steering vectors until the generation process reaches the subsequent synchronization anchor. Empirical evaluations on popular mathematical benchmarks demonstrate that our test-time Riemannian activation steering strategy outperforms vanilla sampling techniques in terms of generative diversity and solution accuracy.

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

↑