Learning to Abstract with Nonparametric Variational Information Bottleneck

Melika Behjati, Fabio Fehr, James Henderson
10/26/2023
cs.CL

No official code found. Best implementation: idiap/nvib (11 stars, last commit 2025-04-15). 1 more below.

Abstract

Learned representations at the level of characters, sub-words, words and sentences, have each contributed to advances in understanding different NLP tasks and linguistic phenomena. However, learning textual embeddings is costly as they are tokenization specific and require different models to be trained for each level of abstraction. We introduce a novel language representation model which can learn to compress to different levels of abstraction at different layers of the same model. We apply Nonparametric Variational Information Bottleneck (NVIB) to stacked Transformer self-attention layers in the encoder, which encourages an information-theoretic compression of the representations through the model. We find that the layers within the model correspond to increasing levels of abstraction and that their representations are more linguistically informed. Finally, we show that NVIB compression results in a model which is more robust to adversarial perturbations.

View on arXivView PDF

Code Implementations(2)

idiap/nvibCommunity100%

A nonparametric variational information bottleneck (NVIB) layer in Pytorch

114PythonFeb 6, 20231 years ago

The experiments repository for combining NVIB with Transformers self-attention

30PythonOct 11, 20232 years ago

Similar Papers

Cite this paper

@article{behjati2023learning,
  title  = {Learning to Abstract with Nonparametric Variational Information Bottleneck},
  author = {Melika Behjati and Fabio Fehr and James Henderson},
  year   = {2023},
  eprint = {2310.17284},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.17284v1}
}

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/2310.17284.svg)](https://codeofpaper.com/paper/2310.17284)

Discussion