mlsanityData to 7 Oct 2026

"Average" Approximates "First Principal Component"? An Empirical Analysis on Representations from Neural Language Models

arXiv 2104.08673 ↗First posted 18 Apr 2021cs.CL cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Contextualized representations based on neural language models have furthered the state of the art in various NLP tasks. Despite its great success, the nature of such representations remains a mystery. In this paper, we present an empirical property of these representations -- "average" approximates "first principal component". Specifically, experiments show that the average of these representations shares almost the same direction as the first principal component of the matrix whose columns are these representations. We believe this explains why the average representation is always a simple yet strong baseline. Our further examinations show that this property also holds in more challenging scenarios, for example, when the representations are from a model right after its random initialization. Therefore, we conjecture that this property is intrinsic to the distribution of representations and not necessarily related to the input structure. We realize that these representations empirically follow a normal distribution for each dimension, and by assuming this is true, we demonstrate that the empirical property can be in fact derived mathematically.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 15 of its 24 references that are in the map. First posted on arXiv 18 Apr 2021.

Builds on

15 of 24 references.

References · 15

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  4. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  5. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  6. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  7. 2018Deep contextualized word representationscited by 2,285
  8. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  9. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  10. 2018AllenNLP: A Deep Semantic Natural Language Processing Platformcited by 347
  11. 2019Cross-Lingual Ability of Multilingual BERT: An Empirical Studycited by 182
  12. 2020Unsupervised Domain Clusters in Pretrained Language Modelscited by 160
3 more
  1. 2017Deep Keyphrase Generationcited by 102
  2. 2020What Do Position Embeddings Learn? An Empirical Study of Pre-Trained Language Model Positional Encodingcited by 52
  3. 2015Document Classification by Inversion of Distributed Language Representationscited by 4

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 3.

4 papers.