10 of 12 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 8 have no contract verdict; 1 failure of our instrument; 2 no recorded run), measured 2026-11-22; 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/2202.07304.json · badge: /api/ran/2202.07304.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.
| Repository | Role | Ran |
|---|---|---|
| ameenali/xai_transformers | canonical (classifier label) classifier basis not recorded on the link |
10 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| LayerNorm | Ran ran on a synthesized input |
ameenali/xai_transformers/utils.py code served (permissive licence) · get_code("8aae8fd9930a694c") How it ranRan 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 LayerNormImpl. 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.
|
| apply_self_attention_rules | Ran ran on a synthesized input |
ameenali/xai_transformers/IMDB/run_imdb.py code served (permissive licence) · get_code("62d56a2c8e317a8d") How it ranRan 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 3, dtype family float, shape (2, 4, 5) 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.
|
| avg_heads | Ran ran; our contract draft was wrong, not the code |
ameenali/xai_transformers/IMDB/run_imdb.py code served (permissive licence) · get_code("27481013d8c59da1") How it ranRan 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 (3, 5) 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.
|
| create_data_loader | Ran ran on a synthesized input |
ameenali/xai_transformers/IMDB/imdb.py code served (permissive licence) · get_code("e68f6ccbc2173bdb") How it ranRan 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 DataLoader. 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.
|
| get_adjmat | Ran ran on a synthesized input |
ameenali/xai_transformers/attribution.py code served (permissive licence) · get_code("38d43b4feccaaa24") How it ranRan 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. 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.
|
| get_sst_dataset | Ran ran on a synthesized input |
ameenali/xai_transformers/SST/sst.py code served (permissive licence) · get_code("7448a1b293e85dc5") How it ranRan 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 2, 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.
|
| load_imdb | Ran ran on a synthesized input |
ameenali/xai_transformers/IMDB/imdb.py code served (permissive licence) · get_code("3f92118756cbc8b1") How it ranRan 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 DataFrame. 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.
|
| rename_params | Ran ran on a synthesized input |
ameenali/xai_transformers/IMDB/run_imdb.py code served (permissive licence) · get_code("0918e3d36dec3d64") How it ranRan 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 str. 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.
|
| softmax | Ran ran, honoured the contract we drafted |
ameenali/xai_transformers/attribution.py code served (permissive licence) · get_code("91fe7a23c1c052b7") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned ndarray, ndim 2, dtype family float, shape (3, 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.
|
| to_sentiment | Ran ran on a synthesized input |
ameenali/xai_transformers/IMDB/imdb.py code served (permissive licence) · get_code("3ff61564e786e665") How it ranRan 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 int, ndim 0, dtype family int, shape () 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.
|
| compute_flows | Not yet run unverified (harvested, no recorded run) |
ameenali/xai_transformers/attribution.py code served (permissive licence) · get_code("e6f03715bb008a76") How it ranno invocation recorded. |
| make_p_layer | Not yet run unverified (harvested, no recorded run) |
ameenali/xai_transformers/xai_transformer.py code served (permissive licence) · get_code("c8b195f1d000eaf9") How it ranno invocation recorded. |
Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 9 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| softmax | 4 other papers 3 dated earlier, 1 later |
1804.08049 (2018-04) Semi-supervised User Geolocation via Graph Convolutional Networks |
1901.09216 (2019-01) Modelling Bounded Rationality in Multi-Agent Interactions by Generalized Recursive Reasoning 1905.03381 (2019-05) AutoAssist: A Framework to Accelerate Training of Deep Neural Networks and 1 more not named here |
| avg_heads | 1 other paper 1 later |
2404.03118 (2024-04) LVLM-Interpret: An Interpretability Tool for Large Vision-Language Models |
|
| compute_flows | 1 other paper 1 dated earlier |
2005.00928 (2020-05) Quantifying Attention Flow in Transformers |
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-22.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Transformers have become an important workhorse of machine learning, with numerous applications. This necessitates the development of reliable methods for increasing their transparency. Multiple interpretability methods, often based on gradient information, have been proposed. We show that the gradient in a Transformer reflects the function only locally, and thus fails to reliably identify the contribution of input features to the prediction. We identify Attention Heads and LayerNorm as main reasons for such unreliable explanations and propose a more stable way for propagation through these layers. Our proposal, which can be seen as a proper extension of the well-established LRP method to Transformers, is shown both theoretically and empirically to overcome the deficiency of a simple gradient-based approach, and achieves state-of-the-art explanation performance on a broad range of Transformer models and datasets.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2202.07304")
get_code_for_paper("2202.07304")
have("2202.07304")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2202.07304.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2202.07304)
Connect an agent — have() is free.