cs.DBFeb 26, 2026

Replacing Multi-Step Assembly of Data Preparation Pipelines with One-Step LLM Pipeline Generation for Table QA

Authors: Fengyu Li, Junhao Zhu, Kaishi Song, Lu Chen, Zhongming Yao, Tianyi Li, Christian S. Jensen

Organizations: Zhejiang University Hangzhou, China · Northeastern University Shenyang, China · Aalborg University Aalborg, Denmark

Abstract

Table Question Answering (TQA) aims to answer natural language questions over structured tables. Large Language Models (LLMs) enable promising solutions to this problem, with operator-centric solutions that generate table manipulation pipelines in a multi-step manner offering state-of-the-art performance. However, these solutions rely on multiple LLM calls, resulting in prohibitive latencies and computational costs. We propose Operation-R1, the first framework that trains lightweight LLMs (e.g., Qwen-4B/1.7B) via a novel variant of reinforcement learning with verifiable rewards to produce high-quality data-preparation pipelines for TQA in a single inference step. To train such an LLM, we first introduce a self-supervised rewarding mechanism to automatically obtain fine-grained pipeline-wise supervision signals for LLM training. We also propose variance-aware group resampling to mitigate training instability. To further enhance robustness of pipeline generation, we develop two complementary mechanisms: operation merge, which filters spurious operations through multi-candidate consensus, and adaptive rollback, which offers runtime protection against information loss in data transformation. Experiments on two benchmark datasets show that, with the same LLM backbone, Operation-R1 achieves average absolute accuracy gains of 8.83 and 4.44 percentage points over multi-step preparation baselines, with 79% table compression and a 2.2×\times reduction in monetary cost.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Efficient Table QA via TableGrid Navigation and Progressive Inference Prompting

    May 18, 2026Amritansh Maurya, Navjot Singh, Mohammed Javed +1Table QAStructured Prompting

  2. Evolving from Lessons: Skill-Augmented Table Graph Reasoning for Operation-wise Table Question Answering

    Jun 20, 2026Guixin Su, Qiankun Pi, Mayi Xu +5Table QA

  3. TabScope: Question-Adaptive Scope Selection for Table Question Answering

    Sep 3, 2026Yuxiang Wang, Junhao Gan, Jianzhong QiTable QA