Emergence of Separable Manifolds in Deep Language Representations

Jonathan Mamou, Hang Le, Miguel Del Rio, Cory Stephenson, Hanlin Tang +2 more
6/1/2020
cs.CLcs.NE

Official code: schung039/contextual-repr-manifolds (12 stars, Python, last commit 2020-07-13).

Abstract

Deep neural networks (DNNs) have shown much empirical success in solving perceptual tasks across various cognitive modalities. While they are only loosely inspired by the biological brain, recent studies report considerable similarities between representations extracted from task-optimized DNNs and neural populations in the brain.

Show full abstract

DNNs have subsequently become a popular model class to infer computational principles underlying complex cognitive functions, and in turn, they have also emerged as a natural testbed for applying methods originally developed to probe information in neural populations. In this work, we utilize mean-field theoretic manifold analysis, a recent technique from computational neuroscience that connects geometry of feature representations with linear separability of classes, to analyze language representations from large-scale contextual embedding models. We explore representations from different model families (BERT, RoBERTa, GPT, etc.) and find evidence for emergence of linguistic manifolds across layer depth (e.g., manifolds for part-of-speech tags), especially in ambiguous data (i.e, words with multiple part-of-speech tags, or part-of-speech classes including many words). In addition, we find that the emergence of linear separability in these manifolds is driven by a combined reduction of manifolds' radius, dimensionality and inter-manifold correlations.

View on arXivView PDF

Code Implementations(1)

125PythonJun 18, 20206 years ago

Similar Papers

Cite this paper

@article{mamou2020emergence,
  title  = {Emergence of Separable Manifolds in Deep Language Representations},
  author = {Jonathan Mamou and Hang Le and Miguel Del Rio and Cory Stephenson and Hanlin Tang and Yoon Kim and SueYeon Chung},
  year   = {2020},
  eprint = {2006.01095},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.01095}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.01095.svg)](https://codeofpaper.com/paper/2006.01095)

Discussion