The effects of weight quantization on online federated learning for the IoT: a case study
| dc.contributor.author | Llisterri Giménez, Nil |
| dc.contributor.author | Lee, Junkyu |
| dc.contributor.author | Freitag, Fèlix |
| dc.contributor.author | Vandierendonck, Hans |
| dc.contributor.group | Universitat Politècnica de Catalunya. CNDS - Xarxes de Computadors i Sistemes Distribuïts |
| dc.contributor.other | Universitat Politècnica de Catalunya. Departament d'Arquitectura de Computadors |
| dc.date.accessioned | 2024-02-22T11:06:28Z |
| dc.date.available | 2024-02-22T11:06:28Z |
| dc.date.issued | 2024-01-04 |
| dc.description.abstract | Many weight quantization approaches were explored to save the communication bandwidth between the clients and the server in federated learning using high-end computing machines. However, there is a lack of weight quantization research for online federated learning using TinyML devices which are restricted by the mini-batch size, the neural network size, and the communication method due to their severe hardware resource constraints and power budgets. We name Tiny Online Federated Learning (TinyOFL) for online federated learning using TinyML devices in the Internet of Things (IoT). This paper performs a comprehensive analysis of the effects of weight quantization in TinyOFL in terms of accuracy, stability, overfitting, communication efficiency, energy consumption, and delivery time, and extracts practical guidelines on how to apply the weight quantization to TinyOFL. Our analysis is supported by a TinyOFL case study with three Arduino Portenta H7 boards running federated learning clients for a keyword spotting task. Our findings include that in TinyOFL, a more aggressive weight quantization can be allowed than in online learning without FL, without affecting the accuracy thanks to TinyOFL’s quasi-batch training property. For example, using 7-bit weights achieved the equivalent accuracy to 32-bit floating point weights, while saving communication bandwidth by 4.6× . Overfitting by increasing network width rarely occurs in TinyOFL, but may occur if strong weight quantization is applied. The experiments also showed that there is a design space for TinyOFL applications by compensating for the accuracy loss due to weight quantization with an increase of the neural network size. |
| dc.description.peerreviewed | Peer Reviewed |
| dc.description.sponsorship | This work was supported in part by the European Union’s Horizon 2020 Research and Innovation Program (ASSIST-IoT) under Grant 957258, in part by the Spanish Government (DiPET CHIST-ERA) under Contract PID2019-106774RB-C21 and Contract PCI2019-111850-2, and in part by the Generalitat de Catalunya as Consolidated Research Group under Grant 2021-SGR-01059. |
| dc.description.version | Postprint (published version) |
| dc.format.extent | 13 p. |
| dc.identifier.citation | Llisterri, N. [et al.]. The effects of weight quantization on online federated learning for the IoT: a case study. "IEEE access", 4 Gener 2024, vol. 12, p. 5490-5502. |
| dc.identifier.doi | 10.1109/ACCESS.2024.3349557 |
| dc.identifier.issn | 2169-3536 |
| dc.identifier.uri | https://hdl.handle.net/2117/402637 |
| dc.language.iso | eng |
| dc.publisher | Institute of Electrical and Electronics Engineers (IEEE) |
| dc.relation.projectid | info:eu-repo/grantAgreement/EC/H2020/957258/EU/Architecture for Scalable, Self-*, human-centric, Intelligent, Secure, and Tactile next generation IoT/ASSIST-IoT |
| dc.relation.projectid | info:eu-repo/grantAgreement/AEI/Plan Estatal de Investigación Científica y Técnica y de Innovación 2017-2020/PID2019-106774RB-C21/ES/SISTEMAS INFORMATICOS Y DE RED DESCENTRALIZADOS CON RECURSOS DISTRIBUIDOS/ |
| dc.relation.projectid | info:eu-repo/grantAgreement/AEI/Plan Estatal de Investigación Científica y Técnica y de Innovación 2017-2020/PCI2019-111850-2/ES/PROCESAMIENTO DE FLUJO DISTRIBUIDO EN SISTEMAS DE NIEBLA Y BORDE MEDIANTE COMPUTACION TRANSPRECISA/ |
| dc.relation.publisherversion | https://ieeexplore.ieee.org/document/10380565 |
| dc.rights.access | Open Access |
| dc.rights.licensename | Attribution-NonCommercial-NoDerivatives 4.0 International |
| dc.rights.uri | http://creativecommons.org/licenses/by-nc-nd/4.0/ |
| dc.subject | Àrees temàtiques de la UPC::Informàtica::Intel·ligència artificial::Aprenentatge automàtic |
| dc.subject.lcsh | Machine learning |
| dc.subject.lcsh | Internet of things |
| dc.subject.lemac | Aprenentatge automàtic |
| dc.subject.lemac | Internet de les coses |
| dc.subject.other | TinyML |
| dc.subject.other | Approximate computing |
| dc.subject.other | Federated learning |
| dc.subject.other | IoT |
| dc.title | The effects of weight quantization on online federated learning for the IoT: a case study |
| dc.type | Article |
| dspace.entity.type | Publication |
| local.citation.author | Llisterri, N.; Lee, J.; Freitag, F.; Vandierendonck, H. |
| local.citation.endingPage | 5502 |
| local.citation.publicationName | IEEE access |
| local.citation.startingPage | 5490 |
| local.citation.volume | 12 |
| local.identifier.drac | 37933124 |
Fitxers
Paquet original
1 - 1 de 1
Carregant...
- Nom:
- The_Effects_of_Weight_Quantization_on_Online_Federated_Learning_for_the_IoT_A_Case_Study.pdf
- Mida:
- 1.35 MB
- Format:
- Adobe Portable Document Format
- Descripció:



