Abstract
Binary Neural Networks (BNNs) are increasingly preferred over full-precision Convolutional Neural Networks (CNNs) to reduce the memory and computational requirements of inference processing with minimal accuracy drop. BNNs convert CNN model parameters to 1-bit precision, allowing inference of BNNs to be processed with simple XNOR and bitcount operations. This makes BNNs amenable to hardware acceleration. Several photonic integrated circuits (PICs) based BNN accelerators have been proposed. Although these accelerators provide remarkably higher throughput and energy efficiency than their electronic counterparts, the utilized XNOR and bitcount circuits in these accelerators need to be further enhanced to improve their area, energy efficiency, and throughput. This paper aims to fulfill this need. For that, we invent a single-MRR-based optical XNOR gate (OXG). Moreover, we present a novel design of bitcount circuit which we refer to as Photo-Charge Accumulator (PCA). We employ multiple OXGs in a cascaded manner using dense wavelength division multiplexing (DWDM) and connect them to the PCA, to forge a novel Optical XNOR-Bitcount based Binary Neural Network Accelerator (OXBNN). Our evaluation for the inference of four modern BNNs indicates that OXBNN provides improvements of up to 62× and 7.6× in frames-persecond (FPS) and FPS/W (energy efficiency), respectively, on geometric mean over two PIC-based BNN accelerators from prior work. We developed a transaction-level, event-driven pythonbased simulator for evaluation of accelerators (https://github.com/uky-UCAT/B_ONN_SIM).
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 24th International Symposium on Quality Electronic Design, ISQED 2023 |
| ISBN (Electronic) | 9798350334753 |
| DOIs | |
| State | Published - 2023 |
| Event | 24th International Symposium on Quality Electronic Design, ISQED 2023 - San Francisco, United States Duration: Apr 5 2023 → Apr 7 2023 |
Publication series
| Name | Proceedings - International Symposium on Quality Electronic Design, ISQED |
|---|---|
| Volume | 2023-April |
| ISSN (Print) | 1948-3287 |
| ISSN (Electronic) | 1948-3295 |
Conference
| Conference | 24th International Symposium on Quality Electronic Design, ISQED 2023 |
|---|---|
| Country/Territory | United States |
| City | San Francisco |
| Period | 4/5/23 → 4/7/23 |
Bibliographical note
Publisher Copyright:© 2023 IEEE.
Funding
ACKNOWLEDGMENTS We thank the anonymous reviewers whose valuable feedback helped us improve this paper. We would also like to acknowledge the National Science Foundation (NSF) as this research was supported by NSF under grant CNS-2139167.
| Funders | Funder number |
|---|---|
| U.S. Department of Energy Chinese Academy of Sciences Guangzhou Municipal Science and Technology Project Oak Ridge National Laboratory Extreme Science and Engineering Discovery Environment National Science Foundation National Energy Research Scientific Computing Center National Natural Science Foundation of China | CNS-2139167 |
ASJC Scopus subject areas
- Hardware and Architecture
- Electrical and Electronic Engineering
- Safety, Risk, Reliability and Quality