NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Random Projections through multiple optical scattering: Approximating kernels at the speed of light

Alaa Saade, Francesco Caltagirone, Igor Carron, Laurent Daudet, Angélique Drémeau, Sylvain Gigan, Florent Krzakala · DOI

Abstract

Random projections have proven extremely useful in many signal processing and machine learning applications. However, they often require either to store a very large random matrix, or to use a different, structured matrix to reduce the computational and memory costs. Here, we overcome this difficulty by proposing an analog, optical device, that performs the random projections literally at the speed of light without having to store any matrix in memory. This is achieved using the physical properties of multiple coherent scattering of coherent light in random media. We use this device on a simple task of classification with a kernel machine, and we show that, on the MNIST database, the experimental results closely match the theoretical performance of the corresponding kernel. This framework can help make kernel methods practical for applications that have large training sets and/or require real-time prediction. We discuss possible extensions of the method in terms of a class of kernels, speed, memory consumption and different problems.

Introduction

Kernel methods, such as Support Vector Machines or Kernel Ridge Regression, are powerful tools for non-linear classification but scale poorly with dataset size, typically requiring $O(n^2)$ memory for $n$ data points. While mathematical workarounds like random projections (e.g., random Fourier features) can map data into a higher-dimensional feature space of size $N$ to enable linear classification, the digital generation, storage, and multiplication of massive $N \times p$ random matrices remains a significant computational bottleneck. This paper proposes bypassing digital computation entirely by using an analog optical system to perform these projections physically.

Optical Random Projections

The proposed method replaces digital matrix multiplication with a physical process involving coherent light scattering. The system consists of three main stages:

  1. Data Encoding: Input data is spatially encoded onto a laser beam using a Digital Micromirror Device (DMD).
  2. Optical Scattering: The beam passes through a random scattering medium—a layer of Titanium Dioxide ($TiO_2$) nanoparticles. The light undergoes a complex, deterministic random walk.
  3. Measurement: A camera captures the resulting interference pattern (speckle).
Experimental setup showing the DMD, scattering medium, and camera.

Mathematically, this process implements a random complex projection followed by an intensity measurement. Because the "matrix" is the physical arrangement of nanoparticles, it requires no digital memory and the computation happens at the speed of light as the wave propagates.

Experimental Results on MNIST

The system was tested on the MNIST dataset of handwritten digits (60,000 training, 10,000 test images). Images were encoded onto the DMD, and the resulting speckle patterns were used for classification via a simple linear ridge regression.

Classification error on MNIST as a function of the number of random projections $N$.

As shown in the figure, the experimental results closely track numerical simulations. The system achieved a classification error of 1.31%, matching the theoretical asymptotic limit of the "elliptic kernel" associated with this physical process. This is a significant improvement over standard linear ridge regression on raw pixels (~12% error). The error rate follows a predictable power law ($N^{-2/3}$) as the number of projections increases, demonstrating the robustness of the analog system despite physical noise.

Discussion and Future Work

A key insight of this work is that the exact transmission matrix of the scattering medium does not need to be known; its statistical randomness is sufficient to guarantee performance. While the current setup is limited by intensity-only measurements and spatial correlations at very high dimensions ($N > 2000$), future iterations could incorporate interferometry to measure complex-valued fields. This would allow for a broader range of kernel approximations and the integration of FPGAs for arbitrary non-linearities, potentially leading to high-throughput, low-energy optical co-processors that complement silicon hardware.

Summary updated

BibTeX
@inproceedings{saade2015random,
  author = {Alaa Saade and Francesco Caltagirone and Igor Carron and Laurent Daudet and Angélique Drémeau and Sylvain Gigan and Florent Krzakala},
  title = {{Random Projections through multiple optical scattering: Approximating kernels at the speed of light}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2015},
  doi = {10.1109/icassp.2016.7472872},
}
Figure