L07 Positive Q3 · Silent weight changes

Realistic edits to the embedding table, including one hidden row

QuestionCan a small, realistic edit to a model hide from output checks if the test prompts never touch it?

Run by us; no unaffiliated reproduction

The test in one picture

Question, method, result and meaning, in plain words. The sourced detail is further down the page.

Realistic edits to the embedding table, including one hidden row: the test explained in one pictureQuestion: Can a small, realistic edit to a model hide from output checks if the test prompts never touch it? How we tested: 1. Edit the model's word table in realistic ways: INT8 round-trip, 1% pruning, a fine-tune-style patch, single rows. 2. For single rows: 8 rows the prompts never read, 8 they do read, 5 prompts each (40 trials). 3. Compare three detectors with the unedited model: text replay, top-5 logits, computation digest. 4. Report counts with 95% intervals. A same-shape model swap was judged infeasible and not run. What we found (Positive): 0 of 40 caught by output checks. For one edited row that no test prompt read, text replay and the top-5 check each caught 0 of 40; the computation digest caught 40 of 40. When prompts did read the row, top-5 caught 21 of 40 and text replay 11 of 40. What it means: Output checks are only as good as your test prompts. Small samples (20 or 40), one model, embedding table only; a smarter attacker and the digest's false-positive rate were not tested.L07POSITIVERealistic edits to the embedding table, including one hidden row1 · THE QUESTIONCan a small,realistic edit toa model hide fromoutput checks ifthe test promptsnever touch it?WHY IT MATTERSA realistic model edit maytouch only rare words. Ifyour tests never use thosewords, output checks passwhile the model haschanged.2 · HOW WE TESTED IT1Edit the model's word table inrealistic ways: INT8 round-trip,1% pruning, a fine-tune-stylepatch, single rows.2For single rows: 8 rows theprompts never read, 8 they doread, 5 prompts each (40 trials).3Compare three detectors with theunedited model: text replay,top-5 logits, computation digest.4Report counts with 95% intervals.A same-shape model swap wasjudged infeasible and not run.3 · WHAT WE FOUNDPOSITIVE0 of 40 caughtby outputchecksFor one edited row that notest prompt read, text replayand the top-5 check eachcaught 0 of 40; thecomputation digest caught 40of 40. When prompts did readthe row, top-5 caught 21 of40 and text replay 11 of 40.4 · WHAT IT MEANSOutput checks areonly as good as yourtest prompts. Smallsamples (20 or 40),one model, embeddingtable only; a smarterattacker and thedigest'sfalse-positive ratewere not tested.Like proofreading a book by reading only chapters 1 to 3: an edit on page 200 slips through.aefinityai.com/labs/embedding-edits/Run by us; no unaffiliated reproductionRealistic edits to the embedding table, including one hidden row: the test explained in one pictureQuestion: Can a small, realistic edit to a model hide from output checks if the test prompts never touch it? How we tested: 1. Edit the model's word table in realistic ways: INT8 round-trip, 1% pruning, a fine-tune-style patch, single rows. 2. For single rows: 8 rows the prompts never read, 8 they do read, 5 prompts each (40 trials). 3. Compare three detectors with the unedited model: text replay, top-5 logits, computation digest. 4. Report counts with 95% intervals. A same-shape model swap was judged infeasible and not run. What we found (Positive): 0 of 40 caught by output checks. For one edited row that no test prompt read, text replay and the top-5 check each caught 0 of 40; the computation digest caught 40 of 40. When prompts did read the row, top-5 caught 21 of 40 and text replay 11 of 40. What it means: Output checks are only as good as your test prompts. Small samples (20 or 40), one model, embedding table only; a smarter attacker and the digest's false-positive rate were not tested.L07POSITIVERealistic edits to the embeddingtable, including one hidden row1 · THE QUESTIONCan a small, realistic edit to amodel hide from output checks ifthe test prompts never touch it?WHY IT MATTERSA realistic model edit may touch only rarewords. If your tests never use those words,output checks pass while the model haschanged.2 · HOW WE TESTED IT1Edit the model's word table inrealistic ways: INT8 round-trip, 1%pruning, a fine-tune-style patch,single rows.2For single rows: 8 rows the promptsnever read, 8 they do read, 5 promptseach (40 trials).3Compare three detectors with theunedited model: text replay, top-5logits, computation digest.4Report counts with 95% intervals. Asame-shape model swap was judgedinfeasible and not run.3 · WHAT WE FOUNDPOSITIVE0 of 40 caught byoutput checksFor one edited row that no test promptread, text replay and the top-5 check eachcaught 0 of 40; the computation digestcaught 40 of 40. When prompts did read therow, top-5 caught 21 of 40 and text replay11 of 40.4 · WHAT IT MEANSOutput checks are only as good as your testprompts. Small samples (20 or 40), onemodel, embedding table only; a smarterattacker and the digest's false-positiverate were not tested.Like proofreading a book by reading onlychapters 1 to 3: an edit on page 200 slipsthrough.aefinityai.com/labs/embedding-edits/

The same picture, in words

Question
Can a small, realistic edit to a model hide from output checks if the test prompts never touch it?
Why it matters
A realistic model edit may touch only rare words. If your tests never use those words, output checks pass while the model has changed.
How the test works
  1. Edit the model's word table in realistic ways: INT8 round-trip, 1% pruning, a fine-tune-style patch, single rows.
  2. For single rows: 8 rows the prompts never read, 8 they do read, 5 prompts each (40 trials).
  3. Compare three detectors with the unedited model: text replay, top-5 logits, computation digest.
  4. Report counts with 95% intervals. A same-shape model swap was judged infeasible and not run.
