mlsanityData to 7 Oct 2026

Towards Automated Data Sciences with Natural Language and SageCopilot: Practices and Lessons Learned

arXiv 2407.21040 ↗First posted 21 Jul 2024cs.AI cs.CL cs.DBcited by 3

Not on the map. Why?

Abstract (arXiv)

While the field of NL2SQL has made significant advancements in translating natural language instructions into executable SQL scripts for data querying and processing, achieving full automation within the broader data science pipeline - encompassing data querying, analysis, visualization, and reporting - remains a complex challenge. This study introduces SageCopilot, an advanced, industry-grade system system that automates the data science pipeline by integrating Large Language Models (LLMs), Autonomous Agents (AutoAgents), and Language User Interfaces (LUIs). Specifically, SageCopilot incorporates a two-phase design: an online component refining users' inputs into executable scripts through In-Context Learning (ICL) and running the scripts for results reporting & visualization, and an offline preparing demonstrations requested by ICL in the online phase. A list of trending strategies such as Chain-of-Thought and prompt-tuning have been used to augment SageCopilot for enhanced performance. Through rigorous testing and comparative analysis against prompt-based solutions, SageCopilot has been empirically validated to achieve superior end-to-end performance in generating or executing scripts and offering results with visualization, backed by real-world datasets. Our in-depth ablation studies highlight the individual contributions of various components and strategies used by SageCopilot to the end-to-end correctness for data sciences.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 8 of its 26 references that are in the map. First posted on arXiv 21 Jul 2024.

Builds on

8 of 26 references.

References · 8

  1. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  2. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  3. 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
  4. 2017SQLNet: Generating Structured Queries From Natural Language Without Reinforcement Learningcited by 135
  5. 2021Natural SQL: Making SQL Easier to Infer from Natural Language Specificationscited by 66
  6. 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
  7. 2023AI-assisted coding: Experiments with GPT-4cited by 43
  8. 2023Fine-Tuning Language Models for Context-Specific SQL Query Generationcited by 3

Built on by

Cited by year

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

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026AgentNLQ: A General-Purpose Agent for Natural Language to SQL
  2. 2026Arming Data Agents with Tribal Knowledge
  3. 2025AskDB: An LLM Agent for Natural Language Interaction with Relational Databases
  4. 2025DSBC : Data Science task Benchmarking with Context engineering
  5. 2024Benchmarking Data Science Agents
  6. 2025From Queries to Insights: Agentic LLM Pipelines for Spatio-Temporal Text-to-SQL
  7. 2025BenchPress: A Human-in-the-Loop Annotation System for Rapid Text-to-SQL Benchmark Curation
  8. 2026An Agentic System for Schema Aware NL2SQL Generation