ByteDance’s Creative AI Team Uses an Agent to Improve Its Research Framework

The team reports a Kaggle gold result while improving experiment selection, feedback and reproducibility. Fixed evaluations and human review remain in place, and live competition results are distinct from historical medal-threshold comparisons.
ByteDance’s Creative AI team within its international commercialization organization has used a research agent at two levels: searching for algorithmic solutions and improving the research framework itself. According to the team’s account relayed by Xi Xiaoyao Tech Talk, the framework placed 18th, in the top 0.3%, earning a gold medal in the Kaggle RSNA Knee Abnormality Detection competition.
The more useful question is how the next research task benefits from previous experience. The team lets the agent revise experiment selection, records and feedback mechanisms while retaining fixed evaluation tasks and budgets, with human review determining which changes enter the main branch.
For several months before entering the competition, the team had the agent work on improving its own research framework, rather than the model for one particular competition task. Could it use experiments to improve how it designs experiments and judges their results?
1. Treating automated research as an optimizer
Improving a score is a simple, shared ambition among algorithm engineers. But getting from an idea to a real improvement usually involves repeated trial and error: some approaches do not work, some training runs crash, and even a hard-won gain must be checked to see whether it is just random variation.
Coding agents can already read and modify code and run experiments. The team wanted to go further: could an agent organize those attempts into a continuing research process, propose approaches, analyze results and decide where to go next?
AutoResearch links proposals, code changes, experiments and comparisons in a loop. People specify the objective, constraints, editable code and resource budget; the agent then explores parameters, architectures, loss functions or training implementations.
It is described as an optimizer because each result informs the next search step. The changes concern research processes and code, not evidence that the underlying language model autonomously updates its own weights.

The early framework organized research directions as an experiment tree. Each node was an experiment, recording its starting version, hypothesis, actual changes and results. The next round did not always have to start from the highest score: the agent could pursue an evidence-backed approach or return to an earlier fork to explore a less-tested route.
Once the framework was running, a new bottleneck emerged: experiments could run automatically, but selecting experiments still depended heavily on human-designed rules. If those rules kept the agent making small tweaks around the current best score, more compute might simply produce more similar experiments. The team therefore turned the research framework itself into an optimization problem.
2. Letting the optimizer improve itself
The team added an outer loop: the inner loop addresses an algorithmic task, while the outer loop compares research frameworks. Both run the same agent code, but their objectives and editable targets differ.

Both layers run the same agent code. The inner layer receives a specific task, proposes approaches, edits code and runs experiments. The outer layer receives the research framework’s code and proposes and implements candidate changes. Each candidate framework starts from the same point and completes a fixed task set under the same budget. The comparison is based on what it actually achieves. The answering method can change; the questions and scoring rules cannot.
Changes that pass evaluation and human review can enter the main branch. The updated main branch can tackle the next research task and drive the next round of framework improvements. This is the team’s practice of RSI, or recursive self-improvement: the optimizer improved in this round helps improve the next generation of optimizers.
What did the framework actually change over these months? Here are two examples.
One change removes the automatic link between a single score improvement and more budget. Different random seeds estimate normal variation. Small gains within that range are recorded but receive less weight in ranking and search rewards.
Additional confirmation experiments are reserved for results that could change the choice of best candidate. The aim is to reduce the influence of lucky runs, rather than discard every small improvement.
A second change binds results to code versions and experiment configurations. When candidates start from different points, a score alone does not reveal the effect of a modification. Linked records make the original run traceable without reconstructing it from several conversations.
After a batch of experiments, the framework briefs the agent on what actually ran, what evidence remains missing and whether the best result surpassed the current leading approach. The agent then decides whether to fix the implementation, add a validation run or pursue an evidence-backed direction further.
3. From the top 5% to gold
Before Kaggle RSNA, the team tested the framework in another real competition: the ARC White-Box Estimation Challenge, organized by the Alignment Research Center and AIcrowd. Participants read the weights of randomly initialized ReLU multilayer perceptrons and estimated each neuron’s mean post-ReLU activation under a fixed compute budget. The framework designed algorithms around estimation accuracy and computational cost, finishing approximately in the top 5%.
After the ARC competition, the team found that a codebase-plus-Skill setup still limited what could change. Experiment submission, logging and evaluation were editable, but the existing agent runtime largely controlled when feedback arrived and what information was visible.
The team therefore turned those runtime rules into modifiable, evaluable code, allowing the outer loop to compare feedback mechanisms as well.
To do that, the team built on the open-source coding agent Pi to create Iterate-Pi.
Previously, a Skill instructed the agent to consult the experiment ledger, but whether and when it did so remained up to the agent. With Iterate-Pi, the framework can proactively deliver information during execution. For RSI, that means it can do more than rewrite a reminder to check the ledger: it can change how the ledger is updated and when reminders appear, then test both approaches experimentally.
The framework also presents comparisons with both a candidate’s own starting point and the current best solution. A route improving from 85 to 89 remains below a best score of 90, yet its four-point gain may justify further study. Evidence and budget still determine whether to continue.
For 21 MLE-bench Lite tasks, the team compared each task’s historical best private-leaderboard score with the original competition’s medal thresholds: 20 reached a medal threshold, including 17 gold, two silver and one bronze. These are retrospective benchmark comparisons, not medals earned in 20 live competitions.
The team then entered the real RSNA competition using a framework version that had not been selected on that problem. In the team’s reported account, the agent handled research, method selection, implementation and experiments, finishing 18th, approximately in the top 0.3%. AINRK did not independently verify the final competition leaderboard.

4. What carries over to the next task?
The competition version also becomes a starting point for later work: it can tackle another standardized task or propose further framework changes, subject to the same fixed evaluations and human review.
The team next wants to test whether an agent can propose a method without a known precedent that withstands independent verification. That remains a future goal; existing competition results do not establish that novel algorithm discovery has already been achieved.
Edited by AINRK using the original Xi Xiaoyao Tech Talk report. The official MLE-bench documentation (opens in a new tab) explains retrospective competition evaluation; it does not independently validate all results reported by this team. Accurate experimental details are retained, with original images and code unchanged.
Related topics
After reading
Join the AINRK community
Read how to join the community and connect with people working in AI.




