paper-with-me

Papers

How Syntax Specialization Emerges in Language Models

2025-05-26 · Xufeng Duan, Zhaoqian Yao, Yunhao Zhang, Shaonan Wang, Zhenguang G. Cai

Large language models (LLMs) have been found to develop surprising internal specializations: Individual neurons, attention heads, and circuits become selectively sensitive to syntactic structure, reflecting patterns observed in the human brain. While this specialization is well-documented, how it emerges during training and what influences its development remains largely unknown. In this work, we tap into the black box of specialization by tracking its formation over time. By quantifying internal syntactic consistency across minimal pairs from various syntactic phenomena, we identify a clear developmental trajectory: Syntactic sensitivity emerges gradually, concentrates in specific layers, and exhibits a 'critical period' of rapid internal specialization. This process is consistent across architectures and initialization parameters (e.g., random seeds), and is influenced by model scale and training data. We therefore reveal not only where syntax arises in LLMs but also how some models internalize it during training. To support future research, we will release the code, models, and training checkpoints upon acceptance.

📄 PDF Abstract BibTeX arXiv:2505.19548

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Subspace Chronicles: How Linguistic Information Emerges, Shifts and Interacts during Language Model Training

2023-10-25 · Max Müller-Eberstein, Rob van der Goot, Barbara Plank, Ivan Titov

Representational spaces learned via language modeling are fundamental to Natural Language Processing (NLP), however there has been limited understanding regarding how and when during training various types of linguistic …

Language ModelingLanguage ModellingMulti-Task Learning

Emergent Specialization: Rare Token Neurons in Language Models

2025-05-19 · Jing Liu, Haozheng Wang, Yueheng Li

Large language models struggle with representing and generating rare tokens despite their importance in specialized domains. In this study, we identify neuron structures with exceptionally strong influence on language mo…

Distributed Specialization: Rare-Token Neurons in Large Language Models

2025-09-25 · Jing Liu, Haozheng Wang, Yueheng Li arxiv

Large language models (LLMs) struggle with representing and generating rare tokens despite their importance in specialized domains. We investigate whether LLMs develop internal specialization mechanisms through discrete …

Computational Efficiency

Positional Cognitive Specialization: Where Do LLMs Learn To Comprehend and Speak Your Language?

2026-04-01 · Luis Frentzen Salim, Lun-Wei Ku, Hsing-Kuo Kenneth Pao arxiv

Adapting large language models (LLMs) to new languages is an expensive and opaque process. Understanding how language models acquire new languages and multilingual abilities is key to achieve efficient adaptation. Prior …

Deep RNNs Encode Soft Hierarchical Syntax

2018-05-11 · ACL 2018 7 · Terra Blevins, Omer Levy, Luke Zettlemoyer

We present a set of experiments to demonstrate that deep recurrent neural networks (RNNs) learn internal representations that capture soft hierarchical notions of syntax from highly varied supervision. We consider four s…

Dependency ParsingLanguage ModelingLanguage ModellingMachine Translation+2