AI summary · arXiv: 2402.18679v1 · cs.AI

Data Interpreter: An LLM Agent For Data Science

Sirui Hong, Yizhang Lin, Bangbang Liu, Binhao Wu, Danyang Li, Jiaqi Chen, Jiayi Zhang, Jinlin Wang,
and 16 more authorsLingyao Zhang, Mingchen Zhuge, Taicheng Guo, Tuo Zhou, Wei Tao, Wenyi Wang, Xiangru Tang, Xiangtao Lu, Xinbing Liang, Yaying Fei, Yuheng Cheng, Zongze Xu, Chenglin Wu, Li Zhang, Min Yang, Xiawu Zheng
Original paper · DOI 10.18653/v1/2025.findings-acl.1016 Submitted to arXiv on 28 Feb. 2024 Published in Findings of the Association for Computational Linguistics: ACL 2025 (2025) License: CC BY 4.0

How to read this summary? Illustrated guide

The essentials

  • Large Language Model (LLM)-based agents are effective in data science applications but can struggle with real-time data adjustment and optimization.
  • The Data Interpreter solution focuses on dynamic planning with hierarchical graph structures, tool integration, and logical inconsistency identification to enhance problem-solving in data science.
  • The Data Interpreter outperforms open-source baselines across different tasks, showing significant improvements in machine learning tasks, MATH dataset, and open-ended tasks.
  • The solution will be available on GitHub at https://github.com/geekan/MetaGPT for independent tool library building and expansion.
  • The Data Interpreter enhances reasoning by being logic bug aware based on confidence scores, test-driven validations, and recording task-level experiences for both successes and failures.

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: Data Science Large Language Model (LLM) Data Interpreter Dynamic Planning Automated Tool Integration

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
In the realm of data science, Large Language Model (LLM)-based agents have proven to be highly effective in various applications. However, their performance can sometimes falter in scenarios that require real-time data adjustment and optimization expertise due to complex task dependencies. To address these challenges, a solution known as the Data Interpreter has been introduced in this study. The Data Interpreter is designed to enhance problem-solving in data science by focusing on three key techniques: dynamic planning with hierarchical graph structures for real-time data adaptability, tool integration for code proficiency enhancement during execution, and logical inconsistency identification for efficient reasoning through experience recording. This solution has been evaluated across different data science and real-world tasks, showcasing superior performance compared to open-source baselines. Specifically, the Data Interpreter demonstrated significant improvements in machine learning tasks with a notable increase from 0.86 to 0.95. It also showed a 26% enhancement on the MATH dataset and an impressive 112% improvement in open-ended tasks. The solution will be made available on GitHub at https://github.com/geekan/MetaGPT. Furthermore, the Data Interpreter allows for independent tool library building and expansion, simplifies tool usage, and enables code restructuring as needed. It enhances reasoning by being logic bug aware based on confidence scores from execution results and test-driven validations. Task-level experiences are recorded throughout the execution process to capture both successes and failures. In comparison to existing open-source frameworks, the Data Interpreter significantly outperforms them across machine learning tasks, mathematical problems, and open-ended tasks. Its dynamic planning framework with hierarchical structures improves adaptability and problem-solving capabilities in data science tasks. Automated tool integration enhances coding proficiency in LLMs while verification and experience integration improve reasoning accuracy and efficiency. Overall, this study sets a new standard for performance in utilizing LLM-based agents for data science challenges by addressing key limitations and enhancing problem-solving capabilities across various domains.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 1 free rewrite left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Continue with Google Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero Zotero guide
Citation alerts Citation alerts guide
Who works on it?

Among the 23 papers around this one, the name that comes back most: Ju Fan (2 papers)

1 more person signs several of them. The full map adds their institutions and approaches, from the papers of the last years.

