In plain words: Measuring how concentrated a language model's activations and gradients are for each word shows whether sparsity appears on its own instead of being built in. It does: function words like 'the' and 'of' get more concentrated gradients than content words, even when equally common.
Abstract
Concerns about interpretability, computational resources, and principled inductive priors have motivated efforts to engineer sparse neural models for NLP tasks. If sparsity is important for NLP, might well-trained neural models naturally become roughly sparse? Using the Taxi-Euclidean norm to measure sparsity, we find that frequent input words are associated with concentrated or sparse activations, while frequent target words are associated with dispersed activations but concentrated gradients. We find that gradients associated with function words are more concentrated than the gradients of content words, even controlling for word frequency.
Naomi Saphra, Adam Lopez
arXiv:1908.01817 · cs.CL, cs.LG, stat.ML · submitted Jul 22, 2019
abstract · pdf · html · Published in the ICML 2019 Workshop on Identifying and Understanding Deep Learning Phenomena: https://openreview.net/forum?id=H1ets1h56E