mlsanityData to 7 Oct 2026

Optical Transformers

arXiv 2302.10360 ↗First posted 20 Feb 2023cs.ET cs.LG cs.NEcited by 10

Not on the map. Why?

Abstract (arXiv)

The rapidly increasing size of deep-learning models has caused renewed and growing interest in alternatives to digital computers to dramatically reduce the energy cost of running state-of-the-art neural networks. Optical matrix-vector multipliers are best suited to performing computations with very large operands, which suggests that large Transformer models could be a good target for optical computing. To test this idea, we performed small-scale optical experiments with a prototype accelerator to demonstrate that Transformer operations can run on optical hardware despite noise and errors. Using simulations, validated by our experiments, we then explored the energy efficiency of optical implementations of Transformers and identified scaling laws for model performance with respect to optical energy usage. We found that the optical energy per multiply-accumulate (MAC) scales as frac1d where d is the Transformer width, an asymptotic advantage over digital systems. We conclude that with well-engineered, large-scale optical hardware, it may be possible to achieve a 100 × energy-efficiency advantage for running some of the largest current Transformer models, and that if both the models and the optical hardware are scaled to the quadrillion-parameter regime, optical computers could have a >8,000× energy-efficiency advantage over state-of-the-art digital-electronic processors that achieve 300 fJ/MAC. We analyzed how these results motivate and inform the construction of future optical accelerators along with optics-amenable deep-learning approaches. With assumptions about future improvements to electronics and Transformer quantization techniques (5× cheaper memory access, double the digital--analog conversion efficiency, and 4-bit precision), we estimated that optical computers' advantage against current 300-fJ/MAC digital processors could grow to >100,000×.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 51 of its 111 references that are in the map. First posted on arXiv 20 Feb 2023.

Builds on

51 of 111 references.

References · 51

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  5. 2020Language Models are Few-Shot Learnerscited by 32,199
  6. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2020Scaling Laws for Neural Language Modelscited by 6,411
  9. 2016Layer Normalizationcited by 5,579
  10. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  11. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  12. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
38 more
  1. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  2. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  3. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  4. 2016Pointer Sentinel Mixture Modelscited by 2,992
  5. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  6. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  7. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  8. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
  9. 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
  10. 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
  11. 2021Scaling Vision Transformerscited by 993
  12. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
  13. 2022A Generalist Agentcited by 802
  14. 2021Perceiver IO: A General Architecture for Structured Inputs & Outputscited by 616
  15. 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
  16. 2022Efficiently Scaling Transformer Inferencecited by 529
  17. 2017Efficient Processing of Deep Neural Networks: A Tutorial and Surveycited by 427
  18. 2022ST-MoE: Designing Stable and Transferable Sparse Expert Modelscited by 391
  19. 2021Pay Attention to MLPscited by 367
  20. 2019Q8BERT: Quantized 8Bit BERTcited by 296
  21. 2021Post-Training Quantization for Vision Transformercited by 274
  22. 2022Unified Scaling Laws for Routed Language Modelscited by 249
  23. 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 247
  24. 2022Pure Transformers are Powerful Graph Learnerscited by 188
  25. 2018All-Optical Machine Learning Using Diffractive Deep Neural Networkscited by 175
  26. 2021Pretrained Transformers as Universal Computation Enginescited by 162
  27. 2022Compute Trends Across Three Eras of Machine Learningcited by 161
  28. 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
  29. 2020Photonics for artificial intelligence and neuromorphic computingcited by 111
  30. 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
  31. 2020Train Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformerscited by 67
  32. 2020Large-scale neuromorphic optoelectronic computing with a reconfigurable diffractive processing unitcited by 64
  33. 2021An optical neural network using less than 1 photon per multiplicationcited by 30
  34. 2020Survey of Machine Learning Acceleratorscited by 29
  35. 2020Massively Parallel Amplitude-Only Fourier Neural Networkcited by 21
  36. 2021L2ight: Enabling On-Chip Learning for Optical Neural Networks via Efficient in-situ Subspace Optimizationcited by 21
  37. 2020Improving Accuracy of Binary Neural Networks using Unbalanced Activation Distributioncited by 15
  38. 2022Trends in Energy Estimates for Computing in AI/Machine Learning Accelerators, Supercomputers, and Compute-Intensive Applicationscited by 5

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 3; 2026: 1.

10 papers.