We Tried Weight-Space Programming At Home: Claude Edited A Local Model, GPT-6 Astra Checked The Work, And The Legal Score Stayed At Zero
AIThis post was created with the assistance of artificial intelligence (AI).

🔍 Read the full analysis: We Tried Weight-Space Programming At Home: Claude Edited A Local Model, GPT-6 Astra Checked The Work, And The Legal Score Stayed At Zero on ThorstenMeyerAI.com

Before you orderOffer from Amazon

Get privacy and security gear delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

TL;DR

A home experiment used Claude-written code to edit a local AI model’s weights and reduce repetitive loops. On 10 published legal benchmark tasks, the edited model answered all 10, up from 4 on the same setup, but its score remained zero and its answers contained 55 wrong or invented citations. The result is limited by one run per setting, a small test set and grading conflicts.

A home experiment found that a weight edit reduced looping in the local model Ornith 1.5 35B-A3B, which then answered all 10 published Lexassay tasks in the test, compared with four on the same setup before editing. Its legal score remained zero, however, and the edited answers included 55 wrong or invented citations, according to the experiment’s authors.

The experiment ran from Wednesday evening to Thursday morning and was inspired by a method described by researchers at MIT CSAIL. It was not a replication of their approach: the MIT work had an AI reason directly about network weights, while this test used a Claude Opus 5.5 session to write code that measured repetitive behavior and removed a corresponding direction from the model’s weights. The edit was applied at half strength to the output weights of 27 of the model’s 40 layers. No training or new legal data was used.

On the 10 published benchmark tasks, the edited model answered all 10, up from four in the same experimental setup. Its content met 7 of 50 checked criteria, compared with three before the edit, but its overall legal score stayed at zero. The authors report that the edited answers contained 55 incorrect or fabricated citations. They say a separate, unedited run using the model card’s recommended sampling settings answered nine of 10 tasks, suggesting that settings alone affected whether the model finished.

The work was reviewed by OpenAI’s GPT-6 Astra in Codex, which the authors say identified substantive faults in the code, numbers and claims. Claude also performed the edit and its agents conducted blind grading. The authors describe this as one experiment with an independent reviewer, not two separate experiments.

At a glance
reportWhen: Experiment conducted Wednesday evening…
The developmentA home experiment applied a simple weight edit to a local model, increasing its completion rate on 10 legal benchmark tasks without improving its legal score.
Thorsten Meyer AI
Ornith 1.5 35B-A3B · local

Infographic 01 · What we changed

One loop direction, weakened at half strength

Inspired by the MIT post, but a simpler, classic technique (directional ablation): code written by a Claude Opus 5.5 session measured one loop direction by running the model and projected it out of the weights. No training, and no AI reading weights as text.

27 of 40layers edited (MLP outputs, layers 8–34)
54stored weight tensors changed, about 0.9–5.1% each
α 0.5half strength; full strength was rejected
< 20documented evaluations, no training

The six steps

  1. Write test material that is not the benchmark: 24 legal development questions plus 8 general controls, 0 overlap with benchmark prompts
  2. Find the true loop onset at token level: from there, at least 90% of the next 1,500 positions repeat earlier 32-token sequences
  3. Run the model and measure one loop direction per layer: average internal signal inside the loop minus the reasoning just before it
  4. Weaken it in the weights: W ← W − α·r·(rᵀW) on the MLP output matrices of all 256 experts and the shared expert
  5. Bake an edited copy; the original files stay untouched and the edited weights stay internal
  6. Benchmark original and edit on the same local setup, graded blind by three Claude agents; figures cover the 10 published tasks

Quick test: share of pure copying

Restart 20 tokens before a known loop onset, 8 cases, 3,000 tokens. Lower is better.

  • Unchanged modelreference0.46
  • Full strength, α 1rejected: broke controls0.03
  • Half strength, α 0.5chosen, runtime test0.22
  • Half strength, baked copythe benchmarked file0.14
  • Middle layers 12–26 onlyworse0.70
  • One direction, all layers + attentionmuch worse0.92–0.97
  • Conversion only, no editcontrol, quick test0.55

The cost of the edit

  • Full strength: 23 of 24 legal questions finished, but control answers broke: tokens dropped out of short formulas, and month counting went wrong
  • Half strength: 23 of 24 finished, 9 of 9 checked control facts right, and one German control question was answered in Chinese once
  • Before the edit: 8 of 24 legal development questions did not finish; all 8 controls did

One run per setting. The loop detector was revised three times during the experiment, so the development numbers come from a moving yardstick. The direction is a statistical description, not a single “loop neuron”.

Sources: our experiment records, 4–5 Nov 2026 (executing Claude Opus 5.5 session; review by GPT-6 Astra in Codex); Ornith-1.5-35B-A3B model card.
Powered by Thorsten Meyer AI

Completion Is Not Legal Accuracy

The result illustrates a distinction that matters for anyone evaluating AI systems: producing a complete answer is not the same as producing a correct one. A model that stops repeating itself may appear more useful, but in a legal setting unsupported citations can make an answer misleading even when it is fluent and finished.

The authors’ interpretation is that the edit addressed a failure mode—getting stuck in loops—rather than a lack of legal knowledge. That is consistent with the unchanged zero legal score, but the small test and limited number of runs mean the result cannot establish how reliably the technique works. Readers should treat the improvement in task completion as an early, narrow observation, not evidence that the model is fit for legal research or advice.

