Analyzing Individual Neurons in Pre-trained Language Models

By Nadir Durrani, Hassan Sajjad, Fahim Dalvi, Yonatan Belinkov. 2020

127 citations recorded by the source corpus.

While a lot of analysis has been carried to demonstrate linguistic knowledge captured by the representations learned within deep NLP models, very little attention has been paid towards individual neurons.We carry outa neuron-level analysis using core linguistic tasks of predicting morphology, syntax and semantics, on pre-trained language models, with questions like: i) do individual neurons in pre-trained models capture linguistic information? ii) which parts of the network learn more about certain linguistic phenomena? iii) how distributed or focused is the information? and iv) how do various architectures differ in learning these properties? We found small subsets of neurons to predict linguistic tasks, with lower level tasks (such as morphology) localized in fewer neurons, compared to higher level task of predicting syntax. Our study also reveals interesting cross architectural comparisons. For example, we found neurons in XLNet to be more localized and disjoint when predicting properties compared to BERT and others, where they are more distributed and coupled.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Large Language Models, Safety, Robustness & Interpretability

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yonatan Belinkov
  2. Jonathan Berant
  3. Percy Liang
  4. Nadir Durrani
  5. Fahim Dalvi
  6. Mohit Bansal
  7. Hassan Sajjad
  8. Yoav Goldberg

In Computer Vision and Pattern Recognition

  1. Yonatan Belinkov
  2. Fahim Dalvi
  3. Hassan Sajjad
  4. Nadir Durrani
  5. Jonathan Berant
  6. Omer Levy
  7. Ellie Pavlick
  8. Samuel R. Bowman

In Large Language Models

  1. Jonathan Berant
  2. Artur Kulmizev
  3. Ankit Gupta
  4. Mor Geva
  5. Ellie Pavlick
  6. Ryan Cotterell
  7. Yonatan Belinkov
  8. Tiago Pimentel

In Safety, Robustness & Interpretability

  1. Artur Kulmizev
  2. Wes Gurnee
  3. Yonatan Belinkov
  4. Ellie Pavlick
  5. Oleg Serikov
  6. Neel Nanda
  7. Hassan Sajjad
  8. Nadir Durrani

Citations in the corpus