用单步LLM管道生成替代数据准备流水线的多步组装
Replacing Multi-Step Assembly of Data Preparation Pipelines with One-Step LLM Pipeline Generation for Table QA
AI总结:
本文提出Operation-R1框架,通过强化学习训练轻量LLM生成高质量表格问答数据准备流水线,实现单步推理,提升准确率并降低计算成本。
摘要:
表格问答(TQA)旨在回答基于结构化表格的自然语言问题。大型语言模型(LLMs)为解决此问题提供了有前途的方案,以操作为中心的解决方案通过多步生成表格操作流水线实现了最先进的性能。然而,这些解决方案依赖于多个LLM调用,导致不可接受的延迟和计算成本。我们提出Operation-R1,这是首个通过新颖的强化学习变体训练轻量LLM(例如Qwen-4B/1.7B)的框架,以在单步推理中生成高质量的数据准备流水线用于TQA。为训练此类LLM,我们首先引入了自监督奖励机制,以自动获取细粒度的流水线级监督信号用于LLM训练。我们还提出了方差感知的组重采样,以减轻训练不稳定性。为进一步增强流水线生成的鲁棒性,我们开发了两种互补机制:操作合并,通过多候选共识过滤虚假操作,以及自适应回滚,提供运行时保护以防止数据转换中的信息丢失。在两个基准数据集上的实验表明,与多步准备基线相比,使用相同LLM主干,Operation-R1在平均绝对准确率上提高了8.83和4.44个百分点,表压缩率为79%,货币成本减少了2.2倍。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。