Continue with Google Create a free account: your first map is free
Weekly letter The latest letter of its field, "Artificial intelligence this week" of 30 November 2026: Artificial intelligence this week: What the tests leave out · Receive one by email for free

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Same question
    DatawiseAgent: A Notebook-Centric LLM Agent Framework for Adaptive and Robust Data Science Automation
    Ziming You, Yumiao Zhang, De-Xuan Xu et al. · 2025 · Conference on Empirical Methods in Natural Language Processing · cited 14 times · Not summarized yet

    DatawiseAgent automates data science with an LLM agent, using notebook-centered planning and failure recovery rather than Data Interpreter’s hierarchical graph planning and dynamic tools.

    Abstract

    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 ex…

  2. Very close Broader context
    DataLab: A Unifed Platform for LLM-Powered Business Intelligence
    Luoxuan Weng, Yinghao Tang, Yingchaojie Feng et al. · 2024 · Databases · cited 21 times · AI summary available

    DataLab integrates LLM agents across business-intelligence tasks, while Data Interpreter targets data-science problem solving.

    Abstract

    Business intelligence (BI) transforms large volumes of data within modern organizations into actionable insights for informed decision-making. Recently, large language model (LLM)-based agents have streamlined the BI workflow by automatically performing task planning, reasoning, and actions in executable environments based on natural language (NL) queries. However, existing approaches primarily focus on individual BI tasks such as NL2SQL and NL2VIS. The fragmentation of tasks across different data roles and tools lead to inefficiencies and potential errors due to the iterative and collaborative nature of BI. In this paper, we introduce DataLab, a unified BI platform that integrates a one-sto…

  3. Very close Same question Cited by this paper
    DS-Agent: Automated Data Science by Empowering Large Language Models with Case-Based Reasoning
    Siyuan Guo, Cheng Deng, Ying Wen et al. · 2024 · International Conference on Machine Learning · cited 171 times · Not summarized yet

    DS-Agent automates data-science tasks by using case-based reasoning and Kaggle expertise to improve experiment plans; Data Interpreter uses dynamic planning, tools, and feedback.

    Abstract

    In this work, we investigate the potential of large language models (LLMs) based agents to automate data science tasks, with the goal of comprehending task requirements, then building and training the best-fit machine learning models. Despite their widespread success, existing LLM agents are hindered by generating unreasonable experiment plans within this scenario. To this end, we present DS-Agent, a novel automatic framework that harnesses LLM agent and case-based reasoning (CBR). In the development stage, DS-Agent follows the CBR framework to structure an automatic iteration pipeline, which can flexibly capitalize on the expert knowledge from Kaggle, and facilitate consistent performance i…

  4. Close Groundwork for this paper Cited by this paper
    MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework
    Sirui Hong, Mingchen Zhuge, Jonathan Chen et al. · 2023 · Artificial Intelligence · preprint, not peer reviewed · cited 2,757 times · AI summary available

    MetaGPT introduces a multi-agent framework with standardized workflows and verification of intermediate results, which Data Interpreter identifies as its release platform.

    Abstract

    Remarkable progress has been made on automated problem solving through societies of agents based on large language models (LLMs). Existing LLM-based multi-agent systems can already solve simple dialogue tasks. Solutions to more complex tasks, however, are complicated through logic inconsistencies due to cascading hallucinations caused by naively chaining LLMs. Here we introduce MetaGPT, an innovative meta-programming framework incorporating efficient human workflows into LLM-based multi-agent collaborations. MetaGPT encodes Standardized Operating Procedures (SOPs) into prompt sequences for more streamlined workflows, thus allowing agents with human-like domain expertise to verify intermediat…

  5. Close Review
    Large Language Model-based Data Science Agent: A Survey
    Ke Chen, Pei-Ran Wang, Yao-Ning Yu et al. · 2025 · Trans. Mach. Learn. Res. · cited 30 times · Not summarized yet

    The survey organizes LLM-based data-science agents by agent design and data-science processes, covering the field that Data Interpreter contributes to.

    Abstract

    The rapid advancement of Large Language Models (LLMs) has driven novel applications across diverse domains, with LLM-based agents emerging as a crucial area of exploration. This survey presents a comprehensive analysis of LLM-based agents designed for data science tasks, summarizing insights from recent studies. From the agent perspective, we discuss the key design principles, covering agent roles, execution, knowledge, and reflection methods. From the data science perspective, we identify key processes for LLM-based agents, including data preprocessing, model development, evaluation, visualization, etc. Our work offers two key contributions: (1) a comprehensive review of recent developments…

  6. Close Broader context
    Agent Q: Advanced Reasoning and Learning for Autonomous AI Agents
    Pranav Putta, Edmund Mills, Naman Garg et al. · 2024 · Artificial Intelligence · preprint, not peer reviewed · cited 237 times · AI summary available

    Agent Q addresses multi-step agent reasoning in interactive environments, whereas Data Interpreter focuses on data-science tasks.

    Abstract

    Large Language Models (LLMs) have shown remarkable capabilities in natural language tasks requiring complex reasoning, yet their application in agentic, multi-step reasoning within interactive environments remains a difficult challenge. Traditional supervised pre-training on static datasets falls short in enabling autonomous agent capabilities needed to perform complex decision-making in dynamic settings like web navigation. Previous attempts to bridge this ga-through supervised fine-tuning on curated expert demonstrations-often suffer from compounding errors and limited exploration data, resulting in sub-optimal policy outcomes. To overcome these challenges, we propose a framework that comb…

  7. Close Same question
    DeepAnalyze: Agentic Large Language Models for Autonomous Data Science
    Shao-Lei Zhang, Ju Fan, Mei-Hao Fan et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 65 times · Not summarized yet

    DeepAnalyze builds an autonomous data-science agent for end-to-end research reports, while Data Interpreter improves data-science problem solving through adaptive planning and tool use.

    Abstract

    Autonomous data science, from raw data sources to analyst-grade deep research reports, has been a long-standing challenge, and is now becoming feasible with the emergence of powerful large language models (LLMs). Recent workflow-based data agents have shown promising results on specific data tasks but remain fundamentally limited in achieving fully autonomous data science due to their reliance on predefined workflows. In this paper, we introduce DeepAnalyze-8B, the first agentic LLM designed for autonomous data science, capable of automatically completing the end-toend pipeline from data sources to analyst-grade deep research reports. To tackle high-complexity data science tasks, we propose …

  8. Close Same question
    AutoMind: Adaptive Knowledgeable Agent for Automated Data Science
    Yu-Jie Luo, Yixin Ou, Jingsheng Zheng et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 25 times · Not summarized yet

    AutoMind automates data science using expert knowledge and adaptive strategies, a goal shared with Data Interpreter’s agent for data-science problem solving.

    Abstract

    Large Language Model (LLM) agents have shown great potential in addressing real-world data science problems. LLM-driven data science agents promise to automate the entire machine learning pipeline, yet their real-world effectiveness remains limited. Existing frameworks depend on rigid, pre-defined workflows and inflexible coding strategies; consequently, they excel only on relatively simple, classical problems and fail to capture the empirical expertise that human practitioners bring to complex, innovative tasks. In this work, we introduce AutoMind, an adaptive, knowledgeable LLM-agent framework that overcomes these deficiencies through three key advances: (1) a curated expert knowledge base…

