$ the-wire · showcase
SAELens 6.56.6 makes relative reconstruction bias batch-size invariant
By RepoJournal · Filed · About Interpretability · Composed from the cited sources · methodology
SAELens shipped 6.56.6 carrying a fix that makes relative_reconstruction_bias independent of eval batch size, so previously reported numbers depended on how tokens happened to be split.
6.56.6 jbloomAus/SAELens
by semantic-release
Version 6.56.6 is the release carrying the eval-metric fix from the PR below; it is the version to pin if you need reproducible reconstruction-bias numbers.
fix: make relative reconstruction bias independent of eval batch size jbloomAus/SAELens
The metric was computed as one ratio per eval batch and then averaged, so identical tokens and reconstructions scored differently when regrouped: in the issue's toy case, one batch of two prompts gave 17/9 while two batches of one prompt gave 1.5. The sums of ||x_hat||^2 and x . x_hat are now accumulated across all retained tokens before the ratio, so changing eval batch size no longer moves yo...
fix: make relative reconstruction bias independent of eval batch size (#813) jbloomAus/SAELens
The fix landed on main as the merge of that change; if you run from source rather than a pinned release, you pick it up on your next pull.
Action items
- → Pin SAELens 6.56.6 so relative_reconstruction_bias is comparable across eval batch sizes jbloomAus/SAELens [plan]