Cited by 98Topic ModelingExplainable Artificial Intelligence (XAI)Natural Language Processing Techniques

The DOI matches its Crossref record; 9 of the 9 references it cites were found in a registry or an index.

Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factors

Open access
Yun, Zeyu, Chen, Yubei, Olshausen, Bruno, LeCun, Yann·2021·Proceedings of Deep Learning Inside Out (DeeLIO): The 2nd Workshop on Knowledge Extraction and Integration for Deep Learning Architectures

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 https://github.com/zeyuyun1/TransformerVis.

Overview

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.18653/v1/2021.deelio-1.1

Cites

9 of 9 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Representations in language models might span multiple layers.

    “Some work even suggests that representations in language models might span multiple layers (Yun et al., 2021;Lindsey et al., 2024).”

    From Open Problems in Mechanistic Interpretability (2025) · cites this paper as Yun et al., 2021

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Flagged first, then by citations

Research works printed but not linked: 15

  1. Amir Beck and Marc Teboulle. 2009. A fast itera- tive shrinkage-thresholding algorithm for linear in- verse problems. SIAM journal on imaging sciences, 2(1):183-202.
  2. Hila Chefer, Shir Gur, and Lior Wolf. 2020. Trans- former interpretability beyond attention visualiza- tion. CoRR, abs/2012.09838. · arXiv
  3. Hila Chefer, Shir Gur, and Lior Wolf. 2021. Generic attention-model explainability for interpreting bi- modal and encoder-decoder transformers. CoRR, abs/2103.15679. · arXiv
  4. John Duchi, Elad Hazan, and Yoram Singer. 2011. Adaptive subgradient methods for online learning and stochastic optimization. Journal of Machine Learning Research, 12(Jul):2121-2159.
  5. Manaal Faruqui, Yulia Tsvetkov, Dani Yogatama, Chris Dyer, and Noah A. Smith. 2015. Sparse overcom- plete word vector representations. In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers). Association for Computa- tional Linguistics.
  6. John Hewitt and Christopher D. Manning. 2019. A structural probe for finding syntax in word represen- tations. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Tech- nologies, Volume 1 (Long and Short Papers).
  7. Geoffrey Hinton. 2021. How to represent part-whole hierarchies in a neural network. arXiv preprint arXiv:2102.12627. · arXiv
  8. Nelson F. Liu, Matt Gardner, Yonatan Belinkov, Matthew E. Peters, and Noah A. Smith. 2019. Lin- guistic knowledge and transferability of contextual representations. In Proceedings of the 2019 Confer- ence of the North American Chapter of the Associ- ation for Computational Linguistics: Human Lan- guage Technologies, Volume 1 (Long and Short Pa- pers). Association for Computational Linguistics.
  9. Emily Reif, Ann Yuan, Martin Wattenberg, Fernanda B. Viégas, Andy Coenen, Adam Pearce, and Been Kim. 2019. Visualizing and measuring the geometry of BERT. In Advances in Neural Information Process- ing Systems 32: Annual Conference on Neural Infor- mation Processing Systems, (NeurIPS), pages 8592- 8600.
  10. Marco Túlio Ribeiro, Sameer Singh, and Carlos Guestrin. 2016. "why should I trust you?": Ex- plaining the predictions of any classifier. CoRR, abs/1602.04938. · arXiv
  11. Sara Sabour, Nicholas Frosst, and Geoffrey E Hinton. 2017. Dynamic routing between capsules. arXiv preprint arXiv:1710.09829. · arXiv
  12. Ian Tenney, Patrick Xia, Berlin Chen, Alex Wang, Adam Poliak, R Thomas McCoy, Najoung Kim, Benjamin Van Durme, Samuel R Bowman, Dipan- jan Das, et al. 2019. What do you learn from context? probing for sentence structure in con- textualized word representations. arXiv preprint arXiv:1905.06316. · arXiv
  13. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. arXiv preprint arXiv:1706.03762. · arXiv
  14. Matthew D Zeiler and Rob Fergus. 2014. Visualizing and understanding convolutional networks. In Euro- pean conference on computer vision, pages 818-833.
  15. Juexiao Zhang, Yubei Chen, Brian Cheung, and Bruno A Olshausen. 2019. Word embedding vi- sualization via dictionary learning. arXiv preprint arXiv:1910.03833. · arXiv

Cited by

Sorted by citations

Metadata

Authors
Yun, Z., Chen, Y., Olshausen, B., & LeCun, Y.
Affiliations
  • University of California, Berkeley (US)
  • Meta (United States) (US)
Corresponding author
Chen, Yubei
Venue
Proceedings of Deep Learning Inside Out (DeeLIO): The 2nd Workshop on Knowledge Extraction and Integration for Deep Learning Architectures
Published
2021
Pages
1-10
OpenAlex
W3170470779
Cited by
98
References
9
Citations by year
2026: 20 · 2025: 40 · 2024: 18 · 2023: 9 · 2022: 9 · 2021: 2
FWCI
3.57
Type
conference paper
Language
en
Open access
Licence
cc-by
Locations
  • Workshop on Knowledge Extraction and Integration for Deep Learning Architectures: Deep Learning Inside Out (DeeLIO) (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Explainable Artificial Intelligence (XAI)
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
Keywords
dictionary learning, contextual embeddings, long-range dependencies, neural network interpretability

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review