Towards Automated Data Sciences with Natural Language and SageCopilot: Practices and Lessons Learned
Yuan Liao, Jiang Bian, Yuhui Yun, Shuo Wang, Yubo Zhang, Jiaming Chu,, Tao Wang, Kewei Li, Yuchen Li, Xuhong Li, Shilei Ji, Haoyi Xiong

TL;DR
This paper presents SageCopilot, an integrated system that automates the entire data science pipeline using LLMs, AutoAgents, and LUIs, demonstrating superior performance through extensive testing and ablation studies.
Contribution
Introducing SageCopilot, a novel industry-grade system that combines multiple advanced strategies to automate data science tasks end-to-end, with validated empirical improvements.
Findings
SageCopilot outperforms prompt-based solutions in script generation and execution.
The system achieves high accuracy in real-world datasets.
Ablation studies reveal the impact of different components on performance.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsScientific Computing and Data Management · Computational Physics and Python Applications
