Skip to content
All articles
Law & regulation 9 min read· by Lars Zimmermann

AI rewrites model weights: is it still the same model?

One AI changes 0.016 per cent of another model’s weights and a maths score jumps from 7.9 to 48.1 per cent. What follows for provider role and integrity?

In short

MIT CSAIL researchers have shown that one language model can rewrite another model’s weights in a targeted way, without training. For your business, a model with the same name may behave differently. Whoever changes weights can become a provider under Article 25 of the EU AI Act. Only the checksum secures identity; changes belong in contract, approval and log.

Auf Deutsch lesen: deutsche Fassung

Same name. Same architecture. Same file size. Of roughly 800 million weights, 131,072 are different, which is 0.016 per cent. Afterwards the model solves 48.1 instead of 7.9 per cent of the problems in the MATH-500 maths test. No developer changed the numbers, and no training run did. Another language model read them, looked for the cause of a fault and rewrote the weights directly.

That is what a blog post by four researchers at MIT CSAIL reported on 2 November 2026. For a business that buys AI, it sharpens an old question. How do you know that the model running today is still the one you approved? And who carries the obligations if someone touched the weights in between? I put it into context here, status: November 2026.

The technical check of a newly delivered model file is covered in the article on incoming inspection under ISO/IEC 27090. This one is about the second step: a change to a model that is already in your house.

What the team showed, and what it did not

The authors are Rikiya Takehi, Jayden Teoh, Alex Zhang and Omar Khattab. They call the concept weight-space programming. Weights are treated like a program that you read and rewrite. The programmer is a general-purpose language model, GPT-6 Astra in the post. Gradients and training loops were excluded in the experiments.

The headlines came from experiment 8. The small model Qwen3.5-0.8B often gets caught in loops while thinking and then writes until it hits the length limit, something its model card already warns about, according to the post. Astra was given a Python environment with the weights, without a graphics processor. On top came practice problems and a budget of 10, 25 or 50 passes, in each of which the model answered up to 512 problems. Astra traced the loops to a direction produced in layers 15 and 19 and removed it from 64 columns in each of them.

The numbers have to be told with their limits. Otherwise they turn into a miracle story.

  • The big jump only came in the run with 50 passes. With 10, MATH-500 rose to 12.3 per cent, with 25 to 14.1 per cent, and only with 50 to 48.1 per cent.
  • What got fixed were loops. The share of MATH-500 answers that ended at the limit of 32,768 tokens fell from 93.0 to 33.1 per cent. No new arithmetic ability was added. The model was allowed to finish what it could already do.
  • With Gemma 3 270M, which rarely loops, the effect did not appear. MATH-500 stayed between 6.8 and 7.7 per cent in all runs, and Astra itself rated the small gain as not established.
  • From the weights alone, Astra could not tell in experiment 7 which of two Gemma models had been trained to tell the user what they want to hear. It only succeeded once it could look at the attention patterns.
  • All experiments used small models. The post is a blog without peer review, and the authors themselves speak of early sparks.

Two independent preprints from November 2026 have not been peer reviewed either. A team from Shanghai analysed 16 editing runs on two Qwen models. It found clear gains from very small interventions, but the results vary widely: in six runs the original weights were kept because no improvement could be reliably confirmed. A second preprint tested a different language model on small image networks, without tools. It describes weight reading there as local arithmetic plus prior knowledge of well-known datasets, exploratory by its own account and mostly based on single runs. In an addendum of 12 November, the MIT authors list several replications, including one at Hugging Face. I have not checked any of them.

Same name, different behaviour

For your business, a side effect is the real finding. The change was aimed at maths. Yet on IFEval, a test of whether a model follows instructions, the score rose from 21.0 to 62.3 per cent. This time it went in the desired direction. It still shows that an intervention in 0.016 per cent of the weights shifts behaviour far beyond its target. Every approval you gave for the old version no longer applies to the new one.

What is new is who finds the spot. Interpretability research has known targeted edits to weights without training for some time, using tools built for the purpose. In the MIT experiment, a general-purpose language model found the cause itself and rewrote the weights, in a Python environment without a graphics processor. The file looks the same afterwards. Name, size and model card reveal nothing.

