SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.11767 · NeurIPS · 2024

Analyzing (In)Abilities of SAEs via Formal Languages

David Krueger, Ekdeep Singh Lubana, Abhinav Menon, Manish Shrivastava

arXiv · PDF · Open in the Atlas

Code that ran

3 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 7 no recorded run), measured 2026-11-23; 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.11767.json · badge: /api/ran/2410.11767.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
Abhinav271828/pcfg-sae-causal-arr-oct24 canonical (classifier label)
classifier basis: census
3 ran · 7 no recorded run
FunctionStatusWhere it lives
dec2base Ran
ran; our contract draft was wrong, not the code
Abhinav271828/pcfg-sae-causal-arr-oct24/datasets/utils.py
pointer only (licence: NONE) · get_code("8f5c38520a624a74")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Abhinav271828/pcfg-sae-causal-arr-oct24 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.

define_prior Ran
ran, honoured the contract we drafted
Abhinav271828/pcfg-sae-causal-arr-oct24/dgp/utils.py
pointer only (licence: NONE) · get_code("4138f619ef3ab02c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Abhinav271828/pcfg-sae-causal-arr-oct24 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.

get_module Ran
ran; our contract draft was wrong, not the code
Abhinav271828/pcfg-sae-causal-arr-oct24/utils/analysis.py
pointer only (licence: NONE) · get_code("bfa0b6ce30af730f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Abhinav271828/pcfg-sae-causal-arr-oct24 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.

dec2bin Not yet run
unverified (harvested, no recorded run)
Abhinav271828/pcfg-sae-causal-arr-oct24/datasets/utils.py
pointer only (licence: NONE) · get_code("9bf1df20447a502c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Abhinav271828/pcfg-sae-causal-arr-oct24 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.

get_dataloader Not yet run
unverified (harvested, no recorded run)
Abhinav271828/pcfg-sae-causal-arr-oct24/dgp/dataloader.py
pointer only (licence: NONE) · get_code("834a92ff49752de4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Abhinav271828/pcfg-sae-causal-arr-oct24 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.

grammar_evals Not yet run
unverified (harvested, no recorded run)
Abhinav271828/pcfg-sae-causal-arr-oct24/evals/evals.py
pointer only (licence: NONE) · get_code("4b85b94877cbb65a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Abhinav271828/pcfg-sae-causal-arr-oct24 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.

sample_data_from_generator_classes Not yet run
unverified (harvested, no recorded run)
Abhinav271828/pcfg-sae-causal-arr-oct24/datasets/random_hierarchy_model.py
pointer only (licence: NONE) · get_code("50cccbfce6dd484d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Abhinav271828/pcfg-sae-causal-arr-oct24 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.

sample_rules Not yet run
unverified (harvested, no recorded run)
Abhinav271828/pcfg-sae-causal-arr-oct24/datasets/random_hierarchy_model.py
pointer only (licence: NONE) · get_code("acc3479a59a6c04c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Abhinav271828/pcfg-sae-causal-arr-oct24 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.

sample_with_replacement Not yet run
unverified (harvested, no recorded run)
Abhinav271828/pcfg-sae-causal-arr-oct24/datasets/random_hierarchy_model.py
pointer only (licence: NONE) · get_code("779207a23dcaeecb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Abhinav271828/pcfg-sae-causal-arr-oct24 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.

top_k_top_p_filtering Not yet run
unverified (harvested, no recorded run)
Abhinav271828/pcfg-sae-causal-arr-oct24/model/model.py
pointer only (licence: NONE) · get_code("4088666d0047518a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Abhinav271828/pcfg-sae-causal-arr-oct24 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, 5 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 5 later) and 5 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.

FunctionAlso present inEarliest-datedOthers named
define_prior 2 other papers
1 dated earlier, 1 later
2408.12578 (2024-08)
A Percolation Model of Emergence: Analyzing Transformers Trained on a Formal Language
2503.01822 (2025-03)
Projecting Assumptions: The Duality Between Sparse Autoencoders and Concept Geometry
top_k_top_p_filtering 2 other papers
1 dated earlier, 1 later
2408.12578 (2024-08)
A Percolation Model of Emergence: Analyzing Transformers Trained on a Formal Language
2503.01822 (2025-03)
Projecting Assumptions: The Duality Between Sparse Autoencoders and Concept Geometry
get_dataloader 1 other paper
1 later
2503.01822 (2025-03)
Projecting Assumptions: The Duality Between Sparse Autoencoders and Concept Geometry
get_module 1 other paper
1 later
2503.01822 (2025-03)
Projecting Assumptions: The Duality Between Sparse Autoencoders and Concept Geometry
sample_rules 1 other paper
1 later
2605.30642 (2026-05)
Diffusion Models Preferentially Memorize Prototypical Examples or: Why Does My Diffusion Model Love Slop?

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-23.

Repositories linked to this paper

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

Abstract

Autoencoders have been used for finding interpretable and disentangled features underlying neural network representations in both image and text domains. While the efficacy and pitfalls of such methods are well-studied in vision, there is a lack of corresponding results, both qualitative and quantitative, for the text domain. We aim to address this gap by training sparse autoencoders (SAEs) on a synthetic testbed of formal languages. Specifically, we train SAEs on the hidden representations of models trained on formal languages (Dyck-2, Expr, and English PCFG) under a wide variety of hyperparameter settings, finding interpretable latents often emerge in the features learned by our SAEs. However, similar to vision, we find performance turns out to be highly sensitive to inductive biases of the training pipeline. Moreover, we show latents correlating to certain features of the input do not always induce a causal impact on model's computation. We thus argue that causality has to become a central target in SAE training: learning of causal features should be incentivized from the groundup. Motivated by this, we propose and perform preliminary investigations for an approach that promotes learning of causally relevant features in our formal language setting.

For agents

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

get_harvested_code_for_paper("2410.11767")
get_code_for_paper("2410.11767")
have("2410.11767")

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

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

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

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

Connect an agent — have() is free.