• LOGIN
    Login with username and password
Repository logo

BORIS Portal

Bern Open Repository and Information System

  • Publications
  • Theses
  • Research Data
  • Projects
  • Organizations
  • Researchers
  • More
  • Collections
  • Statistics
  • LOGIN
    Login with username and password
Repository logo
Unibern.ch
  1. Home
  2. Publications
  3. Neural Decompiling of Tracr Transformers
 

Neural Decompiling of Tracr Transformers

Options
  • Details
  • Files
BORIS DOI
10.48620/77050
Publisher DOI
10.1007/978-3-031-71602-7_3
Description
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 Transformer 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.
Date of Publication
2024-09-19
Publication Type
Conference Item
Language(s)
en
Contributor(s)
Thurnherr, Hannes
Institute of Computer Science
Riesen, Kasparorcid-logo
Institute of Computer Science
Institute of Computer Science, Pattern Recognition Group (PRG)
Additional Credits
Institute of Computer Science, Pattern Recognition Group (PRG)
Institute of Computer Science
Series
Artificial Neural Networks in Pattern Recognition
Publisher
Springer Nature Switzerland
ISSN
0302-9743
1611-3349
Access(Rights)
restricted
Show full item
BORIS Portal
Bern Open Repository and Information System
Build: dd892c [ 9.04. 8:30]
Explore
  • Projects
  • Funding
  • Publications
  • Research Data
  • Organizations
  • Researchers
  • Audiovisual Material
  • Software & other digital items
  • Events
More
  • About BORIS Portal
  • Send Feedback
  • Cookie settings
  • Service Policy
Follow us on
  • Mastodon
  • YouTube
  • LinkedIn
UniBe logo