SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.19278 · 2024

Applying sparse autoencoders to unlearn knowledge in language models

arXiv · PDF · Open in the Atlas

Code that ran

8 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 2 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2410.19278.json · badge: /api/ran/2410.19278.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
efarrell1/train_sparse_autoencoder canonical (classifier label)
classifier basis: census
8 ran · 2 no recorded run
FunctionStatusWhere it lives
compute_metrics Ran
ran; our contract draft was wrong, not the code
efarrell1/train_sparse_autoencoder/sae/utils.py
pointer only (licence: NONE) · get_code("bda89456f67fab15")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, efarrell1/train_sparse_autoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_simple_metrics Ran
ran; our contract draft was wrong, not the code
efarrell1/train_sparse_autoencoder/sae/metrics.py
pointer only (licence: NONE) · get_code("37842cf203f39ef2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, efarrell1/train_sparse_autoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_config_inputs Ran
ran; our contract draft was wrong, not the code
efarrell1/train_sparse_autoencoder/sae/utils.py
pointer only (licence: NONE) · get_code("71b34d41c30bc1db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, efarrell1/train_sparse_autoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_cfg_list Ran
ran; our contract draft was wrong, not the code
efarrell1/train_sparse_autoencoder/sae/config.py
pointer only (licence: NONE) · get_code("76f362a37c9f824c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, efarrell1/train_sparse_autoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

list_of_dicts_to_dict_of_lists Ran
ran; our contract draft was wrong, not the code
efarrell1/train_sparse_autoencoder/sae/metrics.py
pointer only (licence: NONE) · get_code("9fe3a8d45e7196eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, efarrell1/train_sparse_autoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_token_df Ran
ran; our contract draft was wrong, not the code
efarrell1/train_sparse_autoencoder/sae/analysis.py
pointer only (licence: NONE) · get_code("5b4fe03466e1e2e6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, efarrell1/train_sparse_autoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

process_token Ran
ran; our contract draft was wrong, not the code
efarrell1/train_sparse_autoencoder/sae/analysis.py
pointer only (licence: NONE) · get_code("72618a3a4fafef90")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, efarrell1/train_sparse_autoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

round_1000 Ran
ran; our contract draft was wrong, not the code
efarrell1/train_sparse_autoencoder/sae/utils.py
pointer only (licence: NONE) · get_code("de4343263a7e3497")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, efarrell1/train_sparse_autoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_metrics_post Not yet run
unverified (harvested, no recorded run)
efarrell1/train_sparse_autoencoder/sae/metrics.py
pointer only (licence: NONE) · get_code("835a6e2fafdf1f20")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, efarrell1/train_sparse_autoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

process_tokens Not yet run
unverified (harvested, no recorded run)
efarrell1/train_sparse_autoencoder/sae/analysis.py
pointer only (licence: NONE) · get_code("b88bbf83718ecfec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, efarrell1/train_sparse_autoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We investigate whether sparse autoencoders (SAEs) can be used to remove knowledge from language models. We use the biology subset of the Weapons of Mass Destruction Proxy dataset and test on the gemma-2b-it and gemma-2-2b-it language models. We demonstrate that individual interpretable biology-related SAE features can be used to unlearn a subset of WMDP-Bio questions with minimal side-effects in domains other than biology. Our results suggest that negative scaling of feature activations is necessary and that zero ablating features is ineffective. We find that intervening using multiple SAE features simultaneously can unlearn multiple different topics, but with similar or larger unwanted side-effects than the existing Representation Misdirection for Unlearning technique. Current SAE quality or intervention techniques would need to improve to make SAE-based unlearning comparable to the existing fine-tuning based techniques.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2410.19278")
get_code_for_paper("2410.19278")
have("2410.19278")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2410.19278.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2410.19278.svg)](https://syntology.ai/paper/2410.19278)

Connect an agent — have() is free.