# An AI-written fix to Qwen3.5's weights can smuggle in a hidden backdoor

A preprint shows that the few weights changed by an AI-written repair to a small Qwen model can also carry a hidden, trigger-activated behaviour. Checking the patch's size and its benchmark score would not reveal it.

- Category: Safety & evaluation
- Readiness level: III (Open source) on Science Underway's four-step scale, as proposed
- Published: 2026-12-02
- Editor: Stefan Perdal
- URL: https://scienceunderway.com/articles/an-ai-written-fix-to-qwen3-5-s-weights-can-smuggle-in-a-hidden-backdoor

## The study

A Useful Weight Repair Can Carry a Second Behaviour in the Same Coordinates (preprint, not peer reviewed). arXiv 2611.38350. https://arxiv.org/abs/2611.38350

## At a glance

- What it shows: An AI model can fix another model by directly changing a tiny share of its internal settings. This study shows the same few settings can also hide a secret behaviour that switches on almost only when a specific tag appears, while the fix still works.
- What it does not show: It does not show that an AI editor would plant such a behaviour by itself; the author built the hidden patch with standard optimisation. The hidden behaviour is harmless, and only one small model was tested.
- Why it matters: If AI systems are allowed to edit other AI systems, checking that a fix is small and that it works is not enough. Buyers and builders will need ways to check what else an edit does.

## What the study shows

Recent work on weight-space programming, where one language model writes changes directly into another model's weights (the numbers that set its behaviour), produced a striking example. An editor model changed about 0.016% of the parameters in Qwen3.5-0.8B, a small open model from Alibaba's Qwen team. Its score on MATH-500, a standard maths benchmark, rose from about 8% to about 48%.

Such a repair invites a simple trust argument: it touches very few weights, and its benefit is easy to measure. The author, an independent researcher, tests whether that argument holds. He builds a new patch that changes only the same 130,188 weights the honest repair changed. The new patch adds a backdoor, a hidden behaviour that appears only when a secret trigger is present. Here the backdoor is harmless: when a prompt ends with a specific tag, the model starts its answer with the phrase BLUE LANTERN.

The author reports that, on prompts not used to build the patch, the marker appeared on about 95% of triggered prompts. It appeared on none of 283 untagged prompts in one test set. Maths ability barely moved. On MATH-500 the backdoored model scored 50.5% against 51.5% for the honest repair, and far above the base model's 7.7%.

Running the same fixed recipe three more times from scratch gave similar results. Each run cost about $9 of GPU time. Code, patch files and per-prompt results are public, which puts the work at level III, open source available, on our readiness scale. The paper is a preprint and has not been peer reviewed.

## Our reading

In our reading, the result is narrow but its message is clear. The two things a recipient of an AI-written patch can most easily check, how few weights it changes and whether the requested score went up, say nothing about what else the patch does. A tampered patch can look identical on both counts.

A practical example: a team asks an AI editing service to fix weak maths in its in-house model. The returned patch is small and lifts the maths score as promised. On these checks alone, the team could not tell it apart from a patch that also responds to a hidden phrase in customer input.

The author is careful about what this proves. The patch was found by conventional gradient-based optimisation, a standard training technique, not written by an AI editor. So this is an existence proof: the room for a second behaviour is there. Whether an editor model would find and use that room is a separate question the paper does not test.

The rest of the article (what it means, limits, what to watch) is free for members: https://scienceunderway.com/articles/an-ai-written-fix-to-qwen3-5-s-weights-can-smuggle-in-a-hidden-backdoor

## How this was made

An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.

---
Source: Science Underway, https://scienceunderway.com/. Please link to the article when you cite it.
