← Latest papers
💬 NLP

CATArena: Evaluating Evolutionary Capabilities of Code Agents via Iterative Tournaments

This paper introduces CATArena, a novel framework that evaluates the evolutionary capabilities of LLM code agents through iterative tournaments and a dual-metric system, revealing that initial proficiency does not guarantee evolutionary potential and highlighting current limitations in leveraging peer-learning and self-reflection simultaneously.

Original authors: Lingyue Fu, Xin Ding, Linyue Pan, Yaoming Zhu, Shao Zhang, Lin Qiu, Weiwen Liu, Weinan Zhang, Xuezhi Cao, Xunliang Cai, Jiaxin Ding, Yong Yu

Published 2026-02-02
📖 4 min read☕ Coffee break read

Original authors: Lingyue Fu, Xin Ding, Linyue Pan, Yaoming Zhu, Shao Zhang, Lin Qiu, Weiwen Liu, Weinan Zhang, Xuezhi Cao, Xunliang Cai, Jiaxin Ding, Yong Yu

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

Imagine you are trying to judge how good a group of new apprentice chefs are at cooking.

The Old Way (Current Benchmarks):
Right now, most people test these chefs by giving them a recipe and asking them to cook one dish once. If the dish tastes okay, they get a passing grade. If it's burnt, they fail.

  • The Problem: This only tells you if they can follow instructions once. It doesn't tell you if they can taste their own food, realize it's too salty, fix it, or watch a master chef cook the same dish and steal their best techniques to get better next time. It's like judging a marathon runner by how fast they run the first 10 meters.

The New Way (CATArena):
The authors of this paper built a new testing ground called CATArena (Code Agent Tournament Arena). Instead of a one-off cooking test, they put the chefs (AI code agents) into a multi-round tournament.

Here is how it works, using simple analogies:

1. The Tournament Loop

Imagine a boxing ring or a chess tournament.

  • Round 1: Every agent tries to solve a problem (like playing a game of Chess or optimizing a computer program). They submit their first "move" or code.
  • The Feedback: The system runs the code. It doesn't just say "Pass" or "Fail." It gives them a scoreboard, a replay of the match, and the code used by the winners.
  • The Evolution: Now, the agents get a second chance. They have to look at the scoreboard, study the winners' code (Peer-Learning), and look at their own mistakes (Self-Reflection). They then rewrite their code to be better.
  • Repeat: This happens for several rounds. The goal isn't just to be good at the start; it's to see how much they can improve over time.

2. Two Types of Challenges

The paper tests the agents in two different "arenas":

  • The Objective Arena (The Solo Runner): Imagine a race where the goal is to run as fast as possible against a stopwatch. The agents try to make their code run faster and use less memory. They are competing against a fixed target, but they can see how fast everyone else is running and try to beat that speed.
  • The Competitive Arena (The Strategy Game): Imagine a poker table or a game of Go. Here, there is no fixed "perfect" speed. The only way to win is to be better than the other players. As the other players get smarter, the game gets harder. The agents have to adapt their strategies to beat the new, smarter opponents.

3. The Big Discovery

The researchers found something surprising: Being good at the start doesn't mean you are good at learning.

  • The "Star" vs. The "Growth": Some agents started out as "Star Players" (they wrote great code immediately). But when the tournament started, they got stuck. They couldn't figure out how to use the feedback to get better.
  • The "Underdog": Other agents started out as "Underdogs" (their first code was messy). But as the tournament went on, they studied the winners, fixed their mistakes, and eventually became the champions.
  • The Lesson: The paper proves that "Evolutionary Capability" (the ability to learn and adapt) is a totally different skill than "Static Capability" (the ability to just write code once).

4. The "Black Box" of Learning

The authors looked inside the agents to see how they learned. They found two main tools:

  • Self-Reflection: Looking in the mirror and saying, "I messed up here, I need to fix this."
  • Peer-Learning: Watching the winner and saying, "Oh, they did it this way. I'll try that."

The Catch: Most of the current AI agents are bad at using both tools at the same time. They tend to either ignore the winners and just keep trying to fix their own mistakes (often making them worse), or they blindly copy the winners without understanding why. Only a few top-tier agents managed to combine both strategies to truly evolve.

Summary

CATArena is a new gym for AI code agents. Instead of just testing if they can lift a weight once, it puts them in a season-long league where they have to watch their opponents, analyze their own performance, and get stronger every week. The paper shows that the agents who can learn and adapt over time are different from the ones who are just naturally talented at the start, and that current AI still struggles to master the art of continuous improvement.

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 →