Data Interpreter: An LLM Agent For Data Science
Abstrak
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.
Topik & Kata Kunci
Penulis (25)
Sirui Hong
Yizhang Lin
Bangbang Liu
Binhao Wu
Danyang Li
Jiaqi Chen
Jiayi Zhang
Jinlin Wang
Lingyao Zhang
Mingchen Zhuge
Taicheng Guo
Tuo Zhou
Wei Tao
Wenyi Wang
Xiangru Tang
Xiang Lu
Xinbing Liang
Yaying Fei
Yuheng Cheng
Zhibin Gou
Zongze Xu
Chenglin Wu
Li Zhang
Min Yang
Xiawu Zheng
Akses Cepat
- Tahun Terbit
- 2024
- Bahasa
- en
- Total Sitasi
- 193×
- Sumber Database
- Semantic Scholar
- DOI
- 10.48550/arXiv.2402.18679
- Akses
- Open Access ✓