A Variational AutoEncoder for Transformers with Nonparametric Variational Information Bottleneck

James Henderson, Fabio Fehr
7/27/2022
cs.LGcs.CL
transformer-attention

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We propose a VAE for Transformers by developing a variational information bottleneck regulariser for Transformer embeddings. We formalise the embedding space of Transformer encoders as mixture probability distributions, and use Bayesian nonparametrics to derive a nonparametric variational information bottleneck (NVIB) for such attention-based embeddings.

Show full abstract

The variable number of mixture components supported by nonparametric methods captures the variable number of vectors supported by attention, and the exchangeability of our nonparametric distributions captures the permutation invariance of attention. This allows NVIB to regularise the number of vectors accessible with attention, as well as the amount of information in individual vectors. By regularising the cross-attention of a Transformer encoder-decoder with NVIB, we propose a nonparametric variational autoencoder (NVAE). Initial experiments on training a NVAE on natural language text show that the induced embedding space has the desired properties of a VAE for Transformers.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{henderson2022variational,
  title  = {A Variational AutoEncoder for Transformers with Nonparametric Variational Information Bottleneck},
  author = {James Henderson and Fabio Fehr},
  year   = {2022},
  eprint = {2207.13529},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.13529v2}
}

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

Discussion