Recently, wearable devices such as smartwatches and smart glasses have considerably risen in popularity. Typically, they are equipped with sensors that can provide a huge flow of potentially useful data for different applications. However, the available computational resources and power supply are rather limited, so complex classification and transmission architectures are not feasible. For these reasons, a growing research interest has been focused on strategies that enhance the deployability of Deep Neural Networks (DNNs) while preserving performance on a given task by reducing the number of network weights and quantizing them. In this paper, we employ Ternary Neural Networks (TNNs), a method combining quantization and parameter pruning. Specifically, we investigate the effectiveness of TNNs for gait biometric identification from wearable sensors, whose application in gait identification systems is largely unexplored. Ternary quantization sets a high number of network parameters falling into an interval to zero, effectively removing them from the network topology, hence enabling great memory and computational efficiency. We provide a lightweight deep classifier model with ternarized weights and activations and train it end-to-end to achieve competitive performance with the state-of-the-art while ensuring remarkably high sparsity rate, at times even greater than 90% (i.e., less than 10% of the parameters remain in the topology). Furthermore, the obtained ternary parameter distribution reaches entropy rates that are significantly lower than 1 bit, allowing further compressibility compared to plain binary neural networks which we also considerably outperform.

Ternary Neural Networks for Gait Identification in Wearable Devices / Agnetti, Giacomo; Migliorati, Andrea; Mari, Daniele; Bianchi, Tiziano; Milani, Simone; Magli, Enrico. - (2024), pp. 1-6. (Intervento presentato al convegno 16th IEEE International Workshop on Information Forensics and Security, WIFS 2024 tenutosi a Rome (Ita) nel 02-05 December 2024) [10.1109/wifs61860.2024.10810715].

Ternary Neural Networks for Gait Identification in Wearable Devices

Migliorati, Andrea;Bianchi, Tiziano;Magli, Enrico
2024

Abstract

Recently, wearable devices such as smartwatches and smart glasses have considerably risen in popularity. Typically, they are equipped with sensors that can provide a huge flow of potentially useful data for different applications. However, the available computational resources and power supply are rather limited, so complex classification and transmission architectures are not feasible. For these reasons, a growing research interest has been focused on strategies that enhance the deployability of Deep Neural Networks (DNNs) while preserving performance on a given task by reducing the number of network weights and quantizing them. In this paper, we employ Ternary Neural Networks (TNNs), a method combining quantization and parameter pruning. Specifically, we investigate the effectiveness of TNNs for gait biometric identification from wearable sensors, whose application in gait identification systems is largely unexplored. Ternary quantization sets a high number of network parameters falling into an interval to zero, effectively removing them from the network topology, hence enabling great memory and computational efficiency. We provide a lightweight deep classifier model with ternarized weights and activations and train it end-to-end to achieve competitive performance with the state-of-the-art while ensuring remarkably high sparsity rate, at times even greater than 90% (i.e., less than 10% of the parameters remain in the topology). Furthermore, the obtained ternary parameter distribution reaches entropy rates that are significantly lower than 1 bit, allowing further compressibility compared to plain binary neural networks which we also considerably outperform.
2024
979-8-3503-6442-2
File in questo prodotto:
File Dimensione Formato  
Ternary_Neural_Networks_for_Gait_Identification_in_Wearable_Devices.pdf

accesso riservato

Tipologia: 2a Post-print versione editoriale / Version of Record
Licenza: Non Pubblico - Accesso privato/ristretto
Dimensione 646.92 kB
Formato Adobe PDF
646.92 kB Adobe PDF   Visualizza/Apri   Richiedi una copia
Ternary_Neural_Networks_for_Gait_Identification_in_Wearable_Devices_OA.pdf

accesso aperto

Descrizione: versione autore
Tipologia: 2. Post-print / Author's Accepted Manuscript
Licenza: Pubblico - Tutti i diritti riservati
Dimensione 605.25 kB
Formato Adobe PDF
605.25 kB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11583/2999230