Research Article

A Survey of Transformer Optimization Techniques: Progress and Challenges from Computational Efficiency to Multimodal Fusion

Chuhao Xiong*
Faculty of Innovation Engineering, Macau University of Science and Technology, Macau, 999078, China

* Corresponding author: [email protected]

Abstract

Since its proposal in 2017, the Transformer model has achieved revolutionary breakthroughs in natural language processing and even in computer vision tasks. However, its huge number of parameters and high computational complexity have posed substantial difficulties in training and inference efficiency, model knowledge updating, and multimodal information fusion. This paper reviews recent research progress on Transformer optimization techniques, including: (1) Structural optimization and computational efficiency – model architecture improvements, pruning compression, and efficient attention mechanisms to reduce computational cost; (2) Parameter-efficient fine-tuning and task adaptation – new fine-tuning methods with high parameter efficiency, as well as few-shot and zero-shot learning paradigms, to improve adaptability in low-resource and multi-task scenarios; (3) External knowledge integration – incorporating knowledge graphs, retrieval-based external memory, etc., into Transformers to fill knowledge gaps and enhance commonsense reasoning; (4) Multimodal fusion – designing cross-modal Transformer architectures and alignment mechanisms to effectively fuse information from modalities such as vision and language. Analyze representative methods, underlying principles, and experimental results for each direction, discuss the main challenges, and predict forthcoming research directions, such as unified efficient attention theories, trustworthy knowledge injection mechanisms, green AI training strategies, and next-generation interpretable Transformer architectures.

Keywords: Transformer; Model optimization; Computational efficiency
Published: July 4, 2025
DOI: 10.54254/2755-2721/2025.PO24682
Volume: ACE Vol.157
pp. 139-146
Download PDF

