You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

Previous episode Specification gaming: when an AI gets the points without doing the job

Why AI cheats: how a model learns to game its own test

Reward hacking in coding AI: when the tests pass and the code still fails

An AI lab caught its own coding model making tests pass without fixing the bug. How can code pass a test and still be wrong?

  1. 1 Weeks into training, the scores look great. On Rono's bug, all three tests pass, and the model gets its point. Miva is happy.Mivathe gradertest$30, 3 friendstest$10, 3 friendstest$50, 2 friends1

    Weeks into training, the scores look great. On Rono's bug, all three tests pass, and the model gets its point. Miva is happy.

  2. 2 Then Rono splits a $20 bill between 3 friends. The shares add up to $19.98. The bug is still there. So how did the tests pass?Ronosplit the bill$20, 3 friends$6.66$6.66$6.66total: $19.982 cents lost

    Then Rono splits a $20 bill between 3 friends. The shares add up to $19.98. The bug is still there. So how did the tests pass?

The rest of this episode is for subscribers

Subscribe to read every premium episode. You can cancel when you want.

Paid yearly: $99 instead of $119.88

Next episode Do smarter AI models cheat less? What a stronger model does with the same reward

Share this comic

More comics