Year: 2025
Type: conference-paper
Abstract: This paper introduces a task aimed at extracting structured tables from text using natural language (NL) instructions.We present TABLECODER, an approach that leverages the symbolic nature of code to enhance the robustness of table structure construction and content extraction.TABLE-CODER first generates Python classes or SQL statements to explicitly construct table structures, capturing semantic ontology, computational dependencies, numerical properties, and format strings.This approach reliably mitigates issues such as structural errors, erroneous computations, and mismatched value types.Subsequently, TABLE-CODER proposes grounded content extraction, populating table cells sequentially and maintaining the exact order in which they are mentioned in the source text.By simulating a grounded "translation" from text to code, this method reduces the likelihood of omissions and hallucinations.Experimental results demonstrate that TABLE-CODER significantly improves F1 scores and mitigates hallucination and computational errors, crucial for high-stakes applications like government data analytics and financial compliance reporting.Moreover, the code-generation-based method naturally integrates with standard SQL databases and Python workflows, ensuring seamless deployment in existing enterprise data pipelines.
Authors: Haoyu Dong, Yue Hu, Huailiang Peng, Yanan Cao
Language: English
Subfield: Computer Vision and Pattern Recognition
Field: Computer Science
Domain: Physical Sciences
Open Access status: hybrid
Awards: G2563629645, G5077752208
OpenAlex ID: W4412886884
