mlsanityData to 14 Oct 2026

Collapse-Free Prototype Readout Layer for Transformer Encoders

arXiv 2604.03850 ↗First posted 4 Apr 2026cs.LG cs.NEcited by 0

Not on the map. Why?

Abstract (arXiv)

DDCL-Attention is a prototype-based readout layer for transformer encoders that replaces simple pooling methods, such as mean pooling or class tokens, with a learned compression mechanism. It uses a small set of global prototype vectors and assigns tokens to them through soft probabilistic matching, producing compact token summaries at linear complexity in sequence length. The method offers three main advantages. First, it avoids prototype collapse through an exact decomposition of the training loss into a reconstruction term and a diversity term, ensuring that prototypes remain distinct. Second, its joint training with the encoder is shown to be stable under a practical timescale condition, using Tikhonov's singular perturbation theory and explicit learning-rate constraints. Third, the same framework supports three uses: a final readout layer, a differentiable codebook extending VQ-VAE, and a hierarchical document compressor. Experiments on four datasets confirm the theoretical predictions: the loss decomposition holds exactly, prototype separation grows as expected when the stability condition is met, and the codebook reaches full utilization, outperforming standard hard vector quantization. An additional study on orbital debris classification shows that the method also applies beyond standard NLP and vision tasks, including scientific tabular data.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 27 of its 39 references that are in the map. First posted on arXiv 4 Apr 2026.

Builds on

27 of 39 references.

References · 27

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  7. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  8. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  9. 2017Neural Discrete Representation Learningcited by 4,712
  10. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  11. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  12. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,387
15 more
  1. 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
  2. 2020Object-Centric Learning with Slot Attentioncited by 876
  3. 2021Perceiver IO: A General Architecture for Structured Inputs & Outputscited by 629
  4. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  5. 2023Finite Scalar Quantization: VQ-VAE Made Simplecited by 440
  6. 2024Addressing Representation Collapse in Vector Quantized Models with One Linear Layercited by 80
  7. 2022ProtoPFormer: Concentrating on Prototypical Parts in Vision Transformers for Interpretable Image Recognitioncited by 63
  8. 2024Bridging the Divide: Reconsidering Softmax and Linear Attentioncited by 48
  9. 2024Adaptive Slot Attention: Object Discovery with Dynamic Slot Numbercited by 34
  10. 2023EdVAE: Mitigating Codebook Collapse with Evidential Discrete Variational Autoencoderscited by 16
  11. 2021Shallow decision trees for explainable k-means clusteringcited by 15
  12. 2023Object-Centric Learning with Slot Mixture Modulecited by 11
  13. 2022Deep Image Clustering with Contrastive Learning and Multi-scale Graph Convolutional Networkscited by 5
  14. 2026Prototype Transformer: Towards Language Model Architectures Interpretable by Designcited by 2
  15. 2026DDCL: Deep Dual Competitive Learning: A Differentiable End-to-End Framework for Unsupervised Prototype-Based Representation Learningcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023Context Compression for Auto-regressive Transformers with Sentinel Tokens
  2. 2025Modality Agnostic Efficient Long Range Encoder
  3. 2026Looped Latent Attention: Cross-Loop KV Compression for Looped Transformers
  4. 2023Modular Transformers: Compressing Transformers into Modularized Layers for Flexible Efficient Inference
  5. 2024A Survey on Transformer Compression
  6. 2026Residual Stream Duality in Modern Transformer Architectures
  7. 2026AVQ-Attention: Adaptive Vector-Quantized Attention
  8. 2025Attention-Only Transformers via Unrolled Subspace Denoising