Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factors
원문 초록
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
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
DALR: Dual-level Alignment Learning for Multimodal Sentence Representation Learning
Mechanistic Decomposition of Sentence Representations
Representation Learning through Multimodal Attention and Time-Sync Comments for Affective Video Content Analysis
DIBERT: Dependency Injected Bidirectional Encoder Representations from Transformers
W2VV++: Fully Deep Learning for Ad-hoc Video Search
Sentinel: Decoding Context Utilization via Attention Probing for Efficient LLM Context Compression
토론
이 논문과 연결된 포럼 글이 아직 없습니다.