DS-Agent: Automated Data Science by Empowering Large Language Models with Case-Based Reasoning
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
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 improvement through the feedback mechanism. Moreover, DS-Agent implements a low-resource deployment stage with a simplified CBR paradigm to adapt past successful solutions from the development stage for direct code generation, significantly reducing the demand on foundational capabilities of LLMs. Empirically, DS-Agent with GPT-4 achieves 100% success rate in the development stage, while attaining 36% improvement on average one pass rate across alternative LLMs in the deployment stage. In both stages, DS-Agent achieves the best rank in performance, costing 1.60 and 0.13 per run with GPT-4, respectively. Our data and code are open-sourced at https://github.com/guosyjlu/DS-Agent.
Key facts. Cited by 125 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 31 of its 68 references that are in the map. First posted on arXiv 27 Feb 2024.
Builds on
31 of 68 references.
Closest ancestors · 1
Same direction, newest first
Other references · 30
- 2023GPT-4 Technical Reportcited by 18,396
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,348
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2024Mixtral of Expertscited by 1,823
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,190
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 792
18 more
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
- 2020AutoGluon-Tabular: Robust and Accurate AutoML for Structured Datacited by 383
- 2023Language Models can Solve Computer Taskscited by 372
- 2023Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agentscited by 360
- 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 338
- 2023FireAct: Toward Language Agent Fine-tuningcited by 256
- 2023Grounding Large Language Models in Interactive Environments with Online Reinforcement Learningcited by 195
- 2023Large Language Models for Automated Data Science: Introducing CAAFE for Context-Aware Automated Feature Engineeringcited by 127
- 2023AutoML-GPT: Automatic Machine Learning with GPTcited by 81
- 2023K2: A Foundation Language Model for Geoscience Knowledge Understanding and Utilizationcited by 69
- 2023MLCopilot: Unleashing the Power of Large Language Models in Solving Machine Learning Taskscited by 66
- 2020AutoML to Date and Beyond: Challenges and Opportunitiescited by 63
- 2023Learning to Retrieve In-Context Examples for Large Language Modelscited by 60
- 2023GeoGalactica: A Scientific Large Language Model in Geosciencecited by 33
- 2023ChatGPT as your Personal Data Scientistcited by 22
- 2021Automating Data Science: Prospects and Challengescited by 18
- 2023Case-Based Reasoning with Language Models for Classification of Logical Fallaciescited by 8
Built on by
Citing papers per year: 2024: 19; 2025: 46; 2026: 60.
125 papers.
Sort:
By area:
- 2025Agent Laboratory: Using LLM Agents as Research Assistantscited by 425
- 2024Can LLMs Generate Novel Research Ideas? A Large-Scale Human Study with 100+ NLP Researcherscited by 363
- 2024Agent-as-a-Judge: Evaluate Agents with Agentscited by 238
- 2024Data Interpreter: An LLM Agent For Data Sciencecited by 225
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challengescited by 205
- 2024RE-Bench: Evaluating frontier AI R&D capabilities of language model agents against human expertscited by 175
- 2025Deep Research Agents: A Systematic Examination And Roadmapcited by 128
- 2025Memento: Fine-tuning LLM Agents without Fine-tuning LLMscited by 127
- 2025Multi-Agent Design: Optimizing Agents with Better Prompts and Topologiescited by 113
- 2024AutoML-Agent: A Multi-Agent LLM Framework for Full-Pipeline AutoMLcited by 87
- 2024BLADE: Benchmarking Language Model Agents for Data-Driven Sciencecited by 77
- 2025From AI for Science to Agentic Science: A Survey on Autonomous Scientific Discoverycited by 77
38 more
- 2025AgentRxiv: Towards Collaborative Autonomous Researchcited by 72
- 2024AutoKaggle: A Multi-Agent Framework for Autonomous Data Science Competitionscited by 70
- 2026Memento-Skills: Let Agents Design Agentscited by 62
- 2025MLE-STAR: Machine Learning Engineering Agent via Search and Targeted Refinementcited by 58
- 2025DeepAnalyze: Agentic Large Language Models for Autonomous Data Sciencecited by 50
- 2025Agentic Web: Weaving the Next Web with AI Agentscited by 45
- 2025MLE-Dojo: Interactive Environments for Empowering LLM Agents in Machine Learning Engineeringcited by 41
- 2024OSCAR: Operating System Control via State-Aware Reasoning and Re-Planningcited by 38
- 2025HypoBench: Towards Systematic and Principled Benchmarking for Hypothesis Generationcited by 37
- 2025EXP-Bench: Can AI Conduct AI Research Experiments?cited by 37
- 2025KramaBench: A Benchmark for AI Systems on Data-to-Insight Pipelines over Data Lakescited by 33
- 2025SciSciGPT: Advancing Human-AI Collaboration in the Science of Sciencecited by 27
- 2024Aviary: training language agents on challenging scientific taskscited by 26
- 2024SELA: Tree-Search Enhanced LLM Agents for Automated Machine Learningcited by 24
- 2025MLZero: A Multi-Agent System for End-to-end Machine Learning Automationcited by 24
- 2025MedAgentGym: A Scalable Agentic Training Environment for Code-Centric Reasoning in Biomedical Data Sciencecited by 23
- 2025Large Language Model-based Data Science Agent: A Surveycited by 23
- 2024A Survey on Large Language Model-based Agents for Statistics and Data Sciencecited by 22
- 2024Agentic Information Retrievalcited by 21
- 2024Transforming Wearable Data into Personal Health Insights using Large Language Model Agentscited by 19
- 2024Large Language Models for Constructing and Optimizing Machine Learning Workflows: A Surveycited by 19
- 2025AutoMLGen: Navigating Fine-Grained Optimization for Coding Agentscited by 18
- 2026A Comprehensive Survey on Agent Skills: Taxonomy, Techniques, and Applicationscited by 18
- 2026Autodata: An agentic data scientist to create high quality synthetic datacited by 16
- 2026EvolveRouter: Co-Evolving Routing and Prompt for Multi-Agent Question Answeringcited by 15
- 2025Review of Case-Based Reasoning for LLM Agents: Theoretical Foundations, Architectural Components, and Cognitive Integrationcited by 12
- 2025Scaling Generalist Data-Analytic Agentscited by 11
- 2025A Survey of AI Scientistscited by 11
- 2026AI for Auto-Research: Roadmap & User Guidecited by 11
- 2024Cognitive Kernel: An Open-source Agent System towards Generalist Autopilotscited by 10
- 2025LLM-REVal: Can We Trust LLM Reviewers Yet?cited by 9
- 2026Autonomous Research Agents: A Survey of AI Scientists and the Verification Gapcited by 9
- 2024Automating Traffic Model Enhancement with AI Research Agentcited by 8
- 2024Watson: A Cognitive Observability Framework for the Reasoning of LLM-Powered Agentscited by 8
- 2025Agentic Knowledgeable Self-awarenesscited by 8
- 2025BioDSA-1K: Benchmarking Data Science Agents for Biomedical Researchcited by 8
- 2025LLM Meeting Decision Trees on Tabular Datacited by 8
- 2025SimuGen: Multi-modal Agentic Framework for Constructing Block Diagram-Based Simulation Modelscited by 8
50 most cited of 125 All 125 (JSON)
- 2026Searching for What Matters: Open-Ended Discovery of Multiple Hypotheses with Agentic Data Exploration13 Oct 2026
- 2026The Silent Failures in Agentic Data Science9 Oct 2026
- 2026Assembling Insights for Agentic Machine Learning Engineering Systems4 Oct 2026
- 2026HazardWeaver: Scientific Route Selection for Hazard Analysis Agents2 Oct 2026
- 2026Fail Loudly: An Auditable Runtime for Agentic Data Analysis26 Sep 2026
- 2026Data Agents: Agentic Data Systems21 Sep 2026
- 2026AutoData: Agentic Search for Pre-training Data Selection17 Sep 2026
- 2026Skill-based Agentic Evaluation for Real-time Data Science Tasks15 Sep 2026
- 2026SAGE-Loop: Reliable Closed-Loop LLM-Driven AutoML with Trial-and-Correction and Adaptive Ensembling11 Sep 2026
- 2026Strategy Accumulation and Guided Execution for Automated LLM Fine-Tuning6 Sep 2026
- 2026Repo-To-Skill: Distilling GitHub Repositories Into AI4AI Skills2 Sep 2026
- 2026Aspire: Can Models Self-Evolve from Vague Goals?31 Aug 2026
38 more
- 2026Towards Fully Automated Medical Imaging Code Generation via Validation-based Context Engineering29 Aug 2026
- 2026Planetary Prediction Engine: Autonomous Geospatial Prediction via Intelligent Data Selection and Foundation Model Embeddings26 Aug 2026
- 2026TraceML: An Empirical Analysis of Human-Agent Planning in Machine Learning Development26 Aug 2026
- 2026SIGMA: SHAP-Guided Implicit-Trajectory Generation for Metadata-Free LLM-Based AutoFE18 Aug 2026
- 2026ScienceFlow: A long-horizon agent for ML research, scientific discovery and beyond14 Aug 2026
- 2026MEGA: Self-Evolving Agent Optimization Infrastructure via Wisdom Graph11 Aug 2026
- 2026Matryoshka Agent: Unfolding Sub-Agents for Long-Horizon Machine Learning Engineering27 Jul 2026
- 2026Autonomous Research Agents: A Survey of AI Scientists and the Verification Gap29 Jun 2026
- 2026Why Solve It Twice? Hierarchical Accumulation of Skills for Transfer-Efficient ML Engineering29 Jun 2026
- 2026AgentX: Towards Agent-Driven Self-Iteration of Industrial Recommender Systems25 Jun 2026
- 2026Autodata: An agentic data scientist to create high quality synthetic data24 Jun 2026
- 2026Trustworthy Self-Composable Big-Data-as-a-Service: An LLM-Orchestrated Multi-Agent Framework for Automated Data Engineering, AutoML, MLOps Deployment, and Drift-Aware Lifecycle Optimization16 Jun 2026
- 2026VeriGraph: Towards Verifiable Data-Analytic Agents15 Jun 2026
- 2026Experience Makes Skillful: Enabling Generalizable Medical Agent Reasoning via Self-Evolving Skill Memory8 Jun 2026
- 2026Towards Persistent Case-Based Memory for Autonomous Data Science: A CBR-Augmented R&D-Agent with a Locally Deployable Small Language Model3 Jun 2026
- 2026EvoDS: Self-Evolving Autonomous Data Science Agent with Skill Learning and Context Management2 Jun 2026
- 2026MOSAIC: Modular Orchestration for Structured Agentic Intelligence and Composition30 May 2026
- 2026AI for Auto-Research: Roadmap & User Guide18 May 2026
- 2026DrugSAGE:Self-evolving Agent Experience for Efficient State-of-the-Art Drug Discovery14 May 2026
- 2026GxP-Agent: Process-DAG Topology for Reliable Clinical Trial Programming with LLM Agents13 May 2026
- 2026CellDX AI Autopilot: Agent-Guided Training and Deployment of Pathology Classifiers11 May 2026
- 2026A Comprehensive Survey on Agent Skills: Taxonomy, Techniques, and Applications8 May 2026
- 2026Towards Autonomous Business Intelligence via Data-to-Insight Discovery Agent8 May 2026
- 2026Agentic-imodels: Evolving agentic interpretability tools via autoresearch5 May 2026
- 2026EngiAgent: Fully Connected Coordination of LLM Agents for Solving Open-ended Engineering Problems with Feasible Solutions4 May 2026
- 2026AgentGA: Evolving Code Solutions in Agent-Seed Space16 Apr 2026
- 2026Coding-Free and Privacy-Preserving Agentic Framework for Data-Driven Clinical Research14 Apr 2026
- 2026Sanity Checks for Agentic Data Science13 Apr 2026
- 2026AgentWebBench: Benchmarking Multi-Agent Coordination in Agentic Web13 Apr 2026
- 2026Query-Conditioned Graph Retrieval for Contextualized LLM Reasoning in Personalized Wearable Data10 Apr 2026
- 2026DataSTORM: Deep Research on Large-Scale Databases using Exploratory Data Analysis and Data Storytelling7 Apr 2026
- 2026EvolveRouter: Co-Evolving Routing and Prompt for Multi-Agent Question Answering6 Apr 2026
- 2026From Multi-Agent to Single-Agent: When Is Skill Distillation Beneficial?2 Apr 2026
- 2026Can LLM Agents Generate Real-World Evidence? Evaluating Observational Studies in Medical Databases24 Mar 2026
- 2026AgentDS Technical Report: Benchmarking the Future of Human-AI Collaboration in Domain-Specific Data Science19 Mar 2026
- 2026Memento-Skills: Let Agents Design Agents19 Mar 2026
- 2026Embedding-Aware Feature Discovery: Bridging Latent Representations and Interpretable Features in Event Sequences16 Mar 2026
- 2026NormCode Canvas: Making LLM Agentic Workflows Development Sustainable via Case-Based Reasoning13 Mar 2026
50 newest of 125 All 125 (JSON)
- 2025Agent Laboratory: Using LLM Agents as Research Assistantscited by 425
- 2024Can LLMs Generate Novel Research Ideas? A Large-Scale Human Study with 100+ NLP Researcherscited by 363
- 2024Agent-as-a-Judge: Evaluate Agents with Agentscited by 238
- 2024Data Interpreter: An LLM Agent For Data Sciencecited by 225
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challengescited by 205
- 2024RE-Bench: Evaluating frontier AI R&D capabilities of language model agents against human expertscited by 175
- 2025Deep Research Agents: A Systematic Examination And Roadmapcited by 128
- 2025Memento: Fine-tuning LLM Agents without Fine-tuning LLMscited by 127
- 2025Multi-Agent Design: Optimizing Agents with Better Prompts and Topologiescited by 113
- 2024AutoML-Agent: A Multi-Agent LLM Framework for Full-Pipeline AutoMLcited by 87
- 2024BLADE: Benchmarking Language Model Agents for Data-Driven Sciencecited by 77
- 2025From AI for Science to Agentic Science: A Survey on Autonomous Scientific Discoverycited by 77
12 most cited of 74 All 74 (JSON)
- 2026Searching for What Matters: Open-Ended Discovery of Multiple Hypotheses with Agentic Data Exploration13 Oct 2026
- 2026The Silent Failures in Agentic Data Science9 Oct 2026
- 2026Assembling Insights for Agentic Machine Learning Engineering Systems4 Oct 2026
- 2026HazardWeaver: Scientific Route Selection for Hazard Analysis Agents2 Oct 2026
- 2026Fail Loudly: An Auditable Runtime for Agentic Data Analysis26 Sep 2026
- 2026Data Agents: Agentic Data Systems21 Sep 2026
- 2026AutoData: Agentic Search for Pre-training Data Selection17 Sep 2026
- 2026Skill-based Agentic Evaluation for Real-time Data Science Tasks15 Sep 2026
- 2026TraceML: An Empirical Analysis of Human-Agent Planning in Machine Learning Development26 Aug 2026
- 2026ScienceFlow: A long-horizon agent for ML research, scientific discovery and beyond14 Aug 2026
- 2026MEGA: Self-Evolving Agent Optimization Infrastructure via Wisdom Graph11 Aug 2026
- 2026Autonomous Research Agents: A Survey of AI Scientists and the Verification Gap29 Jun 2026
12 newest of 74 All 74 (JSON)
- 2024OSCAR: Operating System Control via State-Aware Reasoning and Re-Planningcited by 38
- 2025MedAgentGym: A Scalable Agentic Training Environment for Code-Centric Reasoning in Biomedical Data Sciencecited by 23
- 2024Transforming Wearable Data into Personal Health Insights using Large Language Model Agentscited by 19
- 2025Review of Case-Based Reasoning for LLM Agents: Theoretical Foundations, Architectural Components, and Cognitive Integrationcited by 12
- 2024Watson: A Cognitive Observability Framework for the Reasoning of LLM-Powered Agentscited by 8
- 2025SimuGen: Multi-modal Agentic Framework for Constructing Block Diagram-Based Simulation Modelscited by 8
- 2025SPIO: Ensemble and Selective Strategies via LLM-Based Multi-Agent Planning in Automated Data Sciencecited by 7
- 2025Case-Based Reasoning Enhances the Predictive Power of LLMs in Drug-Drug Interactioncited by 2
- 2026Query-Conditioned Graph Retrieval for Contextualized LLM Reasoning in Personalized Wearable Datacited by 1
- 2026NormCode Canvas: Making LLM Agentic Workflows Development Sustainable via Case-Based Reasoningcited by 0
- 2026Query-Conditioned Graph Retrieval for Contextualized LLM Reasoning in Personalized Wearable Data10 Apr 2026
- 2026NormCode Canvas: Making LLM Agentic Workflows Development Sustainable via Case-Based Reasoning13 Mar 2026
- 2025MedAgentGym: A Scalable Agentic Training Environment for Code-Centric Reasoning in Biomedical Data Science4 Jun 2025
- 2025Case-Based Reasoning Enhances the Predictive Power of LLMs in Drug-Drug Interaction29 May 2025
- 2025SimuGen: Multi-modal Agentic Framework for Constructing Block Diagram-Based Simulation Models28 May 2025
- 2025Review of Case-Based Reasoning for LLM Agents: Theoretical Foundations, Architectural Components, and Cognitive Integration9 Apr 2025
- 2025SPIO: Ensemble and Selective Strategies via LLM-Based Multi-Agent Planning in Automated Data Science30 Mar 2025
- 2024Watson: A Cognitive Observability Framework for the Reasoning of LLM-Powered Agents5 Nov 2024
- 2024OSCAR: Operating System Control via State-Aware Reasoning and Re-Planning24 Oct 2024
- 2024Transforming Wearable Data into Personal Health Insights using Large Language Model Agents10 Jun 2024
- 2025AgentRxiv: Towards Collaborative Autonomous Researchcited by 72
- 2024AutoKaggle: A Multi-Agent Framework for Autonomous Data Science Competitionscited by 70
- 2025HypoBench: Towards Systematic and Principled Benchmarking for Hypothesis Generationcited by 37
- 2025EXP-Bench: Can AI Conduct AI Research Experiments?cited by 37
- 2025KramaBench: A Benchmark for AI Systems on Data-to-Insight Pipelines over Data Lakescited by 33
- 2025SciSciGPT: Advancing Human-AI Collaboration in the Science of Sciencecited by 27
- 2024Large Language Models for Constructing and Optimizing Machine Learning Workflows: A Surveycited by 19
- 2025A Survey of AI Scientistscited by 11
- 2026AI for Auto-Research: Roadmap & User Guidecited by 11
- 2025LLM-REVal: Can We Trust LLM Reviewers Yet?cited by 9
- 2025LLM Meeting Decision Trees on Tabular Datacited by 8
- 2026AgentX: Towards Agent-Driven Self-Iteration of Industrial Recommender Systemscited by 8
12 most cited of 37 All 37 (JSON)
- 2026SAGE-Loop: Reliable Closed-Loop LLM-Driven AutoML with Trial-and-Correction and Adaptive Ensembling11 Sep 2026
- 2026Strategy Accumulation and Guided Execution for Automated LLM Fine-Tuning6 Sep 2026
- 2026Repo-To-Skill: Distilling GitHub Repositories Into AI4AI Skills2 Sep 2026
- 2026Towards Fully Automated Medical Imaging Code Generation via Validation-based Context Engineering29 Aug 2026
- 2026Planetary Prediction Engine: Autonomous Geospatial Prediction via Intelligent Data Selection and Foundation Model Embeddings26 Aug 2026
- 2026SIGMA: SHAP-Guided Implicit-Trajectory Generation for Metadata-Free LLM-Based AutoFE18 Aug 2026
- 2026Matryoshka Agent: Unfolding Sub-Agents for Long-Horizon Machine Learning Engineering27 Jul 2026
- 2026Why Solve It Twice? Hierarchical Accumulation of Skills for Transfer-Efficient ML Engineering29 Jun 2026
- 2026AgentX: Towards Agent-Driven Self-Iteration of Industrial Recommender Systems25 Jun 2026
- 2026Experience Makes Skillful: Enabling Generalizable Medical Agent Reasoning via Self-Evolving Skill Memory8 Jun 2026
- 2026AI for Auto-Research: Roadmap & User Guide18 May 2026
- 2026AgentGA: Evolving Code Solutions in Agent-Seed Space16 Apr 2026
12 newest of 37 All 37 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025LLM-Based Data Science Agents: A Survey of Capabilities, Challenges, and Future Directions
- 2025AutoMind: Adaptive Knowledgeable Agent for Automated Data Science
- 2025DS-STAR: Data Science Agent for Solving Diverse Tasks across Heterogeneous Formats and Open-Ended Queries
- 2025Measuring Data Science Automation: A Survey of Evaluation Tools for AI Assistants and Agents
- 2024Benchmarking Data Science Agents
- 2026DS-Lighting: Making Agent Harnesses Explicit for Data-Science Automation
- 2025DatawiseAgent: A Notebook-Centric LLM Agent Framework for Adaptive and Robust Data Science Automation
- 2025VDSAgents: A PCS-Guided Multi-Agent System for Veridical Data Science Automation