Everyone in manufacturing knows this. A bought-in part with the same part number and a new drawing revision is a different part for goods inwards. New first article inspection, new approval. For models, the checksum of the weights file takes the role of the drawing revision. If a single number changes, the checksum changes. A model has no better fingerprint than that.

A model is the same for as long as its checksum is the same. Everything else is a name.

When a change makes you the provider

The EU AI Act, Regulation (EU) 2024/1689, distinguishes two levels: the model and the AI system it works in. On both levels a change can shift the role.

For general-purpose AI models, the Commission has issued guidelines (C(2025) 7719 of 19 November 2025). According to them, not every modification makes you a provider (paragraph 58). It takes a significant change in the model’s generality, capabilities or systemic risk (paragraph 59). As an indicative criterion, the Commission names training compute for the modification of more than one third of the original training (paragraph 60). For models without systemic risk, what counts is the compute that directly contributes to updating the parameters (paragraph 115). Whether the original provider or a downstream actor modifies the model has to be assessed case by case. An important factor may be who controls the model’s weights (footnote 13).

This is exactly where the criterion fits poorly. An edit without training needs little compute by this count and can still shift the capabilities considerably. In my reading, for such interventions the principle in paragraph 59 carries more weight than the one-third rule. The Commission itself writes that its approach may change as technology and the market evolve (paragraph 64). One limit as well: as an indicative value for a general-purpose AI model, the guidelines name more than 10 to the power of 23 operations of training compute (paragraph 17). Whether a very small model falls under it has to be clarified case by case.

At the level of the system, Article 25 of the EU AI Act is clearer. Distributors, importers, deployers or other third parties are considered providers of a high-risk AI system if they make a substantial modification to it and it remains high-risk (Article 25(1)(b)). The same applies if they change the intended purpose so that a system becomes high-risk (Article 25(1)(c)). A modification is substantial if it was not foreseen in the initial conformity assessment and affects compliance with the requirements or changes the intended purpose (Article 3(23)). A new conformity assessment is then due (Article 43(4)).

An example from a mid-sized company. A tool pre-screens job applications, which is high-risk under Annex III point 4(a). The service provider notices outliers and repairs the model directly in the weights, quickly and without training. If that was not foreseen in the conformity assessment and it affects accuracy or robustness (Article 15), it is a substantial modification in my reading. The provider with the obligations under Article 16 is then whoever made it. If you intervene yourself, it is you. For Annex III systems these obligations apply from 2 December 2027 (Article 113(c) as amended by Regulation (EU) 2026/1744).

Article 25(4) requires a written agreement between the provider of a high-risk AI system and the third party that supplies an AI system, tools, services or components for it. Since the amendment by Regulation (EU) 2026/1744, the provision also names the AI model explicitly. The agreement sets out the information, technical access and assistance the provider needs for its obligations. Since then, Article 25(2) also gives examples of what the initial provider supplies to a new provider: technical documentation, known limitations and failure modes, and targeted technical access, including for testing. Your change clauses hang on these two paragraphs.

This is my interpretation from practice. For legal advice, please turn to the appropriate professionals.

The same technique repairs and manipulates

The team showed repairs. That a tool which finds and removes a loop can just as well build in unwanted behaviour is my own conclusion. None of the sources I read measured it. The standard knows the attack anyway. ISO/IEC 27090:2026 counts altering the stored model during development and altering the model during operation as direct model poisoning (6.7.1 c and d). For high-risk systems, the EU AI Act requires measures against the manipulation of pre-trained components, which it calls model poisoning (Article 15(5)).

On detection the standard stays sober. If a model is changed during development or operation, generic attack detection can notice it (6.7.3). As countermeasures it names zero trust principles: segment and encrypt models, detect manipulation automatically, grant access only as long and as far as needed, and apply several layers of checks before deployment (6.7.4). For provenance, clause 6.11.4 recommends keeping all critical components of an AI system traceable through development, training, deployment, updates and retraining, with immutable logs of versions, deployments and security events. The provenance records should be protected against modification with cryptographic means such as digital signatures.

The authors hope, conversely, that models will one day find hidden weaknesses such as backdoors directly in the weights, without any test runs. Today that is a prospect. Experiment 7 shows how far there is still to go. Until then, the checksum remains your most reliable fingerprint. The checksum tells you that something has changed. Only the test tells you what has changed.

