atlas

Research map / Large language models / Retrieval and knowledge

Text2Analysis: A Benchmark of Table Question Answering with Advanced Data Analysis and Unclear Queries

AAAI 2024 · Large language models › Retrieval and knowledge · approach: Domain-specific QA datasets · 8 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces Text2Analysis, a benchmark of 2249 (table, query, code, result) tuples over 347 tables covering advanced analysis (insights, forecasting, chart generation) and unclear queries, built with five LLM-assisted annotation methods and evaluated on GPT-4, StarChat, CodeGen2.5 and TAPEX.

Problem

Existing table QA and Text2SQL benchmarks focus on rudimentary descriptive operations and clear queries, leaving advanced analysis (insights, forecasting, chart generation) and unclear real-world user queries under-evaluated.

Approach

Extends table-to-code benchmarks beyond SQL-compatible operations to advanced analysis tasks and deliberately removes query parameters to create unclear queries, while using five LLM-assisted annotation pipelines (forward annotation, reverse generation from code or results, table expansion, and unclear-query expansion) to scale annotation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use GPT-4 instead of the evaluated code-generation modelsText2Analysis · Text2Analysis overallpass@1: GPT-4: 41.01%; code-generation models: 24.86% lowerHelped
Use GPT-4 instead of other evaluated modelsText2Analysis · Text2Analysis overallpass@1: 41.01%Helped
Omit the measure field from the queryGPT-4 · Basic Insights unclear queriesECR: decreases by 8%Hurt
Omit the measure field from the queryGPT-4 · Chart Generation unclear queriespass rate: decreased by 25%Hurt
Use a clear query rather than an unclear queryGPT-4 · Chart Generationpass rate: 86%Helped
Generate forecasting code with complex library operationsGPT-4 · ForecastingECR: below 1%Hurt
Generate forecasting code with complex library operationsGPT-4 · Forecastingpass rate: below 1%Hurt
Use GPT-4 rather than StarChat-β for forecastingText2Analysis · ForecastingCORR: 0.10 vs 0.16Mixed

Surprising findings

Limitations

Experimental setup

Datasets: Text2Analysis (constructed) AnaMeta chart corpus crawled data analysis library code snippets

Benchmarks: Text2Analysis

Metrics: executable code ratio pass@1 CORR RMSE MAE MedAE

Baselines: GPT-4 StarChat-alpha StarChat-beta CodeGen2.5 TAPEX

Builds on: Text2SQL TableQA TAPEX

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy