English

Understanding Learning Dynamics Of Language Models with SVCCA

Computation and Language 2020-04-29 v3 Neural and Evolutionary Computing

Abstract

Research has shown that neural models implicitly encode linguistic features, but there has been no research showing \emph{how} these encodings arise as the models are trained. We present the first study on the learning dynamics of neural language models, using a simple and flexible analysis method called Singular Vector Canonical Correlation Analysis (SVCCA), which enables us to compare learned representations across time and across models, without the need to evaluate directly on annotated data. We probe the evolution of syntactic, semantic, and topic representations and find that part-of-speech is learned earlier than topic; that recurrent layers become more similar to those of a tagger during training; and embedding layers less similar. Our results and methods could inform better learning algorithms for NLP models, possibly to incorporate linguistic information more effectively.

Keywords

Cite

@article{arxiv.1811.00225,
  title  = {Understanding Learning Dynamics Of Language Models with SVCCA},
  author = {Naomi Saphra and Adam Lopez},
  journal= {arXiv preprint arXiv:1811.00225},
  year   = {2020}
}

Comments

Accepted for publication in NAACL 2019

R2 v1 2026-06-23T05:00:08.418Z