CT-Eval: Benchmarking Chinese Text-to-Table Performance in Large Language Models

Haoxiang Shi, Jiaan Wang, Jiarong Xu, Cen Wang, Tetsuya SakaiarXiv 2024

Abstract

Text-to-Table aims to generate structured tables to convey the key information from unstructured documents. Existing text-to-table datasets are typically oriented English, limiting the research in non-English languages. Meanwhile, the emergence of large language models (LLMs) has shown great success as general task solvers in multi-lingual settings (e.g., ChatGPT), theoretically enabling text-to-table in other languages. In this paper, we propose a Chinese text-to-table dataset, CT-Eval, to benchmark LLMs on this task. Our preliminary analysis of English text-to-table datasets highlights two key factors for dataset construction: data diversity and data hallucination. Inspired by this, the CT-Eval dataset selects a popular Chinese multidisciplinary online encyclopedia as the source and covers 28 domains to ensure data diversity. To minimize data hallucination, we first train an LLM to judge and filter out the task samples with hallucination, then employ human annotators to clean the hallucinations in the validation and testing sets. After this process, CT-Eval contains 88.6K task samples. Using CT-Eval, we evaluate the performance of open-source and closed-source LLMs. Our results reveal that zero-shot LLMs (including GPT-4) still have a significant performance gap compared with human judgment. Furthermore, after fine-tuning, open-source LLMs can significantly improve their text-to-table ability, outperforming GPT-4 by a large margin. In short, CT-Eval not only helps researchers evaluate and quickly understand the Chinese text-to-table ability of existing LLMs but also serves as a valuable resource to significantly improve the text-to-table performance of LLMs.

Introduction

While Large Language Models (LLMs) have become "jack-of-all-trades" in natural language processing, their ability to perform Text-to-Table extraction—a complex sub-task of Information Extraction (IE)—remains under-explored, especially in non-English languages. Text-to-Table generation requires a model to transform unstructured documents into structured tables that accurately synthesize key facts.

Existing datasets for this task are largely English-centric (such as WikiBio or Rotowire) and often suffer from two major flaws: a lack of domain diversity and significant data hallucination. Many datasets use Wikipedia infoboxes as "ground truth," yet these infoboxes frequently contain information not present in the accompanying article text. This leads models to "hallucinate" or guess information during training. To address these gaps, researchers have introduced CT-Eval, the first large-scale benchmark specifically designed for Chinese text-to-table extraction.

The CT-Eval Dataset

CT-Eval was constructed from Baidu Baike, a popular Chinese online encyclopedia, to ensure a wide breadth of knowledge. The dataset comprises 88.6K task samples spanning 28 distinct domains, ranging from STEM and Social Science to Life Support and Culture.

Figure 6: Domain distribution of the CT-Eval dataset, showcasing its multidisciplinary coverage across 28 domains.

Construction and Cleaning Pipeline

To ensure high data quality, the authors developed a rigorous three-step pipeline:

  1. Rule-based Cleaning: Initial filtering to ensure pages possessed valid infoboxes and sufficiently long textual descriptions.
  2. LLM-based Hallucination Filtering: To solve the "infobox mismatch" problem, GPT-4 was used to identify samples where the table contained info not found in the text. This data was used to train a specialized "hallucination judger" (ChatGLM3-6B) to filter the remaining 200K samples.
  3. Human Refinement: For the validation and test sets, human annotators manually cleaned the tables to ensure 100% reliability, creating a "gold standard" for evaluation.
Figure 5: A sample task from the CT-Eval dataset illustrating the extraction of recipe details into a structured table format.

Experimental Results and Insights

The researchers evaluated both closed-source models (GPT-4, GPT-3.5) and various open-source Chinese-oriented models (ChatGLM, Baichuan2, Qwen, Llama-Chinese) using zero-shot prompting and supervised fine-tuning (SFT).

The Zero-Shot Performance Gap

In zero-shot settings, even state-of-the-art models like GPT-4 struggle with the structural constraints of table generation. GPT-4 achieved an overall F1-score of 7.50 (E-matching), highlighting a significant gap between current LLM capabilities and human-level accuracy in complex extraction.

Fine-Tuning as the "Great Equalizer"

The most striking insight is that once open-source models (even those as small as 6B or 7B parameters) are fine-tuned on the CT-Eval training set, they leapfrog GPT-4's zero-shot performance. For instance, a fine-tuned ChatGLM-6B achieved an E-matching F1-score of 15.96, more than doubling the performance of zero-shot GPT-4. This suggests that high-quality, task-specific data is more critical than raw model scale for this particular task.

Error Analysis

Detailed error analysis showed that the most common failures for LLMs are "Error A" (hallucinations) and "Error B" (lack of synthesis, where outputs are too similar to raw inputs). Supervised fine-tuning effectively eliminated "Error B" and "Error E" (duplicated information), leading to much cleaner and more structured outputs.

Conclusion

CT-Eval serves as a vital resource for evaluating and improving the Chinese text-to-table capabilities of LLMs. The findings emphasize that while zero-shot models are not yet reliable for structured extraction, fine-tuning on diverse, cleaned data can yield superior results. Future work may extend this benchmark to multi-modal settings, incorporating the images and figures often found in encyclopedia entries.

Summary updated

BibTeX
@misc{shi2024ct,
  author = {Haoxiang Shi and Jiaan Wang and Jiarong Xu and Cen Wang and Tetsuya Sakai},
  title = {{CT-Eval: Benchmarking Chinese Text-to-Table Performance in Large Language Models}},
  year = {2024},
  eprint = {2405.12174},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.12174},
}
Figure