Optical Transformers
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
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2016Layer Normalizationcited by 5,579
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
38 more
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
- 2021Scaling Vision Transformerscited by 993
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
- 2022A Generalist Agentcited by 802
- 2021Perceiver IO: A General Architecture for Structured Inputs & Outputscited by 616
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
- 2022Efficiently Scaling Transformer Inferencecited by 529
- 2017Efficient Processing of Deep Neural Networks: A Tutorial and Surveycited by 427
- 2022ST-MoE: Designing Stable and Transferable Sparse Expert Modelscited by 391
- 2021Pay Attention to MLPscited by 367
- 2019Q8BERT: Quantized 8Bit BERTcited by 296
- 2021Post-Training Quantization for Vision Transformercited by 274
- 2022Unified Scaling Laws for Routed Language Modelscited by 249
- 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 247
- 2022Pure Transformers are Powerful Graph Learnerscited by 188
- 2018All-Optical Machine Learning Using Diffractive Deep Neural Networkscited by 175
- 2021Pretrained Transformers as Universal Computation Enginescited by 162
- 2022Compute Trends Across Three Eras of Machine Learningcited by 161
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
- 2020Photonics for artificial intelligence and neuromorphic computingcited by 111
- 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
- 2020Train Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformerscited by 67
- 2020Large-scale neuromorphic optoelectronic computing with a reconfigurable diffractive processing unitcited by 64
- 2021An optical neural network using less than 1 photon per multiplicationcited by 30
- 2020Survey of Machine Learning Acceleratorscited by 29
- 2020Massively Parallel Amplitude-Only Fourier Neural Networkcited by 21
- 2021L2ight: Enabling On-Chip Learning for Optical Neural Networks via Efficient in-situ Subspace Optimizationcited by 21
- 2020Improving Accuracy of Binary Neural Networks using Unbalanced Activation Distributioncited by 15
- 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
Citing papers per year: 2024: 6; 2025: 3; 2026: 1.
10 papers.
- 2024Training of Physical Neural Networkscited by 47
- 2024Arbitrary control over multimode wave propagation for machine learningcited by 9
- 2024Optical Diffusion Models for Image Generationcited by 3
- 2024Streamlined optical training of large-scale modern deep learning architectures with direct feedback alignmentcited by 3
- 2024Transferable polychromatic optical encoder for neural networkscited by 3
- 2025Local Learning Rules for Out-of-Equilibrium Physical Generative Modelscited by 2
- 2025Toward Lifelong-Sustainable Electronic-Photonic AI Systems via Extreme Efficiency, Reconfigurability, and Robustnesscited by 1
- 2026Physical Foundation Models: Fixed hardware implementations of large-scale neural networkscited by 1
- 2024Gradient-based Design of Computational Granular Crystalscited by 0
- 2025ConvShareViT: Enhancing Vision Transformers with Convolutional Attention Mechanisms for Free-Space Optical Acceleratorscited by 0
- 2026Physical Foundation Models: Fixed hardware implementations of large-scale neural networks30 Apr 2026
- 2025Toward Lifelong-Sustainable Electronic-Photonic AI Systems via Extreme Efficiency, Reconfigurability, and Robustness9 Sep 2025
- 2025Local Learning Rules for Out-of-Equilibrium Physical Generative Models23 Jun 2025
- 2025ConvShareViT: Enhancing Vision Transformers with Convolutional Attention Mechanisms for Free-Space Optical Accelerators15 Apr 2025
- 2024Transferable polychromatic optical encoder for neural networks5 Nov 2024
- 2024Streamlined optical training of large-scale modern deep learning architectures with direct feedback alignment1 Sep 2024
- 2024Optical Diffusion Models for Image Generation15 Jul 2024
- 2024Training of Physical Neural Networks5 Jun 2024
- 2024Gradient-based Design of Computational Granular Crystals7 Apr 2024
- 2024Arbitrary control over multimode wave propagation for machine learning27 Feb 2024