AnalogVNN: A fully modular framework for modeling and optimizing photonic neural networks
AnalogVNN: A fully modular framework for modeling and optimizing photonic neural networks
复制标题
DOI:
10.1063/5.0134156
复制
发表时间:
2022-10
期刊:
影响因子:
--
通讯作者:
Vivswan Shah;N. Youngblood
中科院分区:
文献类型:
--
作者:
Vivswan Shah;N. Youngblood
In this paper, we present AnalogVNN, a simulation framework built on PyTorch that 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 nine layers and ∼1.7 × 106 parameters, while gaining insights into how normalization, activation function, reduced precision, and noise influence accuracy in analog photonic neural networks. 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.