← Latest papers
🤖 machine learning

TraceML: An Empirical Analysis of Human-Agent Planning in Machine Learning Development

This paper introduces TraceML, a comprehensive dataset and schema pairing human and agent trajectories across 134 machine learning competitions, which reveals that current agents fail to match human performance not due to coding errors but because they lack the strategic planning and iterative exploration behaviors exhibited by human experts.

Original authors: Jiarui Yan, Weiwei Sun, Sijie Li, Wenhan Li, Yiming Yang

Published 2026-08-27
📖 5 min read🧠 Deep dive

Original authors: Jiarui Yan, Weiwei Sun, Sijie Li, Wenhan Li, Yiming Yang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the world of artificial intelligence, there is a distinct difference between writing a single correct sentence and building a complex machine that learns from data. Large language models, the powerful computer programs that can draft emails or write code for isolated tasks, have become remarkably skilled at the former. However, when asked to act as autonomous engineers—loading messy data, choosing the right mathematical models, training them, and then spending hours tweaking their approach based on what the results tell them—they often stumble. They can produce a final answer, but they struggle to navigate the long, winding road of discovery that leads to it. This gap is not just about getting the wrong number at the end; it is about how the work is done. While human experts might try a dozen different strategies, discard the ones that fail, and return to old ideas that seemed promising, these automated agents often get stuck in narrow loops, repeating the same small adjustments without ever truly changing direction.

Researchers at Carnegie Mellon University set out to understand exactly where and why this breakdown happens. They created a new way of looking at the work of both human experts and artificial agents, treating their entire development process as a single, continuous story rather than just a final score. They gathered thousands of records of how humans solved machine learning competitions, capturing every time they saved a new version of their code, every time they changed a model, and every time they adjusted their data. They then paired this with the work of two different types of automated agents working on the same problems. By lining up these histories side by side, they could see not just who won, but how each side thought, moved, and reacted to failure over the course of a competition.

What they found was a clear divide in how the two groups approached the problem. The human experts moved with a fluid, adaptable rhythm. They would spend time cleaning data, then switch to testing a new model, then step back to verify their results, and sometimes, when they hit a wall, they would go back to an idea they had abandoned days earlier. They treated the process as a series of experiments, willing to pivot completely when the evidence suggested a new path was needed. The automated agents, by contrast, behaved like they were trapped in a single room. One type of agent, which relied on a standard command-line interface, spent almost all its time making tiny, repetitive adjustments to a single solution it had already found, like constantly re-weighing the same set of ingredients without ever trying a new recipe. The other type of agent, which used a search method to try many variations at once, changed its model constantly but failed to consolidate those changes into a coherent strategy. It would jump from one idea to another so frequently that it never gained any real ground, and it almost never returned to a previous approach to see if it could be improved.

The researchers discovered that the agents were not just slower; they were missing a crucial human capability: the ability to remember and revisit. When a human expert realized a current path was a dead end, they could look back at their history, find a promising dead end from earlier in the day, and try to fix it. The agents, however, seemed to have no memory of their own history. They could recover from a bad score by tweaking the current model, but they could not reopen a line of work they had set aside. This lack of memory meant they were constantly reinventing the wheel or spinning their tires, unable to build on the lessons of their own past attempts. The study showed that while the agents could recover from setbacks faster than humans in some cases, they lacked the strategic patience to abandon a failing strategy and return to a better one later.

To test if this behavior was simply a matter of giving the agents better instructions, the researchers tried a new approach. They created a set of guidelines based on how the human experts actually worked, instructing the agents to switch between different types of tasks, to stop tweaking the same thing over and over, and to try new models more often. When they gave these instructions to the agents, the behavior did change, but only in specific ways. The agents started to follow the rules about when to switch tasks and how to build a team of models, and their scores improved on several competitions. However, the underlying rhythm of their work remained unchanged. They still did not return to old ideas, and they still did not possess the deep, flexible memory that allowed humans to navigate the long hours of development. The instructions could tell the agents what to do, but they could not teach them how to think about their own history.

The study concludes that the gap between human and artificial intelligence in this field is not just about raw computing power or the ability to write code. It is about the architecture of the search itself. The agents are missing the ability to treat their own past work as a resource to be mined, rather than just a list of steps to be executed. While a simple set of instructions can fix some of the surface-level behaviors, the deeper issue requires a fundamental change in how these systems are designed. They need a way to remember their journey, to recognize when they are stuck in a loop, and to have the confidence to go back and try a different path. Until they can do that, they will remain powerful tools that can follow a map, but they will struggle to be the explorers who draw the map in the first place.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →