Abstract
Artificial intelligence (AI) has rapidly evolved into a critical technology; however, electrical hardware struggles to keep pace with the exponential growth of AI models. Free space optical hardware provides alternative approaches for large-scale optical processing, and in-memory computing, with applications across diverse machine learning tasks. Here, we explore the use of broadband light scattering in free-space optical components, specifically complex media, which generate uncorrelated optical features at each wavelength. By treating individual wavelengths as independent predictors, we demonstrate improved classification accuracy through in-silico majority voting, along with the ability to estimate uncertainty without requiring access to the model's probability outputs. We further demonstrate that linearly combining multiwavelength features, akin to spectral shaping, enables us to tune output features with improved performance on classification tasks, potentially eliminating the need for multiple digital post-processing steps. These findings illustrate the spectral multiplexing or broadband advantage for free-space optical computing.
Introduction
Modern AI relies heavily on electronic hardware based on the von Neumann architecture, where the physical separation of memory and processing units creates significant latency and energy consumption bottlenecks. Free-space optical computing offers a compelling alternative by encoding data into light and processing it through physical media. This allows for massive, parallel matrix multiplications at the speed of light with minimal power consumption. However, traditional optical setups often utilize monochromatic light and static media, limiting the system's dimensionality. This research investigates the "broadband advantage"—using the spectrum of light as a tunable degree of freedom to enhance optical computing capabilities.
Methodology: Spectral Multiplexing in Complex Media
The core of the proposed system involves encoding input data (such as images) onto a laser beam using a Spatial Light Modulator (SLM). This beam is then passed through a complex medium—a sandblasted glass diffuser—which scatters the light into a random "speckle" pattern captured by a camera. This physical process effectively performs a massive random matrix multiplication.
By employing a tunable laser, the researchers generate speckle patterns at nine distinct wavelengths ranging from 785 nm to 825 nm. Due to the dispersive nature of the glass diffuser, each wavelength produces a unique, uncorrelated speckle pattern for the same input image. This spectral diversity is leveraged through two primary strategies:
1. Spectral Ensemble Learning
In this approach, each wavelength acts as an independent predictor. Separate linear regression models are trained on the speckle patterns produced by each wavelength. The final classification is determined through majority voting among these nine "voters." This method not only improves accuracy but also enables uncertainty estimation. By calculating the "normalized vote entropy" (the level of disagreement among voters), the system can identify and flag uncertain predictions without needing internal model probabilities.
2. Spectral Feature Optimization
Rather than voting on final predictions, this strategy involves linearly combining the optical features (speckle intensities) from different wavelengths before classification. The weights for this combination are optimized using a genetic algorithm to maximize class separation. This fused feature vector is then processed by a single Support Vector Classifier (SVC), offering a lower-latency inference path.
Experimental Results
The system was evaluated on several datasets, including a real-world medical dataset of 24,000 retinal Optical Coherence Tomography (OCT) images categorized into eight disease classes.
- Ensemble Performance: On the OCT dataset, a single wavelength achieved 50.14% accuracy. Spectral ensemble learning across nine wavelengths increased this to 55.00%. Crucially, by rejecting low-confidence samples where voters disagreed, the accuracy on the remaining "confident" test set reached 89.61%.
- Optimization Performance: For a texture classification task, the single-wavelength accuracy of 58% was boosted to 70% through spectral feature optimization.
Discussion and Limitations
A key challenge in optical feature optimization is the non-negativity constraint of light intensity. Because intensity cannot be negative, the system is restricted to positive weights when combining features optically, which can wash out speckle contrast. To circumvent this, the current study applied weights digitally post-capture. Future work aims to utilize interferometry to measure the full optical field (amplitude and phase), which would allow for true optical negative weights and preserve contrast.
Conclusion
This work demonstrates that spectral multiplexing provides a significant advantage for free-space optical computing. By utilizing the wavelength-dependent scattering of complex media, researchers can enhance classification accuracy, estimate model uncertainty, and optimize feature extraction, paving the way for more robust and efficient AI hardware.
Summary updated