mlsanityData to 14 Oct 2026

DSMentor: Enhancing Data Science Agents with Curriculum Learning and Online Knowledge Accumulation

arXiv 2505.14163 ↗First posted 20 May 2025cs.AIcited by 4

On the map: LLM agents and tool use → Web, search, and research agents

Abstract (arXiv)

Large language model (LLM) agents have shown promising performance in generating code for solving complex data science problems. Recent studies primarily focus on enhancing in-context learning through improved search, sampling, and planning techniques, while overlooking the importance of the order in which problems are tackled during inference. In this work, we develop a novel inference-time optimization framework, referred to as DSMentor, which leverages curriculum learning -- a strategy that introduces simpler task first and progressively moves to more complex ones as the learner improves -- to enhance LLM agent performance in challenging data science tasks. Our mentor-guided framework organizes data science tasks in order of increasing difficulty and incorporates a growing long-term memory to retain prior experiences, guiding the agent's learning progression and enabling more effective utilization of accumulated knowledge. We evaluate DSMentor through extensive experiments on DSEval and QRData benchmarks. Experiments show that DSMentor using Claude-3.5-Sonnet improves the pass rate by up to 5.2% on DSEval and QRData compared to baseline agents. Furthermore, DSMentor demonstrates stronger causal reasoning ability, improving the pass rate by 8.8% on the causality problems compared to GPT-4 using Program-of-Thoughts prompts. Our work underscores the importance of developing effective strategies for accumulating and utilizing knowledge during inference, mirroring the human learning process and opening new avenues for improving LLM performance through curriculum-based inference optimization.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 26 of its 36 references that are in the map. First posted on arXiv 20 May 2025.

Builds on

26 of 36 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024Data Interpreter: An LLM Agent For Data Science28 Feb
  2. 2024DS-Agent: Automated Data Science by Empowering Large Language Models with Case-Based Reasoning27 Feb
  3. 2024Benchmarking Data Science Agents27 Feb

Other references · 23

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  5. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
  6. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
  7. 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,395
  8. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
  9. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
  10. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
  11. 2019On The Power of Curriculum Learning in Training Deep Networkscited by 286
  12. 2024Debating with More Persuasive LLMs Leads to More Truthful Answerscited by 266
11 more
  1. 2019Competence-based Curriculum Learning for Neural Machine Translationcited by 202
  2. 2020Automatic Curriculum Learning For Deep RL: A Short Surveycited by 150
  3. 2015STC: A Simple to Complex Framework for Weakly-supervised Semantic Segmentationcited by 78
  4. 2023Data-Copilot: Bridging Billions of Data and Humans with Autonomous Workflowcited by 76
  5. 2023Is GPT-4 a Good Data Analyst?cited by 70
  6. 2023MLCopilot: Unleashing the Power of Large Language Models in Solving Machine Learning Taskscited by 66
  7. 2024Are LLMs Capable of Data-based Statistical and Causal Reasoning? Benchmarking Advanced Quantitative Reasoning with Datacited by 63
  8. 2024Let's Learn Step by Step: Enhancing In-Context Learning Ability with Curriculum Learningcited by 47
  9. 2024Conifer: Improving Complex Constrained Instruction-Following Ability of Large Language Modelscited by 27
  10. 2023Cross-Episodic Curriculum for Transformer Agentscited by 10
  11. 2024YODA: Teacher-Student Progressive Learning for Language Modelscited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026DSGym: A Holistic Framework for Evaluating and Training Data Science Agents
  2. 2025AutoMind: Adaptive Knowledgeable Agent for Automated Data Science
  3. 2026DSAEval: Evaluating Data Science Agents on a Wide Range of Real-World Data Science Problems
  4. 2026CEDAR: Context Engineering for Agentic Data Science
  5. 2025LLM-Based Data Science Agents: A Survey of Capabilities, Challenges, and Future Directions
  6. 2026MUSE: An Interactive Meta-Agent for Understanding and Steering LLM-powered Data Science Systems
  7. 2025DSBC : Data Science task Benchmarking with Context engineering
  8. 2026AgenticDataBench: A Comprehensive Benchmark for Data Agents