mlsanityData to 14 Oct 2026

Enhancing Transformers Through Conditioned Embedded Tokens

arXiv 2505.12789 ↗First posted 19 May 2025cs.CVcited by 3

Not on the map. Why?

Abstract (arXiv)

Transformers have transformed modern machine learning, driving breakthroughs in computer vision, natural language processing, and robotics. At the core of their success lies the attention mechanism, which enables the modeling of global dependencies among input tokens. However, we reveal that the attention block in transformers suffers from inherent ill-conditioning, which hampers gradient-based optimization and leads to inefficient training. To address this, we develop a theoretical framework that establishes a direct relationship between the conditioning of the attention block and that of the embedded tokenized data. Building on this insight, we introduce conditioned embedded tokens, a method that systematically modifies the embedded tokens to improve the conditioning of the attention mechanism. Our analysis demonstrates that this approach significantly mitigates ill-conditioning, leading to more stable and efficient training. We validate our methodology across various transformer architectures, achieving consistent improvements in image classification, object detection, instance segmentation, and natural language processing, highlighting its broad applicability and effectiveness.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 34 of its 45 references that are in the map. First posted on arXiv 19 May 2025.

Builds on

34 of 45 references.

References · 34

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  5. 2020End-to-End Object Detection with Transformerscited by 7,414
  6. 2017Mask R-CNNcited by 7,277
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  8. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  9. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
  10. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  11. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
  12. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
22 more
  1. 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
  2. 2021XCiT: Cross-Covariance Image Transformerscited by 338
  3. 2023WIRE: Wavelet Implicit Neural Representationscited by 220
  4. 2022cosFormer: Rethinking Softmax in Attentioncited by 213
  5. 2022DaViT: Dual Attention Vision Transformerscited by 175
  6. 2021VOLO: Vision Outlooker for Visual Recognitioncited by 165
  7. 2022GARF: Gaussian Activated Radiance Fields for High Fidelity Reconstruction and Pose Estimationcited by 86
  8. 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
  9. 2020Trajectron++: Dynamically-Feasible Trajectory Forecasting With Heterogeneous Datacited by 58
  10. 2025RandLoRA: Full-rank parameter-efficient fine-tuning of large modelscited by 35
  11. 2024A Sampling Theory Perspective on Activations for Implicit Neural Representationscited by 24
  12. 2024Efficient Learning With Sine-Activated Low-rank Matricescited by 22
  13. 2020A Deep Conditioning Treatment of Neural Networkscited by 15
  14. 2025Always Skip Attentioncited by 13
  15. 2024From Activation to Initialization: Scaling Insights for Optimizing Neural Fieldscited by 11
  16. 2024Weight Conditioning for Smooth Optimization of Neural Networkscited by 9
  17. 2023Curvature-Aware Training for Coordinate Networkscited by 8
  18. 2024Rethinking Attention: Polynomial Alternatives to Softmax in Transformerscited by 8
  19. 2022On skip connections and normalisation layers in deep optimisationcited by 7
  20. 2022How You Start Matters for Generalizationcited by 5
  21. 2024Invertible Neural Warp for NeRFcited by 5
  22. 2024H-SIREN: Improving implicit neural representations with hyperbolic periodic functionscited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.