SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.06855 · ICML · 2024

Linear Explanations for Individual Neurons

Tsui-Wei Weng, Tuomas Oikarinen

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 2 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/2405.06855.json · badge: /api/ran/2405.06855.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
Trustworthy-ML-Lab/Linear-Explanations marked official in Papers with Code
Papers with Code archive
9 ran · 2 no recorded run
FunctionStatusWhere it lives
elastic_loss_and_acc Ran
ran; our contract draft was wrong, not the code
Trustworthy-ML-Lab/Linear-Explanations/linear_explanation.py
pointer only (licence: NONE) · get_code("5c7687ca2ffbdd60")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Trustworthy-ML-Lab/Linear-Explanations 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.

elastic_loss_and_acc_loader Ran
ran; our contract draft was wrong, not the code
Trustworthy-ML-Lab/Linear-Explanations/linear_explanation.py
pointer only (licence: NONE) · get_code("933fa162a2828c04")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Trustworthy-ML-Lab/Linear-Explanations 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_device Ran
ran; our contract draft was wrong, not the code
Trustworthy-ML-Lab/Linear-Explanations/linear_explanation.py
pointer only (licence: NONE) · get_code("406014b884a2aaa7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Trustworthy-ML-Lab/Linear-Explanations 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.

group_threshold Ran
ran; our contract draft was wrong, not the code
Trustworthy-ML-Lab/Linear-Explanations/linear_explanation.py
pointer only (licence: NONE) · get_code("6bf94bee8741ddb9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Trustworthy-ML-Lab/Linear-Explanations 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.

group_threshold_with_shrinkage Ran
ran; our contract draft was wrong, not the code
Trustworthy-ML-Lab/Linear-Explanations/linear_explanation.py
pointer only (licence: NONE) · get_code("eae0b64c4f002409")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Trustworthy-ML-Lab/Linear-Explanations 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.

maximum_reg_loader Ran
ran, honoured the contract we drafted
Trustworthy-ML-Lab/Linear-Explanations/linear_explanation.py
pointer only (licence: NONE) · get_code("28bd63a25ca690f6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Trustworthy-ML-Lab/Linear-Explanations 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.

soft_threshold Ran
ran, honoured the contract we drafted
Trustworthy-ML-Lab/Linear-Explanations/linear_explanation.py
pointer only (licence: NONE) · get_code("bfe4b187a1c5aeaf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Trustworthy-ML-Lab/Linear-Explanations 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.

soft_threshold_with_shrinkage Ran
ran, honoured the contract we drafted
Trustworthy-ML-Lab/Linear-Explanations/linear_explanation.py
pointer only (licence: NONE) · get_code("9fe33b70d272646e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Trustworthy-ML-Lab/Linear-Explanations 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.

train_saga Ran
ran; our contract draft was wrong, not the code
Trustworthy-ML-Lab/Linear-Explanations/linear_explanation.py
pointer only (licence: NONE) · get_code("0b9235d47974092e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Trustworthy-ML-Lab/Linear-Explanations 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.

glm_saga Not yet run
unverified (harvested, no recorded run)
Trustworthy-ML-Lab/Linear-Explanations/linear_explanation.py
pointer only (licence: NONE) · get_code("aed1ef1270b1463b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Trustworthy-ML-Lab/Linear-Explanations 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.

train_glm_model Not yet run
unverified (harvested, no recorded run)
Trustworthy-ML-Lab/Linear-Explanations/linear_explanation.py
pointer only (licence: NONE) · get_code("fa8f500be0f1bfae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Trustworthy-ML-Lab/Linear-Explanations 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 0 the same month, 7 later) and 4 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
get_device
brick of this paper's assembly: helper
5 other papers
2 dated earlier, 3 later · 2 only as an assembly brick
2105.04857 (2021-05)
Leveraging Sparse Linear Layers for Debuggable Deep Networks
2308.03685 (2023-08)
Learning Concise and Descriptive Attributes for Visual Recognition
2408.01432 (2024-08)
VLG-CBM: Training Concept Bottleneck Models with Vision-Language Guidance
and 2 more not named here
soft_threshold
brick of this paper's assembly: helper
5 other papers
2 dated earlier, 3 later · 2 only as an assembly brick
2105.04857 (2021-05)
Leveraging Sparse Linear Layers for Debuggable Deep Networks
2308.03685 (2023-08)
Learning Concise and Descriptive Attributes for Visual Recognition
2408.01432 (2024-08)
VLG-CBM: Training Concept Bottleneck Models with Vision-Language Guidance
and 2 more not named here
elastic_loss_and_acc_loader
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 1 only as an assembly brick
2308.03685 (2023-08)
Learning Concise and Descriptive Attributes for Visual Recognition
2603.07343 (2026-03)
Learning Concept Bottleneck Models from Mechanistic Explanations
group_threshold
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 2 only as an assembly brick
2308.03685 (2023-08)
Learning Concise and Descriptive Attributes for Visual Recognition
2603.07343 (2026-03)
Learning Concept Bottleneck Models from Mechanistic Explanations
group_threshold_with_shrinkage
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 2 only as an assembly brick
2308.03685 (2023-08)
Learning Concise and Descriptive Attributes for Visual Recognition
2603.07343 (2026-03)
Learning Concept Bottleneck Models from Mechanistic Explanations
maximum_reg_loader
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 2 only as an assembly brick
2308.03685 (2023-08)
Learning Concise and Descriptive Attributes for Visual Recognition
2603.07343 (2026-03)
Learning Concept Bottleneck Models from Mechanistic Explanations
soft_threshold_with_shrinkage
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 2 only as an assembly brick
2308.03685 (2023-08)
Learning Concise and Descriptive Attributes for Visual Recognition
2603.07343 (2026-03)
Learning Concept Bottleneck Models from Mechanistic Explanations

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

In recent years many methods have been developed to understand the internal workings of neural networks, often by describing the function of individual neurons in the model. However, these methods typically only focus on explaining the very highest activations of a neuron. In this paper we show this is not sufficient, and that the highest activation range is only responsible for a very small percentage of the neuron's causal effect. In addition, inputs causing lower activations are often very different and can't be reliably predicted by only looking at high activations. We propose that neurons should instead be understood as a linear combination of concepts, and develop an efficient method for producing these linear explanations. In addition, we show how to automatically evaluate description quality using simulation, i.e. predicting neuron activations on unseen inputs in vision setting.

For agents

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

get_harvested_code_for_paper("2405.06855")
get_code_for_paper("2405.06855")
have("2405.06855")

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

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

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

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

Connect an agent — have() is free.