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

RankGuide: 张量秩引导的路由与引导以实现高效的推理

RankGuide: Tensor-Rank-Guided Routing and Steering for Efficient Reasoning

University of California, Santa Barbara(加州大学圣芭芭拉分校);Intel Labs(英特尔实验室)

Jiayi Tian, Yupeng Su, Ryan Solgi, Souvik Kundu, Zheng Zhang

AI总结:

RankGuide通过张量秩引导的路由与引导提升小推理模型与大推理模型的协作效率,减少推理延迟并提高准确性。

摘要:

大型推理模型(LRMs)通过生成显式的多步推理链(CoT)来增强问题解决能力;然而,它们会带来显著的推理延迟和计算开销。为缓解这一问题,最近的研究探索了模型协作范式,其中小推理模型(SRMs)生成中间推理步骤以实现更好的准确率-延迟权衡。尽管取得了进展,但有效且高效地检测和缓解协作系统中的SRM故障仍然是关键挑战。为此,我们分析了SRM推理在生成文本和隐藏状态空间中的表现,并识别出三种故障模式:过度自信、不确定性以及重验证。基于这些见解,我们提出了RankGuide框架,通过张量秩引导的路由与引导提升SRM-LRM协作的效率和效果。具体而言,RankGuide利用一个路由信号,该信号结合从连续隐藏状态中提取的张量秩信号,以检测SRM可能失败的时间,并选择性地调用LRMs。此外,我们引入了一种张量秩过滤的引导向量提取方法,以调节SRM的推理轨迹,从而提高其生成质量。通过通过张量秩信号改进路由和引导,RankGuide使SRM-LRM协作系统能够以更少的步骤实现更高效的推理。在多个推理基准测试中,实验表明RankGuide在延迟减少方面比LRM高达1.75倍,同时保持与先前方法相当的准确性。

英文摘要:

Large reasoning models (LRMs) enhance problem-solving capabilities by generating explicit multi-step chains of thought (CoT) reasoning; however, they incur substantial inference latency and computational overhead. To mitigate this issue, recent works have explored model collaboration paradigms, where small reasoning models (SRMs) generate intermediate reasoning steps to achieve a better accuracy--latency trade-off. Despite recent progress, effectively and efficiently detecting and mitigating SRM failures in collaborative systems remains a key challenge. To address this issue, we analyze SRM inference in both the generated text and hidden-state spaces, and identify three types of failure modes: \textit{overconfidence}, \textit{uncertainty}, and \textit{heavy revalidation}. Building on these insights, we propose \textbf{RankGuide}, a framework that improves the efficiency and effectiveness of SRM--LRM collaboration through tensor-rank-guided routing and steering. Specifically, RankGuide leverages a routing signal that incorporates tensor-rank signals derived from consecutive hidden states to detect when SRMs are likely to fail and selectively invoke LRMs. In addition, we introduce a tensor-rank-filtered steering vector extraction method to modulate the reasoning trajectory of SRMs, thereby improving their generation quality. By improving both routing and steering through tensor-rank signals, RankGuide enables SRM--LRM collaborative systems to achieve more efficient reasoning with fewer steps and improved accuracy. Experiments across three reasoning domains -- mathematics, code generation, and scientific QA -- demonstrate the efficacy of RankGuide in reducing latency by up to $1.75\times$ compared to LRM, while maintaining competitive accuracy relative to prior methods. The code is available at \href{https://github.com/TTTTTTris/RankGuide}{https://github.com/TTTTTTris/RankGuide}.

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

↑