Abstract
Optical computing systems provide an alternate hardware model which appears to be aligned with the demands of neural network workloads. However, the challenge of implementing energy efficient nonlinearities in optics—a key requirement for realizing neural networks—is a conspicuous missing link. In this work, we introduce a novel method to achieve nonlinear computation in fully linear media. Our method can operate at low power and requires only the ability to drive the optical system at a data-dependent spatial position. Leveraging this positional encoding, we formulate a fully automated, topology-optimization-based hardware design framework for extremely specialized optical neural networks, drawing on modern advancements in optimization and machine learning. We evaluate our optical designs on machine learning classification tasks: demonstrating significant improvements over linear methods and competitive performance when compared to standard artificial neural networks.
Introduction
Optical computing is often hailed as a potential successor to electronic hardware for AI workloads due to its high speed and low energy consumption for linear operations. However, the lack of efficient nonlinear activation functions remains a significant barrier. Traditional methods for introducing nonlinearity in optics often require high-power lasers or complex optoelectronic conversions that negate the inherent benefits of light-based processing. This research proposes a "third way": achieving nonlinear functional behavior using entirely linear and passive optical materials by rethinking how data is encoded into the system.
Methodology: Source-Position Encoding
The core innovation is Source-Position Encoding. Instead of modulating the intensity or phase of a single light source, the input data is mapped to the spatial position of an active source within an array of dipoles.
As shown in the system architecture, the process involves:
- Positional Encoding: An input vector $\mathbf{x}$ determines which dipole in a grid is activated.
- Wave Propagation: The light propagates through a structured medium. While the medium is linear, the mapping from source position to the resulting field at the sensors is highly nonlinear.
- Topology Optimization: The internal geometry of the device is "sculpted" using a differentiable physics simulator. By optimizing the distribution of materials (e.g., Silicon Dioxide vs. air), the system is trained to focus light onto specific readout sensors that correspond to classification labels.
- Linear Decoding: A final linear transformation maps the sensor intensities to class probabilities.
Geometry as Computation
The "intelligence" of this optical system resides in its physical shape. By carefully designing the boundaries and material interfaces, the researchers can control the resonant modes of the system.
This approach treats the physical design as a set of trainable parameters, similar to the weights in a neural network. The differentiable nature of the simulation allows for the use of standard gradient-based optimization techniques (like Adam) to find geometries that perform specific mathematical functions. Because the materials are linear and passive, the device performs these operations without requiring extra power for activation functions.
Experimental Results
The proposed method was evaluated on the MNIST and FashionMNIST datasets. To assess the impact of the positional encoding, the system was compared against purely linear numerical baselines across different quantization levels.
- MNIST: Using 24-bit encoding, the optical system achieved 83.1% accuracy, significantly outperforming the linear baseline of 75.8% (+9.6% improvement).
- FashionMNIST: With 8-bit encoding, the system reached 53.1% accuracy, a +12.7% improvement over the linear model (47.1%).
These results confirm that source-position encoding successfully introduces functional nonlinearity into the system, allowing it to learn patterns that a simple linear model cannot. While standard digital neural networks still hold an edge in raw accuracy, the optical system is remarkably competitive given its passive nature.
Conclusion and Future Work
This work demonstrates that complex, nonlinear tasks can be performed by passive optical structures through clever encoding and topology optimization. While current designs are limited by element-wise nonlinearities and simulation costs, they offer a path toward extremely low-power AI hardware. Future research will focus on scaling these systems and developing "nonlinear optical routers" to enable deep, multi-layered optical architectures that could eventually rival digital GPUs in efficiency.
Summary updated