$ the-wire · showcase
SAELens returns hook names after detach, and fixes what TemporalSAE evals actually reconstruct
By RepoJournal · Filed · About Interpretability · Composed from the cited sources · methodology
SAELens shipped four correctness fixes that change what your SAE hooks, caches and eval numbers actually contain, several of which were silently returning the wrong thing rather than erroring.
fix: use full TemporalSAE reconstruction in evals jbloomAus/SAELens
run_evals reconstructed activations with decode(encode(x)), which for TemporalSAE decodes only the novel codes and drops the context-predicted component, so your MSE, explained variance, CE and KL numbers for that architecture were computed against a partial reconstruction. Evals now use the full reconstruction in both the replacement hook and the activation metric path, pulling reconstruction ...
fix: give SAEs their own hook names back after they are removed from a model (#819) jbloomAus/SAELens
Attaching an SAE to a HookedSAETransformer or SAETransformerBridge renames its hook points to their model paths (hook_sae_acts_post becomes blocks.0.hook_mlp_out.hook_sae_acts_post), and nothing renamed them back on removal, which broke run_with_cache on the detached SAE. SAEs now get their original hook names back, so caches keyed by .name work after detach.
fix: fire hook_sae_acts_post in MatchingPursuit SAEs jbloomAus/SAELens
MatchingPursuitSAE.encode and MatchingPursuitTrainingSAE.encode_with_hidden_pre returned feature activations without passing them through hook_sae_acts_post, while every other architecture does. Any cache, steering or ablation you ran on matching pursuit features through that hook was a no-op; both methods now return self.hook_sae_acts_post(acts).
fix(training): preserve integer token IDs when loading cached activations jbloomAus/SAELens
ActivationsStore._load_cached_activations was passing token_ids through the same set_format(dtype=self.dtype) call as the activation columns, so integers cached as int32 came back cast to the sae dtype. Training on cached activations now preserves exact integer token IDs.