arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.18679cs.AIcs.LG
收藏

Data Interpreter:面向数据科学的 LLM 智能体

Data Interpreter: An LLM Agent For Data Science

DeepWisdom(深度智慧);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen University(深圳大学);Fudan University(复旦大学);Renmin University of China(中国人民大学);Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学);University of Notre Dame(圣母大学);The University of Hong Kong(香港大学);Yale University(耶鲁大学);Xiamen University(厦门大学);East China Normal University(华东师范大学);Beijing University of Technology(北京工业大学)
Sirui Hong, Yizhang Lin, Bang Liu, Bangbang Liu, Binhao Wu, Ceyao Zhang, Chenxing Wei, Danyang Li, Jiaqi Chen, Jiayi Zhang, Jinlin Wang, Li Zhang, Lingyao Zhang… 展开作者

Sirui Hong, Yizhang Lin, Bang Liu, Bangbang Liu, Binhao Wu, Ceyao Zhang, Chenxing Wei, Danyang Li, Jiaqi Chen, Jiayi Zhang, Jinlin Wang, Li Zhang, Lingyao Zhang, Min Yang, Mingchen Zhuge, Taicheng Guo, Tuo Zhou, Wei Tao, Xiangru Tang, Xiangtao Lu, Xiawu Zheng, Xinbing Liang, Yaying Fei, Yuheng Cheng, Zhibin Gou, Zongze Xu, Chenglin Wu

AI总结:

本文提出 Data Interpreter,一种基于 LLM 的智能体,通过分层图建模和可编程节点生成两个关键模块,自动端到端解决数据科学问题,在多个数据集和任务上显著提升性能。

摘要:

基于大语言模型(LLM)的智能体在许多应用中展现了有效性。然而,将其应用于需要解决长期相互关联任务、动态数据调整和领域专业知识的数据科学场景仍然具有挑战性。先前的方法主要关注单个任务,难以评估完整的数据科学工作流。此外,它们难以处理中间数据的实时变化,并且无法动态适应数据科学问题固有的任务依赖性的演变。在本文中,我们提出了 Data Interpreter,这是一种基于 LLM 的智能体,旨在端到端地自动解决各种数据科学问题。我们的 Data Interpreter 包含两个关键模块:1)分层图建模,将复杂问题分解为可管理的子问题,实现动态节点生成和图优化;2)可编程节点生成,这是一种对每个子问题进行细化和验证的技术,以迭代地改善代码生成结果和鲁棒性。大量实验一致证明了 Data Interpreter 的优越性。在 InfiAgent-DABench 上,它实现了 25% 的性能提升,将准确率从 75.9% 提高到 94.9%。对于机器学习和开放式任务,它分别将性能从 88% 提高到 95%,从 60% 提高到 97%。此外,在 MATH 数据集上,与最先进的基线相比,Data Interpreter 取得了 26% 提升的显著性能。代码可在 https://github.com/geekan/MetaGPT 获取。

英文摘要:

Large Language Model (LLM)-based agents have shown effectiveness across many applications. However, their use in data science scenarios requiring solving long-term interconnected tasks, dynamic data adjustments and domain expertise remains challenging. Previous approaches primarily focus on individual tasks, making it difficult to assess the complete data science workflow. Moreover, they struggle to handle real-time changes in intermediate data and fail to adapt dynamically to evolving task dependencies inherent to data science problems. In this paper, we present Data Interpreter, an LLM-based agent designed to automatically solve various data science problems end-to-end. Our Data Interpreter incorporates two key modules: 1) Hierarchical Graph Modeling, which breaks down complex problems into manageable subproblems, enabling dynamic node generation and graph optimization; and 2) Programmable Node Generation, a technique that refines and verifies each subproblem to iteratively improve code generation results and robustness. Extensive experiments consistently demonstrate the superiority of Data Interpreter. On InfiAgent-DABench, it achieves a 25% performance boost, raising accuracy from 75.9% to 94.9%. For machine learning and open-ended tasks, it improves performance from 88% to 95%, and from 60% to 97%, respectively. Moreover, on the MATH dataset, Data Interpreter achieves remarkable performance with a 26% improvement compared to state-of-the-art baselines. The code is available at https://github.com/geekan/MetaGPT.

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

↑