Memory-efficient Stochastic methods for Memory-based Transformers
Not on the map. Why?
Abstract (arXiv)
Training Memory-based transformers can require a large amount of memory and can be quite inefficient. We propose a novel two-phase training mechanism and a novel regularization technique to improve the training efficiency of memory-based transformers, which are often used for long-range context problems. For our experiments, we consider transformer-XL as our baseline model which is one of memorybased transformer models. We show that our resultant model, Skip Cross-head TransformerXL, outperforms the baseline on character level language modeling task with similar parameters and outperforms the baseline on word level language modelling task with almost 20% fewer parameters. Our proposed methods do not require any additional memory. We also demonstrate the effectiveness of our regularization mechanism on BERT which shows similar performance with reduction in standard deviation of scores of around 30% on multiple GLUE tasks.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 23 references that are in the map. First posted on arXiv 14 Nov 2023.
Builds on
18 of 23 references.
References · 18
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2019Are Sixteen Heads Really Better than One?cited by 816
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2019Deep Equilibrium Modelscited by 615
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2019Adaptive Attention Span in Transformerscited by 149
- 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
6 more
- 2016Efficient softmax approximation for GPUscited by 67
- 2020Talking-Heads Attentioncited by 62
- 2016Multiplicative LSTM for sequence modellingcited by 27
- 2021Revisiting Simple Neural Probabilistic Language Modelscited by 10
- 2018Fast Parametric Learning with Activation Memorizationcited by 9
- 2021FNetAR: Mixing Tokens with Autoregressive Fourier Transformscited by 1
Built on by
Not cited yet.