Understanding Transformer Encoder-Decoder Representations through Bernoulli Dropout
Xuanzhou Chen
TL;DR
The paper tackles Transformer overparameterization by analyzing angular structure in high-dimensional encoder–decoder embeddings and testing sparsity through Bernoulli dropout. It introduces a BEC-based dropout and AWGN perturbations, providing a theoretical guarantee that Top-1 predictions are preserved when the effective sparsity is large and the pre-dropout margin is positive; this is validated empirically on English–French translation showing a sharp performance breakdown threshold. The work highlights that high-dimensional semantic spaces carry redundancy that can be exploited to reduce computation without large losses in accuracy or BLEU, while also offering insights into semantic preservation under aggressive feature erasure. Overall, the findings point to potential for more parameter-efficient Transformer architectures guided by information-theoretic and geometric considerations.
Abstract
We study Transformer overparameterization through the lens of angular similarity in high-dimensional encoder-decoder embeddings. We apply Bernoulli dropout between the encoder and the decoder, varying the keep probability $p$ to identify a sparsity-dependent threshold above which the Top-1 prediction is preserved. Theoretically, we prove that, if the effective sparsity embeddings is sufficiently large, and thus decoder performance, remain stable under moderate coordinate dropout. Empirically, we implement the Bernoulli dropout by constructing a new Transformer model augmented with Binary Erasure Channel (BEC) and test its performance on an English-French translation task. Experimental results visualize the trends for validation accuracies and BLEU scores, both decline sharply at some threshold.
