mlsanityData to 7 Oct 2026

AttentionSmithy: A Modular Framework for Rapid Transformer Development and Customization

arXiv 2502.09503 ↗First posted 13 Feb 2025cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Transformer architectures have transformed AI applications but remain complex to customize for domain experts lacking low-level implementation expertise. We introduce AttentionSmithy, a modular software package that simplifies transformer innovation by breaking down key components into reusable building blocks: attention modules, feed-forward networks, normalization layers, and positional encodings. Users can rapidly prototype and evaluate transformer variants without extensive coding. Our framework supports four positional encoding strategies and integrates with neural architecture search for automated design. We validate AttentionSmithy by replicating the original transformer under resource constraints and optimizing translation performance by combining positional encodings. Additionally, we demonstrate its adaptability in gene-specific modeling, achieving over 95% accuracy in cell type classification. These case studies highlight AttentionSmithy's potential to accelerate research across diverse fields by removing framework implementation barriers.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 38 references that are in the map. First posted on arXiv 13 Feb 2025.

Builds on

15 of 38 references.

References · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  4. 2020Longformer: The Long-Document Transformercited by 3,362
  5. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  6. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  7. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  8. 2018Self-Attention with Relative Position Representationscited by 1,112
  9. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  10. 2022Self-Supervised Speech Representation Learning: A Reviewcited by 258
  11. 2020What Do Position Embeddings Learn? An Empirical Study of Pre-Trained Language Model Positional Encodingcited by 52
  12. 2023Transformer models: an introduction and catalogcited by 21
3 more
  1. 2022Neural Architecture Search on Efficient Transformers and Beyondcited by 17
  2. 2024A Review of Transformer-Based Models for Computer Vision Tasks: Capturing Global Context and Spatial Relationshipscited by 11
  3. 2024Exploring ChatGPT and its Impact on Societycited by 6

Built on by

Not cited yet.