Language Through a Prism: A Spectral Approach for Multiscale Language Representations

arXiv:2011.04823 First posted 2020-11-09 v1 NeurIPS 2020
Cite this paper ×
BibTeX
@misc{tamkin2020language,
  title = {Language Through a Prism: A Spectral Approach for Multiscale Language Representations},
  author = {Alex Tamkin and Dan Jurafsky and Noah Goodman},
  year = {2020},
  eprint = {2011.04823},
  archivePrefix = {arXiv},
  primaryClass = {cs.CL},
  url = {https://arxiv.org/abs/2011.04823}
}
APA
Tamkin, A., Jurafsky, D., & Goodman, N. (2020). Language Through a Prism: A Spectral Approach for Multiscale Language Representations [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.04823
GB/T 7714
TAMKIN A, JURAFSKY D, GOODMAN N. Language Through a Prism: A Spectral Approach for Multiscale Language Representations[EB/OL]. (2020-11-09)[2026-11-29]. https://arxiv.org/abs/2011.04823.

Abstract

Language exhibits structure at different scales, ranging from subwords to words, sentences, paragraphs, and documents. To what extent do deep models capture information at these scales, and can we force them to better capture structure across this hierarchy? We approach this question by focusing on individual neurons, analyzing the behavior of their activations at different timescales. We show that signal processing provides a natural framework for separating structure across scales, enabling us to 1) disentangle scale-specific information in existing embeddings and 2) train models to learn more about particular scales. Concretely, we apply spectral filters to the activations of a neuron across an input, producing filtered embeddings that perform well on part of speech tagging (word-level), dialog speech acts classification (utterance-level), or topic classification (document-level), while performing poorly on the other tasks. We also present a prism layer for training models, which uses spectral filters to constrain different neurons to model structure at different scales. Our proposed BERT + Prism model can better predict masked tokens using long-range context and produces multiscale representations that perform better at utterance- and document-level tasks. Our methods are general and readily applicable to other domains besides language, such as images, audio, and video.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!