paper-with-me

홈 › Papers

Tracr: Compiled Transformers as a Laboratory for Interpretability

2023-01-12 · NeurIPS 2023 11 · David Lindner, János Kramár, Sebastian Farquhar, Matthew Rahtz, Thomas McGrath, Vladimir Mikulik

We show how to "compile" human-readable programs into standard decoder-only transformer models. Our compiler, Tracr, generates models with known structure. This structure can be used to design experiments. For example, we use it to study "superposition" in transformers that execute multi-step algorithms. Additionally, the known structure of Tracr-compiled models can serve as ground-truth for evaluating interpretability methods. Commonly, because the "programs" learned by transformers are unknown it is unclear whether an interpretation succeeded. We demonstrate our approach by implementing and examining programs including computing token frequencies, sorting, and parenthesis checking. We provide an open-source implementation of Tracr at https://github.com/google-deepmind/tracr.

📄 PDF Abstract BibTeX arXiv:2301.05062

Code (1)

google-deepmind/tracr 공식 구현 jax

Tasks

Decoder

Similar Papers 제목 키워드 기반

TracrBench: Generating Interpretability Testbeds with Large Language Models

2024-09-07 · Hannes Thurnherr, Jérémy Scheurer

Achieving a mechanistic understanding of transformer-based language models is an open challenge, especially due to their large number of parameters. Moreover, the lack of ground truth mappings between model weights and t…

InterpBench: Semi-Synthetic Transformers for Evaluating Mechanistic Interpretability Techniques

2024-07-19 · Rohan Gupta, Iván Arcuschin, Thomas Kwa, Adrià Garriga-Alonso

Mechanistic interpretability methods aim to identify the algorithm a neural network implements, but it is difficult to validate such methods when the true algorithm is unknown. This work presents InterpBench, a collectio…

A Framework for Feature Discovery in Intracranial Pressure Monitoring Data Using Neural Network Attention

2026-01-12 · Jonathan D. Socha, Seyed F. Maroufi, Dipankar Biswas, Richard Um 외 arxiv

We present a novel framework for analyzing intracranial pressure monitoring data by applying interpretability principles. Intracranial pressure monitoring data was collected from 60 patients at Johns Hopkins. The data wa…

Tracr-Injection: Distilling Algorithms into Pre-trained Language Models

2025-05-15 · Tomás Vergara-Browne, Álvaro Soto

Motivated by the surge of large language models, there has been a push to formally characterize the symbolic abilities intrinsic to the transformer architecture. A programming language, called RASP, has been proposed, wh…

Language ModelingLanguage Modelling

Multi-task Learning Approach for Intracranial Hemorrhage Prognosis

2024-08-16 · Miriam Cobo, Amaia Pérez del Barrio, Pablo Menéndez Fernández-Miranda, Pablo Sanz Bellón 외

Prognosis after intracranial hemorrhage (ICH) is influenced by a complex interplay between imaging and tabular data. Rapid and reliable prognosis are crucial for effective patient stratification and informed treatment de…

Decision MakingMulti-Task LearningPrognosis