paper-with-me

홈 › Papers

Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMs

2023-09-13 · Angelica Chen, Ravid Shwartz-Ziv, Kyunghyun Cho, Matthew L. Leavitt, Naomi Saphra

Most interpretability research in NLP focuses on understanding the behavior and features of a fully trained model. However, certain insights into model behavior may only be accessible by observing the trajectory of the training process. We present a case study of syntax acquisition in masked language models (MLMs) that demonstrates how analyzing the evolution of interpretable artifacts throughout training deepens our understanding of emergent behavior. In particular, we study Syntactic Attention Structure (SAS), a naturally emerging property of MLMs wherein specific Transformer heads tend to focus on specific syntactic relations. We identify a brief window in pretraining when models abruptly acquire SAS, concurrent with a steep drop in loss. This breakthrough precipitates the subsequent acquisition of linguistic capabilities. We then examine the causal role of SAS by manipulating SAS during training, and demonstrate that SAS is necessary for the development of grammatical capabilities. We further find that SAS competes with other beneficial traits during training, and that briefly suppressing SAS improves model quality. These findings offer an interpretation of a real-world example of both simplicity bias and breakthrough training dynamics.

📄 PDF Abstract BibTeX arXiv:2309.07311

Code (1)

angie-chen55/sudden-drops-in-the-loss 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Focus 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Adam 설명 없음

Similar Papers 제목 키워드 기반

Quiet Feature Learning in Algorithmic Tasks

2025-05-06 · Prudhviraj Naidu, ZiXian Wang, Leon Bergen, Ramamohan Paturi

We train Transformer-based language models on ten foundational algorithmic tasks and observe pronounced phase transitions in their loss curves that deviate from established power-law scaling trends. Over large ranges of …

Abrupt Learning in Transformers: A Case Study on Matrix Completion

2024-10-29 · Pulkit Gopalani, Ekdeep Singh Lubana, Wei Hu

Recent analysis on the training dynamics of Transformers has unveiled an interesting characteristic: the training loss plateaus for a significant number of training steps, and then suddenly (and sharply) drops to near--o…

Language ModelingLanguage ModellingLow-Rank Matrix CompletionMasked Language Modeling+1

Selective Left-Shift: Turning Test-Time Compute and Difficulty-based Curation into Training Data for Low-Resource Code Generation

2026-07-08 · Didula Samaraweera, Anjana Supun, Srinath Perera arxiv

Large Language Models achieve strong code generation for high resource languages like Python and Java but suffer sharp performance drops on Low-Resource Programming Languages~(LRPLs) such as Julia. Improving Small Langua…

Reinforcement LearningCode Generation

Mod\'elisation des processus d'acquisition syntaxique par jeux de langage entre agents artificiels (Modeling Syntactic Acquisition by Language Games between Artificial Agents )

2018-05-01 · JEPTALNRECITAL 2018 5 · Marie Marcia, Isabelle Tellier

Dans cet article, nous pr{\'e}sentons une mod{\'e}lisation de la situation d{'}acquisition de la syntaxe de sa langue maternelle par un enfant inspir{\'e}e des {``}jeux de langages{''} de Luc Steels. Le mod{\`e}le suppos…

The Lock-in Hypothesis: Stagnation by Algorithm

2025-06-06 · Tianyi Alex Qiu, Zhonghao He, Tejasveer Chugh, Max Kleiman-Weiner

The training and deployment of large language models (LLMs) create a feedback loop with human users: models learn human beliefs from data, reinforce these beliefs with generated content, reabsorb the reinforced beliefs, …

Diversity