arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.18827cs.IRcs.LGcs.PL
收藏

为小型语言模型引导的推理:评估可执行的多项选择题问答框架

Code-Guided Reasoning for Small Language Models: Evaluating Executable MCQA Scaffolds

IBM New York City,NY(IBM纽约市);University of South Carolina(南卡罗来纳大学);Artificial Intelligence Institute at University of South Carolina(南卡罗来纳大学人工智能学院)

Prateek Biswas, Dhaval Patel, Vedant Khandelwal, Shuxin Lin, Amit Sheth

AI总结:

本文提出Code-Guided Reasoning(CGR)评估协议和生成程序资源,用于衡量可执行推理框架如何提升小型语言模型在多项选择题问答任务中的表现,通过实验展示了使用可执行框架带来的性能提升。

摘要:

多项选择问答基准通常将小型语言模型(SLM)作为直接回答者进行评估,但部署的语言模型系统越来越多地依赖外部框架,如工具、代码和重复的模型调用。我们引入Code-Guided Reasoning(CGR),一种评估协议和生成程序资源,用于衡量可执行推理框架如何提高SLM在MCQA任务中的表现。CGR标准化了六个组件:规范化的问题接口、直接求解提示、生成提示、Python框架、求解器调用和提取辅助程序,以及三通道结果记录。在本地准备的MCQA数据包和六个元数据注册的求解器模型中,保留的20,498结果行显示,非零基线部分的宏辅助准确率为66.21%,直接准确率为38.11%,差异为+28.10个百分点,置信区间为[20.32, 36.43]。在更严格的Ab > 30%直接信号门限下,宏差异为+14.11点。这些估计是描述性的。辅助推理使用更大的求解器调用预算,答案提取是脆弱的,Time-MQA包含观察到的回归,且某些生成程序违反了无硬编码指令。CGR提供了解释这些结果所需的跟踪包,包括直接、辅助和生成器侧的答案、分区定义、生成程序、响应元数据和审计。

英文摘要:

Multiple-choice QA benchmarks usually evaluate small language models (SLMs) as direct answerers, but deployed language-model systems increasingly rely on external scaffolds such as tools, code, and repeated model calls. We introduce Code-Guided Reasoning (CGR), an evaluation protocol and generated-program resource for measuring when executable reasoning scaffolds improve SLM performance on MCQA tasks. CGR standardizes six components: a normalized item interface, a direct solver prompt, a generator prompt, a Python scaffold, solver-call and extraction helpers, and a three-channel result record. On 20,498 retained result rows from a locally prepared MCQA bundle and six metadata-registered solver models, the observed non-zero-baseline partition shows 66.21% macro assisted accuracy versus 38.11% direct accuracy, a +28.10 percentage-point difference with a pair-bootstrap interval of [20.32, 36.43]. Under a stricter Ab > 30% direct-signal gate, the macro difference is +14.11 points. These estimates are descriptive. Assisted inference uses a larger solver-call budget, answer extraction is brittle, Time-MQA contains the observed regressions, and some generated programs violate the no-hard-coding instruction. CGR provides the trace package needed to interpret these results, including direct, assisted, and generator-side answers, partition definitions, generated programs, response metadata, and audits.

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

↑