Products Worth Considering

Apple MacBook Air 13.6-inch Laptop with M5 Chip, 16GB Memory, 512GB SSD, Silver

Apple MacBook Air 13.6-inch Laptop with M5 Chip, 16GB Memory, 512GB SSD, Silver

Amazon Kindle Scribe (3rd Generation), 32GB, 11-Inch Display with Front Light and Premium Pen, Graphite

Amazon Kindle Scribe (3rd Generation), 32GB, 11-Inch Display with Front Light and Premium Pen, Graphite

As an affiliate, we earn on qualifying purchases.

A Home Test Inspired by MIT

The MIT CSAIL work described in the source was conducted by Rikiya Takehi, Jayden Teoh, Alex Zhang and Omar Khattab. Its authors called the approach “weight-space programming” and reported a Qwen model that stopped looping after an AI edited its weights; the model’s reported mathematics score rose from 7.9% to 48.1%. They cautioned that editing weights might remove an obstacle hiding an existing ability, but would not supply an ability the model lacked.

The home test used a related but established technique, directional ablation, rather than having an AI inspect and directly rewrite weights through reasoning. Lexassay tests models with questions on German, U.S. and EU law, without internet access or tools, and checks cited statutes and court decisions against primary sources. The benchmark has 10 published tasks and five hidden tasks; figures in this experiment refer only to the published set. The model selected, Ornith 1.5 35B-A3B, was released under the MIT license and is described by its publisher as a coding and agent model, not a legal model.

The comparison also has a setup caveat: the unchanged model answered eight of 10 in its published run, but four of 10 in the different setup used for the direct comparison. The experiment report says these two setups are not directly comparable. It also notes that another model that looped was too large for the test machine and ran under a different token budget, while other candidates failed without looping.

“The edit repairs finishing, not legal knowledge.”

— The home experiment’s authors

Small Sample, Uneven Comparisons

The experiment involved one run per setting and only the 10 published benchmark tasks. The authors also say the loop detector changed during the experiment, and three graders came from the same model family. Those factors limit how confidently the result can be generalized or how fully grading independence can be assessed.

The report does not establish whether the edit’s completion improvement would persist across repeated runs, other sampling settings, different models or the five hidden Lexassay tasks. The change from eight completed answers in the model’s published run to four in the comparison setup also complicates direct interpretation. The reported zero legal score and citation errors are specific to this test; they do not establish performance on every legal task. The authors state that the experiment is not legal advice.

Further Testing Is Needed

The experiment’s public records on Lexassay include the answers, grades and citation checks for the reported runs, along with a method page. That allows readers to inspect the evidence, but it does not resolve the small-sample and setup limitations. The immediate next step for evaluating the claim would be repeated, comparable runs, with a fixed loop detector and grading procedures that reduce dependence on one model family.

The five hidden benchmark tasks could help test whether changes generalize beyond the published questions, provided they remain unavailable for tuning. Until more results are available, the finding is limited: a simple edit was associated with more completed answers in one setup, while legal accuracy did not improve to a passing score.

Key Questions

What changed in the local model?

Claude Opus 5.5 wrote code that measured a repetitive internal direction in Ornith 1.5 35B-A3B and removed it at half strength from the output weights of 27 of 40 layers. The method did not train the model or add legal data.

Did the edit make the model better at law?

Not according to the reported overall score. The edited model answered all 10 published tasks in the comparison setup, but its legal score stayed at zero. It met 7 of 50 checked criteria, and the answers contained 55 wrong or invented citations.

Was this the same method used by the MIT researchers?

No. The home test used directional ablation: code measured the model’s behavior and altered a direction in its weights. The MIT approach described in the source had GPT-6 Astra reason about the weights directly.

How reliable is the result?

The authors report one run per setting, a small development set, a loop detector that changed during the experiment and grading by three systems from one model family. They also warn that two of the unchanged model’s runs used setups that are not directly comparable.

No such conclusion is supported by this experiment. Its score remained zero and the authors explicitly state that the article is not legal advice.

Source: ThorstenMeyerAI.com

You May Also Like
The Weights Came First: What Thinking Machines’ Inkling Actually Signals

The Weights Came First: What Thinking Machines’ Inkling Actually Signals

Thinking Machines released the full weights of Inkling under Apache 2.0, making it the first foundation model from the lab available openly before competing models.
The Performance Of OpenAI’s Jalapeño Chip: Fact Vs. Fiction

The Performance Of OpenAI’s Jalapeño Chip: Fact Vs. Fiction

OpenAI released initial performance data for its Jalapeño inference chip, showing significant efficiency gains against NVIDIA systems in specific benchmarks.
Sweden Joins European Quantum And AI Skills Academies

Sweden Joins European Quantum And AI Skills Academies

Nordita will support a Nordic-Baltic quantum academy, while Swedish partners join an EU AI skills effort focused on healthcare and social care.
Main Reasons Why Claude Opus 5.5 Leads AI Benchmark Tests

Main Reasons Why Claude Opus 5.5 Leads AI Benchmark Tests

Claude Opus 5.5 achieves top scores on AI benchmarks due to optimized performance and cost-efficiency, setting new industry standards.