Where an open model comes from, what its licence allows and what the EU AI Act requires of the model provider:

Open-source AI: licence and origin

What to secure in the contract and in the technology

You check the first delivery at goods inwards. For everything after that you need change control. In my experience, five points belong in the contract with your supplier:

  • No change to the weights without prior notice. Explicitly including changes without training, such as direct editing or merging models.
  • Every version with checksum, date and responsible person. Plus a change description: which layers, how many weights, with which tool, for what reason.
  • A test report before and after the change, against your test set. Also for tasks that have nothing to do with the purpose of the change.
  • The old version remains available, and you may reject a change.
  • A clear allocation of who is the provider after a change, with the duty to provide documents and technical access (Article 25(2) and (4)).

Technically, four simple measures are enough, and none of them needs an AI lab:

  • Before every start, compare the checksum of the weights file with the approved one. If it differs, the model does not start.
  • Store the weights write-protected. Only the approval process gets write access, and only for the duration of the approval.
  • Run the fixed test set for every new checksum, including cases outside the purpose of the change.
  • Log every version with source, checksum and approval so that nobody can change the entries unnoticed.

In ISO/IEC 42001 this fits without a new control. Material enhancements to existing systems are specified and documented (A.6.2.2), verification and validation are defined (A.6.2.4), and updates are part of operation (A.6.2.6). Responsibilities with suppliers are allocated (A.10.2), and their deliveries are controlled (A.10.3). Clause 8.1 requires planned changes to be controlled and the consequences of unintended changes to be reviewed. When significant changes occur, the AI risk assessment is repeated (8.2).

Origin, format, checksum, scan and behaviour test: checking the model file on first delivery, in seven steps and with three documented cases.

Buying AI models: incoming inspection

What I ask first as an auditor

My first question about purchased AI stays the same, it just becomes more important. What is the checksum of the model running right now, and who changed it last? If the answer comes from the log, there is change control. If someone first has to call the service provider, there is none.

The good news is in the same question. Checksum + write protection + test set + contract clause. That is craft from information security. If you already manage your bought-in parts with drawing revisions and first articles, you have the tools for it in-house. When did you last check whether your model is still the one you approved?

Whether your AI vendor announces, versions and tests changes to models before delivery is what I check in the AI vendor audit.

AI security
Share: LinkedIn E-Mail

Frequently asked questions

What is weight-space programming?+

A term from a blog post by researchers at MIT CSAIL of 2 November 2026. The weights of a neural network are treated like a program: a general-purpose language model reads them, looks for the cause of a behaviour and rewrites them directly. In the post’s experiments, training and gradients were excluded; according to the authors, the concept itself does not rule out gradients.

Do I become the provider if my service provider changes the weights?+

For a high-risk AI system, Article 25(1)(b) of the EU AI Act makes whoever carries out a substantial modification the provider. If the service provider changes the weights, in my reading it is them. If you change them yourself, it is you. The allocation belongs in the contract beforehand.

Is a checksum enough to detect manipulation?+

It reliably shows that a file has changed, even by a single number. It does not show whether the change is harmless. For that you need a fixed test set that runs for every new checksum, and a change description from the supplier.

Has anyone independently confirmed the MIT results?+

As of November 2026 there are preprints without peer review. One finds gains from small interventions but widely varying results, with the original weights kept in six of 16 runs. Another tested a different model on small image networks and describes weight reading there as local arithmetic plus prior knowledge. I have not checked the replications the authors list.

Author & expert review: Lars Zimmermann · ISO/IEC 42001 Senior Lead Auditor & Senior Lead Implementer · ISO/IEC 27001 Lead Auditor & Lead Implementer (PECB)

An auditor with shop-floor experience and managing director of a manufacturing company, who audits and builds AI management systems and information security. Author of “Stallgeruch” (in German). Verify the credential on Credly · More about me.

Last updated: 28 November 2026. Researched and reviewed to the best of my knowledge. This is my interpretation from practice. For legal advice, please turn to the appropriate professionals.

Questions about your own case?

In a free 15-minute intro call we assess where you stand on ISO 42001, ISO 27001 and the EU AI Act, honestly and without a sales pitch.

Continue reading