McGill University
Low-Power Face Recognition using Joint Optical and Electronic Deep Neural Network
Abstract
dc:description.abstractFace detection and recognition are key technologies for human-computer interaction, surveillance, and biometric authentication. However, the trade-off between power consumption and accuracy is crucial for such algorithms running locally on edge devices. In addition, inference latency is an important constraint for real-time systems. In this work, we propose an electro-optic hybrid multi-stage machine learning system for decoupled detection and recognition of faces. The system uses an always-on Mach-Zehnder Interferometer (MZI)-based optical neural network (ONN) to monitor the presence of faces in the environment. The computationally intensive digital deep neural network (DNN) for facial recognition is only turned on once a face is detected. This system enables lower power consumption and faster operation compared to a traditional, pure-electronic, always-on system in two ways. First, the always-on face detector takes advantage of the inherent parallelism of ONN to perform vector-matrix multiplications in linear time complexity with less power consumed. Second, the normally powered-down DNN for facial recognition significantly lowers energy consumption. To verify the correctness and efficiency of the proposed design, we applied it to two different use cases - one with centered face alignment and the other without. We train and test the system using Neuroptica and PyTorch platforms with both the WIDER Face and Labeled Face in the Wild (LFW) datasets. Under the assumption of 1% face appearance probability, the most accurate model arises from the unaligned face scenario with a subsampling process for finding faces. It achieves 97.2% accuracy on the LFW dataset, coupled with a 10.9% reduction in power consumption compared to the same neural network on digital processors. In the aligned face scenario, the best accuracy drops to 95.8% but is accompanied by a remarkable twofold reduction in power and energy usage. We further verify the performance of the proposed system with non-ideal operating conditions by taking into account the phase drifts during the programming of phase shifters and the propagation loss of light. In general, the face recognition accuracy degrades as the non-ideal conditions deteriorate. The ONNs are comparatively more susceptible to phase drifts than propagation loss. By assuming 0.6 dB/MZI propagation loss and varying the magnitude of phase drifts, the most accurate model from the perfect operating condition experienced a maximum of an absolute 6.5% drop in system accuracy. The overall worst model can only achieve an accuracy of 70%. Finally, the power and energy consumption of the majority of the selected best-performing models drops as the non-idealities induce more false negative cases and wake up the power-demanding DNNs less often
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Grantor dc:publisher
- McGill University
- Year dc:date.issued
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Dong, Xuening
- Advisor dc:contributor.advisor
-
- Meyer, Brett (Supervisor)
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- OCLC
- 1443781241
- Identifier URI
- https://hdl.handle.net/20.500.14905/89586
- Dc Identifier Other
- hyrax:3r075178j