mirror of
https://github.com/wassname/weight-steering.git
synced 2026-07-21 13:00:05 +08:00
Constructs four variants of a trained dW and evaluates each on daily
dilemmas at coeffs {-1, 0, +1}:
full original (control)
dir_only elementwise direction preserved, all tensors rescaled
to a common Frobenius norm (flattens per-tensor magnitude)
mag_only random direction per tensor, original per-tensor norm
(preserves which layers/modules carry the load)
random_norm random direction + common norm (control)
Tests whether the trained behavior is carried by element direction or
by the per-tensor magnitude pattern. Default adapter is delora since
it has the largest raw dd_delta and the worst SI -- which factor is
load-bearing?
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>