How We Edited AI Models At Home Without Legal Issues
AIThis post was created with the assistance of artificial intelligence (AI).

🔍 Read the full analysis: How We Edited AI Models At Home Without Legal Issues on ThorstenMeyerAI.com

TL;DR

A home experiment edited the weights of a local AI model, Ornith 1.5 35B-A3B, to reduce looping. On the same setup, it completed all 10 published Lexassay tasks instead of 4, but its legal score remained zero and its answers contained 55 wrong or invented citations. The results are limited to one run per setting and do not show that the edit improved legal knowledge.

A home experiment reported by ThorstenMeyerAI.com found that editing a local AI model’s weights helped it finish more benchmark tasks, but did not improve its legal score. On the same experimental setup, Ornith 1.5 35B-A3B answered 10 of 10 published Lexassay tasks, up from four, while scoring zero on the legal benchmark.

The experiment targeted looping behavior, not legal knowledge. A Claude Opus 5.5 session wrote code that ran the model, recorded its internal signals, identified a direction associated with repeated output and removed that direction at half strength from the output weights of 27 of the model’s 40 layers. The report says there was no additional training or new legal data, and no AI directly read or edited the weights by reasoning over them as text.

The reported legal results remained weak. The edited model met 7 of 50 checked criteria, up from three, but its overall legal score stayed at zero. Its 10 answers included 55 wrong or invented citations, according to the report’s citation checks. The author says the 10-task figures refer to Lexassay’s published tasks; five other benchmark questions remain hidden.

The report also describes a simpler configuration change: using the sampling settings recommended in the model card, without editing weights, let the unchanged model answer nine of 10 tasks on its original setup. The article says a separate run of the unchanged model answered eight of 10, but warns that this and the edited-model comparison used different local setups and should not be treated as directly comparable.

At a glance
reportWhen: Experiment conducted Wednesday evening…
The developmentA published home experiment reports that a weight edit helped a local AI model finish more 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

More Completed Answers, No Legal Gain

The result separates completion from correctness. Reducing repetitive output can make a model more usable by allowing it to finish a response, but that alone does not supply missing legal knowledge or make citations reliable. In this experiment, the model completed more tasks while its reported legal score remained zero.

That distinction matters for anyone testing local AI on legal or other high-stakes work. A finished answer can appear more useful than a cut-off one, yet still contain unsupported claims or fabricated references. Lexassay checks cited statutes and court decisions against primary sources, and the reported citation errors show why completion rates cannot stand in for accuracy. The experiment is not legal advice and does not establish that the edited model is suitable for legal use.

The report also cautions against crediting the weight edit for every improvement. Its author says the model-card sampling configuration improved task completion without any edit. With only one run per setting and different setups involved, the published results suggest a possible way to address looping, not a dependable performance claim.

As an affiliate, we earn on qualifying purchases.

From MIT Weight Editing to a Local Test

The experiment followed a report by four MIT CSAIL researchers—Rikiya Takehi, Jayden Teoh, Alex Zhang and Omar Khattab—about what they call “weight-space programming.” Their work described one AI directly reasoning about another model’s weights and changing them without a conventional training loop. In a Qwen example, they reported that a model’s looping was tied to an internal direction and that an edit was followed by a substantial improvement in a maths score.

The home experiment was inspired by that work but did not reproduce its method. Instead, it used a more established technique called directional ablation: run the model, measure internal activity, calculate a direction and remove some of it from selected weights. The article says the approach resembles the method used in the MIT team’s Qwen case, while distinguishing it from an AI directly inspecting and modifying weights through reasoning.

Ornith was selected because the report found that it looped on the benchmark, unlike two other local models that appeared to fail from lack of knowledge. A fourth model, DeepSeek V4 Flash, also looped but was too large for the experiment machine and had a different token budget. Ornith’s publisher describes it as a model intended for coding and agent work, rather than law; the report says it scored one out of 100 in an earlier benchmark result.

Lexassay asks models the same questions about German, U.S. and European Union law, without internet access or tools, and checks legal citations against primary sources. Ten tasks are public, while five remain hidden to reduce the risk of tuning to the test. The article says answers, grades and citation checks from the reported runs are publicly available on Lexassay.

“The model finishes is not the same as the answer is right.”

— Thorsten Meyer, author of the experiment report

Limits of the Published Comparison

The results are one run per setting, so the report does not establish how consistently the edit changes completion or scoring. The comparison is also complicated by different local setups: the unchanged model reportedly answered eight of 10 tasks in one published run but four of 10 on the setup used for the edited comparison. The author says those runs are not directly comparable.

The report identifies further limits: a small development set, a loop detector that changed during the experiment and three graders from the same model family. Claude carried out the edit and Claude agents performed blind grading; the author disclosed this and says GPT-6 Astra, running in Codex and made by a different company, reviewed code, numbers and claims and found faults. That review is a check on the work, not a second experiment.

It remains unclear whether the improvement would persist across repeated runs, other machines, different sampling settings or the five hidden Lexassay tasks. The article reports no improvement in legal score, and the available results do not establish that the edit improves accuracy or citation quality.

Public Runs and Further Testing

The experiment’s runs and method are available through Lexassay, including the original run, the model-card sampling run, the weight-edited run and an edit control. Readers can inspect the answers, grades and citation checks rather than relying only on the summary figures.

The next useful evidence would come from repeated tests under matched settings, with the loop detector and grading method held consistent. Results on the hidden tasks could also help show whether the model’s behavior generalizes beyond the public examples. Until such results are available, the report supports a narrow finding: the edit was associated with more completed answers on one setup, while the legal score stayed at zero.

Key Questions

What did the weight edit change?

Code written during a Claude Opus 5.5 session measured a direction associated with looping and removed it at half strength from the output weights of 27 of Ornith’s 40 layers. The report says the model was not retrained and received no new legal data.

Did the edited model become better at law?

The report does not show a meaningful improvement in its overall legal score: it remained at zero. The edited answers met seven of 50 checked criteria and contained 55 wrong or invented citations, according to the report.

How many benchmark tasks did the model complete?

On the same setup used for the edited comparison, the model answered 10 of 10 published tasks, compared with four before the edit. The article warns that other runs used different local setups and are not directly comparable.

Was this the same method used by the MIT researchers?

No. The article says the MIT work involved an AI reasoning directly about model weights. The home test used code to run the model, measure internal signals and apply a directional-ablation edit, a different and more conventional technique.

Can these results show that the edit works reliably?

No. The report describes one run per setting, a small development set and other methodological limits. More repeated tests under matched conditions would be needed to establish whether the completion change is consistent.

Source: ThorstenMeyerAI.com

This content is for general information only and is not financial, tax or legal advice. Consult a qualified professional for decisions about your money.
You May Also Like

Fair-value appraisals for used GPUs and AI hardware

New approach proposes manual fair-value appraisals for used GPUs and AI hardware, aiming to resolve pricing disputes in secondary markets.

We Let One AI Rewrite Another—Here’s What Happened

A report tests AI systems that inspect and edit neural-network weights, finding a narrow benchmark gain alongside unresolved safety and performance limits.

A Better Way To Govern Autonomous AI Agents

A proposed proxy would authorize and audit each high-risk action by autonomous AI agents. The approach remains an untested product idea.

Unlocking AI Potential With DeepSeek-V4-Flash-High’s Ninth Point Analysis

DeepSeek-V4-Flash-High’s recent post-training improvements boost its leaderboard ranking, highlighting cost-effective AI capability enhancements without new parameters.