---
id: 18060
lang: en
title: "Qwen3.5-27B rewrote its own weights and now solves 63.8% of tasks, up from 57.2%"
published_at: "2026-11-24 14:33:20"
source_name: "Neurohive"
source_url: "https://neurohive.io/ru/papers/self-rewriting-metod-samoobnovleniya-vesov-pozvolil-qwen3-5-27b-stat-tochnee-na-6-6-punkta-bez-doobucheniya/"
canonical_url: "https://news.hamidun.com/en/news/18060"
categories: ["llm", "research"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# Qwen3.5-27B rewrote its own weights and now solves 63.8% of tasks, up from 57.2%

> **Краткая суть (BLUF):** Qwen3.5-27B (27 billion parameters) found the cause of its own errors and corrected its weights with a short Python program, without any fine-tuning. Its answers often ran out of the token limit, and after the fix, its share of correct solutions on 1,000 hidden math problems rose from 57.2% to 63.8%. The smaller 2B, 4B and 9B models could not do this. The takeaway: self-correction requires a large model and checking every edit on held-out tasks.  • It repaired a deliberately corrupted copy: on image tasks, accuracy rose from 7.3% to 70.2% • A session runs up to 3.5 hours on a single GPU, and the finished fix does not slow down answers • The authors have not published the code or session logs, so the result cannot be verified

Imagine a programmer colleague who suddenly realizes why his reports keep "freezing," opens his own code and fixes a couple of lines. That is roughly what the language model Qwen3.5-27B (27 billion parameters) did. Researchers from six American universities gave it access to a copy of its own weights, meaning the numbers that make up its "memory," and asked it to figure out for itself why it was making mistakes. The model found the cause, wrote a short Python script and changed the relevant numbers. Afterward, it correctly solved 63.8% of the test math problems, up from 57.2%. The test consisted of 1,000 problems from the DeepScaleR set, which the model had not seen during the session.

Importantly, this is not fine-tuning: gradients and the optimizer are disabled in the experiment, and the model only performs ordinary arithmetic with matrices. But the method has a condition: smaller models from the Qwen family could not handle the same task. For those building agents, this is the main practical lesson.

## How the model fixes itself

The session is launched by the researchers, not by the model itself. They run it on training tasks, show it its errors, and grant access to the weights through Python. In a regular chat there is no such access, and the statement "the answer is wrong" will not change the model.

From there, it works in three steps. First, it divides its answers into two groups, for example 20 completed and 20 cut off at the token limit. Then it compares the internal states of the layers across these groups and finds the layer where the difference is most pronounced. Finally, it writes code that slightly shifts the weights of that layer and checks the change with a paired test: the same tasks, the same seeds, before and after. If the result gets worse, the change is rolled back and the model tries a different layer or a different value.

The session budget was 20 forward passes, 200 code runs and 3.5 hours on a single GPU. The working weights are not modified during this; the fix is stored separately. The cost is closer to ordinary inference than to training, and the finished fix does not slow down answers.

It turned out that Qwen3.5-27B's problem is not with its logic. At a 4,096-token limit, 80.5% of answers were cut off, yet 96% of the completed ones were correct. The model reasons correctly but does not know when to stop. In one example, the original model repeats a single phrase 549 times until it hits the 16,384-token limit, while after the fix it solves the same problem in 5,341 tokens.

In the first series, the model decided on its own whether to submit a fix: it removed 5% of the found direction from two matrices of layer 8, and accuracy rose from 57.2% to 58.3%. In the second series, each fix was checked on 256 hidden tasks before submission. The best result came from session 8: the model added 0.5 to the time-step bias parameter in all 48 layers with linear attention. In its explanation, such layers forget old information faster, so a long chain of reasoning gets stuck less often. The share of truncated answers fell from 33.6% to 26.1%, and accuracy reached 63.8%. Of the eight sessions, a fix was submitted in only three; in the other five, the model withdrew it itself.

## Repairing a deliberately corrupted copy

In the second experiment, the authors broke a copy of the model: in one layer, they replaced eight rows of a matrix with noise 200 times stronger than typical values. The copy stopped solving text tasks. The model was only told that some of its weights were damaged, but not where.

The first guesses were rejected by the tests. The model then computed, for each matrix, the ratio of its largest weight to its median weight: in the damaged one it was 1,397, while in the others it did not exceed 162.3. The repair fit into a single rule: clip weights that are more than 15 medians. Accuracy on text tasks recovered to 33.0%, versus 58.5% for the original.

The image results were the most interesting. There were no images in the session, but on 600 tasks from six benchmarks (MathVista, MathVerse, MMStar, HallusionBench, POPE and ScreenSpot-v2), the repaired copy's share of correct answers rose from 7.3% to 70.2%, against 84.3% for the original model. This means the fix removed the breakage itself rather than tuning the model to text tasks.

## Why the smaller models failed

Models with 2, 4 and 9 billion parameters received the same assignment, the same tools and the same limits. The results:

- The 2B model did not complete a single step: 90% of its code ended in errors, and in one answer the model claimed it had no real weights;
- The 4B model checked fixes but did not read the internal states, added random noise, and ended up modifying 240 tensors;
- The 9B model checked fixes on tasks it could not solve anyway, so the tests could not reveal any degradation, and it submitted a fix that dropped accuracy from 47.5% to zero.

The authors' conclusion: with size, what grows is not the ability to write fixes but the ability to build an experiment around them: first measure, then verify, then act on the result.

## What to keep in mind

The work is preliminary. Both successful fixes address the same error, answers cut off at the token limit, and it is unclear whether the method can handle incorrect reasoning. The fixes were only tested on math from DeepScaleR; they were not run on third-party benchmarks, so it is unknown whether they broke anything else. Each session starts from the original weights, so recursive self-improvement is still far off. The corrupted-copy experiment is artificial: the authors chose the type and strength of the noise themselves. And the assignment suggests the order of actions and provides a ready-made function for removing a direction from a matrix.

The code, session logs and the fixes themselves have not been published, so the results cannot be independently verified. A model that modifies its own weights requires a separate safety review: the authors explicitly write that each such version must be verified before use. For agent developers, the takeaway is simple: the ability to self-correct depends on experimental discipline, and so far only a large model has demonstrated it.

---
- **Первоисточник:** [Neurohive](https://neurohive.io/ru/papers/self-rewriting-metod-samoobnovleniya-vesov-pozvolil-qwen3-5-27b-stat-tochnee-na-6-6-punkta-bez-doobucheniya/)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18060
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
