mlsanityData to 14 Oct 2026

Neural Decompiling of Tracr Transformers

arXiv 2410.00061 ↗First posted 29 Sep 2024cs.LG cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

Recently, the transformer architecture has enabled substantial progress in many areas of pattern recognition and machine learning. However, as with other neural network models, there is currently no general method available to explain their inner workings. The present paper represents a first step towards this direction. We utilize textitTransformer Compiler for RASP (Tracr) to generate a large dataset of pairs of transformer weights and corresponding RASP programs. Based on this dataset, we then build and train a model, with the aim of recovering the RASP code from the compiled model. We demonstrate that the simple form of Tracr compiled transformer weights is interpretable for such a decompiler model. In an empirical evaluation, our model achieves exact reproductions on more than 30% of the test objects, while the remaining 70% can generally be reproduced with only few errors. Additionally, more than 70% of the programs, produced by our model, are functionally equivalent to the ground truth, and therefore a valid decompilation of the Tracr compiled transformer weights.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 13 of its 19 references that are in the map. First posted on arXiv 29 Sep 2024.

Builds on

13 of 19 references.

References · 13

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 4,057
  4. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,055
  5. 2022In-context Learning and Induction Headscited by 964
  6. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 724
  7. 2020A Survey on Neural Network Interpretabilitycited by 291
  8. 2021Thinking Like Transformerscited by 184
  9. 2023Large Language Models can Strategically Deceive their Users when Put Under Pressurecited by 146
  10. 2023Tracr: Compiled Transformers as a Laboratory for Interpretabilitycited by 104
  11. 2023Deception Abilities Emerged in Large Language Modelscited by 101
  12. 2020Building powerful and equivariant graph neural networks with structural message-passingcited by 97
1 more
  1. 2023Causal Analysis for Robust Interpretability of Neural Networkscited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.