Optical training of large-scale Transformers and deep neural networks with direct feedback alignment
<|reference_start|>Optical training of large-scale Transformers and deep neural networks with direct feedback alignment: Modern machine learning relies nearly exclusively on dedicated electronic hardware accelerators. Photonic approaches, with low consumption and high operation speed, are increasingly considered for inference but, to date, remain mostly limited to relatively basic tasks. Simultaneously, the problem of training deep and complex neural networks, overwhelmingly performed through backpropagation, remains a significant limitation to the size and, consequently, the performance of current architectures and a major compute and energy bottleneck. Here, we experimentally implement a versatile and scalable training algorithm, called direct feedback alignment, on a hybrid electronic-photonic platform. An optical processing unit performs large-scale random matrix multiplications, which is the central operation of this algorithm, at speeds up to 1500 TeraOps. We perform optical training of one of the most recent deep learning architectures, including Transformers, with more than 1B parameters, and obtain good performances on both language and vision tasks. We study the compute scaling of our hybrid optical approach, and demonstrate a potential advantage for ultra-deep and wide neural networks, thus opening a promising route to sustain the exponential growth of modern artificial intelligence beyond traditional von Neumann approaches.<|reference_end|>
@article{wang2024optical,
    title={Optical training of large-scale Transformers and deep neural networks
  with direct feedback alignment},
    author={Ziao Wang, Kilian M"uller, Matthew Filipovich, Julien Launay, Ruben
  Ohana, Gustave Pariente, Safa Mokaadi, Charles Brossollet, Fabien Moreau,
  Alessandro Cappelli, Iacopo Poli, Igor Carron, Laurent Daudet, Florent
  Krzakala, Sylvain Gigan},
    journal={arXiv preprint arXiv:2409.12965},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.12965},
    primaryClass={cs.ET cond-mat.dis-nn cs.LG physics.app-ph physics.optics}
}