Baidu Announces ERNIE Evolve Automated Research System for AI Code Optimization
Baidu has announced ERNIE Evolve, an automated research system that improves AI training and inference code, increasing ERNIE-5.5-Flash throughput by 33.7% on GPUs [1, 2].
2 min read
What Happened
Baidu has announced the release of ERNIE Evolve, an automated research system designed to improve AI training and inference code. The system works by taking a code repository, a specific objective, and evaluation criteria to pick research directions, edit code, and run experiments [1].
According to Baidu, the system operates using two nested loops. The outer loop determines which areas to investigate, while the inner loop develops and tests specific improvements within those directions [1]. To ensure quality, the system only keeps code changes that pass a hidden evaluator and a separate reviewer [1, 2]. Several research lanes run in parallel, each maintaining its own tree of code versions. The system also records failed experiments so that future rounds can avoid repeating mistakes [1].
Baidu tested the system on three public benchmarks: NanoChat AutoResearch, NanoGPT Speedrun, and SOL-ExecBench [1]. The company reported the following results:
- On the NanoGPT Speedrun, ERNIE Evolve achieved a time of 38.9 seconds, which beat the previous record of 39.9 seconds [2].
- The system came close to the best results on the third benchmark [2].
- Baidu noted that the Recursive and Hyra-1.0 Speedrun times were not like-for-like comparisons because they were set against an older record of approximately 79.7 seconds [1].
- Baidu has not yet submitted the NanoGPT run to the official leaderboard [2].
Baidu also applied the system to three live engineering tasks for ERNIE-5.5-Flash, a model that is still in development [1, 2]. The results for this model included:
- A 33.7% increase in throughput on GPUs that had already been tuned by engineers [1, 2]. This improvement was achieved in about three days [2].
- A speed increase of more than sixfold on Kunlunxin P800 chips [2]. However, China AI Dispatch noted that this figure includes switching on features the chip setup was not previously using, meaning it is not a like-for-like comparison with the GPU results [2].
Baidu described this as a step toward recursive self-improvement (RSI), where AI systems improve the software used to build and serve other AI [1].
Who Is Affected
This technology is relevant to the field of AI development. Baidu plans to use ERNIE Evolve for model training in the future and eventually aims to have the AI design its own tests [2]. Baidu stated that this self-improvement must remain under human control, noting that the system’s scope should only grow as long as humans can understand, supervise, and stop it [2].
About the author
Ali Raza, Founder
Sources
Drafted with AI assistance from the reports above and checked automatically for sourcing. Always confirm dates, fees and requirements on the official website before acting. Report an error · How we correct mistakes
Questions or something to add?
Ask below. We read every comment and reply when we can.