Understanding Transformer Encoder-Decoder Representations through Bernoulli Dropout

Xuanzhou Chen
1/24/2026
cs.LG
transformer-attention

No confident code implementation found for this paper.

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.

Show full abstract

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.

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. Any repos shown below are weak matches — 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{chen2026understanding,
  title  = {Understanding Transformer Encoder-Decoder Representations through Bernoulli Dropout},
  author = {Xuanzhou Chen},
  year   = {2026},
  eprint = {2601.17602},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.17602v1}
}

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

Discussion