JT-DA: Enhancing Data Analysis with Tool-Integrated Table Reasoning Large Language Models

Ce Chi, Xing Wang, Zhendong Wang, Xiaofan Liu, Ce Li, Zhiyan Song, Chen Zhao, Kexin Yang, Boshen Shi, Jingjing Yang, Chao Deng, Junlan FengarXiv 2025 · DOI

Abstract

Large Language Models (LLMs) often struggle with the structural and symbolic complexities of tabular data. We present JT-DA-8B (JiuTian Data Analyst), an 8-billion parameter model optimized for multi-step table reasoning and advanced data analysis. By integrating a specialized 34-task training corpus, a tool-augmented reasoning workflow, and Reinforcement Learning via Group Relative Policy Optimization (GRPO), JT-DA-8B achieves state-of-the-art performance in its size class, significantly outperforming general-purpose and existing table-centric models.

Introduction

While LLMs excel at natural language processing, their performance on structured data like spreadsheets and databases remains inconsistent. Two primary challenges hinder their effectiveness: Structural Blindness, where models fail to maintain 2D relationships between headers and values, and Symbolic Failure, where complex arithmetic and logical aggregations lead to hallucinations. JT-DA addresses these gaps by focusing on "Advanced Data Analysis" (ADA)—tasks requiring multi-step cleaning, filtering, and computation.

Methodology and Data Architecture

JT-DA employs a data-centric approach combined with a workflow-driven inference strategy. The model's training is grounded in a comprehensive data architecture covering 34 sub-tasks across six major categories, ranging from basic table retrieval to complex hypothesis testing.

JT-DA Model Data Architecture

Synthetic Data Pipeline

To overcome data scarcity, an automated pipeline generates realistic multi-step analytical tasks. Using a teacher-student distillation process, high-quality reasoning traces are generated from larger models like DeepSeek-R1 or Qwen-72B, ensuring the student model learns complex logical flows.

Interleaved Chain of Thought (ICoT)

Unlike standard Chain of Thought (CoT), ICoT enables the model to cycle through reasoning, acting (calling a tool), and observing (reading tool output). This iterative process prevents "state drift" during long, complex tasks by grounding the model's next steps in actual tool results.

Reinforcement Learning (RL)

The model utilizes Group Relative Policy Optimization (GRPO) to optimize reasoning paths. This stage specifically rewards correct code execution and adherence to formatting, bridging the gap between supervised fine-tuning and robust logical reasoning.

Experimental Setup

The model was trained on a massive corpus of 29 public table QA datasets and 3 million raw tables sourced from GitHub and Web of Science. Evaluation was conducted using the Table Reasoning Benchmark (TReB), which assesses five dimensions: Table Understanding (TU), Basic Operation (TBO), Computational Operation (TCO), Data Analysis (DA), and Advanced Data Analysis (ADA).

Key Results

JT-DA-8B demonstrates superior performance across all evaluated dimensions compared to models of similar or even larger scales.

Performance comparison on the TReB benchmark
  • Overall Performance: JT-DA-R1-8B achieved an overall score of 68.18% on TReB, significantly higher than Llama-3.1-8B-Instruct (43.00%) and Qwen2.5-7B-Instruct (53.42%).
  • Specialized Dominance: It outperformed table-specific models such as TableGPT2-7B (56.91%).
  • Advanced Data Analysis (ADA): In the most challenging category, the model's lead was most pronounced, particularly when utilizing the ICoT mode, validating its capacity for long-form, multi-step reasoning.

Key Insights

  1. Table Sensing: Providing a compact summary of column types and missing values before reasoning significantly reduces structural hallucinations.
  2. Tool Internalization: Training on Program-of-Thought (PoT) data allows the model to internalize the logic of tool invocation, leading to higher execution accuracy.
  3. RL for Reasoning: Reinforcement learning specifically enhances the Textual Chain of Thought (TCoT), making verbal reasoning as robust as generated code.

Conclusion and Future Work

JT-DA-8B establishes a new benchmark for table-centric LLMs by combining specialized data with tool-integrated workflows. Future work will focus on making the inference pipeline more agentic, integrating direct SQL querying capabilities for large-scale databases, and enhancing the depth and interactivity of generated visualizations.

Summary updated

BibTeX
@misc{chi2025jt,
  author = {Ce Chi and Xing Wang and Zhendong Wang and Xiaofan Liu and Ce Li and Zhiyan Song and Chen Zhao and Kexin Yang and Boshen Shi and Jingjing Yang and Chao Deng and Junlan Feng},
  title = {{JT-DA: Enhancing Data Analysis with Tool-Integrated Table Reasoning Large Language Models}},
  year = {2025},
  eprint = {2512.06859},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.06859},
}
Figure