arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.07044cs.CLcs.AI
收藏

DatawiseAgent:一种面向自适应、鲁棒数据科学自动化的以Notebook为中心的LLM智能体框架

DatawiseAgent: A Notebook-Centric LLM Agent Framework for Adaptive and Robust Data Science Automation

National Engineering Research Center for Software Engineering, Peking University(软件工程国家工程研究中心,北京大学);School of Software & Microelectronics, Peking University(软件与微电子学院,北京大学);School of Computer Science, Peking University(计算机科学学院,北京大学);Xi’an Jiaotong University(西安交通大学);Institute of Basic Theory of Chinese Medicine, China Academy of Chinese Medical Sciences(中医基础理论研究所,中国中医科学院)

Ziming You, Yumiao Zhang, Dexuan Xu, Yiwei Lou, Yandong Yan, Wei Wang, Huaming Zhang, Yu Huang

AI总结:

针对现有数据科学自动化LLM智能体任务范围窄、泛化差、依赖强模型的问题,提出以Notebook为中心、基于有限状态转换器多阶段架构的DatawiseAgent框架,实现长程规划与故障恢复,性能达SOTA且弱模型下下降平缓。

摘要:

现有用于数据科学自动化的大语言模型(LLM)智能体虽展现出应用潜力,但仍受限于任务范围狭窄、跨任务与跨模型泛化能力不足、过度依赖顶尖(SOTA)大语言模型等问题。我们提出DatawiseAgent——一种以Notebook为中心的LLM智能体框架,用于实现自适应且鲁棒的数据科学自动化。受人类数据科学家在计算Notebook中工作模式的启发,DatawiseAgent引入了统一交互表示,以及基于有限状态转换器(FSTs)的多阶段架构。该设计支持灵活的长程规划、渐进式方案开发,还能从执行失败中实现鲁棒恢复。在多样化数据科学场景和不同模型上开展的大量实验表明,DatawiseAgent性能始终达到SOTA水平,优于AutoGen、TaskWeaver等强基线模型,展现出更出色的有效性与适应性。进一步评估显示,当使用能力更弱或规模更小的模型时,其性能下降平缓,凸显了框架的鲁棒性与可扩展性。

英文摘要:

Existing large language model (LLM) agents for automating data science show promise, but they remain constrained by narrow task scopes, limited generalization across tasks and models, and over-reliance on state-of-the-art (SOTA) LLMs. We introduce DatawiseAgent, a notebook-centric LLM agent framework for adaptive and robust data science automation. Inspired by how human data scientists work in computational notebooks, DatawiseAgent introduces a unified interaction representation and a multi-stage architecture based on finite-state transducers (FSTs). This design enables flexible long-horizon planning, progressive solution development, and robust recovery from execution failures. Extensive experiments across diverse data science scenarios and models show that DatawiseAgent consistently achieves SOTA performance by surpassing strong baselines such as AutoGen and TaskWeaver, demonstrating superior effectiveness and adaptability. Further evaluations reveal graceful performance degradation under weaker or smaller models, underscoring the robustness and scalability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