References

  1. Vaswani A., Shazeer N., Parmar N., et al. (2017). Attention Is All You Need. Proceedings of NeurIPS 2017, 5998-6008.
  2. Brown T., Mann B., Ryder N., et al. (2020). Language Models are Few-Shot Learners. NeurIPS 2020, 1877-1901.
  3. Fedus W., Zoph B., Shazeer N. (2022). Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity. Journal of Machine Learning Research, 23(120), 1-39.
  4. Dosovitskiy A., Beyer J., Kolesnikov A., et al. (2021). An Image is Worth 16×16 Words: Transformers for Image Recognition at Scale. ICLR 2021.
  5. Lin T., Wang Y., Liu X., Qiu X. (2022). A Survey of Transformers. AI Open, 3, 111-132.
  6. Tay Y., Dehghani M., Bahri D., Metzler D. (2020). Efficient Transformers: A Survey. arXiv: 2009.06732.
  7. Xu P., Zhu X., Clifton D. (2023). Multimodal Learning with Transformers: A Survey. IEEE TPAMI (early access).
  8. Liang T., Glossner J., Wang L., Shi S. (2021). Pruning and Quantization for Deep Neural Network Acceleration: A Survey. Neurocomputing, 461, 370-403.
  9. Sanh V., Debut L., Chaumond J., Wolf T. (2019). DistilBERT, a Distilled Version of BERT: Smaller, Faster, Cheaper and Lighter. NeurIPS 2019 Energy-Efficient ML Workshop.
  10. Lan Z., Chen M., Goodman S., et al. (2020). ALBERT: A Lite BERT for Self-Supervised Learning of Language Representations. ICLR 2020.
  11. Dehghani M., Gouws S., Vinyals O., Uszkoreit J., Kaiser Ł. (2019). Universal Transformers. ICLR 2019.
  12. Dai Z., Yang Z., Yang Y., et al. (2019). Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context. ACL 2019, 2978-2988.
  13. Liu Z., Lin Y., Cao Y., et al. (2021). Swin Transformer: Hierarchical Vision Transformer using Shifted Windows. ICCV 2021, 10012-10022.
  14. Child R., Gray S., Radford A., Sutskever I. (2019). Generating Long Sequences with Sparse Transformers. arXiv: 1904.10509.
  15. Beltagy I., Peters M. E., Cohan A. (2020). Longformer: The Long-Document Transformer. arXiv: 2004.05150.
  16. Zaheer M., Guruganesh G., Dubey K. A., et al. (2020). Big Bird: Transformers for Longer Sequences. NeurIPS 33, 17283-17297.
  17. Kitaev N., Kaiser Ł., Levskaya A. (2020). Reformer: The Efficient Transformer. ICLR 2020.
  18. Roy A., Saffar M., Vaswani A., Grangier D. (2021). Efficient Content-Based Sparse Attention with Routing Transformers. TACL, 9, 53-68.
  19. Tay Y., Bahri D., Yang L., et al. (2020). Sparse Sinkhorn Attention. ICML 2020, 9438-9447.
  20. Wang S., Li B. Z., Khabsa M., Fang H., Ma H. (2020). Linformer: Self-Attention with Linear Complexity. arXiv: 2006.04768.
  21. Choromanski K., Likhosherstov V., Dohan D., et al. (2021). Rethinking Attention with Performers. ICLR 2021.
  22. Hu E. J., Shen Y., Wallis P., et al. (2021). LoRA: Low-Rank Adaptation of Large Language Models. arXiv: 2106.09685.
  23. Ben Zaken E., Ravfogel S., Goldberg Y. (2022). BitFit: Simple Parameter-Efficient Fine-Tuning for Transformer-Based Masked Language Models. ACL 2022, 1-9.
  24. Rücklé A., Glavaš G., Reimers N., Gurevych I. (2021). AdapterDrop: On the Efficiency of Adapters in Transformers. EMNLP 2021, 7930-7946.
  25. Li X. L., Liang P. (2021). Prefix-Tuning: Optimizing Continuous Prompts for Generation. ACL 2021, 4582-4597.
  26. Liu W., Zhou P., Zhao Z., et al. (2020). K-BERT: Enabling Language Representation with Knowledge Graph. AAAI 2020, 2901-2908.
  27. Wang R., Tang D., Duan N., et al. (2021). K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapters. Findings of ACL-IJCNLP 2021, 1405-1418.
  28. Zhang Z., Han X., Liu Z., et al. (2019). ERNIE: Enhanced Language Representation with Informative Entities. ACL 2019, 1441-1451.
  29. Peters M. E., Neumann M., Logan IV R. L., et al. (2019). Knowledge Enhanced Contextual Word Representations (KnowBERT). EMNLP 2019, 43-54.
  30. Hu L., Liu Z., Zhao Z., et al. (2023). A Survey of Knowledge-Enhanced Pre-Trained Language Models. ACM Computing Surveys (in press), arXiv: 2211.05994.
  31. Guu K., Lee K., Tung Z. D., Pasupat P., Chang M. (2020). REALM: Retrieval-Augmented Language Model Pre-Training. ICML 2020, 3929-3938.
  32. Lewis P., Perez E., Karpukhin A., et al. (2020). Retrieval-Augmented Generation for Knowledge-Intensive NLP. NeurIPS 33, 9459-9474.
  33. Lu J., Batra D., Parikh D., Lee S. (2019). ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations. NeurIPS 32, 13-23.
  34. Tan H., Bansal M. (2019). LXMERT: Learning Cross-Modality Encoder Representations from Transformers. EMNLP 2019, 5100-5111.
  35. Chen Y.-C., Li L., Yu L., et al. (2020). UNITER: UNiversal Image-TExt Representation Learning. ECCV 2020, 104-120.
  36. Zhang P., Li X., Hu X., et al. (2021). VinVL: Revisiting Visual Representations in Vision-Language Models. CVPR 2021, 5579-5588.
  37. Radford A., Kim J. W., Hallacy C., et al. (2021). Learning Transferable Visual Models From Natural Language Supervision. ICML 2021, 8748-8763.
  38. Li J., Li D., Xiong C., Hoi S. (2022). BLIP: Bootstrapping Language-Image Pre-Training for Unified Vision-Language Understanding and Generation. ICML 2022, 12888-12900.
  39. Singh A., Goswami V., Srinivasan P., et al. (2022). FLAVA: A Foundational Language and Vision Alignment Model. CVPR 2022, 15638-15650.
  40. Jaegle A., Borgeaud S., Alabdulmohsin I., et al. (2021). Perceiver: General Perception with Iterative Attention. ICML 2021, 4651-4664.