Classic refusal-direction ablation — compute a "refusal direction" from contrastive activations, then project it out of every weight matrix that writes to the residual stream — is reported to work on dense models. Applied verbatim to MiniMax-M2.7 (229B total / 10B active, 256 experts per layer, top-8 sigmoid+bias routing), it produced a model with perplexity 82,188. We show why: the published recipe works only with its full selection protocol intact, raw directions are polluted by massive-activation channels, and partial projections saturate when re-applied at every downstream writer. We rebuild the method around three measured interventions — massive-channel exclusion, the full Arditi gate set evaluated by in-forward simulation, and layer-masked application — and land on an 8-tensor edit at layers 46–49 that removes refusal conditioning while leaving perplexity within 0.03% of the pristine model. Two of our findings (β-saturation; effect/damage layer decoupling) we have not seen stated elsewhere.
The first attempt followed the community recipe faithfully: 128 harmful and 128 harmless prompts, activations at the last template position, diff-in-means direction, orthogonalized into every attention output, every expert down-projection and the token embeddings — 125 tensors, patched in place on the 457 GB BF16 checkpoint. Every mechanical step verified: tensor geometries checked against llama.cpp source, per-tensor orthogonality asserted at 1.3e-4, file sizes unchanged.
Wikitext-1024 perplexity through an fp32 harness on the BF16 weights. Pristine 6.173 vs naive-ablated 82,188 — a four-order-of-magnitude collapse with the model otherwise untouched.
The forensics were unambiguous: geometry correct, math correct, pipeline byte-identical to proven artifacts. The problem was the direction itself — and four gaps between the community recipe and the actual published protocol.
Gap 1 — the selection gate everyone drops. Arditi et al. select their direction under three constraints (bypass score, induction check, benign KL < 0.1). The KL constraint is the capability guard: a direction chosen by separation alone is rich in general-capability content. Measured elsewhere as a 39-point GSM8K drop for raw diff-in-means steering; measured here as a four-order-of-magnitude perplexity collapse.
Gap 2 — massive activations. M2.7 has a small set of channels that run 1,000–100,000× the layer median. Scanning one forward pass over the calibration corpus, we mapped 220 of them: concentrated in layers 5–13 (four to five channels each), tapering to a single channel per layer but never disappearing. Raw diff-in-means directions are dominated by exactly these channels — and ablating them removes the fixed bias terms the model depends on.
220 channels total across 62 layers. The early-layer cluster (5–13) is where run 1's direction picked up most of its poison; every candidate direction in run 3 has these dims zeroed.
Gap 3 — norm geometry. Plain projection W − r̂r̂ᵀW shrinks every writer's row norms; bf16 rounding and quantization compound it across 100+ sites. The fold operator therefore clamps each output row to its original norm (MPOA-style) after projecting.
Gap 4 — no cheap gate. The original pipeline went patch → teacher → importance matrix → quant → eval, ten hours before any quality number existed. The rebuild inserts a perplexity gate after every stage; run 1 would have died at minute ten instead of hour ten.
Weight-folding is mathematically equivalent to all-layer activation ablation: applying x ← x − (x·r̂)r̂ after every residual write at layers ≥ ℓ transforms the residual stream identically to orthogonalizing every writer from layer ℓ down. That identity turns a 2-hour weight rebuild into a ~50-minute forward pass — so the entire gate search runs as simulation, and only the winning configuration ever touches weights.
for each candidate direction r (from capture layer ℓ, position p):
run the forward pass from layer ℓ with x ← x − (x·r)r re-applied
after every residual write (attention out, expert down) at layers ≥ ℓ
bypass = Δ compliance-margin on held-out harmful prompts
induce = Δ compliance-margin on harmless prompts (want ≥ 0: don't worsen over-refusal)
KL = full-vocabulary KL(clean ‖ ablated) on harmless prompts (hard cap 0.1)
PASS ⇔ KL < 0.1 ∧ induce > −0.05 then keep the PASS with the largest bypass
The harness itself is gated: a 1,024-token wikitext perplexity through the custom fp32 forward must land in a sane range before any of its numbers are trusted — it read 6.173 on the pristine weights, validating both the harness and the restore in one number.
Eight capture layers × two template positions, the massive-activation dims (up to 198 of 3,072) zeroed in every candidate, ten candidates surviving the separation prefilter. Every one was simulated. None passed at full strength — but the pattern is the map:
Every candidate is one simulated fold. The KL 0.1 budget line is Arditi's capability guard. Layers 30–42 at position −2 are clean but toothless; layers 38–46 at position −1 carry real compliance gains that overshoot the budget at β = 1. The teal diamond is where the L46 −1 direction lands once it is confined to layers 46–49.
The clean-but-weak cluster and the strong-but-dirty cluster are different directions, not a tuning problem — which is the entanglement picture from the MoE literature, confirmed live on this model.
The obvious next move after near-misses is sweeping the ablation strength β. We swept it. It barely moved anything:
β from 0.6 to 1.0 moves benign KL by 0.021 total. The fold re-applies the projection at every downstream residual write (~30 of them); partial projections compound — (I − βr̂r̂ᵀ)ᵏ → full removal for any β ≳ 0.5. Per-site strength is not a knob when the edit spans all downstream sites.
If β can't trade effect against damage, maybe the edit's footprint can. We masked the same direction to different layer bands (always the layer-46 direction):
The full ≥46 band (all 16 layers) overshoots KL. Layers 46–49 alone match its bypass gain (0.419 vs 0.394) at 62% of its KL cost, the strongest mask that stays inside the budget.
The shipped edit orthogonalizes the attention output and expert down-projections of layers 46–49 against the (46, −1) direction — fp32 math, row norms clamped to original, bf16 rounded back, in place on the 457 GB checkpoint. Then the gates:
| gate | pristine | Dark-Beam | criterion | |
|---|---|---|---|---|
| wikitext-1024 PPL (fp32 harness on BF16) | 6.173 | 6.171 | ≤ 12.35 (2×) | PASS |
| tensors changed | — | 8 / 809 | minimal | PASS |
| simulated bypass / induce / KL (pre-fold) | — | +0.42 / +0.21 / 0.086 | all three gates | PASS |
| same top token vs unedited twin, chat/code/math (18 windows) | reference | 97.17% | usable, no collapse | PASS |
| same top token vs unedited twin, WikiText (18 windows) | reference | 93.49% | usable, no collapse | PASS |
| perplexity ratio, chat/code/math · WikiText | 1 | 1.003 · 0.999 | ≈ 1 | PASS |
| prompt processing, reference rig | 275.6 t/s | 275.3 t/s | ≥ 250 t/s | PASS |
llama-perplexity --kl-divergence, 18 windows of 2,048 tokens each, reference = Lite-Beam IQ3_XXS (same recipe, no edit), so the numbers isolate the edit itself.
One detour worth recording: our first 18-chunk evaluation crashed with non-finite reference logits
at chunk 2. The reference bases this pipeline had been scoring against since November were themselves
NaN-poisoned from chunk 2 onward — the pristine teacher's activations overflow on this corpus (same
massive-activation channels), and the older llama.cpp build silently tolerated it while the current build refuses.
Every historical number from those bases is effectively a chunk-1 number. The shipped evaluation regenerates the
reference from the pristine quant itself, which computes finite logits across all chunks — one more thing the
failure atlas now knows.
| artifact | what it is |
|---|---|
| Dark-Beam-M2.7-229B-A10B-GGUF | the IQ3_XXS quant of the edited BF16: 93 GB, one file |
| Lite-Beam-M2.7-229B-A10B-GGUF | the pristine sibling, same recipe, no edit |
| Dark-Beam collection | the family, as it grows |
hf download tablinum/Dark-Beam-M2.7-229B-A10B-GGUF --local-dir dark-beam-m2.7 llama-server -m dark-beam-m2.7/Dark-Beam-M2.7-229B-A10B-IQ3_XXS.gguf \ -ngl 99 --n-cpu-moe 99 -fa on -c 32768 --jinja --temp 1.0 --top-p 0.95 --top-k 40
About 100 GB of RAM + VRAM combined; experts stay in system RAM, attention on the GPU. It is a thinking model, so give
it a generous max_tokens.
Ten everyday dual-use questions (opening your own lock, buffer overflows, soap from animal fat, sandboxed malware analysis, 1800s black-powder mining, authorized social-engineering tests, lock sport, money-laundering forensics, outbreak modelling, ransomware detection), one run each at temperature 1.0, seed 7, 4,000-token budget. All 10 got a full, on-topic answer; none refused. Median about 1,540 tokens including reasoning; one used the full budget and still reached its summary. These are questions a good assistant answers anyway, and the unedited model was not run on them here, so this is a usability check, not a measure of the edit. Full text: probes.json.
License unchanged (MiniMax M2.7 non-commercial). If you deploy this: the perplexity gates bound capability drift on the corpora we measured — they do not measure your task. Run your own evals.
Next iteration ideas, in order of expected value: multi-direction cones from causally independent sites (the literature says single directions under-cover refusal); expert-aware edits — at this scale, attention-only edits remove 3.9% of refusal signal and expert-only 14.8%, joint 77.6%; layer-mask fine-search between 46–49 (we tested whole bands, not individual layer dropouts). What we would tell anyone starting this: gate everything, simulate instead of building, and treat the first destroyed model as data, not a defeat — every number in this write-up came from that wreckage.