What we found
0 of 40 caught by output checks. For one edited row that no test prompt read, text replay and the top-5 check each caught 0 of 40; the computation digest caught 40 of 40. When prompts did read the row, top-5 caught 21 of 40 and text replay 11 of 40.
What it means
Output checks are only as good as your test prompts. Small samples (20 or 40), one model, embedding table only; a smarter attacker and the digest's false-positive rate were not tested.
Everyday comparison
Like proofreading a book by reading only chapters 1 to 3: an edit on page 200 slips through.
Where the facts come from

Share this picture: SVG · PNG (1200 x 630)

01Why it matters

A realistic model edit may touch only rare words. If your tests never use those words, output checks pass while the model has changed.

02Method, step by step

  1. Make realistic edits to the embedding table of one pruned BitNet-2B checkpoint: INT8 round-trip, 1% pruning, an approximated fine-tune patch, and single-row patches.
  2. For single rows, pick 8 rows the prompts never read and 8 rows they do read, with 5 prompts each (40 trials per case).
  3. Compare three detectors against the unedited baseline: text replay, top-5 logit set, witness digest.
  4. Report counts with Wilson 95% intervals. A same-shape checkpoint substitution was attempted in design and found infeasible.

Method as recorded

Substitution classes on the bf16 embedding table (vocab 50,256, hidden 2,560) of one pruned BitNet-2B checkpoint: INT8 round-trip (a), 1% magnitude pruning (d), an approximated fine-tune patch (b), and single-row patches of +1 to the row's int8-quantized code (all 2,560 elements of the row move) on rows that the prompts do not read (b') or do read (b''). Global classes used a 20-prompt set; single-row classes used 8 rows x 5 prompts = 40 trials (a 5-prompt subset, rows sampled with a seed-42 PRNG), greedy decode, 64 new tokens. Detectors: A text replay, B top-5 logit-index set, C witness digest; 'detected' means the check differs from baseline. Wilson 95% CIs. Run by us; the harness is not yet published in a public repo.

03Results, exact and sourced

One edited embedding row that no test prompt reads: trials detected, out of 40
Text replay0 / 40
Top-5 check0 / 40
Witness digest40 / 40

Text replay: 0 / 40; Top-5 check: 0 / 40; Witness digest: 40 / 40

8 random rows by 5 prompts = 40 trials. Figure drawn from the sourced results below.

  1. R1For a single edited embedding row that none of the test prompts read (8 random rows x 5 prompts = 40 trials), text replay and the top-5 check each detected 0 of 40; the witness digest detected 40 of 40.

    When the row is not exercised by the test prompts, A and B miss it completely (0/40 each in (b')).

    Verbatim source cis2-spec / 2026-09-17-EMBED-SUBSTITUTION-HEADTOHEAD.md
  2. R2Control with 8 rows the prompts do read (40 trials): the top-5 check detected 21 of 40 (52.5%, Wilson 37.5-67.1%); text replay detected 11 of 40 (27.5%). Even when rows are read, detection is only partial.

    | B (top-5 logit-index check) | 21/40 | 52.5% | 37.5–67.1% | 0/40 (0.0%) |

    Verbatim source cis2-spec / 2026-09-17-EMBED-SUBSTITUTION-HEADTOHEAD.md
  3. R31% magnitude pruning of the whole table (20 prompts): text replay detected 18 of 20 (90.0%, Wilson 69.9-97.2%); the top-5 check and witness digest detected 20 of 20.

    | A (text replay) | 18/20 | 90.0% | 69.9–97.2% |

    Verbatim source cis2-spec / 2026-09-17-EMBED-SUBSTITUTION-HEADTOHEAD.md
  4. R4In the classes that were run, the witness digest detected every trial. Here 'detected' means the digest differs from baseline; the document reports no false-positive test for it.

    The witness digest (C) is the only detector of the three that caught every trial in every class tested here

    Verbatim source cis2-spec / 2026-09-17-EMBED-SUBSTITUTION-HEADTOHEAD.md
  5. R5UNABLE: substituting a different same-shape checkpoint was found infeasible and not run (no independently trained checkpoint with matching shape was available).

    ### (c) Different same-shape checkpoint — found infeasible

    Verbatim source cis2-spec / 2026-09-17-EMBED-SUBSTITUTION-HEADTOHEAD.md

04What it does NOT show

Smarter attackers, rare-token patches, false positives of the digest, or any other part of the model than the embedding table. Samples are small (20 or 40).

05Scope and caveats

  • Small samples (n=20 or n=40), wide intervals; one checkpoint, one prompt set, embedding table only.
  • The single-row classes used only a 5-prompt subset of the 20 prompts, and 8 rows; the 40 trials are 8 rows x 5 prompts, not 40 independent rows.
  • The edit is +1 step of the int8-quantized code on all 2,560 elements of the row, not a bf16 last-bit edit.
  • The INT8 class changed 96.91% of values (INT8 round-trip: all three detectors 20/20); the document says this does not show A/B would catch a smaller quantization.
  • The fine-tune class is a labelled approximation (token-bigram nudge), not a real gradient step; the document calls its all-caught result weaker evidence than it looks.
  • Row choice was a fixed-seed PRNG; the control (b'') drew rows from the prompts' own tokens, a looser selection than (b'). An attacker who knows the test prompts, or a patch confined to rare tokens, was not tested.
  • The harness is not published, so the experiment cannot be rerun from the repo.
  • Run by us; no unaffiliated reproduction.

06Outcome

Positive

The check worked as expected, within the stated scope.

07What we learned

Output checks are only as good as the prompts you test with. One edited row that no prompt read was missed by text replay and by the top-5 check in 40 of 40 trials, while a check over the computation caught all 40. Even when prompts did read the edited row, those output checks caught only 11 and 21 of 40.

08Check it yourself

Read the result page. The harness is not yet in a public repo, so the experiment cannot be rerun from public files.