Skip to main content
QUICK REVIEW

[论文解读] Chain-of-Table: Evolving Tables in the Reasoning Chain for Table Understanding

Zilong Wang, Hao Zhang|arXiv (Cornell University)|Jan 9, 2024
Topic ModelingComputer Science被引用 10
一句话总结

Chain-of-Table 引入迭代、表格演化的推理,其中 LLMs 生成并执行表格操作以转换中间表,在多个 LLM 后端上在 WikiTQ、FeTaQA 和 TabFact 上达到最先进水平。

ABSTRACT

Table-based reasoning with large language models (LLMs) is a promising direction to tackle many table understanding tasks, such as table-based question answering and fact verification. Compared with generic reasoning, table-based reasoning requires the extraction of underlying semantics from both free-form questions and semi-structured tabular data. Chain-of-Thought and its similar approaches incorporate the reasoning chain in the form of textual context, but it is still an open question how to effectively leverage tabular data in the reasoning chain. We propose the Chain-of-Table framework, where tabular data is explicitly used in the reasoning chain as a proxy for intermediate thoughts. Specifically, we guide LLMs using in-context learning to iteratively generate operations and update the table to represent a tabular reasoning chain. LLMs can therefore dynamically plan the next operation based on the results of the previous ones. This continuous evolution of the table forms a chain, showing the reasoning process for a given tabular problem. The chain carries structured information of the intermediate results, enabling more accurate and reliable predictions. Chain-of-Table achieves new state-of-the-art performance on WikiTQ, FeTaQA, and TabFact benchmarks across multiple LLM choices.

研究动机与目标

  • 通过在推理中利用表格中间状态,提升 LLMs 的表格理解能力。
  • 提出一种多步、以表格为中心的推理过程,通过原子操作来演化表格。
  • 证明将表格作为推理链来演化能在各基准上带来更高的准确性和可靠性。

提出的方法

  • 定义一组原子表格操作(例如:添加列、选择行/列、分组、排序)。
  • 通过上下文学习提示 LLMs 以抽取下一个操作并生成所需参数。
  • 以编程方式执行该操作,生成更新后的中间表并附加到操作链。
  • 重复直到生成结束标签,然后对最终表进行查询以得到答案。
  • 将中间表视为中间想法的代理以引导最终预测。

实验结果

研究问题

  • RQ1通过一串操作演化中间表,是否能提升 LLMs 的基于表格的推理?
  • RQ2动态、以表格为中心的提示在表格基准上是否优于通用推理和程序辅助方法?
  • RQ3Chain-of-Table 在不同骨干模型(PaLM 2、GPT-3.5、LLaMA 2)和表格规模下的表现如何?
  • RQ4解决复杂表格问题通常需要多长的操作链?

主要发现

  • Chain-of-Table 在 WikiTQ、FeTaQA 和 TabFact 上跨越多种 LLM 实现了新的最先进性能。
  • 动态规划和表格演化比通用 Chain-of-Thought 和先前的程序辅助方法给出更准确的答案。
  • 大多数任务在推理链中需要 2–4 次操作,Chain-of-Table 在不同链长下均优于基线。
  • 该方法在表格规模增大时仍保持强劲表现,相较于对手呈现温和的下降。
  • Chain-of-Table 生成的样本比基线如 Binder 和 Dater 少,表明效率更高。
  • 在不同骨干模型中,Chain-of-Table 始终优于基线,而某些方法的提升会随模型变小而下降。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。