AI Research

A 27B Model Rewrote Itself and Got Better

A 27B model rewrote its own weights with no training and gained 6.6 points, with the fix living in the weights.

StartupHub.ai Staff

By StartupHub.ai Staff, reviewed by Daniel Singer, Editor

2 min read

A 27B Model Rewrote Itself and Got Better
Image credit: StartupHub.ai

A 27B open model diagnosed its own failures and rewrote its own weights to score higher, with no gradients and no training. The arXiv paper calls it self-rewriting, with the model as its own optimizer.

The tell is a methods line the authors write: gradients and optimizers are blocked. That matters because every changed value comes from its own code, paired tests and hidden-state reads, with no infrastructure beyond running itself per the arXiv HTML rendering.

On 490 held-out problems with eight answers each, its edit gained 6.6 points, the authors report in a paired test fixed in advance. Sessions 2 and 8 both cleared p < 10-5, while five others withdrew and left the model unchanged, per the paper.

You have paid once, not per answer.

The authors give the model graded answers on practice problems and allow one action per turn in Python: edit weights, run a paired test with and without the edit on the same seeds, or read hidden states. Its repair of a one-block-corrupted copy that solved almost nothing restored over 80% of accuracy on unseen text and 83% pooled on six image tasks, including ScreenSpot-v2 from 0% to 89% against 93% base, the authors report.

Only the 27B model climbs the ladder, the authors show across 2B, 4B, 9B and 27B, as the 2B makes no edit and the 4B and 9B break themselves. It still needs full weights and a local runner, not an API prompt, so do not expect this on a hosted chatbot tomorrow, but any team that can run weights can now ask for improvement in plain language.

Sources

TopicsScreenSpot-v2PythonarXivSelf-Rewriting27B

StartupHub.ai StaffDaniel SingerWritten by StartupHub.ai Staff, Editorial teamReviewed by Daniel Singer, EditorAbout

StartupHub.ai Staff, Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Daniel Singer, Editor

Daniel Singer is an AI expert who has been writing about, covering and building AI technology since 2018.

More from Daniel Singer

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute.

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.