Fortune:面向复杂表格LLM推理的公式驱动强化学习框架
Fortune: Formula-Driven Reinforcement Learning for LLM Reasoning over Complex Tables
研究提出公式驱动强化学习框架Formula Tuning(Fortune),训练LLM生成可执行的电子表格公式来回答表格问题,以执行成功率和答案正确性作为奖励信号。基于该框架训练的Formula-R1在七个表格推理基准上评测,在复杂表格和多步数值计算任务上表现有竞争力;融合文本推理与公式推理的Formula-R1-Plus进一步提升性能。
arXiv:2505.23667v4 Announce Type: replace Abstract: Tables are a fundamental medium for organizing and analyzing data, making table reasoning an essential capability for intelligent systems. Although large language models (LLMs) exhibit strong general reasoning abilities, they still struggle with accurate numerical reasoning over tabular data, particularly in complex table settings that require more than simple relational lookup. Spreadsheet formulas provide a powerful and expressive interface for executable symbolic operations, enabling sophisticated reasoning patterns that remain largely underexplored by existing LLMs. In this paper, we introduce Formula Tuning (Fortune), a formula-driven reinforcement learning (RL) framework that trains LLMs to generate executable spreadsheet formulas for question answering over tabular data, using execution success and answer correctness as reward signals. Building upon Fortune, we train Formula-R1 and evaluate its performance across seven table reasoning benchmarks, demonstrating competitive performance, particularly on tasks involving complex tables and multi-step numerical computation. Furthermore, Formula-R1-Plus, which integrates textual and formula-based reasoning, achieves further performance improvements. Beyond these empirical results, we provide insights into the roles of reinforcement learning and executable formula representations in table reasoning, highlighting the broader potential of symbolic RL to enhance the reasoning capabilities of LLMs.
来源:arXiv (AI + Vision + Imaging) · arxiv.org