Smash Notes

Back to Academia is for Ambition — Alex Zhang, MIT, with Alex Zhang & Vibhu Sapra.

Why Do AI-written Kernels Fail in Real Systems?

Alex Zhang · Shawn Wang · Vibhu Sapra

Alex Zhang says almost all recent solutions on the GPU Mode leaderboard are generated by AI, including work from people with no background in kernel writing. The only kernel in the top 10 that stayed stable in an actual end-to-end system came from a regular GPU Mode member who steered the model.

On a lot of the recent GPU Mode problems, almost all the solutions are AI generated. A regular member, known for a long time as a very strong GPU kernel writer, used AI to help with the solutions. For the most part he prompted the model and moved it in certain directions. The kernel was basically the only one in the top 10 that stayed stable in actual end-to-end systems. GPU kernels have a verification problem, known since kernel bench was released, and a lot of reward hacking goes on. The lines of code are a lot smaller, and the difference is important.

There is still a lot of alpha in being good at bringing GPU kernels. A top leaderboard score and a kernel that stays stable in an end-to-end system are different results.

Transcript

Academia is for Ambition — Alex Zhang, MIT ·

From the transcript

And then we've seen other competitions where people are like setting records and they're like, we're doing some auto research loop. And these are people that don't have a background in any kernel writing, right? Yeah. So even on the GPU mode leaderboard, if you look at like a lot of the recent problems, almost all the solutions are AI generated.

However, you'll notice on the leaderboard, so there's this guy named Gal Nurse, who's like a very, very like regular member of GPU mode. We've always known for a long time that he's, like, a super, super cracked, like, GPU kernel writer. One thing we discovered on this leaderboard is, like, almost every... He also used AI to help him with these solutions, but for the most part, like, he helped prompt and move it in certain directions.

See in transcript

Latent Space: The AI Engineer Podcast

More from this episode

  1. Why Can One Expert Erase a Trillion Tokens of Search?Alex Zhang says one person who knows a problem can erase a huge token search.
  2. Why Does Matrix Multiplication Make a Speed of Light Easy?Alex Zhang says matrix multiplication makes it very easy to compute a speed of light estimate of the fastest GPU kernel, while the same kind of estimate is…
  3. Why Is a Puzzled Reaction a Good Sign for a Paper?Alex Zhang says a puzzled reaction is a good sign for a paper, because it means people are not thinking about what the work is for.
  4. What Is Academia for If Industry Has the Resources?Alex Zhang says academia is for big bets that an industry lab will not take. Doing that work in academia is hard.
  5. What Does the Language Model Game Benchmark Test?Alex Zhang's benchmark on language models playing video games asks whether vision language models are good enough at plugging into games with the latency…
  6. What Is a Language Model Harness?Alex Zhang treats a harness as the choices that let a language model solve a task, and raises whether a language model can just do the task on its own.
  7. Why Do Most Coding Harnesses Not Matter?Alex Zhang says the Harness Tax paper, which he thinks is by Arena, confirms a prior he already held: most harness choices do not matter because the harnesses…
  8. What Is a Recursive Language Model?Alex Zhang says a recursive language model, an RLM, is a harness whose only tool is code. He wishes that definition had been in the original paper.
  9. How Does Prime Agent Limit Tools to IPython?Alex Zhang describes Prime Agent as a harness on top of Pi Mono, the minimalist harness he uses as the reference for other coding harnesses.
  10. How Public Is OpenAI's Agent Spend?Shawn Wang says the amount OpenAI has spent on agents is semi-public.
  11. Why Is Sakana Different From OpenAI?Alex Zhang says Sakana is different from OpenAI because it is a research lab, closer to a PhD group than a company with a model everyone uses.
  12. Is the AI Capability Overhang Real?Alex Zhang agrees, in some sense, that the capability overhang is real.
  13. What Makes a Research Cold Email Fail?Alex Zhang answers a cold email when the writer shows up with a strong opinion, and he treats “I really like RLMs, I wanna work together” as a bad reach-out.
  14. How Do You Pick a Research Idea Worth Chasing?Alex Zhang chooses which research idea to chase from about 10 or 15 different ideas he wants to do, and most of them are bad.

People

More answers like this

The other side

More with Shawn Wang

Related episodes

Plays from this note through the rest of the episode.

Weekly highlights

One letter a week.

The notes worth hearing, with the minute they were said.