Effective Distillation of Table-based Reasoning Ability from LLMs
Bohao Yang, Chen Tang, Kun Zhao, Chenghao Xiao, Chenghua Lin
TL;DR
The paper addresses the high compute cost of LLMs by distilling their table-based reasoning into smaller, task-tailored models for scientific table-to-text generation. It proposes a two-stage pipeline: (i) generate table-based CoT data from a large teacher LLM using one-shot CoT with Self-Refine filtering, and (ii) fine-tune small models on the distilled data to transfer reasoning ability, optimizing $P(Y\mid T,R)$. Experiments on SciGen show that a 220M-parameter Flan-T5-base fine-tuned with distilled CoT data can outperform certain LLM baselines on specific metrics and achieve strong faithfulness (TAPAS-Acc and TAPEX-Acc) scores, approaching teacher performance. The results demonstrate practical benefits for deploying table reasoning in resource-constrained settings, reducing model size and data requirements while maintaining high-quality, factually grounded table-to-text descriptions of scientific data.
Abstract
Large Language Models (LLMs) have demonstrated remarkable performance across a wide range of natural language processing tasks. However, their enormous parameter size and extremely high requirements for compute power pose challenges for their practical deployment. Recent research has revealed that specific capabilities of LLMs, such as numerical reasoning, can be transferred to smaller models through distillation. Some studies explore the potential of leveraging LLMs to perform table-based reasoning. However, there has been no prior work focusing on table reasoning skills in smaller models specifically tailored for scientific table-to-text generation tasks. In this paper, we propose a novel table-based reasoning distillation approach, with the aim of distilling LLMs into tailored smaller models. Our experimental results have shown that a 220 million parameter model (Flan-T5-base) fine-tuned using distilled data, not only achieves a significant improvement compared to traditionally fine-tuned baselines, but also surpasses specific LLMs on a scientific table-to-text generation dataset. Our code is available at https://github.com/Bernard-Yang/DistillTableCoT.
