SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2503.01822 · NeurIPS · 2025

Projecting Assumptions: The Duality Between Sparse Autoencoders and Concept Geometry

Ekdeep Singh Lubana, Thomas Fel, Sai Sumedh, R Hindupur, Demba Ba

arXiv · PDF · Open in the Atlas

Code that ran

26 of 37 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 10 have no contract verdict; 14 failures of our instrument; 11 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/2503.01822.json · badge: /api/ran/2503.01822.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
EkdeepSLubana/spadeFormalGrammars canonical (classifier label)
classifier basis not recorded on the link
7 ran · 5 no recorded run
Sai-Sumedh/SaeConceptDuality-SpaDE canonical (classifier label)
classifier basis not recorded on the link
2 ran · 2 no recorded run
KempnerInstitute/Overcomplete community
Papers with Code archive
17 ran · 4 no recorded run
FunctionStatusWhere it lives
DictionaryLayer Ran
ran on a synthesized input · constructed an object; no result was computed
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("f4b90d4a8d7a8df8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, DictionaryLayer: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

ARGS = {
    'in_dimensions': 4,
    'nb_concepts': 6,
    'normalization': 'l2',
    'initializer': None,
    'use_multiplier': False,
    'device': 'cpu',
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DictionaryLayer — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DictionaryLayer output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
JumpReLU Ran
ran on a synthesized input · constructed an object; no result was computed
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("39b7b96e4c0c2ddc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, JumpReLU: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Define a simple kernel function that takes delta and bandwidth
def kernel_fn(delta, bandwidth):
    """
    Simple Gaussian-like kernel function.
    Takes delta (difference between input and threshold) and bandwidth.
    Returns kernel values.
    """
    return torch.exp(-0.5 * (delta / bandwidth) ** 2)

# Create input tensor (batch_size=2, features=4)
x = torch.randn(2, 4, requires_grad=True)

# Create threshold tensor (features=4, matching x's feature dimension)
threshold = torch.randn(4, requires_grad=True)

# Bandwidth parameter
bandwidth = 1.0

ARGS = {
    'x': x,
    'threshold': threshold,
    'kernel_fn': kernel_fn,
    'bandwidth': bandwidth
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type JumpReLU — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a JumpReLU output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
TieableEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("700cf74572418934")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, TieableEncoder: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# Create a minimal DictionaryLayer stand-in that satisfies how it's used
class DictionaryLayer(nn.Module):
    def __init__(self, nb_concepts, in_dimensions):
        super().__init__()
        self.dictionary = nn.Parameter(torch.randn(nb_concepts, in_dimensions))
    
    def get_dictionary(self):
        return self.dictionary

# Define dimensions with distinct sizes
in_dimensions = 4
nb_concepts = 3

# Create a tied dictionary layer
tied_dictionary = DictionaryLayer(nb_concepts, in_dimensions)

# Create optional weight initialization
weight_init = torch.randn(nb_concepts, in_dimensions)

# Construct ARGS dictionary with all parameters
ARGS = {
    'in_dimensions': in_dimensions,
    'nb_concepts': nb_concepts,
    'bias': True,
    'tied_to': tied_dictionary,
    'weight_init': weight_init,
    'device': 'cpu'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TieableEncoder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a TieableEncoder output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
cauchy_kernel Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("fd68d9928b455631")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small input tensor with arbitrary shape
x = torch.randn(2, 4)

# Set a positive bandwidth value
bandwith = 0.5

ARGS = {
    'x': x,
    'bandwith': bandwith
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
cosine_kernel Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("435b7a2c349bf155")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small input tensor
x = torch.randn(2, 4)

# Set a positive bandwidth value
bandwith = 1.5

ARGS = {
    'x': x,
    'bandwith': bandwith
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
define_prior Ran
ran, honoured the contract we drafted
EkdeepSLubana/spadeFormalGrammars/dgp/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from Abhinav271828/pcfg-sae-causal-arr-oct24, is pointer only (licence: NONE) · get_code("4138f619ef3ab02c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Abhinav271828/pcfg-sae-causal-arr-oct24, and GitHub detected no licence in that repository 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.

epanechnikov_kernel Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("a567c13de0aceb15")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small tensor input for x
x = torch.randn(2, 4)

# Define bandwidth as a positive float
bandwith = 1.5

# Construct arguments dictionary
ARGS = {
    "x": x,
    "bandwith": bandwith,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
gaussian_kernel Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("cb509c068da815e4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small input tensor
x = torch.randn(2, 4)

# Set a positive bandwidth value
bandwidth = 0.5

ARGS = {
    'x': x,
    'bandwith': bandwidth
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_module Ran
ran; our contract draft was wrong, not the code
EkdeepSLubana/spadeFormalGrammars/utils/analysis.py
pointer only (licence: MIT); the stored copy get_code serves, from Abhinav271828/pcfg-sae-causal-arr-oct24, is pointer only (licence: NONE) · get_code("bfa0b6ce30af730f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Abhinav271828/pcfg-sae-causal-arr-oct24, and GitHub detected no licence in that repository 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_pos_data Ran
ran on a synthesized input
EkdeepSLubana/spadeFormalGrammars/figures/compute_corrmaps.py
code served (permissive licence) · get_code("56291f3f5cd9fdac")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects `sequences` to be a tensor that:
# - Supports comparison operations (>=, <)
# - Supports torch.nonzero() to find indices
# - Has shape where we can index [:, 1] to get column indices
# 
# Looking at the function logic:
# - It checks ranges like (0, 10), (30, 40), etc.
# - So we need a tensor with values in these ranges
# - The [:, 1] indexing suggests it's 2D

# Create a sequences tensor with shape (2, 4)
# Values should span across different PoS ranges to test the masking
sequences = torch.tensor([
    [5, 15, 25, 35],      # row 0: values in ranges for Noun, Verb, Adj., Conj.
    [8, 32, 28, 45]       # row 1: values in ranges for Noun, Pro., Adj., Conj.
], dtype=torch.int64)

ARGS = {
    'sequences': sequences
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_pos_data Ran
ran on a synthesized input
EkdeepSLubana/spadeFormalGrammars/figures/compute_metrics.py
code served (permissive licence) · get_code("368f326e3a51cf18")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects sequences as a tensor
# Looking at the function body:
# - It uses (sequences >= start) & (sequences < end) for boolean masking
# - It uses torch.nonzero(pos_masks[pos], as_tuple=False)[:, 1] to get column indices
# - This suggests sequences is a 2D tensor where we're checking ranges and extracting column indices
# 
# So sequences should be a 2D tensor with numeric values

# Create a small 2D tensor with values in the range [0, 60)
# Shape: (batch=2, sequence_length=4)
sequences = torch.tensor([
    [5, 35, 15, 45],
    [25, 55, 8, 32]
], dtype=torch.long)

ARGS = {
    'sequences': sequences
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
jump_relu Ran
ran; our contract draft was wrong, not the code
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("9af77435852d70eb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Define a simple kernel function that takes delta and bandwidth
def gaussian_kernel(delta, bandwidth):
    """Simple Gaussian kernel function."""
    return torch.exp(-0.5 * (delta / bandwidth) ** 2)

# Create input tensor (batch_size=2, feature_dim=4)
x = torch.randn(2, 4, requires_grad=True)

# Create threshold tensor (learnable parameter, same shape as features)
threshold = torch.randn(4, requires_grad=True)

# Kernel function
kernel_fn = gaussian_kernel

# Bandwidth parameter
bandwidth = 1.0

ARGS = {
    "x": x,
    "threshold": threshold,
    "kernel_fn": kernel_fn,
    "bandwidth": bandwidth,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
jumprelu Ran
ran on a synthesized input
EkdeepSLubana/spadeFormalGrammars/sae/saes.py
code served (permissive licence) · get_code("6f7a4cc489051fdf")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create small tensor inputs
x = torch.randn(2, 4, requires_grad=True)
threshold = torch.tensor(0.5, requires_grad=True)
bandwidth = torch.tensor(0.1, requires_grad=True)

ARGS = {
    "x": x,
    "threshold": threshold,
    "bandwidth": bandwidth,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
linear_pieces Ran
ran on a synthesized input
Sai-Sumedh/SaeConceptDuality-SpaDE/functions/utils.py
code served (permissive licence) · get_code("c85ad84383f852e6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 4, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import numpy as np

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self, width=3):
        super().__init__()
        self.width = width
        self.linear1 = nn.Linear(4, width)
        self.linear2 = nn.Linear(width, 1)
    
    def forward(self, x, return_hidden=False):
        hidden = self.linear1(x)
        output = self.linear2(hidden)
        if return_hidden:
            return output, hidden
        return output

model = SimpleModel(width=3)

# Create a small meshgrid-like data tensor
# Need 4 points (2x2) so dims = ceil(sqrt(4)) = 2
# Input dimension is 4
data = torch.randn(4, 4)

ARGS = {
    "model": model,
    "data": data,
    "receptive_fields": False,
    "activation_heatmaps": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 4, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize_identity Ran
ran, honoured the contract we drafted
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("ee12fc4a6248f097")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function is an identity normalization that simply returns its input
# The parameter is named 'x' (though docstring says 'd')
# It should be a torch.Tensor based on the docstring

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize_l1 Ran
ran; our contract draft was wrong, not the code
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("a7aa0b2ccc793f82")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small tensor with shape (batch=2, dim=4)
# The function expects x to have at least 2 dimensions
# It computes L1 norm along dim=1 (the feature/concept dimension)
x = torch.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize_l2 Ran
ran; our contract draft was wrong, not the code
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("efac2c02b2c4b989")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small tensor with shape (batch=2, dim=4)
# The function normalizes along dimension 1 (the concept/feature dimension)
x = torch.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize_max_l1 Ran
ran; our contract draft was wrong, not the code
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("9dbc9e9b26b1a18e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects a tensor x with shape (num_concepts, feature_dim)
# It computes l1 norm along dim=1, then finds max across dim=0
# So we need at least 2 dimensions
x = torch.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize_max_l2 Ran
ran; our contract draft was wrong, not the code
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("b0f9943a802bf49f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function normalize_max_l2 takes a tensor x and:
# 1. Computes L2 norm along dimension 1 (keepdim=True)
# 2. Takes the maximum across dimension 0 (keepdim=True)
# 3. Divides x by this normalized value
# 
# The tensor should have shape (batch, features) where batch=2, features=4
# based on the docstring mentioning "concepts" and the norm computation along dim 1

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
quartic_kernel Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("2adaee6f999cee83")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects:
# x: torch.Tensor - can be any shape, will be scaled and compared
# bandwith: float - must be positive

x = torch.randn(2, 4)
bandwith = 1.5

ARGS = {
    "x": x,
    "bandwith": bandwith,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
read_hyperparameters Ran
ran on a synthesized input
Sai-Sumedh/SaeConceptDuality-SpaDE/functions/utils.py
code served (permissive licence) · get_code("974d150ff5d7b382")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import csv
import tempfile
import os

# Create a temporary CSV file with hyperparameters
temp_dir = tempfile.mkdtemp()
csv_file_path = os.path.join(temp_dir, "hyperparameters.csv")

# Write sample hyperparameters to CSV
with open(csv_file_path, 'w', newline='') as f:
    writer = csv.DictWriter(f, fieldnames=['learning_rate', 'batch_size', 'epochs', 'optimizer'])
    writer.writeheader()
    writer.writerow({'learning_rate': '0.001', 'batch_size': '32', 'epochs': '10', 'optimizer': 'adam'})
    writer.writerow({'learning_rate': '0.0001', 'batch_size': '64', 'epochs': '20', 'optimizer': 'sgd'})
    writer.writerow({'learning_rate': '0.01', 'batch_size': '16', 'epochs': '5', 'optimizer': 'rmsprop'})

ARGS = {
    'task_id': 1,
    'file_path': csv_file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
rectangle Ran
ran on a synthesized input
EkdeepSLubana/spadeFormalGrammars/sae/saes.py
code served (permissive licence) · get_code("7c06d045892ef607")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

x = torch.linspace(-1, 1, 8).reshape(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
rectangle_kernel Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("af2189e3bb817b0b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small input tensor with shape (2, 4) - batch size 2, 4 features
x = torch.randn(2, 4)

# Set a positive bandwidth value
bandwith = 0.5

ARGS = {
    "x": x,
    "bandwith": bandwith,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
silverman_kernel Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("46f3c01f0b0c7c48")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small input tensor
x = torch.randn(2, 4)

# Define bandwidth parameter
bandwidth = 0.5

# Create the ARGS dictionary
ARGS = {
    'x': x,
    'bandwith': bandwidth
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
softplus_inverse Ran
ran on a synthesized input
EkdeepSLubana/spadeFormalGrammars/sae/saes.py
code served (permissive licence) · get_code("c22f704a96321b8f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (1,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small tensor as input
input_tensor = torch.tensor([0.5])

# Define parameters
beta = 1.0
threshold = 20.0

# Construct ARGS dict with all parameters
ARGS = {
    "input": input_tensor,
    "beta": beta,
    "threshold": threshold
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (1,) — shape (1,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
triangular_kernel Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("fa1a887be1a53353")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small tensor with values in range that will test the kernel
# Using values that span both inside and outside the bandwidth
x = torch.tensor([-2.0, -0.5, 0.0, 1.5], dtype=torch.float32)

# Bandwidth parameter - positive value required by assertion
bandwidth = 2.0

ARGS = {
    'x': x,
    'bandwith': bandwidth,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (4,) — shape (4,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
BaseDictionaryLearning Not yet run
unverified (harvested, no recorded run)
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("3dca837c21e29bc5")
How it ran

no invocation recorded.

EncoderFactory Not yet run
unverified (harvested, no recorded run)
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("bbf8fa2e6a8b0d3c")
How it ran

no invocation recorded.

JumpSAE Not yet run
unverified (harvested, no recorded run)
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("915ef400e3c55ea7")
How it ran

no invocation recorded.

SAE Not yet run
unverified (harvested, no recorded run)
KempnerInstitute/Overcomplete/overcomplete/sae/jump_sae.py
code served (permissive licence) · get_code("eafd4c95fdf03869")
How it ran

no invocation recorded.

data_n_loaders Not yet run
unverified (harvested, no recorded run)
Sai-Sumedh/SaeConceptDuality-SpaDE/functions/get_data.py
code served (permissive licence) · get_code("0788ffd60162d5e5")
How it ran

no invocation recorded.

getActivations Not yet run
unverified (harvested, no recorded run)
EkdeepSLubana/spadeFormalGrammars/figures/compute_corrmaps.py
code served (permissive licence) · get_code("83b36163cec01c2a")
How it ran

no invocation recorded.

getActivations Not yet run
unverified (harvested, no recorded run)
EkdeepSLubana/spadeFormalGrammars/figures/compute_metrics.py
code served (permissive licence) · get_code("8364a1e2bf292345")
How it ran

no invocation recorded.

get_dataloader Not yet run
unverified (harvested, no recorded run)
EkdeepSLubana/spadeFormalGrammars/dgp/dataloader.py
pointer only (licence: MIT); the stored copy get_code serves, from Abhinav271828/pcfg-sae-causal-arr-oct24, is pointer only (licence: NONE) · get_code("834a92ff49752de4")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Abhinav271828/pcfg-sae-causal-arr-oct24, and GitHub detected no licence in that repository 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_semicircle Not yet run
unverified (harvested, no recorded run)
Sai-Sumedh/SaeConceptDuality-SpaDE/functions/get_data.py
code served (permissive licence) · get_code("538e46bf31beace3")
How it ran

no invocation recorded.

grammar_evals Not yet run
unverified (harvested, no recorded run)
EkdeepSLubana/spadeFormalGrammars/evals/evals.py
code served (permissive licence) · get_code("2e4225b09bbdd765")
How it ran

no invocation recorded.

top_k_top_p_filtering Not yet run
unverified (harvested, no recorded run)
EkdeepSLubana/spadeFormalGrammars/model/model.py
pointer only (licence: MIT); the stored copy get_code serves, from Abhinav271828/pcfg-sae-causal-arr-oct24, is pointer only (licence: NONE) · get_code("4088666d0047518a")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Abhinav271828/pcfg-sae-causal-arr-oct24, and GitHub detected no licence in that repository 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 37 samples lifted from this paper's linked repositories, 37 carry a function identity and 0 do not. Of the 36 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 0 later) and 32 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
2 dated earlier
2408.12578 (2024-08)
A Percolation Model of Emergence: Analyzing Transformers Trained on a Formal Language
2410.11767 (2024-10)
Analyzing (In)Abilities of SAEs via Formal Languages
top_k_top_p_filtering 2 other papers
2 dated earlier
2408.12578 (2024-08)
A Percolation Model of Emergence: Analyzing Transformers Trained on a Formal Language
2410.11767 (2024-10)
Analyzing (In)Abilities of SAEs via Formal Languages
get_dataloader 1 other paper
1 dated earlier
2410.11767 (2024-10)
Analyzing (In)Abilities of SAEs via Formal Languages
get_module 1 other paper
1 dated earlier
2410.11767 (2024-10)
Analyzing (In)Abilities of SAEs via Formal Languages

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

Sparse Autoencoders (SAEs) are widely used to interpret neural networks by identifying meaningful concepts from their representations. However, do SAEs truly uncover all concepts a model relies on, or are they inherently biased toward certain kinds of concepts? We introduce a unified framework that recasts SAEs as solutions to a bilevel optimization problem, revealing a fundamental challenge: each SAE imposes structural assumptions about how concepts are encoded in model representations, which in turn shapes what it can and cannot detect. This means different SAEs are not interchangeable-switching architectures can expose entirely new concepts or obscure existing ones. To systematically probe this effect, we evaluate SAEs across a spectrum of settings: from controlled toy models that isolate key variables, to semi-synthetic experiments on real model activations and finally to large-scale, naturalistic datasets. Across this progression, we examine two fundamental properties that real-world concepts often exhibit: heterogeneity in intrinsic dimensionality (some concepts are inherently low-dimensional, others are not) and nonlinear separability. We show that SAEs fail to recover concepts when these properties are ignored, and we design a new SAE that explicitly incorporates both, enabling the discovery of previously hidden concepts and reinforcing our theoretical insights. Our findings challenge the idea of a universal SAE and underscores the need for architecture-specific choices in model interpretability.

For agents

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

get_harvested_code_for_paper("2503.01822")
get_code_for_paper("2503.01822")
have("2503.01822")

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

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

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

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

Connect an agent — have() is free.