Mechanistic Interpretability of Binary and Ternary Transformers

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteur principal: Li, Jason
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917677130317824
author Li, Jason
author_facet Li, Jason
contents Recent research (arXiv:2310.11453, arXiv:2402.17764) has proposed binary and ternary transformer networks as a way to significantly reduce memory and improve inference speed in Large Language Models (LLMs) while maintaining accuracy. In this work, we apply techniques from mechanistic interpretability to investigate whether such networks learn distinctly different or similar algorithms when compared to full-precision transformer networks. In particular, we reverse engineer the algorithms learned for the toy problem of modular addition where we find that binary and ternary networks learn similar algorithms as full precision networks. This provides evidence against the possibility of using binary and ternary networks as a more interpretable alternative in the LLM setting.
format Preprint
id arxiv_https___arxiv_org_abs_2405_17703
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Mechanistic Interpretability of Binary and Ternary Transformers
Li, Jason
Machine Learning
Computation and Language
Recent research (arXiv:2310.11453, arXiv:2402.17764) has proposed binary and ternary transformer networks as a way to significantly reduce memory and improve inference speed in Large Language Models (LLMs) while maintaining accuracy. In this work, we apply techniques from mechanistic interpretability to investigate whether such networks learn distinctly different or similar algorithms when compared to full-precision transformer networks. In particular, we reverse engineer the algorithms learned for the toy problem of modular addition where we find that binary and ternary networks learn similar algorithms as full precision networks. This provides evidence against the possibility of using binary and ternary networks as a more interpretable alternative in the LLM setting.
title Mechanistic Interpretability of Binary and Ternary Transformers
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2405.17703