mlsanityData to 14 Oct 2026

Less is More! A slim architecture for optimal language translation

arXiv 2305.10991 ↗First posted 18 May 2023cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

The softmax attention mechanism has emerged as a noteworthy development in the field of Artificial Intelligence research, building on the successes of Transformer-based architectures. However, their ever increasing sizes necessitate ever increasing computational memory, that limits their usage. We propose KgV, a sigmoid gating mechanism that, in conjunction with softmax attention, significantly boosts performance without increasing architecture size. To amend the size requirements, we leverage Tensor Chains to identify and prune the excess parameters. We find that such excess resides primarily within the embedding layer, and not in the output linear layer. To further improve embedding and significantly reduce parameters, we introduce H-SoftPOS, a hierarchical embedding layer which simultaneously enhances performance. Remarkably, on the WMT14 English-German validation set, our approach yields a threefold reduction in perplexity, surpassing the current state-of-the-art, while reducing parameter counts also by a factor of 3. When we further reduce the number of parameters up to sevenfold, we can still achieve a 21% decrease in perplexity with respect to the baseline Transformer. To understand generalization capabilities, we conduct experiments on the 7 language pairs of the WMT17 dataset. Our method outperforms existing techniques in terms of test loss while simultaneously halving the number of parameters. Moreover, we observe a 70 times reduction in variance with respect to the prior state-of-the-art. In conclusion, our proposed method yields significant improvements in performance and much lower memory cost. We call the resulting architecture Anthe.

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

Builds on

26 of 39 references.

References · 26

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  6. 2016Densely Connected Convolutional Networkscited by 6,720
  7. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  8. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  9. 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 4,057
  10. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  11. 2020Longformer: The Long-Document Transformercited by 3,413
  12. 2016Pointer Sentinel Mixture Modelscited by 3,096
14 more
  1. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  2. 2020GLU Variants Improve Transformercited by 1,804
  3. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  4. 2020Reformer: The Efficient Transformercited by 1,668
  5. 2020Rethinking Attention with Performerscited by 1,601
  6. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  7. 2014Neural Turing Machinescited by 644
  8. 2021A Survey of Transformerscited by 401
  9. 2015Tensorizing Neural Networkscited by 250
  10. 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 178
  11. 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 130
  12. 2015Gated Feedback Recurrent Neural Networkscited by 54
  13. 2019Compressing deep neural networks by matrix product operatorscited by 28
  14. 2020Sub-Linear Memory: How to Make Performers SLiMcited by 18

Built on by

Not cited yet.