How transformers learn structured data: insights from hierarchical filtering
원문 초록
Understanding the learning process and the embedded computation in transformers is becoming a central goal for the development of interpretable AI. In the present study, we introduce a hierarchical filtering procedure for data models of sequences on trees, allowing us to hand-tune the range of positional correlations in the data. Leveraging this controlled setting, we provide evidence that vanilla encoder-only transformers can approximate the exact inference algorithm when trained on root classification and masked language modeling tasks, and study how this computation is discovered and implemented. We find that correlations at larger distances, corresponding to increasing layers of the hierarchy, are sequentially included by the network during training. By comparing attention maps from models trained with varying degrees of filtering and by probing the different encoder levels, we find clear evidence of a reconstruction of correlations on successive length scales corresponding to the various levels of the hierarchy, which we relate to a plausible implementation of the exact inference algorithm within the same architecture.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
BMFM-RNA: An Open Framework for Building and Evaluating Transcriptomic Foundation Models
Diffusion Sequence Models for Enhanced Protein Representation and Generation
Masked Language Models are Good Heterogeneous Graph Generalizers
GigaAM: Efficient Self-Supervised Learner for Speech Recognition
GeoRecon: Graph-Level Representation Learning for 3D Molecules via Reconstruction-Based Pretraining
Improving Low-Resource Morphological Inflection via Self-Supervised Objectives
토론
이 논문과 연결된 포럼 글이 아직 없습니다.