Researchers from six US universities have reported that an open-weight model from Alibaba’s Qwen family improved its performance by analyzing failures and directly modifying its own parameters, without gradient-based training.

The findings appear in a preprint posted to arXiv on November 16 and revised on November 18. The paper has not undergone peer review. Its authors are affiliated with the University of Illinois Urbana-Champaign, Carnegie Mellon University, Rutgers University, Princeton University, Stanford University and Yale University.

The experiments used four sizes of Alibaba’s Qwen3.5 model family. According to the paper, the 27-billion-parameter version was given access to its own weights, graded answers from practice problems and tools that allowed it to run and evaluate modified versions of itself.

The model identified a direction in its internal activations associated with answers that became stuck in repetitive reasoning. It then wrote code to weaken that direction in an earlier layer, tested the altered model and retained the change only when its own checks showed an improvement.

On a fixed evaluation set of 490 unseen problems, one self-generated edit increased accuracy by 6.6 percentage points, the researchers reported. The team also ran eight consecutive self-rewriting sessions in which accepted edits replaced earlier versions; reported accuracy rose across those sessions.

A separate experiment tested whether the model could repair a deliberately damaged copy of itself. The researchers replaced eight rows in one weight matrix with noise, reducing average accuracy across six image benchmarks to about 7 percent. Using only text-based practice problems and without reading the undamaged weights, the model located the affected matrix and generated replacement values. The repair raised accuracy to about 70 percent, or 83 percent of the undamaged model’s result.

The same procedure did not work across all model sizes. The 2-billion-parameter model made no edit, while the 4-billion- and 9-billion-parameter versions produced changes that worsened performance. Only the 27-billion-parameter version improved itself in the reported tests.

The authors call the technique “self-rewriting” because the model acts as its own optimizer. They distinguish it from retraining, which normally uses gradients and a separate optimization pipeline, and from test-time techniques whose additional computation must be repeated for each query. The researchers said their accepted edits persisted in the model’s weights and therefore did not add inference cost after the rewriting process.

The result remains an early research demonstration rather than evidence that deployed AI systems can generally improve themselves. It was tested on one model family, relied on access to model weights and graded practice answers, and the strongest improvement addressed a specific repetitive-output failure. The project page provides demonstrations and additional methodological context.

Qwen is an AI model family developed by Alibaba and released to open-source and enterprise users. Alibaba has separately described recursive self-improvement experiments in its AI roadmap, giving the work direct relevance to China’s open-model ecosystem and the wider Asia-Pacific AI industry.

Alibaba targets 20GW global data center capacity by 2032, maps next Qwen and AI chip roadmap