Prior work it builds on

  1. Close Groundwork for this paper
    ExpeL: LLM Agents Are Experiential Learners
    Andrew Zhao, Daniel Huang, Quentin Xu et al. · 2023 · AAAI Conference on Artificial Intelligence · cited 1,243 times · Not summarized yet

    ExpeL studies learning from agent experience without fine-tuning, and Data Interpreter cites it while describing experience recording for improved efficiency.

    Abstract

    The recent surge in research interest in applying large language models (LLMs) to decision-making tasks has flourished by leveraging the extensive world knowledge embedded in LLMs. While there is a growing demand to tailor LLMs for custom decision-making tasks, finetuning them for specific tasks is resource-intensive and may diminish the model's generalization capabilities. Moreover, state-of-the-art language models like GPT-4 and Claude are primarily accessible through API calls, with their parametric weights remaining proprietary and unavailable to the public. This scenario emphasizes the growing need for new methodologies that allow learning from agent experiences without requiring parame…

  2. Close Same method, another problem
    MatPlotAgent: Method and Evaluation for LLM-Based Agentic Scientific Data Visualization
    Zhiyu Yang, Zi-Han Zhou, Shuo Wang et al. · 2024 · Annual Meeting of the Association for Computational Linguistics · cited 141 times · Not summarized yet

    MatPlotAgent applies LLM agents, code generation, and iterative feedback to scientific visualization, a specific task within the broader data-science automation pursued by Data Interpreter.

    Abstract

    Scientific data visualization plays a crucial role in research by enabling the direct display of complex information and assisting researchers in identifying implicit patterns. Despite its importance, the use of Large Language Models (LLMs) for scientific data visualization remains rather unexplored. In this study, we introduce MatPlotAgent, an efficient model-agnostic LLM agent framework designed to automate scientific data visualization tasks. Leveraging the capabilities of both code LLMs and multi-modal LLMs, MatPlotAgent consists of three core modules: query understanding, code generation with iterative debugging, and a visual feedback mechanism for error correction. To address the lack …

  3. Close* Broader context Used in depth by this paper
    Benchmarking Large Language Models As AI Research Agents
    Qian Huang, Jian Vora, Percy Liang et al. · 2023 · arXiv.org · preprint, not peer reviewed · cited 67 times · Not summarized yet

    Benchmarking Large Language Models As AI Research Agents evaluates research agents, a neighboring agent-evaluation topic cited by Data Interpreter.

  4. Close Shared data, tool or method
    Agents: An Open-source Framework for Autonomous Language Agents
    Wangchunshu Zhou, Y. Jiang, Long Li et al. · 2023 · arXiv.org · preprint, not peer reviewed · cited 151 times · Not summarized yet

    Agents releases an open-source framework supporting planning, memory, and tool use, capabilities also used by Data Interpreter.

    Abstract

    Recent advances on large language models (LLMs) enable researchers and developers to build autonomous language agents that can automatically solve various tasks and interact with environments, humans, and other agents using natural language interfaces. We consider language agents as a promising direction towards artificial general intelligence and release Agents, an open-source library with the goal of opening up these advances to a wider non-specialist audience. Agents is carefully engineered to support important features including planning, memory, tool usage, multi-agent communication, and fine-grained symbolic control. Agents is user-friendly as it enables non-specialists to build, custo…

  5. Close Groundwork for this paper
    Executable Code Actions Elicit Better LLM Agents
    Xingyao Wang, Yangyi Chen, Lifan Yuan et al. · 2024 · Computation and Language · cited 755 times · AI summary available

    Executable Code Actions proposes Python code as a flexible agent action space, an approach relevant to Data Interpreter’s code-based problem solving and cited by it.

    Abstract

    Large Language Model (LLM) agents, capable of performing a broad range of actions, such as invoking tools and controlling robots, show great potential in tackling real-world challenges. LLM agents are typically prompted to produce actions by generating JSON or text in a pre-defined format, which is usually limited by constrained action space (e.g., the scope of pre-defined tools) and restricted flexibility (e.g., inability to compose multiple tools). This work proposes to use executable Python code to consolidate LLM agents' actions into a unified action space (CodeAct). Integrated with a Python interpreter, CodeAct can execute code actions and dynamically revise prior actions or emit new ac…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 3 November 2026.

The illustrated guide to the papers around a paper

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.