arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.17937cs.CLcs.PL
收藏

分析用于表格事实验证的LLM指令优化

Analyzing LLM Instruction Optimization for Tabular Fact Verification

University of Edinburgh(爱丁堡大学)

Xiaotang Du, Giwon Hong, Wai-Chung Kwan, Rohit Saxena, Ivan Titov, Pasquale Minervini, Emily Allaway

AI总结:

本文研究了指令优化在表格事实验证中的应用,发现MiPROv2在CoT中表现最佳,SIMBA在ReAct中效果显著,且CoT在小模型中仍有效。

摘要:

指令优化提供了一种轻量且模型无关的方法,用于增强大型语言模型(LLM)的推理性能。本文首次系统比较了基于DSPy优化框架的指令优化在表格事实验证中的应用。我们评估了四种即插即用的提示技术,涵盖纯文本提示和代码使用:直接预测、思维链(CoT)、带有SQL工具的ReAct以及使用Python执行的CodeAct。我们研究了三个来自DSPy框架的优化器——COPRO、MiPROv2和SIMBA——在四个基准和三种模型家族中的表现。我们发现,指令优化一致提高了验证准确性,其中MiPROv2在CoT中提供了最稳定的提升,而SIMBA在ReAct代理中提供了最大的收益,特别是在较大模型规模下。行为分析显示,SIMBA通过应用启发式方法鼓励更直接的推理路径,从而在CoT推理中提高数值比较能力,并帮助ReAct代理避免不必要的工具调用。在不同的提示技术中,CoT在表格事实检查中仍然有效,尤其是对于较小的模型。虽然使用较大模型构建的ReAct代理可以实现竞争性性能,但需要仔细的指令优化。

英文摘要:

Instruction optimization provides a lightweight, model-agnostic approach to enhancing the reasoning performance of large language models (LLMs). This paper presents the first systematic comparison of instruction optimization, based on the DSPy optimization framework, for tabular fact verification. We evaluate four out-of-the-box prompting techniques that cover both text-only prompting and code use: direct prediction, Chain-of-Thought (CoT), ReAct with SQL tools, and CodeAct with Python execution. We study three optimizers from the DSPy framework -- COPRO, MiPROv2, and SIMBA -- across four benchmarks and three model families. We find that instruction optimization consistently improves verification accuracy, with MiPROv2 yielding the most stable gains for CoT, and SIMBA providing the largest benefits for ReAct agents, particularly at larger model scales. Behavioral analyses reveal that SIMBA encourages more direct reasoning paths by applying heuristics, thereby improving numerical comparison abilities in CoT reasoning and helping avoid unnecessary tool calls in ReAct agents. Across different prompting techniques, CoT remains effective for tabular fact checking, especially with smaller models. Although ReAct agents built with larger models can achieve competitive performance, they require careful instruction optimization.

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

↑