summaryrefslogtreecommitdiff
path: root/experiments/vector_credit_audit.py
diff options
context:
space:
mode:
authorYurenHao0426 <Blackhao0426@gmail.com>2026-04-07 23:48:09 -0500
committerYurenHao0426 <Blackhao0426@gmail.com>2026-04-07 23:48:09 -0500
commitec20a776e0c3e026236942fe99f3840a39e211fd (patch)
tree05138a794e7161bd26c9e96c7ec9c95e62993a8f /experiments/vector_credit_audit.py
parent05cd478cb45f78ccf89ab42918df9010cd534ede (diff)
CHECKLIST: add pitfall #6.5 — silent self-cosine fallback when aux nets not saved
Discovered in our own cnn_baseline.py: when the random feedback Bs (for DFA) or bridge predictor (for SB/CB) are not persisted alongside the model checkpoint, post-hoc Gamma computation cannot reconstruct the local credit signal. Instead of erroring, the script falls back to cos(BP_grad, BP_grad) = 1.0 and records that as Gamma. Reader who doesn't notice the small 'Gamma_note' field interprets 1.0 as perfect alignment. Recommendation: always save aux nets alongside checkpoints; if they're missing, report Gamma as N/A, not 1.0.
Diffstat (limited to 'experiments/vector_credit_audit.py')
0 files changed, 0 insertions, 0 deletions