mlsanityData to 7 Oct 2026

DataFrame QA: A Universal LLM Framework on DataFrame Question Answering Without Data Exposure

arXiv 2401.15463 ↗First posted 27 Jan 2024cs.CL cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

This paper introduces DataFrame question answering (QA), a novel task that utilizes large language models (LLMs) to generate Pandas queries for information retrieval and data analysis on dataframes, emphasizing safe and non-revealing data handling. Our method, which solely relies on dataframe column names, not only ensures data privacy but also significantly reduces the context window in the prompt, streamlining information processing and addressing major challenges in LLM-based data analysis. We propose DataFrame QA as a comprehensive framework that includes safe Pandas query generation and code execution. Various LLMs, notably GPT-4, are evaluated using the pass@1 metric on the renowned WikiSQL and our newly developed 'UCI-DataFrameQA', tailored for complex data analysis queries. Our findings indicate that GPT-4 achieves pass@1 rates of 86% on WikiSQL and 97% on UCI-DataFrameQA, underscoring its capability in securely retrieving and aggregating dataframe values and conducting sophisticated data analyses. This approach, deployable in a zero-shot manner without prior training or adjustments, proves to be highly adaptable and secure for diverse applications.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 21 of its 22 references that are in the map. First posted on arXiv 27 Jan 2024.

Builds on

21 of 22 references.

References · 21

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2020Scaling Laws for Neural Language Modelscited by 6,411
  6. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  7. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  8. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  9. 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 509
  10. 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 432
  11. 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
  12. 2021TAPEX: Table Pre-training via Learning a Neural SQL Executorcited by 233
9 more
  1. 2022UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Modelscited by 231
  2. 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 228
  3. 2023Large Language Models are Versatile Decomposers: Decompose Evidence and Questions for Table-based Reasoningcited by 177
  4. 2022Large Language Models are few(1)-shot Table Reasonerscited by 116
  5. 2018SyntaxSQLNet: Syntax Tree Networks for Complex and Cross-DomainText-to-SQL Taskcited by 74
  6. 2023Table-GPT: Table-tuned GPT for Diverse Table Taskscited by 69
  7. 2021Capturing Row and Column Semantics in Transformer Based Question Answering over Tablescited by 31
  8. 2021SeaD: End-to-end Text-to-SQL Generation with Schema-aware Denoisingcited by 27
  9. 2021CLTR: An End-to-End, Transformer-Based System for Cell Level Table Retrieval and Table Question Answeringcited by 9

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 3.

5 papers.