cs.AIMay 29, 2025

Fortune: Formula-Driven Reinforcement Learning for LLM Reasoning over Complex Tables

Authors: Lang Cao, Jingxian Xu, Hanbing Liu, Jinyu Wang, Mengyu Zhou, Haoyu Dong, Shi Han, Dongmei Zhang

Organizations: University of Illinois Urbana-Champaign · Nankai University · Tsinghua University · Shandong University · 

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.

Figures & tables

Appendix figures & tables17 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. ReSS: Learning Reasoning Models for Tabular Data Prediction via Symbolic Scaffold

    Apr 15, 2026Chenlang Yi, Gang Li, Zizhan Xiong +4Tabular PredictionNeuro-Symbolic Reasoning

  2. A Closer Look into LLMs for Table Understanding

    Mar 16, 2026Jia Wang, Chuanyu Qin, Mingyu Zheng +3LLM InterpretabilityTransformer Interpretability