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)|2024. 01. 09.
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.

연구 동기 및 목표

  • LLM을 활용한 표 이해의 향상을 Motivation으로 삼아 표의 중간 상태를 추론에 활용합니다.
  • 원자적 연산으로 표를 갱신하는 다단계, 표 중심의 추론 과정을 제안합니다.
  • 추론 체인으로서의 표를 진화시키는 것이 벤치마크 전반에서 더 높은 정확성과 신뢰성을 가져온다는 점을 Demonstrate합니다.

제안 방법

  • 원자적 표 연산 집합 정의(예: 열 추가, 행/열 선택, 그룹화, 정렬).
  • 맥락 학습(in-context learning)을 통해 다음 연산을 샘플링하고 필요한 인수를 생성하도록 LLMs를 프롬프트합니다.
  • 연산을 프로그래밍 방식으로 실행하여 업데이트된 중간 표를 생성하고 연산 체인에 추가합니다.
  • 끝 태그가 생성될 때까지 반복한 후 최종 표에서 답을 질의합니다.
  • 중간 표를 최종 예측을 안내하는 중간 생각의 프록시로 취급합니다.

실험 결과

연구 질문

  • RQ1연산의 체인을 통해 중간 표를 진화시키는 것이 LLMs의 표 기반 추론을 개선할 수 있습니까?
  • RQ2동적이고 표 중심적인 프롬프트가 표 기반 벤치마크에서 일반적인 추론 및 프로그램 보조 방법보다 성능이 더 높습니까?
  • RQ3Chain-of-Table은 서로 다른 백본(PaLM 2, GPT-3.5, LLaMA 2) 및 표 크기에 따라 어떻게 수행됩니까?
  • RQ4복잡한 표 질문을 해결하는 데 필요한 연산 체인의 일반적인 길이는 얼마입니까?

주요 결과

  • Chain-of-Table은 여러 LLM에서 WikiTQ, FeTaQA, TabFact에 대해 새로운 최첨단 성능을 달성합니다.
  • 동적 계획 및 표 진화가 일반적인 Chain-of-Thought 및 이전의 프로그램 보조 방법보다 더 정확한 답을 제공합니다.
  • 대부분의 과제는 추론 체인에서 2–4개의 연산이 필요하며, Chain-of-Table은 체인 길이 전반에서 벤치마크를 능가합니다.
  • 표 크기가 커져도 방법은 강한 성능을 유지하며 경쟁자에 비해 완만한 성능 저하를 보입니다.
  • Chain-of-Table은 Binder 및 Dater와 같은 벤치마크보다 생성 샘플 수가 적어 효율성이 더 높습니다.
  • 백본 전반에 걸쳐 Chain-of-Table은 일관되게 벤치마크를 개선하지만, 일부 방법은 모델이 작아질수록 이득이 감소합니다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.