@inproceedings{yun-etal-2021-transformer,
title = "Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factors",
author = "Yun, Zeyu and
Chen, Yubei and
Olshausen, Bruno and
LeCun, Yann",
editor = "Agirre, Eneko and
Apidianaki, Marianna and
Vuli{\'c}, Ivan",
booktitle = "Proceedings of Deep Learning Inside Out (DeeLIO): The 2nd Workshop on Knowledge Extraction and Integration for Deep Learning Architectures",
month = jun,
year = "2021",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.deelio-1.1",
doi = "10.18653/v1/2021.deelio-1.1",
pages = "1--10",
abstract = "Transformer networks have revolutionized NLP representation learning since they were introduced. Though a great effort has been made to explain the representation in transformers, it is widely recognized that our understanding is not sufficient. One important reason is that there lack enough visualization tools for detailed analysis. In this paper, we propose to use dictionary learning to open up these {`}black boxes{'} as linear superpositions of transformer factors. Through visualization, we demonstrate the hierarchical semantic structures captured by the transformer factors, e.g., word-level polysemy disambiguation, sentence-level pattern formation, and long-range dependency. While some of these patterns confirm the conventional prior linguistic knowledge, the rest are relatively unexpected, which may provide new insights. We hope this visualization tool can bring further knowledge and a better understanding of how transformer networks work. The code is available at: \url{https://github.com/zeyuyun1/TransformerVis}.",
}
Markdown (Informal)
[Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factors](https://aclanthology.org/2021.deelio-1.1) (Yun et al., DeeLIO 2021)
ACL