News

Nonlinear processing with linear optics

04.09.2024 - A programmable framework overcomes a key computational bottleneck of optical neural networks.

EPFL researchers have published a pro­grammable framework that overcomes a key compu­tational bottleneck of optics-based artificial intelligence systems. In a series of image classification experiments, they used scattered light from a low-power laser to perform accurate, scalable computa­tions using a fraction of the energy of electronics.

As digital artificial intelli­gence systems grow in size and impact, so does the energy required to train and deploy them – not to mention the asso­ciated carbon emissions. Recent research suggests that if current AI server production continues at its current pace, their annual energy consumption could outstrip that of a small country by 2027. Deep neural networks, inspired by the architecture of the human brain, are especially power-hungry due to the millions or even billions of connections between multiple layers of neuron-like processors. To counteract this mush­rooming energy demand, researchers have doubled down on efforts to implement optical computing systems, which have existed experi­mentally since the 1980s. Although light can theo­retically be used to perform computations much faster and more effi­ciently than electrons, a key challenge has hindered optical systems’ ability to surpass the electronic state-of-the art.

“In order to classify data in a neural network, each node, or ‘neuron’, must make a ‘decision’ to fire or not based on weighted input data. This decision leads to a nonlinear trans­formation of the data, meaning the output is not directly proportional to the input,” says Christophe Moser, head of the Laboratory of Applied Photonics Devices in EPFL’s School of Engi­neering. Moser explains that while digital neural networks can easily perform nonlinear trans­formations with transistors, in optical systems, this step requires very powerful lasers.

Moser worked with students Mustafa Yildirim, Niyazi Ulas Dinc, and Ilker Oguz, as well as Optics Labora­tory head Demetri Psaltis, to develop an energy-efficient method for performing these nonlinear computations optically. Their new approach involves encoding data, like the pixels of an image, in the spatial modulation of a low-power laser beam. The beam reflects back on itself several times, leading to a nonlinear multi­plication of the pixels. “Our image classi­fication experiments on three different datasets showed that our method is scalable, and up to 1,000 times more power-efficient than state-of-the-art deep digital networks, making it a promising platform for realizing optical neural networks,” says Psaltis.

In nature, photons do not directly interact with each other the way charged electrons do. To achieve nonlinear transformations in optical systems, scientists have therefore had to force photons to interact indirectly, for example by using a light intense enough to modify the optical properties of the glass or other material it passes through. The scientists worked around this need for a high-power laser with an elegantly simple solution: they encoded the pixels of an image spatially on the surface of a low-power laser beam. By per­forming this encoding twice, via adjustment of the trajectory of the beam in the encoder, the pixels are multiplied by themselves, i.e., squared. Since squaring is a non-linear trans­formation, this structural modification achieves the non-linearity essential to neural network calcu­lations, at a fraction of the energy cost. This encoding can be carried out two, three or even ten times, increasing the non-linearity of the trans­formation and the precision of the calculation.

“We estimate that using our system, the energy required to optically compute a multi­plication is eight orders of magnitude less than that required for an elec­tronic system,” Psaltis says. Moser and Psaltis emphasize that the scalability of their low-energy approach is a major advantage, as the ultimate goal would be to use hybrid elec­tronic-optical systems to mitigate the energy consumption of digital neural networks. However, further engi­neering research is needed to achieve such scale-up. For example, because optical systems use different hardware than electronic systems, a next step that the researchers are already working on is developing a compiler to translate digital data into code that optical systems can use. (Source: EPFL)

Reference: M. Yildirim et al.: Nonlinear processing with linear optics, Nat. Phot., online 31 July 2024; DOI: 10.1038/s41566-024-01494-z

Link: Laboratory of Applied Photonics Devices, Ecole Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland

Top Feature

Digital tools or software can ease your life as a photonics professional by either helping you with your system design or during the manufacturing process or when purchasing components. Check out our compilation:

Proceed to our dossier

Top Feature

Digital tools or software can ease your life as a photonics professional by either helping you with your system design or during the manufacturing process or when purchasing components. Check out our compilation:

Proceed to our dossier