[Paper Review] Light-in-the-loop: using a photonics co-processor for scalable training of neural networks
This paper presents the first experimental demonstration of a photonic co-processor accelerating neural network training via direct feedback alignment (DFA), using off-axis holography to perform large-scale optical random projections. The system achieves 95.8% test accuracy on MNIST with a 1.5 kHz projection rate and up to 30W power consumption, offering a scalable, low-power alternative to GPU-based training for large models.
As neural networks grow larger and more complex and data-hungry, training costs are skyrocketing. Especially when lifelong learning is necessary, such as in recommender systems or self-driving cars, this might soon become unsustainable. In this study, we present the first optical co-processor able to accelerate the training phase of digitally-implemented neural networks. We rely on direct feedback alignment as an alternative to backpropagation, and perform the error projection step optically. Leveraging the optical random projections delivered by our co-processor, we demonstrate its use to train a neural network for handwritten digits recognition.
Motivation & Objective
- To address the escalating computational and energy costs of training large neural networks, especially in lifelong learning scenarios like recommender systems or autonomous vehicles.
- To develop a hybrid analog-digital training accelerator that bypasses backpropagation’s sequential dependency by using direct feedback alignment (DFA).
- To demonstrate the feasibility of using a photonic co-processor to perform large-scale, low-power random projections essential for DFA.
- To enable scalable, memory-less training of deep neural networks by offloading the error projection step to optics, while retaining digital inference.
Proposed method
- Employing direct feedback alignment (DFA) as an alternative to backpropagation, which decouples layer updates by using a fixed random matrix to project the global error to each layer.
- Using LightOn’s Optical Processing Unit (OPU) with off-axis holography to optically compute random projections of the error vector, enabling high-speed, low-power linear transformations.
- Encoding the error vector onto a coherent light beam via a spatial light modulator, then propagating it through a diffusive medium to generate a speckle pattern captured by a camera.
- Reconstructing the complex-valued projection vector using interferometric off-axis holography, recovering the optical random projection of the error vector.
- Integrating the optical projection into a digital training loop: the photonic co-processor computes the error signal for weight updates, while the forward pass remains on digital hardware.
- Quantizing the error vector to ±1 or 0 for compatibility with the optical input device, minimizing signal distortion while preserving training performance.
Experimental results
Research questions
- RQ1Can a photonic co-processor effectively accelerate the training of deep neural networks by performing large-scale random projections optically?
- RQ2How does the performance of optical DFA compare to standard backpropagation in terms of accuracy and convergence on standard benchmarks?
- RQ3To what extent can optical random projections via off-axis holography scale in size and speed while maintaining numerical fidelity for training large models?
- RQ4Can this hybrid optical-digital approach achieve significant energy efficiency gains over GPU-based training for large-scale neural networks?
- RQ5What are the practical limitations of current optical hardware in terms of input size, output resolution, and integration with digital training pipelines?
Key findings
- The photonic co-processor successfully performed optical random projections at a rate of 1.5 kHz, with a maximum output size of approximately 10^5 elements.
- The system achieved 95.8% test accuracy on the MNIST handwritten digit recognition task using the optical DFA training procedure.
- The same training setup on a GPU with a learning rate of 0.001 achieved 97.6% accuracy, and the non-quantized error version reached 97.7%, indicating a small performance gap due to quantization.
- The optical system consumed only about 30W of power, suggesting a potential one-order-of-magnitude improvement in energy efficiency over GPUs for large-scale training.
- The architecture is agnostic to neural network structure and does not require memory for storing intermediate gradients, enabling scalable deployment.
- Future scaling to 10^6 input/output dimensions is feasible by switching to phase-shifting holography, enabling trillion-parameter computations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.