← Latest papers
💻 computer science

Compete Then Collaborate: Frontier AI Teachers Build a Verifiable Curriculum to Improve a Coding Student Beyond Imitation

This paper introduces a "compete-then-collaborate" framework where frontier AI models are ranked via execution-based verification to jointly construct a curriculum that, when used for reinforcement learning with verifiable rewards, significantly improves a coding student's performance on hard problems, whereas traditional imitation learning on the same solutions degrades it.

Original authors: Miseong Shawn Kim

Published 2026-07-10
📖 4 min read☕ Coffee break read

Original authors: Miseong Shawn Kim

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 a coding classroom where four superstar teachers from different tech giants—let's call them the Anthropic, OpenAI, xAI, and Google squads—are hired to teach a single, very smart student (a model named Qwen2.5-Coder). The goal? To see which teacher is the best and how to combine their lessons to make the student a coding wizard.

The researchers set up a giant, high-stakes coding tournament. Instead of letting the teachers grade each other (which often leads to them giving each other A+ for just being friends), they used a strict, robot-like referee: the computer itself. If the code the teacher wrote actually ran and passed the hidden tests, it was a win. If it crashed, it was a loss.

The Tournament: Who's the Best Teacher?

First, the teachers faced off on two types of challenges:

  1. The Easy Stuff: Standard coding problems. Here, all four teachers were so good that after a little "self-correction" (getting a second chance to fix mistakes), they all scored nearly perfect 99–100%. The paper suggests this isn't because they are all equally geniuses, but because they've all seen these specific problems before in their training data. It's like a student acing a practice test they've already memorized.
  2. The Hard Stuff: Tricky, competition-level problems. This is where the real differences showed up.
    • Gemini took the lead, solving 77% of the hard problems.
    • Claude and Codex (OpenAI) were neck-and-neck, both solving 69%.
    • Grok trailed behind at 50%.

The paper is careful to note that while Gemini led, the gap wasn't massive, and the ranking is based strictly on what the code did, not what the teachers said they did.

The Big Surprise: Copying the Teachers Actually Hurts

Here is the twist that breaks the usual rules of school. Usually, if you have a bunch of smart teachers, you think the best way to learn is to copy their homework. The researchers tried this: they took the verified, working code from all the teachers and had the student model simply imitate it (a method called SFT).

The result? The student got worse.

  • On standard tests, the student's score dropped from 76.7% to 72.7%.
  • On the hard competition problems, it plummeted from 5.9% to 2.9%.

The paper argues that for a student who is already competent, just copying the answers doesn't help; it actually confuses them. It's like a talented basketball player trying to learn by watching a highlight reel of four different pros and then trying to mimic their moves all at once—it just messes up their own rhythm. The "knowledge conflict" of trying to be everyone else made them worse at being themselves.

The Winning Strategy: Learning by Doing, Not Copying

So, if copying fails, what works? The researchers tried a different approach called RLVR (Reinforcement Learning with Verifiable Rewards).

Instead of handing the student the teachers' final answers to copy, they used the teachers' verified problems as a practice field. The student was allowed to try solving the problems on its own.

  • If the student's code ran and passed the tests, it got a "reward" (a high-five from the computer).
  • If it failed, it got no reward and had to try again.

This worked!

  • The student's score on the hard competition problems jumped from 5.9% to 8.8% at its peak.
  • That's a 49% relative improvement.

The paper suggests that the value of having multiple teachers isn't to pool their answers for the student to copy, but to build a massive, verified "gym" where the student learns by doing the work and getting feedback on whether it actually works.

The Bottom Line

The paper concludes that while we can rank these AI teachers based on how well their code runs, the real magic happens when we stop asking the student to imitate the teachers and start using the teachers' work to create a challenging environment where the student learns through trial and error.

It's not about having the smartest teacher in the room; it's about building a playground where the student can practice, fail, get a clear signal on what went wrong, and try again until they succeed. The researchers released all their code and data so anyone can run these tests themselves and see that the numbers hold up, proving that sometimes, the best way to learn is to stop copying and start doing.

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 →