Kestrom Edit Keyed

by CAPH TECH · Technique · Text & code

Edits a few stored facts inside a language model by changing a single weight matrix with a small keyed update, on Apple silicon, without retraining.

Latest · Nov 27Keyed rank-1 down_proj edits in Qwen3.5-9B fixed the leaks but failed on unseen contexts: organization 40/64 and city 32/64, versus 22/64 and 26/64 before writing.

Evidence

  1. Nov 27
    Changed only 1 of 775 tensors; a first edit leaked other people's facts, with Q's employer correct only 26/32 and 202/240 out-of-scope answers unchanged.
    Hands-on testrizumitaJapanese
  2. Nov 27
    Adding 64 unused names in the question's name slot as protected positions fixed the leak (Q's employer 31/32) but the two-way city comparison stayed at 15/32 on the second group.
    Hands-on testrizumitaJapanese

Alternatives

Kestrom KVOn unseen contexts with Qwen3.5-9B, KV cassettes answered 64/64 two-step questions, versus 32/64 for keyed weight editing; both checked in the same setup.
Works with