AnalogVNN: A fully modular framework for modeling and optimizing photonic neural networks

Vivswan Shah, Nathan Youngblood
10/14/2022
cs.LGcs.ETphysics.optics

Official code: Vivswan/AnalogVNN (23 stars, Python, PyTorch, last commit 2026-01-19).

Abstract

AnalogVNN, a simulation framework built on PyTorch which can simulate the effects of optoelectronic noise, limited precision, and signal normalization present in photonic neural network accelerators. We use this framework to train and optimize linear and convolutional neural networks with up to 9 layers and ~1.7 million parameters, while gaining insights into how normalization, activation function, reduced precision, and noise influence accuracy in analog photonic neural networks.

Show full abstract

By following the same layer structure design present in PyTorch, the AnalogVNN framework allows users to convert most digital neural network models to their analog counterparts with just a few lines of code, taking full advantage of the open-source optimization, deep learning, and GPU acceleration libraries available through PyTorch. Code is available at https://analogvnn.github.io

View on arXivView PDF

Code Implementations(1)

Vivswan/AnalogVNNOfficial100%
PyTorch

A fully modular framework for modeling and optimizing analog neural networks

235PythonOct 17, 202210 months agoNOASSERTION
analogdeep-learningframeworkneural-networkphotonics+1 more

Similar Papers

Cite this paper

@article{shah2022analogvnn,
  title  = {AnalogVNN: A fully modular framework for modeling and optimizing photonic neural networks},
  author = {Vivswan Shah and Nathan Youngblood},
  year   = {2022},
  eprint = {2210.10048},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.10048}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.10048.svg)](https://codeofpaper.com/paper/2210.10048)

Discussion