NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

TART: An Open-Source Tool-Augmented Framework for Explainable Table-based Reasoning

Xinyuan Lu, Liangming Pan, Yubo Ma, Preslav Nakov, Min-Yen Kan

Abstract

Large Language Models (LLMs) often struggle with tabular data due to non-linear structures and the need for precise numerical reasoning. TART (Tool-Augmented Reasoning for Tables) is an open-source framework designed to overcome these hurdles by dynamically generating Python-based tools. By decoupling high-level reasoning from low-level computation, TART provides significant performance improvements and human-readable explanations for its logic.

Introduction

While LLMs excel at sequential text processing, they frequently fail when tasked with complex table reasoning. These failures typically stem from three areas: structural understanding of non-linear data, numerical hallucinations during math-heavy tasks, and the loss of logical coherence in multi-step reasoning plans. Existing approaches often force a choice between readable but error-prone textual reasoning (Chain-of-Thought) and precise but opaque program-based reasoning. TART bridges this gap by enabling models to act as both strategists and tool-users.

Methodology

TART introduces a modular pipeline that augments an LLM with a dynamic "digital toolbox." The framework is composed of three primary modules that transform raw data into a verifiable answer with a clear audit trail.

Overview of the TART framework pipeline, illustrating the flow from Table Formatter to Tool Maker and the final Explanation Generator.

Core Components

  1. Table Formatter: This module cleans noisy raw data and standardizes formats such as dates and currencies. It transforms the table into a structured Python array, providing a clean API for subsequent tools.
  2. Tool Maker: Rather than relying on a static library, TART dynamically generates Python functions tailored to the specific query. It produces a Reasoning Plan—a sequence of function calls (e.g., get_column followed by find_median) that dictates the logic flow.
  3. Explanation Generator: To ensure transparency, this module translates the programmatic plan back into natural language. It explains the rationale behind specific tool calls, making the system's logic accessible to non-technical users.

To implement this, the researchers utilized GPT-4 to synthesize a high-quality training dataset called TOOLTAB, which was used to fine-tune smaller, open-source models like Llama-3 and CodeLlama.

Datasets and Evaluation

The framework was evaluated across nine diverse benchmarks covering Table Question Answering (TQA) and Table Fact Verification (TFV), including WikiTableQuestion, HiTab, TabMWP, and FinQA. Central to this research is the introduction of TOOLTAB, a dataset of approximately 11,700 instances designed to train models on seamless table-tool integration across domains like finance, health, and general knowledge.

Key Insights and Results

TART demonstrates that specialization and the delegation of arithmetic to code significantly boost model reliability. A key finding was that models pre-trained on code, such as CodeLlama-7b, are inherently better at tool manipulation, achieving a 41.9% improvement over standard Chain-of-Thought (CoT) reasoning.

Analysis of tool usage distribution and model performance across tool ranks, showing that Table and Data Processing tools constitute the majority of operations.

Performance Highlights

  • Closing the Proprietary Gap: TART-augmented open-source models (e.g., DeepSeek-7b) reached 90% of the performance of GPT-3.5-turbo, suggesting that framework-level augmentation can compensate for smaller model parameters.
  • Tool Diversity: As shown in the tool distribution analysis, while data processing remains the primary task (70.9%), the framework successfully handles numerical, statistical, and comparative logic.
  • Explainability: The system proves that precision does not require a "black box" approach; the Explanation Generator provides clarity without sacrificing the accuracy of the underlying Python execution.

Limitations and Future Work

Despite its strengths, TART's multi-step process (formatting, tool generation, execution) introduces higher computational latency compared to single-pass models. It is currently optimized for accuracy over speed. Future research will focus on extending TART into a multimodal framework to process table images directly (e.g., from PDFs) and enhancing the "self-correction" capabilities of the Tool Maker to handle execution errors autonomously.

Summary updated

BibTeX
@inproceedings{lu2025tart,
  author = {Xinyuan Lu and Liangming Pan and Yubo Ma and Preslav Nakov and Min-Yen Kan},
  title = {{TART: An Open-Source Tool-Augmented Framework for Explainable Table-based Reasoning}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.findings-naacl.244},
}
Figure