Transformer-XL: Attentive Language Models beyond a Fixed-Length Context
Open accessThe DOI matches its Crossref record; 65 of the 67 references it cites were found in a registry or an index.
Abstract
Transformers have a potential of learning longer-term dependency, but are limited by a fixed-length context in the setting of language modeling.We propose a novel neural architecture Transformer-XL that enables learning dependency beyond a fixed length without disrupting temporal coherence.It consists of a segment-level recurrence mechanism and a novel positional encoding scheme.Our method not only enables capturing longer-term dependency, but also resolves the context fragmentation problem.As a result, Transformer-XL learns dependency that is 80% longer than RNNs and 450% longer than vanilla Transformers, achieves better performance on both short and long sequences, and is up to 1,800+ times faster than vanilla Transformers during evaluation.Notably, we improve the state-ofthe-art results of bpc/perplexity to 0.99 on en-wiki8, 1.08 on text8, 18.3 on WikiText-103, 21.8 on One Billion Word, and 54.5 on Penn Treebank (without finetuning).When trained only on WikiText-103, Transformer-XL manages to generate reasonably coherent, novel text articles with thousands of tokens.Our code, pretrained models, and hyperparameters are available in both Tensorflow and PyTorch 1 .
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The cited source doesn’t support the claim as written.
In the citing paper
“note that the Transformer XL model25 incorporates some form of recurrent processing within the transformer block, but it still takes the entire text as its input in parallel.”
From Incremental accumulation of linguistic context in artificial and biological neural networks (2025) · cites this paper as [25]
Checked by a reasoning model — may be wrong.
Experimental — accuracy not yet measuredThe source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“Directly extending the context length of transformers incurs a quadratic increase in computational time and memory cost due to the transformer architecture's self-attention mechanism, making the design of new long-context architectures a pressing research challenge (Dai et al., 2019; Kitaev et al., 2020; Beltagy et al., 2020).”
From MemGPT: Towards LLMs as Operating Systems (2023) · cites this paper as Dai et al., 2019
Experimental — accuracy not yet measuredThe source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“We believe that the different trends are caused by the truncation problem [59], [60].”
From What Makes Good In-Context Demonstrations for Code Intelligence Tasks with LLMs? (2023) · cites this paper as [59]
Experimental — accuracy not yet measuredThe source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“Fixed-window methods : including context windows of 4K, 8K, and 16K tokens with FIFO eviction [10, 2]”
From FadeMem: Biologically-Inspired Forgetting for Efficient Agent Memory (2026) · cites this paper as [10]
Experimental — accuracy not yet measuredThe source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“Thus, in practice, Transformer-XL and Compressive Transformer need huge memory size to achieve good performance.”
From Memformer: a memory-augmented transformer for sequence modeling (2020) · cites this paper as Dai et al., 2019
Experimental — accuracy not yet measured
12 more claims about this paper
Create a free account to see every claim other papers make about this one.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404 · cited 7×
“On the other hand, the direct connections between long-distance word pairs baked in attention mechanisms might ease optimization and enable the learning of long-term dependency (Bahdanau et al., 2014; Vaswani et al., 2017).”
BackgroundMethodInfluentialHochreiter, S., & Schmidhuber, J. (1997) · Neural Computation · doi:10.1162/neco.1997.9.8.1735 · Cited by 102,318 · cited 2×
“Recurrent neural networks (RNNs), in particular Long Short-Term Memory (LSTM) networks (Hochreiter & Schmidhuber, 1997), have been a standard solution to language modeling and obtained strong results on multiple benchmarks.”
BackgroundExploiting Generative AI to Scale up Intelligent Tutoring Systems
Jakubův, J., Chvalovský, K., Goertzel, Z., Kaliszyk, C., Olšák, M., Piotrowski, B., Schulz, S., Suda, M., & Urban, J. (2023) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.itp.2023.19 · Cited by 76,658
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173 · cited 4×
“Second, though it is possible to use padding to respect the sentence or other semantic boundaries, in practice it has been standard practice to simply chunk long text into fixed-length segments due to improved efficiency (Peters et al., 2018; Devlin et al., 2018; Al-Rfou et al., 2018).”
BackgroundInfluentialBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325 · cited 4×
“Second, though it is possible to use padding to respect the sentence or other semantic boundaries, in practice it has been standard practice to simply chunk long text into fixed-length segments due to improved efficiency (Peters et al., 2018; Devlin et al., 2018; Al-Rfou et al., 2018).”
BackgroundInfluentialNeural Machine Translation by Jointly Learning to Align and Translate
Bahdanau, D., Cho, K., & Bengio, Y. (2014) · arXiv · doi:10.48550/arxiv.1409.0473 · Cited by 16,213 · cited 2×
“On the other hand, the direct connections between long-distance word pairs baked in attention mechanisms might ease optimization and enable the learning of long-term dependency (Bahdanau et al., 2014; Vaswani et al., 2017).”
BackgroundDeep Contextualized Word Representations
Peters, M., Neumann, M., Iyyer, M., Gardner, M., Clark, C., Lee, K., & Zettlemoyer, L. (2018) · Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers) · doi:10.18653/v1/n18-1202 · Cited by 11,983 · cited 4×
“Second, though it is possible to use padding to respect the sentence or other semantic boundaries, in practice it has been standard practice to simply chunk long text into fixed-length segments due to improved efficiency (Peters et al., 2018; Devlin et al., 2018; Al-Rfou et al., 2018).”
BackgroundInfluentialRecurrent neural network based language model
Mikolov, T., Karafiát, M., Burget, L., Černocký, J., & Khudanpur, S. (2010) · Interspeech 2010 · doi:10.21437/interspeech.2010-343 · Cited by 5,390 · cited 5×
“However, different from truncated BPTT, our method caches a sequence of hidden states instead of the last one, and should be applied together with the relative positional encoding technique described in Section 3.3.”
BackgroundMethodInfluentialAn Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling
Bai, S., Kolter, J. Z., & Koltun, V. (2018) · arXiv · doi:10.48550/arxiv.1803.01271 · Cited by 4,655
Neural Architecture Search with Reinforcement Learning
Zoph, B., & Le, Q. V. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1611.01578 · Cited by 3,974
Self-citation
Research works printed but not linked: 1
- Matthew E Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. 2018. Deep contextualized word rep- resentations. arXiv preprint arXiv:1802.05365. · arXiv
Cited by
Items 901–1,000 of 1,058
GAT-CADNet: Graph Attention Network for Panoptic Symbol Spotting in CAD Drawings
Zheng, Z., Li, J., Zhu, L., Li, H., Petzold, F., & Tan, P. (2022) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr52688.2022.01145 · Cited by 47
“[8] found attention matrix is usually sparse and local focused.”
BackgroundComparative Study-Based Data-Driven Models for Lithium-Ion Battery State-of-Charge Estimation
Hussein, H. M., Esoofally, M., Donekal, A., Rafin, S. M. S. H., & Mohammed, O. A. (2024) · Batteries · doi:10.3390/batteries10030089 · Cited by 46
Hyperspectral Image Denoising via Spatial–Spectral Recurrent Transformer
Fu, G., Xiong, F., Lu, J., Zhou, J. W., Zhou, J., & Qian, Y. (2024) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2024.3374953 · Cited by 46
“In addition, the shortcomings of the transformers in remembering past states [19] limit them to handle only a predetermined fixed number of bands after the network is trained.”
BackgroundEfficient LLMs Training and Inference: An Introduction
Li, R., Fu, D., Shi, C., Huang, Z., & Lu, G. (2024) · IEEE Access · doi:10.1109/access.2024.3501358 · Cited by 47
“…[22], layer normalization [23], [24], and feedforward network [25], [26]. b) Architecture-level variants: Examples include lightweight Transformers [27], improved inter-block connections [28], adaptive computation time [29], divide-and-conquer strategies [30], and alternative architectures [31].”
Exploring Context Window of Large Language Models via Decomposed Positional Vectors
Dong, Z., Li, J., Men, X., Zhao, W. X., Wang, B., Tian, Z., Chen, W., & Wen, J.-R. (2024) · neural information processing systems · doi:10.52202/079017-0330 · Cited by 46
TIME: Text and Image Mutual-Translation Adversarial Networks
Liu, B., Song, K., Zhu, Y., de Melo, G., & Elgammal, A. (2021) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v35i3.16305 · Cited by 47
General-Purpose User Embeddings based on Mobile App Usage
Zhang, J., Bai, B., Lin, Y., Liang, J., Bai, K., & Wang, F. (2020) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3394486.3403334 · Cited by 46
“TransformerXL [8] and reformer [18] are proposed to further reduce the complexity when the length of sequences is very long, e.”
BackgroundCloze Distillation: Improving Neural Language Models with Human Next-Word Prediction
Eisape, T., Zaslavsky, N., & Lévy, R. (2020) · Conference on Computational Natural Language Learning · doi:10.18653/v1/2020.conll-1.49 · Cited by 47
“First, we use Provo to test the psychometric performance of three state-of-the-art Transformer-based (Vaswani et al., 2017) LMs — XLNet (Yang et al., 2019), Transformer-XL (Dai et al., 2019), and GPT-2 (Radford et al., 2019) — alongside a smaller 2-layer LSTM (Hochreiter and Schmidhu-ber, 1997) trained on wikitext-103…”
BackgroundGautam, A., Venktesh, V., & Masud, S. (2021) · Communications in computer and information science · doi:10.1007/978-3-030-73696-5_18 · Cited by 46
Introduction to Neural Transfer Learning With Transformers for Social Science Text Analysis
Wankmüller, S. (2022) · Sociological Methods & Research · doi:10.1177/00491241221134527 · Cited by 48
“To solve this problem, various works present procedures for altering the Transformer architecture such that longer text documents can be processed (Child et al. 2019; Dai et al. 2019; Beltagy et al. 2020; Kitaev et al. 2020; Wang et al. 2020; Zaheer et al. 2020).”
Mitchell, J. R., Szepietowski, P., Howard, R., Reisman, P., Jones, J. D., Lewis, P., Fridley, B. L., & Rollison, D. E. (2022) · Journal of Medical Internet Research · doi:10.2196/27210 · Cited by 45
“This success spawned rapid research and development of multiple BERT-inspired and transformer-based neural architectures [25-33].”
MethodQuery-Key Normalization for Transformers
Henry, A., Dachapally, P. R., Pawar, S. S., & Chen, Y. (2020) · Findings of the Association for Computational Linguistics: EMNLP 2020 · doi:10.18653/v1/2020.findings-emnlp.379 · Cited by 45
DKPLM: Decomposable Knowledge-Enhanced Pre-trained Language Model for Natural Language Understanding
Zhang, T., Wang, C., Hu, N., Qiu, M., Tang, C., He, X., & Huang, J. (2022) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v36i10.21425 · Cited by 45
Baidu Neural Machine Translation Systems for WMT19
Sun, M., Jiang, B., Xiong, H., He, Z., Wu, H. R., & Wang, H. (2019) · Conference on Machine Translation (WMT) · doi:10.18653/v1/w19-5341 · Cited by 45
“…system, and propose three novel Transformer variants: • Pre-trained Transformer: We train a big Transformer language model (Radford et al., 2018; Devlin et al., 2018; Dai et al., 2019; Sun et al., 2019) on monolingual corpora, and use the language model as the encoder of the Transformer model.”
BackgroundMethodJiang, J., Wu, B., Chen, L., Zhang, K., & Kim, S. (2023) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3583780.3614868 · Cited by 45
“Inspired by the positional embeddings of Transformers [9, 17], we utilize two types of embeddings, spatial embeddings Enode = {e (1) node, e (2) node, · · · , e (N ) node} ∈ R N×de and temporal embeddings Etime = {e (1) time, e (2) time, · · · , e (T ) time} ∈ R T×de to denote the unique representations of each node a…”
MethodRelative Positional Encoding for Speech Recognition and Direct Translation
Pham, N.-Q., Ha, T.-L., Nguyen, T. N., Nguyen, T., Salesky, E., Stüker, S., Niehues, J., & Waibel, A. H. (2020) · Interspeech (USB) · doi:10.21437/interspeech.2020-2526 · Cited by 45
Probabilistically Masked Language Model Capable of Autoregressive Generation in Arbitrary Word Order
Liao, Y., Jiang, X., & Liu, Q. (2020) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2020.acl-main.24 · Cited by 47
Improving the Prosody of RNN-Based English Text-To-Speech Synthesis by Incorporating a BERT Model
Kenter, T., Sharma, M. K., & Clark, R. (2020) · Interspeech (USB) · doi:10.21437/interspeech.2020-1430 · Cited by 44
“An alternative approach is employed in [16, 17], where the input, again, is split into consecutive segments, that the model now recurses over.”
MethodRepresentations for Question Answering from Documents with Tables and Text
Zayats, V., Toutanova, K., & Ostendorf, M. (2021) · Conference of the European Chapter of the Association for Computational Linguistics · doi:10.18653/v1/2021.eacl-main.253 · Cited by 44
Deep Learning for Market by Order Data
Zhang, Z., Lim, B. Y., & Zohren, S. (2021) · Applied Mathematical Finance · doi:10.1080/1350486x.2021.1967767 · Cited by 45
Representation Learning on Knowledge Graphs for Node Importance Estimation
Huang, H. K., Sun, L., Du, B., Liu, C., Lv, W., & Xiong, H. (2021) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3447548.3467342 · Cited by 46
“We first make two copies for the input knowledge graph as shown in Figure 2, one using the features 𝑋 (𝑠) from node2vec that focus on graph topology as the node initialization features, and the other using the textual features 𝑋 (𝑐) encoded by Transformer-XL that focus on node semantics as the initialization.”
MethodSliding Selector Network with Dynamic Memory for Extractive Summarization of Long Documents
Cui, P., & Hu, L. (2021) · Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT) · doi:10.18653/v1/2021.naacl-main.470 · Cited by 45
“This positional bias may lead to inferior performance (Zhong et al., 2019; Dai et al., 2019).”
BackgroundExploiting Positional Information for Session-Based Recommendation
Qiu, R., Huang, Z. H., Chen, T., & Yin, H. (2021) · ACM Transactions on Information Systems · doi:10.1145/3473339 · Cited by 46
“For example, the language model XLNet [52] and Transformer-XL [9] propose different types of relative position encodings to represent the relative positional information between words in a sentence.”
BackgroundMethodInfluentialSuresh, A., Jacobs, J., Perkoff, M., Martin, J., & Sumner, T. (2022) · Workshop on Innovative Use of NLP for Building Educational Applications · doi:10.18653/v1/2022.bea-1.11 · Cited by 45
“Research efforts to learn long-term dependencies with transformers were first introduced in Transformer-XL (Dai et al., 2019).”
BackgroundInfluentialGaussian Radar Transformer for Semantic Segmentation in Noisy Radar Data
Zeller, M., Behley, J., Heidingsfeld, M., & Stachniss, C. (2022) · IEEE Robotics and Automation Letters · doi:10.1109/lra.2022.3226030 · Cited by 45
“Self-attention models have revolutionized natural language processing [5], [28] and inspired self-attention modules for image recognition [11], [22], [44] and point cloud processing [36], [41].”
BackgroundLatent Relation Language Models
Hayashi, H., Hu, Z., Xiong, C., & Neubig, G. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i05.6298 · Cited by 44
Hardware-Software Co-Design of an In-Memory Transformer Network Accelerator
Laguna, A. F., Sharifi, M. M., Kazemi, A., Yin, X., Niemier, M. T., & Hu, X. S. (2022) · Frontiers in Electronics · doi:10.3389/felec.2022.847069 · Cited by 44
“However, attention caching (Dai et al., 2019), which necessitates writing in the crossbars, has been shown to improve the execution time of transformer networks for long sequences by reducing the number of operations.”
BackgroundMethodInfluentialMaking Pre-trained Language Models End-to-end Few-shot Learners with Contrastive Prompt Tuning
Xu, Z., Wang, C., Qiu, M., Luo, F., Xu, R., Huang, S., & Huang, J. (2023) · ACM International Conference on Web Search and Data Mining (WSDM) · doi:10.1145/3539597.3570398 · Cited by 44
“Other PLMs based on the transformer encoder architecture include ALBERT [18], Transformer-XL [3], XLNet [49], StructBERT [47], Big Bird [50] and many others.”
MethodWu, Y., Kong, Q., Zhang, L., Castiglione, A., Nappi, M., & Wan, S. (2023) · IEEE Transactions on Computational Biology and Bioinformatics · doi:10.1109/tcbb.2023.3258455 · Cited by 44
“As transformers are limited by a fixed-length context in the setting of language modeling, Transformer-XL [31] is proposed to enable learning dependency beyond a fixed length without disrupting temporal coherence, which manages to generate reasonably coherent, novel text articles with thousands of…”
CAVE: Cerebral artery–vein segmentation in digital subtraction angiography
Su, R., van der Sluijs, M., Chen, Y., Cornelissen, S. A., van den Broek, R., van Zwam, W. H., van der Lugt, A., Niessen, W. J., Ruijters, D., & van Walsum, T. (2024) · Computerized Medical Imaging and Graphics · doi:10.1016/j.compmedimag.2024.102392 · Cited by 44
“While the temporal transformer is often considered superior (Vaswani et al., 2017; Devlin et al., 2018; Dai et al., 2019), its effectiveness may not consistently extend to all scenarios.”
BackgroundCai, T., Merz, G. W., Charton, F., Nolte, N. S., Wilhelm, M., Cranmer, K. S., & Dixon, L. J. (2024) · Machine Learning Science and Technology · doi:10.1088/2632-2153/ad743e · Cited by 45
Winter wheat weed detection based on deep learning models
Li, Z., Wang, D., Yan, Q. Y., Zhao, M., Wu, X., & Liu, X. (2024) · Computers and Electronics in Agriculture · doi:10.1016/j.compag.2024.109448 · Cited by 44
Probing for Referential Information in Language Models
Sorodoc, I.-T., Gulordava, K., & Boleda, G. (2020) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2020.acl-main.384 · Cited by 45
“The great difference in performance between AWD-LSTM and TransformerXL could suggest that the latter is using different strategies compared to the former.”
BackgroundMethodInfluentialRevisiting Representation Degeneration Problem in Language Modeling
Zhang, Z., Gao, C., Xu, C., Miao, R., Yang, Q., & Shao, J. (2020) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2020.findings-emnlp.46 · Cited by 44
“Exploring new architectures like the BERT (Devlin et al., 2019) and the Transformer-XL (Dai et al., 2019) is also essential for the future study.”
BackgroundScaling Language Model Size in Cross-Device Federated Learning
Ro, J., Breiner, T., McConnaughey, L., Chen, M., Suresh, A., Kumar, S., & Mathews, R. (2022) · doi:10.18653/v1/2022.fl4nlp-1.2 · Cited by 44
Momentum Pseudo-Labeling: Semi-Supervised ASR With Continuously Improving Pseudo-Labels
Higuchi, Y., Moritz, N., Roux, J. L., & Hori, T. (2022) · IEEE Journal of Selected Topics in Signal Processing · doi:10.1109/jstsp.2022.3195367 · Cited by 45
“Unlike Transformer, each Conformer block adopts relative positional encoding [64] for the self-attention layer, which enables the model to increase the robustness against different input lengths.”
MethodDiagonal State Space Augmented Transformers for Speech Recognition
Saon, G., Gupta, A., & Cui, X. (2023) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp49357.2023.10096271 · Cited by 44
“We also report results with density ratio shallow language model fusion [27] where the target LM is a 12-layer, 512-dimensional transformerXL character LM [28] trained on the Switchboard+Fisher acoustic transcripts (126M characters) and the source LM has the same configuration as the prediction network and was trained…”
MethodRetrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrieval
Rubin, O., & Berant, J. (2024) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00693 · Cited by 45
“Using sliding window attention (as described in § 3.4) can be viewed as a variant of Transformer-XL (Dai et al., 2019).”
MethodInfluentialNAST: Non-Autoregressive Spatial-Temporal Transformer for Time Series ForecastingPreprint
Chen, K., Chen, G., Xu, D., Zhang, L., Huang, Y., & Knoll, A. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2102.05624 · Cited by 44
“…breakthrough success in a broad variety of tasks(Carion et al., 2020; Huang et al., 2019; Liu et al., 2020), especially in Natural Language Processing (NLP), far beyond models that rely heavily on Recurrent Neural Networks (RNNs) (Vaswani et al., 2017; Brown et al., 2020; Dai et al., 2019).”
BackgroundDo Long-Range Language Models Actually Use Long-Range Context?
Sun, S., Krishna, K., Mattarella-Micke, A., & Iyyer, M. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.62 · Cited by 43
“, 2019), recurrence (Dai et al., 2019), and cached memory (Weston et al.”
BackgroundMethodHutchins, D., Schlag, I., Wu, Y., Dyer, E., & Neyshabur, B. (2022) · arXiv · doi:10.48550/arxiv.2203.07852 · Cited by 43
“We do not add position embeddings to the tokens, because global position embeddings don’t work well for long sequences [7].”
BackgroundMethodInfluentialAutoDropout: Learning Dropout Patterns to Regularize Deep Networks
Pham, H., & Le, Q. V. (2021) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v35i11.17127 · Cited by 45
Self-citationPhase-resolved wave prediction with linear wave theory and physics-informed neural networks
Liu, Y., Zhang, X., Dong, Q., Chen, G., & Li, X. (2023) · Applied Energy · doi:10.1016/j.apenergy.2023.121602 · Cited by 43
DETR Does Not Need Multi-Scale or Locality Design
Lin, Y., Yuan, Y., Zhang, Z., Li, C., Zheng, N., & Hu, H. (2023) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.00602 · Cited by 44
“Swin Transformers [34, 33] highlight the importance of relative position bias for Transformer-based visual recognition, where some early variants can be found in both language and vision domains [23, 41, 24, 10, 25, 8, 48].”
BackgroundA transformer-based neural operator for large-eddy simulation of turbulence
Li, Z., Liu, T., Peng, W., Yuan, Z., & Wang, J. (2024) · Physics of Fluids · doi:10.1063/5.0210493 · Cited by 44
Predictive Analysis of Business Processes Using Neural Networks with Attention Mechanism
Philipp, P., Jacob, R., Robert, S., & Beyerer, J. (2020) · International Conference on Artificial Intelligence in Information and Communication (ICAIIC) · doi:10.1109/icaiic48513.2020.9065057 · Cited by 43
“During prediction, the results of attention calculations are internally cached and reused for later calculations as sug-227 gested in [22].”
MethodStolen Probability: A Structural Weakness of Neural Language Models
Demeter, D., Kimmel, G. J., & Downey, D. (2020) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2020.acl-main.198 · Cited by 43
LMMS reloaded: Transformer-based sense embeddings for disambiguation and beyond
Loureiro, D., Jorge, A., & Camacho-Collados, J. (2022) · Artificial Intelligence · doi:10.1016/j.artint.2022.103661 · Cited by 43
“Based on a Transfomer-XL (Dai et al., 2019) architecture, Yang et al.”
MethodYou should evaluate your language model on marginal likelihood over tokenisations
Cao, K., & Rimell, L. (2021) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2021.emnlp-main.161 · Cited by 46
“We use a Transformer-XL (Dai et al., 2019) model with 18 layers and a hidden size of 1024.”
MethodApplication of Transformer-Based Language Models to Detect Hate Speech in Social Media
Mukherjee, S., & Das, S. K. (2021) · Journal of Computational and Cognitive Engineering · doi:10.47852/bonviewjcce2022010102 · Cited by 43
Aspect-Based API Review Classification: How Far Can Pre-Trained Transformer Model Go?
Yang, C., Xu, B., Khan, J. Y., Uddin, G., Han, D., Yang, Z., & Lo, D. (2022) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner53432.2022.00054 · Cited by 43
Self-citationGuo, Z., Kang, J., & Herremans, D. (2023) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v37i4.25635 · Cited by 43
“In (Huang and Yang 2020), a novel REMI representation of symbolic music has been proposed and the original transformer architecture has been replaced with transformer-XL (Dai et al. 2019) to deal with the extra-long music sequences.”
MethodDeep Neural Networks and Brain Alignment: Brain Encoding and Decoding (Survey)
Oota, S. R., Chen, Z., Gupta, M., Bapi, R. S., Jobard, G., Alexandre, F., & Hinaut, X. (2025) · Transactions on machine learning research · doi:10.48550/arxiv.2307.10246 · Cited by 43
“Transformer-based methods include pretrained BERT with various NLU tasks, finetuned BERT, Transformer-XL (Dai et al., 2019), GPT-2, BART (Lewis et al., 2020), BigBird (Zaheer et al., 2020), Longformer (Beltagy et al., 2020), and LongT5 (Guo et al., 2022).”
MethodAlphaStar Unplugged: Large-Scale Offline Reinforcement LearningPreprint
Mathieu, M., Ozair, S., Srinivasan, S., Gülçehre, Ç., Zhang, S., Jiang, R., Paine, T. L., Powell, R., Żołna, K., Schrittwieser, J., et al. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2308.03526 · Cited by 45
“• We tried using memory in the vector modality, which can be LSTM (Hochreiter & Schmidhuber, 1997) or Transformer XL (Dai et al., 2019).”
MethodGeneFormer: Learned Gene Compression using Transformer-Based Context Modeling
Cui, Z., Xu, T., Wang, J., Liao, Y., & Wang, Y. (2024) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp48485.2024.10448360 · Cited by 43
Identification of Geochemical Anomalies Using an End-to-End Transformer
Yu, S., Deng, H., Liu, Z., Chen, J., Xiao, K., & Mao, X. (2024) · Natural Resources Research · doi:10.1007/s11053-024-10334-4 · Cited by 42
“…idea is inspired by the widespread success of Transformers in capturing long-range dependencies across various data modalities, including language (Dai et al., 2019; Devlin et al., 2019), images (Beal et al., 2020; Dosovitskiy et al., 2020; Han et al., 2023), point clouds (Engel et al., 2021;…”
Cai, D., & Li, M. (2024) · IEEE/ACM Transactions on Audio Speech and Language Processing · doi:10.1109/taslp.2024.3419426 · Cited by 42
“In the Conformer, the MHSA employs relative sinusoidal positional encoding [51], allowing for efficient sequence handling at unseen lengths.”
BackgroundRabovsky, M., & McClelland, J. L. (2019) · Philosophical Transactions of the Royal Society B Biological Sciences · doi:10.1098/rstb.2019.0313 · Cited by 42
“Based on its breadth of coverage and specificity, this model currently provides a more comprehensive account of N400 effects than other existing models ([26 – 31]; see the electronic supplementary material S1 for discussion of these alternative models).”
MethodMartins, P. H., Marinho, Z., & Martins, A. F. T. (2020) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.348 · Cited by 40
SemEval-2020 Task 3: Graded Word Similarity in Context
Armendariz, C. S., Purver, M., Pollak, S., Ljubešić, N., Ulčar, M., Vulić, I., & Pilehvar, M. T. (2020) · International Workshop on Semantic Evaluation (SemEval) · doi:10.18653/v1/2020.semeval-1.3 · Cited by 42
“, 2018), Transformer-XL (Dai et al., 2019) and XLNet (Yang et al.”
MethodAre Vision Transformers Robust to Spurious Correlations?
Ghosal, S. S., & Li, Y. (2023) · International Journal of Computer Vision · doi:10.1007/s11263-023-01916-5 · Cited by 43
Tale of Two Cs: Computation vs. Communication Scaling for Future Transformers on Future Hardware
Pati, S., Aga, S., Islam, M., Jayasena, N., & Sinclair, M. D. (2023) · IEEE International Symposium on Workload Characterization · doi:10.1109/iiswc59245.2023.00026 · Cited by 44
“This is true for all Transformer models; starting with BERT [18] (0.3 billion parameters), to its most recent successor, MT-NLG (540 billion parameters), and many others in between [12, 17, 36, 41, 53, 65, 70, 78].”
MethodInfluentialTransformer-VQ: Linear-Time Transformers via Vector Quantization
Lingle, L. D. (2024) · International Conference on Learning Representations · doi:10.48550/arxiv.2309.16354 · Cited by 42
“Transformer (Vaswani et al., 2017) language models would ideally scale to long sequences, since their predictive abilities often improve as context length increases (Dai et al., 2019; Kaplan et al., 2020).”
BackgroundMethodInfluentialOn the Fundamental Limits of LLMs at Scale
Mohsin, M. A., Umer, M., Bilal, A., Memon, Z., Qadir, M. I., Bhattacharya, S., Rizwan, H., Gorle, A. R., Kazmi, M. Z., Amir, N., et al. (2026) · Transactions on machine learning research · doi:10.48550/arxiv.2511.12869 · Cited by 42
On the Limit of English Conversational Speech Recognition
Tüske, Z., Saon, G., & Kingsbury, B. (2021) · Interspeech 2021 · doi:10.21437/interspeech.2021-211 · Cited by 41
An Overview of Vision Transformers for Image Processing: A Survey
Kameswari, C. S., Kavitha, J., Reddy, T. S., Chinthaguntla, B., Jagatheesaperumal, S. K., Gaftandzhieva, S. N., & Doneva, R. Z. (2023) · International Journal of Advanced Computer Science and Applications · doi:10.14569/ijacsa.2023.0140830 · Cited by 42
“…thoroughly explored and used in natural language processing tasks such as machine translation [10], light-weight transformers [11], dynamic mask attention networks [12], language modelling [13], routing transformers [14], positional encoding schemes [15], and named entity identification [16-17].”
BackgroundEfficient Long-Range Transformers: You Need to Attend More, but Not Necessarily at Every Layer
Zhang, Q., Ram, D., Hawkins, C., Zha, S., & Zhao, T. (2023) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2023.findings-emnlp.183 · Cited by 41
Overview of temporal action detection based on deep learning
Hu, K., Shen, C., Wang, T., Xu, K., Xia, Q., Xia, M., & Cai, C. (2024) · Artificial Intelligence Review · doi:10.1007/s10462-023-10650-w · Cited by 42
Zhang, H. K., Luo, D., & Li, Z. B. (2024) · Science of Remote Sensing · doi:10.1016/j.srs.2024.100123 · Cited by 46
MSFT: A multi-scale feature-based transformer model for arrhythmia classification
Zhang, X., Lin, M., Hong, Y., Xiao, H., Chen, C., & Chen, H. (2024) · Biomedical Signal Processing and Control · doi:10.1016/j.bspc.2024.106968 · Cited by 41
Wang, Z. Q., Wang, H., & Saddik, A. E. (2024) · IEEE Access · doi:10.1109/access.2024.3482988 · Cited by 42
“It integrates ideas from Transformer-XL [50], an advanced autoregressive model, into pre-training to get long-term reliance in the input sequence.”
MethodZhang, X., Cai, Z., Hu, Q., Yang, J., Wei, H., You, L., & Xu, B. (2024) · ISPRS Journal of Photogrammetry and Remote Sensing · doi:10.1016/j.isprsjprs.2024.10.013 · Cited by 42
Ge, J., Chen, Z., Lin, J., Zhu, J., Liu, X., Dai, J., & Zhu, X. (2025) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51701.2025.01958 · Cited by 42
“V2PE significantly improves both image and text understanding.”
Syntax-Aware Data Augmentation for Neural Machine Translation
Duan, S., Zhao, H., & Zhang, D. (2023) · IEEE/ACM Transactions on Audio Speech and Language Processing · doi:10.1109/taslp.2023.3301214 · Cited by 41
“Transformer-XL [20] enables the Transformer to learn depen-”
Stock Movement Prediction and Portfolio Management via Multimodal Learning with Transformer
Daiya, D., & Lin, C. (2021) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp39728.2021.9414893 · Cited by 42
Transformers for Multi-label Classification of Medical Text: An Empirical Comparison
Yogarajan, V., Montiel, J., Smith, T. C., & Pfahringer, B. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-77211-6_12 · Cited by 41
Lu, X., Zhao, T., & Lee, K. (2021) · doi:10.18653/v1/2021.acl-long.389 · Cited by 41
“The transformer architecture is a well-known query-dependent model (Devlin et al. , 2018; Yang et al. , 2019).”
MethodMulti-granularity Feature Extraction Based on Vision Transformer for Tomato Leaf Disease Recognition
Wu, S., Sun, Y., & Huang, H. (2021) · International Academic Exchange Conference on Science and Technology Innovation (IAECST) · doi:10.1109/iaecst54258.2021.9695688 · Cited by 41
Zhu, H., Peng, H. M., Lyu, Z., Hou, L., Li, J., & Xiao, J. (2022) · Expert Systems with Applications · doi:10.1016/j.eswa.2022.119369 · Cited by 41
“…Zhang, Tian, Zhu, Tian and Wu (2019)), different semantic granularities (Zhang, Han, Liu, Jiang, Sun and Liu (2019)), different model architectures (Dai, Yang, Yang, Carbonell, Le and Salakhutdinov (2019)), and different learning algorithms (Clark, Luong, Le and Manning (2020)) but they usually…”
BackgroundFindings of the WMT 2020 Shared Task on Chat Translation
Farajian, M. A., Lopes, A. V., Martins, A. F. T., Maruf, S., & Haffari, G. (2020) · Conference on Machine Translation (WMT) · doi:10.18653/v1/2020.wmt-1.3 · Cited by 41
A Holistic Approach to Polyphonic Music Transcription with Neural NetworksPreprint
Román, M. A., Pertusa, A., & Calvo-Zaragoza, J. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1910.12086 · Cited by 41
Pitfalls of Static Language Modelling.Preprint
Lazaridou, A., Kuncoro, A., Gribovskaya, E., Agrawal, D., Liska, A., Terzi, T., Giménez, M., d’Autume, C. D. M., Ruder, S., Yogatama, D., et al. (2021) · arXiv (Cornell University) · Cited by 41
Unified Scaling Laws for Routed Language Models
Clark, A., Casas, D. D. L., Guy, A., Mensch, A., Paganini, M., Hoffmann, J., Damoc, B., Hechtman, B., Cai, T., Borgeaud, S., et al. (2022) · arXiv · doi:10.48550/arxiv.2202.01169 · Cited by 40
“Our Transformer [Vaswani et al., 2017] is based on the architecture in [Radford et al., 2019] with relative positional encodings [Dai et al., 2019].”
BackgroundWang, S., Shibghatullah, A. S., Iqbal, T. J., & Keoy, K. H. (2024) · Neural Computing and Applications · doi:10.1007/s00521-024-10371-3 · Cited by 40
“Thereafter, more and more pre-trained models and improvements emerged, such as Transformer-XL [109], XLNet [110], RoBERTa [111], GPT-2 [112], GPT-3 [113], InstructGPT [114], GPT-4 [115], driving the continuous progress and maturity of the NLP field.”
Discourse-Aware Semantic Self-Attention for Narrative Reading Comprehension
Mihaylov, T., & Frank, A. (2019) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/d19-1257 · Cited by 40
“Dai et al. (2019) address the problem of moving beyond fixed-length context by adding recurrence to the self-attention model.”
BackgroundInfluentialOn Losses for Modern Language Models
Aroca-Ouellette, S., & Rudzicz, F. (2020) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.403 · Cited by 41
HABERTOR: An Efficient and Effective Deep Hatespeech Detector
Tran, T., Hu, Y., Hu, C., Yen, K., Tan, F., Lee, K., & Park, S. (2020) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.606 · Cited by 41
Read and Attend: Temporal Localisation in Sign Language Videos
Varol, G., Momeni, L., Albanie, S., Afouras, T., & Zisserman, A. (2021) · 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr46437.2021.01658 · Cited by 39
Open-Domain Conversational Agents: Current Progress, Open Problems, and Future Directions
Roller, S., Boureau, Y.-L., Weston, J., Bordes, A., Dinan, E., Fan, A., Gunning, D., Ju, D., Li, M., Poff, S., et al. (2020) · arXiv · doi:10.48550/arxiv.2006.12442 · Cited by 38
“…and point to the recent radical improvements in the NLP community stemming from the openness of the publication of Transformers (Vaswani et al., 2017) and explosion of following open models (Devlin et al., 2019; Lample and Conneau, 2019; Dai et al., 2019; Yang et al., 2019; Liu et al., 2019).”
BackgroundCpG Transformer for imputation of single-cell methylomes
De Waele, G., Clauwaert, J., Menschaert, G., & Waegeman, W. (2022) · Bioinformatics · doi:10.1093/bioinformatics/btab746 · Cited by 37
LightSeq: A High Performance Inference Library for Transformers
Wang, X., Xiong, Y., Wei, Y., Wang, M., & Li, L. (2021) · Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies: Industry Papers · doi:10.18653/v1/2021.naacl-industry.15 · Cited by 36
“Sequence processing and generation have been fundamental capabilities for many natural language processing tasks, including machine translation, summarization, language modeling, etc (Luong et al., 2015; Qi et al., 2020; Dai et al., 2019).”
BackgroundRAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
Sarthi, P., Abdullah, S., Tuli, A., Khanna, S., Goldie, A., & Manning, C. D. (2024) · arXiv · doi:10.48550/arxiv.2401.18059 · Cited by 36
“Recent advances in hardware and algorithms have indeed expanded the context lengths that models can handle, leading to questions about the need for retrieval systems (Dai et al., 2019; Dao et al., 2022; Liu et al., 2023).”
Hanley, H. W. A., & Durumeric, Z. (2024) · Proceedings of the International AAAI Conference on Web and Social Media · doi:10.1609/icwsm.v18i1.31333 · Cited by 36
Hanley, H. W. A., & Durumeric, Z. (2023) · arXiv · doi:10.48550/arxiv.2305.09820 · Cited by 36
“Machine-Generated Training Articles: For much of our training data, we utilize the Turing Benchmark (Uchendu et al. 2021), which contains news articles generated by 10 different generative text architectures including GPT-1 (Radford et al. 2019a), GPT-2 (Radford et al. 2019b), GPT-3 (Brown et al. 2020), CTRL (Keskar e…”
Grounded Language Learning Fast and Slow
Hill, F., Tieleman, O., von Glehn, T., Wong, N., Merzic, H., & Clark, S. (2020) · arXiv · doi:10.48550/arxiv.2009.01719 · Cited by 35
Embodied navigation with multi-modal information: A survey from tasks to methodology
Wu, Y., Zhang, P., Gu, M., Zheng, J., & Bai, X. (2024) · Information Fusion · doi:10.1016/j.inffus.2024.102532 · Cited by 34
Token Pooling in Vision Transformers
Marin, D., Chang, J.-H. R., Ranjan, A., Prabhu, A., Rastegari, M., & Tuzel, O. (2021) · arXiv · doi:10.48550/arxiv.2110.03860 · Cited by 34
“In many NLP applications where every token represents a word or a character, N can be large, making attention a computation bottleneck (Dai et al., 2019; Rae et al., 2019).”
BackgroundLongNet: Scaling Transformers to 1, 000, 000, 000 Tokens
Ding, J., Ma, S., Dong, L., Zhang, X., Huang, S., Wang, W., Zheng, N., & Wei, F. (2023) · arXiv · doi:10.48550/arxiv.2307.02486 · Cited by 34
Clinical Reading Comprehension: A Thorough Analysis of the emrQA Dataset
Yue, X., Jimenez Gutierrez, B., & Sun, H. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.410 · Cited by 33
The Curse of Performance Instability in Analysis Datasets: Consequences, Source, and Suggestions
Zhou, X., Nie, Y., Tan, H., & Bansal, M. (2020) · Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.659 · Cited by 32
Metadata
- Authors
- Dai, Z., Yang, Z., Yang, Y., Carbonell, J., Le, Q., & Salakhutdinov, R.
- Affiliations
- Carnegie Mellon University (US)
- Google (United States) (US)
- Venue
- Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics
- Published
- 2019
- Pages
- 2978-2988
- ISSN
- 0736-587X (ISSN-L)
- OpenAlex
- W2964110616
- Cited by
- 3,169
- References
- 67
- Citations by year
- 2026: 163 · 2025: 361 · 2024: 434 · 2023: 585 · 2022: 504 · 2021: 612 · 2020: 403 · 2019: 107
- FWCI
- 155.55
- Type
- conference paper
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- cc-by
- Locations
- Proceedings of the conference - Association for Computational Linguistics. Meeting (publishedVersion, cc-by)
- Funders
- National Science Foundation (1546329, 1763562)
- U.S. Department of Energy
- Nvidia
- Office of Science
- Office of Naval Research (N000141812861)
- Advanced Scientific Computing Research
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Speech Recognition and Synthesis
- Keywords
- Transformer-XL, long-range dependencies, positional encoding, language modeling, temporal coherence, sequence generation, pre-trained language models
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.

