Trade-Offs in Neural Network Compression: Quantized and Binary Models for Keyword Spotting
Enabling smart and independent IoT devices often requires to run complex Machine Learning (ML) workloads at the edge. Such systems usually operate with memories in the order of tens of kilobytes and low processing power. To fit within these constraints, model designers typically rely on lowprecision integer representation of operations down to 1-bit, i.e., Binary Neural Networks (BNN). In this paper, we investigate the tradeoffs available to model designers between memory footprint and accuracy and the challenges to overcome for effective use of BNN. We show that designing BNN architectures is not a straightforward process. To overcome this, we propose a methodology based on design guidelines and Neural Architecture Search (NAS) to adapt traditional model architectures into BNN variants. As a case study, we apply this methodology to a ResNetbased model for a keyword spotting (KWS) application. Our results demonstrate that, contrary to 8-bit quantization, direct binarization significantly impacts accuracy. However, careful architecture redesign and hyperparameter tuning helps bringing BNNs performances on par with their quantized counterparts.
Authors
- Pascal Benoit (ORCID: https://orcid.org/0000-0002-2945-5725)
- Lorena Anghel (ORCID: https://orcid.org/0000-0001-9569-0072)
- Jonathan Miquel (ORCID: https://orcid.org/0009-0000-6429-6152)
- Guillaume Prenat (ORCID: https://orcid.org/0000-0003-4899-2101)
- David Novo (ORCID: https://orcid.org/0000-0002-5510-4152)
- Bruno Lovison Franco
- Aymen Romdhane
Institutions
- Centre National de la Recherche Scientifique (FR)
- Université de Montpellier (FR)
- Commissariat à l'Énergie Atomique et aux Énergies Alternatives (FR)
- CEA Grenoble (FR)
- Laboratoire d'Informatique, de Robotique et de Microélectronique de Montpellier (FR)
- Spintronique et Technologie des Composants (FR)
- Université Grenoble Alpes (FR)
Publication Details
- Published
- 2024-11-18
- DOI
- https://doi.org/10.1109/icecs61496.2024.10849192
- Citations
- 1
- Primary Topic
- Advanced Text Analysis Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.35
Funders
- Agence Nationale de la Recherche