S c i e n c e A d v a n c e s | R e s e ar c h A r t i c l e
OPTICS
Memory-­less scattering imaging with ultrafast
convolutional optical neural networks
Yuchao Zhang1, Qiming Zhang1*, Haoyi Yu1, Yinan Zhang1, Haitao Luan1, Min Gu1,2*
The optical memory effect in complex scattering media including turbid tissue and speckle layers has been a
critical foundation for macroscopic and microscopic imaging methods. However, image reconstruction from
strong scattering media without the optical memory effect has not been achieved. Here, we demonstrate image
reconstruction through scattering layers where no optical memory effect exists, by developing a multistage convolutional optical neural network (ONN) integrated with multiple parallel kernels operating at the speed of light.
Training this Fourier optics-­based, parallel, one-­step convolutional ONN with the strong scattering process for direct feature extraction, we achieve memory-­less image reconstruction with a field of view enlarged by a factor up
to 271. This device is dynamically reconfigurable for ultrafast multitask image reconstruction with a computational power of 1.57 peta-­operations per second (POPS). Our achievement establishes an ultrafast and high
energy-­efficient optical machine learning platform for graphic processing.
Image reconstruction of a “hidden” object embedded in highly scattering media, which is the physical foundation for imaging through
turbulent atmosphere and turbid tissue, has been a challenging
problem because the object information can be lost during the multiple scattering process (1). The optical memory effect (OME) in
disordered media (2, 3) involves correlations between the scattered
photons detected under slight tilts and shifts (4) of illumination
conditions of the media. The OME phenomenon has led to the development of optical techniques for seeing though scattering media,
including non–line-­of-­sight imaging around a corner (5, 6), noninvasive imaging through opaque layers (7), deep optical microscopy
through tissue (8, 9), super-­resolution microscopy (10), and estimation of the transmission matrix (TM) of multimode fibers (11). Some
studies have attempted to extend the OME range angularly based on
fluctuating random illumination (12) and spectrally (13) for a large
field-­of-­view image reconstruction. Particularly, metasurface-­based
(14), adaptive optics-­based (15), and ultrasound modulation-­based
(16) beam shaping methods have been applied for scattering image
reconstruction in anisotropic (17) and dynamic media. However,
because these techniques relay on the OME, they cannot be applied
to noninvasive image reconstruction in disordered media where
no optical memory exists, i.e., scattered photon correlations are
negligible (Fig. 1, A and B) (1, 18). Alternatively, non–OME-­based
approaches, such as TM methods (19–21), holographic methods
combined with raster-­scanning microscopy (22), and wavefront
shaping based on image-­guided adaptive optics (23), could recover the objects without using the OME. However, these approaches suffer from complicated calibration processes and have
not been applied to strong scattering media without OME.
Physically, the OME is characterized by the angular ranges of
the correlation between scattered light when light is directed at the
object at different angles. This range therefore defines the maximum field of view in image reconstruction for a given object as the
space invariant condition holds within this range (7). Consider a
1
Institute of Photonic Chips, University of Shanghai for Science and Technology,
Shanghai 200093, China. 2Zhangjiang Laboratory, Shanghai 200093, China.
*Corresponding author. Email: gumin@usst.edu.cn (M.G.); qimingzhang@usst.edu.
cn (Q.Z.)
Zhang et al., Sci. Adv. 10, eadn2205 (2024)
14 June 2024
multilayer scattering model with multiple diffusers placed with a
spacing, as shown in Fig. 1A (Materials and Methods and figs. S1
and S2). This model mimics the complex scattering media such as
multilayer structures in biological tissues and organs, atmospheric
layers, and vegetation in remote sensing applications (9, 24–26). As
shown from the speckle patterns in Fig. 1B, the OME angular range,
defined as the full width at half maximum of the angular correlation
curve, decreases when the spacing between diffusers (d) and/or the
number of layers (N) increase. For instance, the OME angular range
is approximately 1.8 to 5.8 mdeg when N ≥ 2, d = 5 cm (Fig. 1B) and
determines the field of view in imaging. This small OME angular
range implies that the OME range on the object plane is approximately 1.6 to 5.0 μm for a given imaging system (7), which is close
to the object feature distinguishable under the diffraction limited
condition (see text S1 for detailed discussion). Therefore, the OME
is physically negligible under these conditions (Fig. 1B and fig. S1);
this can be considered as memory-­less optical scattering, and existing image reconstruction methods such as deconvolution (7) are not
applicable in this case (fig. S1C). Besides, it is also very challenging
to implement the TM methods in this case. Because of the extremely small and intricate features of the produced speckles from the
multiple scattering diffuser layers, it is difficult to assess the TM
based on interference methods. Although there are reference-­free
approaches to measure the TM (11, 27), they still depend on the
memory effect for speckle correlations. Additionally, the TM methods also face limitations in the space-­bandwidth product (SBP) and
are unable to see through unknown diffusers (28, 29).
RESULTS
Memory-­less scattering image reconstruction via
convolutional ONNs
Here, we present a concept of memory-­less optical image reconstruction directly from speckle patterns (Fig. 1B) by the development of convolutional optical neural network (ONN) (Fig. 1C).
The convolutional ONN is entirely optical, reference-­free, scanning-­
free, guide-­star–free, label-­free; does not require illumination control or computational reconstruction; and is not constrained by
the memory effect. Moreover, it can reconstruct complex scenes
1 of 9
Downloaded from https://www.science.org on December 17, 2025
INTRODUCTION
Copyright © 2024 The
Authors, some rights
reserved; exclusive
licensee American
Association for the
Advancement of
Science. No claim to
original U.S.
Government Works.
Distributed under a
Creative Commons
Attribution
NonCommercial
License 4.0 (CC BY-­NC).
S c i e n c e A d v a n c e s | R e s e ar c h A r t i c l e
Downloaded from https://www.science.org on December 17, 2025
Fig. 1. Mechanism for memory-­less image reconstruction through a stack of scattering layers. (A) Schematic of scattering through multiple diffusers. Each diffuser
can be modeled as a thin scattering layer, with N representing the number of diffusers and d representing the spacing between diffusers. (B) Speckle patterns generated
in different scattering situations. The left figures compare the speckles showing the optical memory effect (N = 1, d = 0) with speckles showing no optical memory effect
(N > 1, d > 0). The right figures demonstrate the angular correlation curves for each case, and the dashed straight line represents the angular correlation curve for a single
ground glass layer. The full width at half maximum of these curves determines the field of view in imaging. (C) Concept of memory-­less image reconstruction in a three-­
layer convolutional ONN.
Zhang et al., Sci. Adv. 10, eadn2205 (2024)
14 June 2024
2 of 9
S c i e n c e A d v a n c e s | R e s e ar c h A r t i c l e
and images through strong scattering media (20, 30). The original
concept of convolutional neural networks (CNNs) (31) was inspired by the structure and function of the visual cortex in brain
neural networks (32) for parallel and direct multistage feature extraction. The proposed convolutional ONN can maintain this important feature in the optical domain without the c­ onversion of
the speckle patterns (Fig. 1B) to electronic signal. The convolutional ONN consists of an optical input layer, two convolutional
layers, and a fully connected output layer for performing parallel one-­step computations at the speed of light (Figs. 1 and 2).
Uniquely, the parallel and multiple-­stage optical convolutional
kernels adopt vortex and random illumination for direct feature
extraction. This neural network can be trained by the strong scattering process, enabling a field of view enlarged by a factor up to
271. Further, the trained network allows for multitask memory-­
less image reconstruction via optical inference including multilevel hierarchical extraction of image features with high convergence
accuracy. When integrated with optoelectronic device such as
a spatial light modulator (SLM), the convolutional ONN can reconstruct scattering images directly through an ultrafast optical
process with a computational power of 1.57 peta-­operations per
second (POPS).
Downloaded from https://www.science.org on December 17, 2025
Fig. 2. Principle of the optical convolutional neural network. (A) Three-­layer convolutional ONN consists of two optical convolutional layers and one optically fully
connected layer. (B) The structure of the first convolutional layer contains nine different kernels. Each kernel includes three structures: a vortex phase, a random phase,
and a grating phase. (C) The phase structure of the second convolutional layer is divided into 3 × 3 zones. The phase in each zone is constructed via the same process as
the first convolutional layer, leading to 81 kernels. (D) Performance of the trained convolutional ONN in an inference classification task based on the MNIST and Fashion-­
MNIST datasets. The upper figures demonstrate the learning curves in each case. The bottom figures demonstrate the experimental classification results at the output
plane of the convolutional ONN, and the red dashed squares represent the detector regions trained for the corresponding digits.
Zhang et al., Sci. Adv. 10, eadn2205 (2024)
14 June 2024
3 of 9
S c i e n c e A d v a n c e s | R e s e ar c h A r t i c l e
The Fourier optics-­based principle of the convolutional ONN is
depicted in Fig. 2A and figs. S3 to S7. In this framework, optical
convolution is realized based on a convolution operation at the image plane of the output field (Uo) of a lens between the input field
(Ui) and the Fourier transformation of the pupil function of the lens
based on the imaging theory (33). In each of the two convolutional
layers of the convolutional ONN, a single-­lens phase function
{L(x, y) = P(x, y)exp[−iπ(x2 + y2)/λf ]} is used for image formation. The
pupil function P(x, y) of the lens consists of a vortex phase (V), a
random modulation phase (R), and a grating phase (G) and serves
as the Fourier transformation of a convolutional kernel of the ONN,
as shown in the dashed line box in Fig. 2A and fig. S3 (see text S2 for
more details). The corresponding convolution relationship can be
expressed as
Uo (u, v) = Ui (−u, −v) ⊗ ℱ{V (x, y) ∙ R(x, y) ∙ G(x, y)}
(1)
Zhang et al., Sci. Adv. 10, eadn2205 (2024)
14 June 2024
4 of 9
Downloaded from https://www.science.org on December 17, 2025
To achieve a parallel convolutional network for memory-­less
scattering image reconstruction directly from a speckle pattern, we
use the grating phase (G) to form a parallel array of kernels in a
single convolutional layer in the convolutional ONN. G(x, y) includes nine superimpose diffraction directions, as shown in Fig. 2B,
which is further demonstrated in text S2. After the beam passes
through the first optical convolutional layer, nine differently convoluted feature maps Ui ⊗ ℱ(Vm,nRm,n) are spatially tiled in a 3 × 3 array
across the output plane (Fig. 2B and fig. S4). This property allows us
to form a multistage network architecture of the convolutional ONN
for hierarchical extraction of multilevel object features. The second
layer is divided into 3 × 3 zones, with each zone corresponding to
the 3 × 3 outputs of the first layer (Fig. 2C and fig. S5). After the
beam passes through the second layer, the convolutional ONN can
generate 81 convoluted feature maps tiled in a 9 × 9 array in the
output plane, and these 81 feature maps are sent to the third fully
connected layer for further processing (Fig. 2A and fig. S6). We note
that the number of parallel convolution kernels does not have to be
81; this number was chosen to demonstrate the principle of the convolutional ONN.
Furthermore, we adopt the vortex phase function V = exp(ilφ)
encoded in the convolutional kernels to extract the edge information embedded in speckle patterns generated in the memory-­less
scattering process. This component is important since edges play an
important role in visual systems to understand the contents of a pattern (34) and a vortex phase provides the differential function in
edge enhancement (35). As shown in Fig. 2A and figs. S3 and S4, the
convolution results with a vortex phase function show mainly the
edge information of the input object.
We aim to train the convolutional ONN to perform memory-­less
image reconstruction via optical inferencing. Therefore, a random
modulation phase function R = exp[iM(x, y)] is used for updating in
the training process, which is initialized with randomly distributed
values. The design of the random initialization phase for the training or learning process is presented in text S2.1. The learnable targets of the convolutional ONN include the 9 kernels in the first
convolutional layer (fig. S4), the 81 kernels in the second convolutional layer (fig. S5), and the 81 modulation phases in the third fully
connected layer (fig. S6). Since the convolutional kernels operate in
the Fourier domain, the training process is performed via the Fourier transformation approach for the error back-­propagation method (fig. S7), in contrast to the method used in diffractive deep neural
networks (D2NN) (36). The detailed training process is provided in
text S3. In summary, the convolutional ONNs comprise the quadratic lens phase, vortex phase, random phase, and grating phase.
The quadratic lens phase is used to implement the optical convolution operation as defined in Eq. 1, and the convolutional kernels
consist of three phases: The vortex phase is used to extract edge features, the random phase is used for training and updating the parameters of the convolutional kernels in the convolutional ONN,
and the grating phase is used to spatially separate the various convolutional results to distinct locations in the output plane.
On the basis of the design of the trainable convolutional ONN
framework, we experimentally set up a system with multiple programmable SLMs operating at the wavelength of 632.8 nm (see Materials and Methods, figs. S8 to S11, and text S4 for details). We first
implement our framework for optical inferencing including object
classification. The learning curves for the MNIST and Fashion-­
MNIST datasets (Fig. 2D) show that the numerically tested accuracies are approximately 97.2% and 87.3%, respectively. The
corresponding experimental verification is conducted by extracting
20 different samples for each class and comparing their degree of
correspondence between experimental and numerical results. In the
MNIST dataset, the degree of correspondence shows a 96.5% match
(7 errors out of 200 digits), and in the Fashion-­MNIST dataset, the
degree of correspondence shows a 94.5% match (11 errors out of
200 digits). The experimental results are slightly worse than the numerical results due to possible optical path misalignment errors.
The detected features observed at the CMOS camera for some input
objects are demonstrated in Fig. 2D, and the confusion matrices and
energy distribution percentages for the experimental results are presented in fig. S12. Clearly, the trained convolutional ONN learns to
focus the input energy to the correct detector region corresponding
to the input objects with high efficiency.
To reconstruct objects in a complex memory-­less scattering imaging scenario, we change the loss function in the training process
from the cross-­entropy error function to the negative Pearson correlation coefficient (PCC) (37), which is a representative parameter
for evaluating the similarity between the recovered images and the
ground truth. The convolutional ONN is thus physically trained in
strong scattering cases with two diffusion layers of a varying spacing
(text S5 and figs. S13 and S14), where 2000 training object-­speckle
patterns are considered in each case. The results in Fig. 3A and
fig. S14 demonstrate that the convolutional ONN shows essentially
the same performance when d increases. The PCC values can also be
used to evaluate the correlation between the reconstructed images
by optical inference and the ground truth, with a value of 1 representing a perfect correlation. Before training, the convolutional
ONN cannot generate correct outputs and the PCC is approximately 0. However, after training, the outputs have similar shapes with
respect to the ground truth and the mean PCC value is approximately 0.92 for the all-­optical reconstruction of 100 MNIST and 100
Fashion-­MNIST test objects (objects that were not used during the
training). This result indicates that the convolutional ONN can
learn a generalizable mapping of low-­level textures between the
speckle patterns and the input objects in the case of two-­layer
memory-­less scattering. Thus, the proposed convolutional ONN
can reconstruct unknown objects.
We next apply the convolutional ONN to reconstruct the object
through multiple scattering layers as this scenario has a negligible
OME range smaller than that in two scattering layers (see text S6
and figs. S15 and S16 for details). The convolutional ONN is trained
S c i e n c e A d v a n c e s | R e s e ar c h A r t i c l e
in 5 cases, with N varied from 1 to 5, where 2000 training object-­
speckle patterns are considered in each case, and the training and
testing results are shown in Fig. 3B. As the number of scattering
layers N increases, the trained convolutional ONN can still make
clear reconstruction up to N = 4, although the PCC value of the
output results decreases to 0.82. However, when N = 5, the PCC
value for the reconstructed results of the unknown test objects decreases to 0.71. Throughout this paper, we consider the size of the
objects to be approximately 1 mm. Thus, the field of view of the reconstructed images is enlarged by a factor up to 271 given the fact
that the negligible OME range on the object plane is approximately
1.6 μm for N = 5 and d = 5 cm (Fig. 1B) (text S6). It should be noted
that there are numerous efforts to broaden the limited field of view
imposed by the OME, including fluctuating random illumination
(12), wavefront shaping (38), ptychography (39), variance-­based
methods (40), reflection matrix microscope (41), and learning-­based
Zhang et al., Sci. Adv. 10, eadn2205 (2024)
14 June 2024
methods (42). We compare their performance with respect to convolutional ONNs in text S7.
To demonstrate the importance of the vortex phase function in
the convolutional kernels of the trainable convolutional ONN for
memory-­less scattering imaging, and their feature extraction capabilities, we train one convolutional ONN with the vortex phase
function and one convolutional ONN without this function. In
these experiments, the same scattering situation, i.e., two scattering
layers with a spacing of d = 5 cm, is considered. The mean PCC
curves are shown in Fig. 3C. The convolutional ONN with vortex
kernels has higher PCC values (PCC = 0.921) compared with the
convolutional ONN without vortex kernels (PCC = 0.863). As expected (Fig. 3A), after performing the convolution with vortex kernels,
the edges of the objects in any orientation can be extracted. To demonstrate that the adoption of different vortices in the various convolutional kernels could enhance the performance of convolutional
5 of 9
Downloaded from https://www.science.org on December 17, 2025
Fig. 3. Experimental verification of memory-­less image reconstruction. (A) Experimental reconstruction results of the trained convolutional ONN with two scattering
layers (N = 2). The first row shows the ground truth images of the objects, and the second to fourth rows are the reconstructed results for the cases d = 3 cm, d = 4 cm, and
d = 5 cm, respectively. (B) Experimental reconstruction results of the trained convolutional ONN for the multiple scattering layers (N > 2). The first to fourth rows correspond to the cases for N = 2, 3, 4, and 5, respectively. (C) Demonstration of the effect of the vortex phase on the convolutional ONN. The right figures compare the testing
curves and the reconstructed results for the convolutional kernels with and without the vortex phase in the scattering case d = 5 cm. The left figure demonstrates that the
various vortex phase structures can be used to extract the differently oriented edge information of the input objects.
S c i e n c e A d v a n c e s | R e s e ar c h A r t i c l e
Real-­time memory-­less image reconstruction
We now move onto the dynamic inference capability of the trained
convolutional ONN because this property is of importance for real-­
time memory-­less image reconstruction. To this end, we reconfigure
the convolutional ONN to perform the video-­rate image reconstruction based on programmable SLMs and a high-­speed complementary metal oxide semiconductor (CMOS) camera (Materials
and Methods). The speckle patterns (N = 2, d = 5 cm) with 128 × 128
pixels are serially fed into the SLM (Cas Microstar, FSLM-­HD70­A/P) at a 60-­Hz frame rate, and the corresponding inference results
are captured by the camera (Thorlabs, CS135MU). The results are
shown in Fig. 4A, fig. S16, and movies S1 and S2. The videos present
results for the MNIST and Fashion-­MNIST datasets. It can be seen
that the convolutional ONN can correctly infer or reconstruct the
images based on the speckle patterns at the given frame rate, demonstrating the computational power of approximately 1.57 POPS
(see text S13).
Multitask reconstruction for memory-­less speckle patterns
In contrast to the existing ONNs based on the wavelength or polarization multiplexing for multitask inferencing (46, 47), the proposed
trainable convolutional ONN can operate in a multitask mode and
distinguish different classes of independent memory-­less speckle
patterns. To accomplish this, we need to modify only the structures
of the third fully connected layer to perform different tasks due to
the high image processing efficiency of the convolutional operation
in the first two layers. Therefore, the convolutional layers and kernels can be shared among different tasks, thereby improving multitask performance. As shown in Fig. 4B and fig. S17 (for N = 2 and
Zhang et al., Sci. Adv. 10, eadn2205 (2024)
14 June 2024
d = 5 cm), to realize a two-­task mode, the third fully connected
layer is divided into two up and bottom parts. The grating phase
functions then direct the different task-­specific feature maps to the
top and bottom of the output plane. The corresponding training
process for multitask inferencing is demonstrated in text S14. The
two-­task results of the convolutional ONN are demonstrated in
Fig. 4B, showing that the MNIST and Fashion-­MNIST speckle patterns lead to the reconstructed images preferably in position 1 and
in position 2, respectively. The video-­rate memory-­less reconstructed
images in the two-­task mode are given in movie S3.
DISCUSSION
Notably, the proposed Fourier optics-­based and trainable convolutional ONNs have three layers integrating the lens function, the
grating function, and the edge enhancement function in the convolutional kernels, without the additional bulky optical components.
This multilayer convolutional ONN can be integrated layer-­by-­layer
with existing nanofabrication techniques for convolutional kernels
with a large number of pixels (i.e., artificial neurons), and the convolutional ONN operating at the visible wavelength range could be
fabricated by three-­dimensional direct laser writing (DLW) based
on two-­photon polymerization (48–50). On the basis of DLW methods, the convolutional ONN could achieve up to four or more layers
(48), and the neuro-­number could reach to 2000 × 2000 (49). The
convolutional ONNs provide an optical artificial intelligence (AI)
method with wide-­ranging real-­world applicability, such as the all-­
optical image analysis (29), object classification (36, 51), segmentation (44), feature detection (52), action recognition (52), and optical
communication (53). With low computing latency, light-­speed processing, and high-­throughput capability, the convolutional ONNs
demonstrate potential applications in the area of autonomous driving (54), robotics (55), and medical diagnosis (56). Furthermore,
the convolutional ONNs could also be integrated to the many current systems, such as the photonic convolutional accelerator (57),
ONNs combined with CMOS sensors (48), and the framework of
all-­analog chip combining electronics and light (ACCEL) in (51), to
achieve an energy-­efficient and high-­speed vision tasks.
MATERIALS AND METHODS
Experimental measurement of memory-­less
scattering speckles
The experimental setup for measuring the memory-­less scattering
speckles is shown in fig. S2. First, the laser beam with the wavelength 632.8 nm is expanded and reflected by the beam splitter (BS),
and then, the reflected beam shines onto the SLM (Cas Microstar,
FSLM-­HD70-­A/P). This intensity-­modulation SLM has 1920 × 1080
pixels with pixel size 8 μm × 8 μm, and in our experiment, only the
central 128 × 128 pixels are used to encode the object. After the object
is uploaded into the SLM, the reflected beam generated by the SLM
passes through the BS and then scattered by multiple diffuser layers.
The glass diffusers are 220-­grit size diffuser (Thorlabs, DG10-­220-­
MD), and the distance between the SLM and the first diffuser is
5 cm. The number N of diffuser layers is chosen to be N = 1, 2, 3, 4,
and 5, and the spacing d between diffusers is chosen to be d = 1 cm,
2 cm, 3 cm, 4 cm, and 5 cm. The iris with diameter 1 cm is inserted
between two diffusers to block the stray light. After the scattered
beam passes through the last diffuser, the generated spackles are
6 of 9
Downloaded from https://www.science.org on December 17, 2025
ONNs, we simulated different types of convolutional kernels, and
the results are demonstrated in text S8.
Next, we compare the performance of convolutional ONNs with
the architectures of D2NN having diffractive layers separated by
equivalent distances (36, 43), as shown in text S9. It is evident that
the convolutional ONN outperforms the D2NN under the same
conditions, with three main reasons listed as follows: (i) The convolutional kernels are situated in Fourier space, where the modulation
layer in Fourier space performs better than in real space (44); (ii) the
convolutional ONN includes multichannel convolutions at each
layer to extract various features of the objects; (iii) the adoption of
vortex phase in the kernels aids in extracting the edge features of the
objects.
Furthermore, we compare the performance of convolutional
ONNs with electronic CNNs under the same conditions, as demonstrated in text S10. Additionally, we compare their performance
with other scattering imaging methods, such as TM methods, wavefront shaping, and learning-­based methods, in text S11. These results highlight that the convolutional ONN offers an all-­optical
approach with ultrahigh computation speed and energy efficiency,
without being constrained by the OME. It is worth noting that the
convolutional ONN can reconstruct more complex scenes and images through highly scattering media (20, 30).
We conducted numerical tests on the ImageNet dataset (45), a
dataset containing more complex scenes from daily life, to evaluate
the performance of convolutional ONNs. The results, presented in
text S12, demonstrate that the convolutional ONN successfully reconstructs complex scene images with a PCC of 0.83 from the
speckles generated by two diffuser layers (N = 2, d = 5 cm).
S c i e n c e A d v a n c e s | R e s e ar c h A r t i c l e
recorded by the CMOS camera (Thorlabs Kiralux, pixel size
5.86 μm), and the distance between the last diffuser and the camera
is 15 cm. In experiment, only the central 512 × 512 camera pixels are
used, so the speckle patterns are cropped to 512 × 512 pixels for the
convolutional ONN process. The size of object is around 1 mm ×
1 mm, and the corresponding speckle pattern size is around 3 mm ×
3 mm, which is consistent with the image size of 1 mm that we assumed throughout the paper, since the magnification of our system
is M0 = 15 cm/5 cm = 3 (6).
Experimental arrangement of the three-­layer
convolutional ONN
The experimental arrangement for the three-­layer convolutional
ONN is demonstrated in fig. S8. Figure S8A demonstrates the relationship between the layers of the convolutional ONN, which includes the input plane, the first convolutional layer, the output plane
of the first convolutional layer, the second convolutional layer, the
output plane of the second convolutional layer, the third fully connected layer, and the output plane of convolutional ONN. It should
be noted that only the three layers of the convolutional ONN are
Zhang et al., Sci. Adv. 10, eadn2205 (2024)
14 June 2024
needed to be constructed with SLMs, while for the output plane of
convolutional layer, it is a virtual plane located between two SLMs
and it is not needed to be constructed.
The experimental setup for the convolutional ONN is demonstrated in fig. S8B. We use the reflective intensity-­modulation
SLM0 (Cas Microstar, FSLM-­HD70-­A/P, pixel size 8 μm, 1920 ×
1080) to generate programmable pixel-­wise input of the convolutional ONN. Then, the light field modulated by SLM0 is relayed
onto the input plane of the convolutional ONN through a 4f system. The 4f system consisting of two lenses with focal lengths
100 mm (L1) and 50 mm (L2), respectively, is used to provide a
0.5 magnification for the object encoded into SLM0. Then, the input plane is sent to the three-­layer convolutional ONN for further
processing. The convolutional ONN is composed of three phase-­
modulation SLMs (Cas Microstar, FSLM-­4 k70-­P ), and these
SLMs have 4094 × 2400 pixels with the pixel size of 3.74 μm ×
3.74 μm. The first convolutional layer is encoded into SLM1, and
the distance between the input plane and SLM1 is 10 cm. After
modulation by SLM1, the beam then transmits to SLM2 through the
reflection by beam splitters BS2 and BS3. The second convolutional
7 of 9
Downloaded from https://www.science.org on December 17, 2025
Fig. 4. Demonstration of the dynamic and multi-­task performance of the trainable convolutional ONN. (A) Dynamic inference process for memory-­less image reconstruction with the convolutional ONN (movies S1 and S2). The input speckle patterns are loaded on a 60-­Hz SLM. (B) The two-­task convolutional ONN framework and
the video-­frame multitask inference for memory-­less image reconstruction with the convolutional ONN are shown in movie S3, and the grating profile of the third optical
fully connected layer is shown in fig. S17.
S c i e n c e A d v a n c e s | R e s e ar c h A r t i c l e
Image classification and reconstruction of the
convolutional ONN
For the image classification problems, the convolutional ONN is
first trained with the MNIST dataset and the Fashion-­MNIST dataset, respectively. Ten regions in the camera (Thorlabs CS135MU,
1280 × 1024) are selected for the classifier. After the training process, we obtain the final phase profiles for the three layers of the
convolutional ONN. By uploading the final phase profiles to SLM1,
SLM2, and SLM3 (fig. S7), an optical framework is constructed. By
loading the objects to SLM0, the classification results can be obtained in the camera located in the output plane.
For scattering imaging, the input is the memory-­less speckles
generated by multiple diffusers. Because the spackles have 512 ×
512 pixels, they are downsampled by a factor of 4 to 128 × 128 pixels
based on the bilinear interpolation method, and then feed into the
convolutional ONN input plane based on SLM0. The convolutional
ONN inference results for scattering imaging are reconstructed object images with 128 × 128 pixels. After the training process, the final trained phase distributions are uploaded to SLM1, SLM2, and
SLM3 to construct the convolutional ONN for scattering imaging.
Dynamic inference of convolutional ONN
To demonstrate the dynamic inference capabilities of the convolutional ONN, we implement the convolutional ONN to realize the
video-­rate inference based on a programmable SLM and a high-­
speed CMOS camera. The SLM (SLM0 in fig. S17) (Cas Microstar,
FSLM-­HD70-­A/P) has 1920 × 1080 pixels with the central 128 ×
128 pixels implemented as the input zone of the convolutional
ONN. This SLM could operate at a frame rate of 60 Hz with an update time of ~2.2 ms. The output of the convolutional ONN is captured by a high-­speed CMOS camera (Thorlabs CS135MU, pixel
size 4.8 μm, 1280 × 1024) with the maximum frame rate of 163 frames
per second. Finally, the input SLM and the cameras are synchronized with external triggers to construct the high-­parallelism convolutional ONN inference. The speckles patterns (N = 2, d = 5 cm)
with 128 × 128 pixels are serially fed into the SLM for dynamic inferencing (fig. S17).
Zhang et al., Sci. Adv. 10, eadn2205 (2024)
14 June 2024
Supplementary Materials
This PDF file includes:
Supplementary Text
Figs. S1 to S23
Tables S1 to S5
Legends for movies S1 to S3
References
Other Supplementary Material for this manuscript includes the following:
Movies S1 to S3
REFERENCES AND NOTES
1. J. Bertolotti, O. Katz, Imaging in complex media. Nat. Phys. 18, 1008–1017 (2022).
2. S. Feng, C. Kane, P. A. Lee, A. D. Stone, Correlations and fluctuations of coherent wave
transmission through disordered media. Phys. Rev. Lett. 61, 834–837 (1988).
3.I. Freund, M. Rosenbluh, S. Feng, Memory effects in propagation of optical waves through
disordered media. Phys. Rev. Lett. 61, 2328–2331 (1988).
4. G. Osnabrugge, R. Horstmeyer, I. N. Papadopoulos, B. Judkewitz, I. M. Vellekoop,
Generalized optical memory effect. Optica 4, 886–892 (2017).
5. O. Katz, E. Small, Y. Silberberg, Looking around corners and through thin turbid layers in
real time with scattered incoherent light. Nat. Photonics 6, 549–553 (2012).
6. O. Katz, P. Heidmann, M. Fink, S. Gigan, Non-­invasive single-­shot imaging through
scattering layers and around corners via speckle correlations. Nat. Photonics 8, 784–790
(2014).
7. J. Bertolotti, E. G. Van Putten, C. Blum, A. Lagendijk, W. L. Vos, A. P. Mosk, Non-­invasive
imaging through opaque scattering layers. Nature 491, 232–234 (2012).
8. S. Gigan, Optical microscopy aims deep. Nat. Photonics 11, 14–16 (2017).
9. S. Schott, J. Bertolotti, J. F. Léger, L. Bourdieu, S. Gigan, Characterization of the angular
memory effect of scattered light in biological tissues. Opt. Express 23, 13505–13516
(2015).
10.E. Edrei, G. Scarcelli, Memory-­effect based deconvolution microscopy for super-­
resolution imaging through scattering media. Sci. Rep. 6, 1–8 (2016).
11. S. Li, S. A. Horsley, T. Tyc, T. Čižmár, D. B. Phillips, Memory effect assisted imaging through
multimode optical fibres. Nat. Commun. 12, 3751 (2021).
12.L. Zhu, F. Soldevila, C. Moretti, A. d’Arco, A. Boniface, X. Shao, H. B. de Aguiar, S. Gigan,
Large field-­of-­view non-­invasive imaging through scattering layers using fluctuating
random illumination. Nat. Commun. 13, 1447 (2022).
13. F. Willomitzer, P. V. Rangarajan, F. Li, M. M. Balaji, M. P. Christensen, O. Cossairt, Fast
non-­line-­of-­sight imaging with high-­resolution and wide field of view using synthetic
wavelength holography. Nat. Commun. 12, 6647 (2021).
14. M. Jang, Y. Horie, A. Shibukawa, J. Brake, Y. Liu, S. M. Kamali, A. Arbabi, H. Ruan, A. Faraon,
C. Yang, Wavefront shaping with disorder-­engineered metasurfaces. Nat. Photonics 12,
84–90 (2018).
15. A. P. Mosk, A. Lagendijk, G. Lerosey, M. Fink, Controlling waves in space and time for
imaging and focusing in complex media. Nat. Photonics 6, 283–292 (2012).
16.H. Ruan, Y. Liu, J. Xu, Y. Huang, C. Yang, Fluorescence imaging through dynamic scattering
media with speckle-­encoded ultrasound-­modulated light correlation. Nat. Photonics 14,
511–516 (2020).
17. B. Judkewitz, R. Horstmeyer, I. M. Vellekoop, I. N. Papadopoulos, C. Yang, Translation
correlations in anisotropically scattering media. Nat. Phys. 11, 684–689 (2015).
18. S. Gigan, Imaging and computing with disorder. Nat. Phys. 18, 980–985 (2022).
19. S. Popoff, G. Lerosey, R. Carminati, M. Fink, A. C. Boccara, S. Gigan, Measuring the
transmission matrix in optics: An approach to the study and control of light propagation
in disordered media. Phys. Rev. Lett. 104, 100601 (2010).
20. P. Caramazza, O. Moran, R. Murray-­Smith, D. Faccio, Transmission of natural scene images
through a multimode fibre. Nat. Commun. 10, 2029 (2019).
21. S. Y. Lee, V. J. Parot, B. E. Bouma, M. Villiger, Confocal 3D reflectance imaging through
multimode fiber without wavefront shaping. Optica 9, 112–120 (2022).
22. S. Turtaev, I. T. Leite, T. Altwegg-­Boussac, J. M. Pakan, N. L. Rochefort, T. Čižmár,
High-­fidelity multimode fibre-­based endoscopy for deep brain in vivo imaging. Light. Sci.
Appl. 7, 92 (2018).
23.T. Yeminy, O. Katz, Guidestar-­free image-­guided wavefront shaping. Sci. Adv. 7, eabf5364,
(2021).
24. M. S. Wróbel, A. P. Popov, A. V. Bykov, M. Kinnunen, M. Jędrzejewska-­Szczerska, V. V. T
uchin, Multi-­layered tissue head phantoms for noninvasive optical diagnostics. J. Innov.
Opt. Health Sci. 8, 1541005 (2015).
25. M. Karam, A. Fung, R. Lang, N. Chauhan, A microwave scattering model for layered
vegetation. IEEE Trans. Geosci. Remote Sens. 30, 767–784 (1992).
26.I. Ali, F. Greifeneder, J. Stamenkovic, M. Neumann, C. Notarnicola, Review of machine
learning approaches for biomass and soil moisture retrievals from remote sensing data.
Remote Sens. (Basel) 7, 16398–16421 (2015).
8 of 9
Downloaded from https://www.science.org on December 17, 2025
layer is encoded into SLM2, and the distance between SLM1 and
SLM2 is 20 cm. Then, the beam modulated by SLM2 is transmitted
to SLM3. The third fully connected layer is encoded into the SLM3,
and the distance between SLM2 and SLM3 is 10 cm. The beam
modulated by SLM3 is propagated onto the output plane of the
convolutional ONN through the reflection by beam splitter BS4,
and the distance between SLM3 and the output plane is 20 cm. A
camera (Thorlabs CS135MU, pixel size 4.8 μm, 1280 × 1024) is
placed in the output plane of the convolutional ONN to record the
inference results.
It should be noted that misalignment between different layers of
the convolutional ONN can significantly degrade its performance.
The original classification accuracy without misalignment for the
MNIST dataset is 97.2%. In our experiment, the pixel size of the
SLM is 3.74 μm. When setting the misalignment to be 1 pixel,
2 pixels, 3 pixels, and 4 pixels at each layer, the corresponding measured classification accuracies decreased to 96.9%, 96.3%, 95.7%,
and 94.5%, respectively. To mitigate this issue, we could implement
the approach proposed by Zhou et al. (52). According to this approach, a symmetrical Gaussian phase profile could be used to calibrate the misalignment error of the system.
S c i e n c e A d v a n c e s | R e s e ar c h A r t i c l e
Zhang et al., Sci. Adv. 10, eadn2205 (2024)
14 June 2024
53. M. S. S. Rahman, T. Gan, E. A. Deger, Ç. Işıl, M. Jarrahi, A. Ozcan, Learning diffractive optical
communication around arbitrary opaque occlusions. Nat. Commun. 14, 6830 (2023).
54. J. Chang, G. Wetzstein, Deep optics for monocular depth estimation and 3D object
detection, in Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision
(ICCV) (IEEE, 2019), pp. 10193–10202.
55. A. Suleiman, Z. Zhang, L. Carlone, S. Karaman, V. Sze, Navion: A 2-­mw fully integrated
real-­time visual-­inertial odometry accelerator for autonomous navigation of nano
drones. IEEE J. Solid-­State Circuits 54, 1106–1119 (2019).
56. A. Esteva, A. Robicquet, B. Ramsundar, V. Kuleshov, M. DePristo, K. Chou, C. Cui, G. Corrado,
S. Thrun, J. Dean, A guide to deep learning in healthcare. Nat. Med. 25, 24–29 (2019).
57. X. Xu, M. Tan, B. Corcoran, J. Wu, A. Boes, T. G. Nguyen, S. T. Chu, B. E. Little, D. G. Hicks,
R. Morandotti, A. Mitchell, 11 TOPS photonic convolutional accelerator for optical neural
networks. Nature 589, 44–51 (2021).
58.N. Antipa, S. Necula, R. Ng, L. Waller, Single-­shot diffuser-­encoded light field imaging, in
IEEE International Conference on Computational Photography (ICCP) (IEEE, 2016), pp. 1–11.
59. S. Li, M. Deng, J. Lee, A. Sinha, G. Barbastathis, Imaging through glass diffusers using
densely connected convolutional networks. Optica 5, 803–813 (2018).
60. M. Gu, Advanced Optical Imaging Theory (Springer-­Verlag Berlin Heidelberg, 2000).
61.T. Zhou, L. Fang, T. Yan, J. Wu, Y. Li, J. Fan, H. Wu, X. Lin, Q. Dai, In situ optical backpropagation
training of diffractive optical neural networks. Photonics Res. 8, 940–953 (2020).
62.C. Li, C. K. Lee, Minimum cross entropy thresholding. Pattern Recognit. 26, 617–625 (1993).
63.H. Robbins, S. Monro, A stochastic approximation method. Ann. Math. Statist. 22, 400–407
(1951).
64.D. F. Gardner, S. Divitt, A. T. Watnik, Ptychographic imaging of incoherently illuminated
extended objects using speckle correlations. Appl. Optics 58, 3564–3569 (2019).
65.C. Guo, J. Liu, W. Li, T. Wu, L. Zhu, J. Wang, G. Wang, X. Shao, Imaging through scattering
layers exceeding memory effect range by exploiting prior information. Opt. Commun.
434, 203–208 (2019).
66. X. Wang, X. Jin, J. Li, X. Lian, X. Ji, Q. Dai, Prior-­information-­free single-­shot scattering
imaging beyond the memory effect. Opt. Lett. 44, 1423–1426 (2019).
67. M. Poli, S. Massaroli, F. Berto, J. Park, T. Dao, C. Ré, S. Ermon, Transform once: Efficient
operator learning in frequency domain. Adv. Neur. Inform. Proc. Syst. 35, 7947–7959 (2022).
68. S. Popoff, G. Lerosey, M. Fink, A. C. Boccara, S. Gigan, Image transmission through an
opaque material. Nat. Commun. 1, 81 (2010).
Acknowledgments
Funding: This study was supported by the Shanghai Municipal Science and Technology Major
Project, Science and Technology Commission of Shanghai Municipality [no. 21DZ1100500
(M.G.)], Shanghai Frontiers Science Center Program [2021-­2025 no. 20 (M.G.)], National Key
Research and Development Program of China [grant nos. 2021YFB2802000 (Q.Z.) and
2022YFB2804301 (H.L.)], National Natural Science Foundation of China [nos. 61975123 (Q.Z.)
and 62175154 (Yinan Zhang)], Shanghai Pujiang Program [nos. 21PJ1411200 (Yuchao Zhang)
and 20PJ1411900 (Yinan Zhang)], and Shanghai Science and Technology Program
[21ZR1445500 (Yinan Zhang)]. Author contributions: M.G., Yuchao Zhang, and Q.Z. conceived
the research topic. M.G. initiated and supervised the research project. Yuchao Zhang
contributed to the design and numerical simulations. Yuchao Zhang and Q.Z. contributed to
experimental characterization. H.Y. analyzed the data and prepared the figures. All authors
participated in discussions and contributed to the writing of the manuscript. Competing
interests: The authors declare that they have no competing interests. Data and materials
availability: All data needed to evaluate the conclusions in the paper are present in the paper
and/or the Supplementary Materials.
Submitted 29 November 2023
Accepted 13 May 2024
Published 14 June 2024
10.1126/sciadv.adn2205
9 of 9
Downloaded from https://www.science.org on December 17, 2025
27. K. Lee, Y. Park, Exploiting the speckle-­correlation scattering matrix for a compact
reference-­free holographic image sensor. Nat. Commun. 7, 13359 (2016).
28. Y. Li, Y. Xue, L. Tian, Deep speckle correlation: A deep learning approach toward scalable
imaging through scattering media. Optica 5, 1181–1190 (2018).
29. Y. Luo, Y. Zhao, J. Li, E. Çetintaş, Y. Rivenson, M. Jarrahi, A. Ozcan, Computational imaging
without a computer: Seeing through random diffusers at the speed of light. eLight 2, 4
(2022).
30. B. Rahmani, D. Loterie, E. Kakkava, N. Borhani, U. Teğin, D. Psaltis, C. Moser, Actor neural
networks for the robust control of partially measured nonlinear systems showcased for
image propagation through diffuse media. Nat. Mach. Intell. 2, 403–410 (2020).
31. K. Fukushima, Neocognitron: A self-­organizing neural network model for a mechanism of
pattern recognition unaffected by shift in position. Biol. Cybern. 36, 193–202 (1980).
32.D. Hubel, T. Wiesel, Receptive fields of single neurones in the cat’s striate cortex.
J. Physiol. 148, 574–591 (1959).
33. J. W. Goodman, Introduction to Fourier Optics (Roberts and Company Publishers, 2005).
34.I. Bankman, Handbook of Medical Image Processing and Analysis (Elsevier, 2008).
35. M. Baurzhan, L. T. Vuong, Fourier optical preprocessing in lieu of deep learning. Optica 7,
1079–1088 (2020).
36. X. Lin, Y. Rivenson, N. T. Yardimci, M. Veli, Y. Luo, M. Jarrahi, A. Ozcan, All-­optical machine
learning using diffractive deep neural networks. Science 361, 1004–1008 (2018).
37. K. Pearson, VII. Note on regression and inheritance in the case of two parents. Proc. R. Soc.
Lond. 58, 240–242 (1895).
38. J. H. Park, L. Kong, Y. Zhou, M. Cui, Large-­field-­of-­view imaging by multi-­pupil adaptive
optics. Nat. Methods 14, 581–583 (2017).
39. M. Rosenfeld, G. Weinberg, D. Doktofsky, Y. Li, L. Tian, O. Katz, Acousto-­optic
ptychography. Optica 8, 936–943 (2021).
40. A. Boniface, B. Blochet, J. Dong, S. Gigan, Noninvasive light focusing in scattering media
using speckle variance optimization. Optica 6, 1381–1385 (2019).
41. Y. Kwon, J. H. Hong, S. Kang, H. Lee, Y. Jo, K. H. Kim, S. Yoon, W. Choi, Computational
conjugate adaptive optics microscopy for longitudinal through-­skull imaging of cortical
myelin. Nat. Commun. 14, 105 (2023).
42.E. Guo, S. Zhu, Y. Sun, L. Bai, C. Zuo, J. Han, Learning-­based method to reconstruct
complex targets through scattering medium beyond the memory effect. Opt. Express 28,
2433–2446 (2020).
43.N. K. Fontaine, R. Ryf, H. Chen, D. T. Neilson, K. Kim, J. Carpenter, Laguerre-­Gaussian mode
sorter. Nat. Commun. 10, 1865 (2019).
44.T. Yan, J. Wu, T. Zhou, H. Xie, F. Xu, J. Fan, L. Fang, X. Lin, Q. Dai, Fourier-­space diffractive
deep neural network. Phys. Rev. Lett. 123, 023901 (2019).
45.ImageNet database, www.image-­net.org.
46. Z. Duan, H. Chen, X. Lin, Optical multi-­task learning using multiwavelength diffractive
deep neural networks. Nanophotonics 12, 893–903 (2023).
47. X. Luo, Y. Hu, X. Ou, X. Li, J. Lai, N. Liu, X. Cheng, A. Pan, H. Duan, Metasurface-­enabled
on-­chip multiplexed diffractive neural networks in the visible. Light. Sci. Appl. 11, 158 (2022).
48.E. Goi, S. Schoenhardt, M. Gu, Direct retrieval of Zernike-­based pupil functions using
integrated diffractive deep neural networks. Nat. Commun. 13, 7531 (2022).
49.H. Ren, X. Fang, J. Jang, J. Bürger, J. Rho, S. A. Maier, Complex-­amplitude metasurface-­
based orbital angular momentum holography in momentum space. Nat. Nanotechnol.
15, 948–955 (2020).
50.H. Wang, H. Wang, Q. Ruan, J. Y. E. Chan, W. Zhang, H. Liu, S. D. Rezaei, J. Trisno, C. W. Qiu,
M. Gu, J. K. Yang, Coloured vortex beams with incoherent white light illumination. Nat.
Nanotechnol. 18, 264–272 (2023).
51. Y. Chen, M. Nazhamaiti, H. Xu, Y. Meng, T. Zhou, G. Li, J. Fan, Q. Wei, J. Wu, F. Qiao, L. Fang,
All-­analog photoelectronic chip for high-­speed vision tasks. Nature 623, 48–57 (2023).
52.T. Zhou, X. Lin, J. Wu, Y. Chen, H. Xie, Y. Li, J. Fan, H. Wu, L. Fang, Q. Dai, Large-­scale
neuromorphic optoelectronic computing with a reconfigurable diffractive processing
unit. Nat. Photonics 15, 367–373 (2021).
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )