PAC Reasoning: Controlling the Performance Loss for Efficient Reasoning
Nanyang Technological University, Singapore(新加坡南洋理工大学);Southern University of Science(南方科技大学);The Chinese University of Hong Kong, Shenzhen, China(香港中文大学(深圳))
Hao Zeng, Jianguo Huang, Bingyi Jing, Hongxin Wei, Bo An
大型推理模型(LRMs)在复杂问题解决任务中取得了显著进展。尽管取得了成功,LRMs在部署过程中通常面临高昂的计算成本,凸显了对高效推理的需求。一种实际的效率提升方向是动态地在思考和非思考模式之间切换LRMs。然而,此类方法往往会引入额外的推理错误,并且缺乏对性能损失的统计保证,这对于高风险应用至关重要。在本工作中,我们提出了Probably Approximately Correct(PAC)推理,该方法在用户指定的容忍度下控制性能损失。具体而言,我们构建了一个性能损失的上置信界,并确定了一个切换到非思考模式的阈值。理论上,使用该阈值在思考和非思考模式之间切换,可以以分布无关的方式保证性能损失的有界性。我们对推理基准的全面实验表明,所提出的方法可以节省计算预算并控制用户指定的性能损失。
英文摘要:
Large reasoning models (LRMs) have achieved remarkable progress in complex problem-solving tasks. Despite this success, LRMs typically suffer from high computational costs during deployment, highlighting a need for efficient inference. A practical direction is to switch the LRM between thinking and non-thinking modes dynamically. However, such approaches often introduce additional reasoning errors and lack statistical guarantees for the performance loss, which are critical for high-stakes applications. In this work, we propose Probably Approximately Correct (PAC) Reasoning that controls the performance loss under the user-specified tolerance. Specifically, we construct an upper confidence bound on the performance loss and determine a threshold for switching to the non-thinking model. Theoretically, using the threshold to switch between the thinking and non-thinking modes ensures bounded performance loss in a distribution-free manner. Our experiments on reasoning benchmarks show that the proposed method can save computational budgets and control the user-specified performance loss.
Conditional Performance Guarantee for Large Reasoning Models
Nanyang Technological University, Singapore(南洋理工大学);Southern University of Science(南方科技大学);The Chinese University of Hong Kong, Shenzhen, China(香港中文大学(深圳))
VIS Lab, University of Amsterdam(阿姆斯特丹大学VIS实验室);FunAI Lab, University of Technology Nuremberg(纽伦堡技术大学FunAI实验室);CSAIL, Massachusetts Institute of Technology(麻省理工学院计算机科学与人工智能实验室)
Department of Statistics and Data Science(统计与数据科学系);Department of Statistics(统计系);Data Science, Southern University of Science(数据科学,南方科技大学);College of Computing(计算学院);College of Computing and Data Science(计算与数据科学学院);School of Statistics(统计学系);School of Statistics and Data Science(统计与数据科学系);School of Artificial Intelligence, The Chinese University of Hong Kong, Shenzhen(人工智能学院,香港中文大学(深圳));Shenzhen Loop Area Institute(深圳河套学院)