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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Liao, Yuan, Bian, Jiang, Yun, Yuhui, Wang, Shuo, Zhang, Yubo, Chu, Jiaming, Wang, Tao, Li, Kewei, Li, Yuchen, Li, Xuhong, Ji, Shilei, Xiong, Haoyi
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916340626882560
author Liao, Yuan
Bian, Jiang
Yun, Yuhui
Wang, Shuo
Zhang, Yubo
Chu, Jiaming
Wang, Tao
Li, Kewei
Li, Yuchen
Li, Xuhong
Ji, Shilei
Xiong, Haoyi
author_facet Liao, Yuan
Bian, Jiang
Yun, Yuhui
Wang, Shuo
Zhang, Yubo
Chu, Jiaming
Wang, Tao
Li, Kewei
Li, Yuchen
Li, Xuhong
Ji, Shilei
Xiong, Haoyi
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_21040
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Automated Data Sciences with Natural Language and SageCopilot: Practices and Lessons Learned
Liao, Yuan
Bian, Jiang
Yun, Yuhui
Wang, Shuo
Zhang, Yubo
Chu, Jiaming
Wang, Tao
Li, Kewei
Li, Yuchen
Li, Xuhong
Ji, Shilei
Xiong, Haoyi
Artificial Intelligence
Computation and Language
Databases
Software Engineering
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.
title Towards Automated Data Sciences with Natural Language and SageCopilot: Practices and Lessons Learned
topic Artificial Intelligence
Computation and Language
Databases
Software Engineering
url https://arxiv.org/abs/2407.21040