All models

ONN with Clements/Reck MZI mesh

A fully connected network built from Mach-Zehnder interferometer meshes and an optical nonlinearity.

604 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (10 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
88
Operations
604
Framework
PyTorch
Recurrent
No
Published
Nature Photonics 2017
Cited by
3,321 (as of 26 October 2026)
Authors
Yichen Shen, Nicholas C. Harris, Scott Skirlo and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18940
Graph hash
5c799bf7c091acd9271be5391b3909e8bd7cf6b437920daf6bc3ca7c83ca395c
Skeleton hash
b6963689e4ebc88d50b0af3cdd5b938c76f475891b20f6467330643b7ae5e40c
Architecture hash
a6da677fa911d40ee0643100dd56db4729e26ab77d1564f86ef12ac30b970ece
Diagram SHA-256
06a18e795355480f8e22f549eaeaa34bce7742d36e00f6f6456dd0f0f4aab743
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This is a coherent optical neural network, a design that carries out the layers of a fully connected neural network with light in a photonic circuit. The paper's motivation is that today's computing hardware is inefficient at implementing neural networks. Its argument for optics is that photonics can perform matrix multiplications, a major part of neural network algorithms, with extreme energy efficiency.

Each layer has two parts: optical matrix multiplication is implemented with an optical interference unit, and the nonlinear activation with an optical nonlinearity unit. To implement any real-valued matrix, the interference unit uses the singular value decomposition, which splits the matrix into two unitary matrices and a diagonal matrix. The unitary parts are set by tuning Mach-Zehnder interferometers (MZIs), each made of two beamsplitters and two tunable phase shifters. Later work on such devices describes the rectangular mesh of MZIs as one canonical layout and the triangular mesh as another.

The experiment is a two layer, fully connected network that performs vowel recognition, run on a programmable nanophotonic processor with an array of 56 MZIs and 213 phase shifting elements. The paper reports that the optical network correctly identified 138/180 cases (76.7%), compared to a simulated correctness of 165/180 (91.7%). In this proof of concept the nonlinear transformation was implemented in the electronic domain.

Key idea. The paper proposes an architecture for a fully-optical neural network and experimentally demonstrates essential parts of it, using vowel recognition, on a programmable nanophotonic processor.

  • optical neural network
  • onn
  • coherent optical neural network
  • mzi mesh
  • mach-zehnder interferometer
  • nanophotonic processor
  • photonic neural network
  • clements mesh
  • reck mesh
  • coherent nanophotonic circuits

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{shen2016deeplearningcoherentnanophotonic,
      title={Deep Learning with Coherent Nanophotonic Circuits}, 
      author={Yichen Shen and Nicholas C. Harris and Scott Skirlo and Mihika Prabhu and Tom Baehr-Jones and Michael Hochberg and Xin Sun and Shijie Zhao and Hugo Larochelle and Dirk Englund and Marin Soljacic},
      year={2016},
      eprint={1610.02365},
      archivePrefix={arXiv},
      primaryClass={physics.optics},
      doi={https://doi.org/10.1038/nphoton.2017.93},
      url={https://arxiv.org/abs/1610.02365}, 
}