mlsanityData to 7 Oct 2026

Towards Automated Cross-domain Exploratory Data Analysis through Large Language Models

arXiv 2412.07214 ↗First posted 10 Dec 2024cs.DB cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

Exploratory data analysis (EDA), coupled with SQL, is essential for data analysts involved in data exploration and analysis. However, data analysts often encounter two primary challenges: (1) the need to craft SQL queries skillfully, and (2) the requirement to generate suitable visualization types that enhance the interpretation of query results. Due to its significance, substantial research efforts have been made to explore different approaches to address these challenges, including leveraging large language models (LLMs). However, existing methods fail to meet real-world data exploration requirements primarily due to (1) complex database schema; (2) unclear user intent; (3) limited cross-domain generalization capability; and (4) insufficient end-to-end text-to-visualization capability. This paper presents TiInsight, an automated SQL-based cross-domain exploratory data analysis system. First, we propose hierarchical data context (i.e., HDC), which leverages LLMs to summarize the contexts related to the database schema, which is crucial for open-world EDA systems to generalize across data domains. Second, the EDA system is divided into four components (i.e., stages): HDC generation, question clarification and decomposition, text-to-SQL generation (i.e., TiSQL), and data visualization (i.e., TiChart). Finally, we implemented an end-to-end EDA system with a user-friendly GUI interface in the production environment at PingCAP. We have also open-sourced all APIs of TiInsight to facilitate research within the EDA community. Through extensive evaluations by a real-world user study, we demonstrate that TiInsight offers remarkable performance compared to human experts. Specifically, TiSQL achieves an execution accuracy of 86.3% on the Spider dataset using GPT-4. It also demonstrates state-of-the-art performance on the Bird dataset.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 27 of its 81 references that are in the map. First posted on arXiv 10 Dec 2024.

Builds on

27 of 81 references.

References · 27

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  4. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  5. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  6. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
  7. 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 378
  8. 2023RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQLcited by 191
  9. 2024CodeS: Towards Building Open-source Language Models for Text-to-SQLcited by 183
  10. 2023C3: Zero-shot Text-to-SQL with ChatGPTcited by 159
  11. 2023MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQLcited by 158
  12. 2017SQLNet: Generating Structured Queries From Natural Language Without Reinforcement Learningcited by 135
15 more
  1. 2020Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsingcited by 133
  2. 2023Graphix-T5: Mixing Pre-Trained Transformers with Graph-Aware Layers for Text-to-SQL Parsingcited by 93
  3. 2023ReAcTable: Enhancing ReAct for Table Question Answeringcited by 76
  4. 2019Representing Schema Structure with Graph Neural Networks for Text-to-SQL Parsingcited by 74
  5. 2020RYANSQL: Recursively Applying Sketch-based Slot Fillings for Complex Text-to-SQL in Cross-Domain Databasescited by 63
  6. 2024Before Generation, Align it! A Novel and Effective Strategy for Mitigating Hallucinations in Text-to-SQL Generationcited by 49
  7. 2021ShadowGNN: Graph Projection Neural Network for Text-to-SQL Parsercited by 35
  8. 2024FinSQL: Model-Agnostic LLMs-based Text-to-SQL Framework for Financial Analysiscited by 35
  9. 2021AI4VIS: Survey on Artificial Intelligence Approaches for Data Visualizationcited by 32
  10. 2021Lux: Always-on Visualization Recommendations for Exploratory Dataframe Workflowscited by 10
  11. 2022XInsight: eXplainable Data Analysis Through The Lens of Causalitycited by 9
  12. 2020Duoquest: A Dual-Specification System for Expressive SQL Queriescited by 7
  13. 2021DataPrep.EDA: Task-Centric Exploratory Data Analysis for Statistical Modeling in Pythoncited by 7
  14. 2019Example-Driven Query Intent Discovery: Abductive Reasoning using Semantic Similaritycited by 4
  15. 2022FEDEX: An Explainability Framework for Data Exploration Stepscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 0; 2026: 1.

2 papers.