The effects of weight quantization on online federated learning for the IoT: a case study

dc.contributor.authorLlisterri Giménez, Nil
dc.contributor.authorLee, Junkyu
dc.contributor.authorFreitag, Fèlix
dc.contributor.authorVandierendonck, Hans
dc.contributor.groupUniversitat Politècnica de Catalunya. CNDS - Xarxes de Computadors i Sistemes Distribuïts
dc.contributor.otherUniversitat Politècnica de Catalunya. Departament d'Arquitectura de Computadors
dc.date.accessioned2024-02-22T11:06:28Z
dc.date.available2024-02-22T11:06:28Z
dc.date.issued2024-01-04
dc.description.abstractMany 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.peerreviewedPeer Reviewed
dc.description.sponsorshipThis 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.versionPostprint (published version)
dc.format.extent13 p.
dc.identifier.citationLlisterri, 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.doi10.1109/ACCESS.2024.3349557
dc.identifier.issn2169-3536
dc.identifier.urihttps://hdl.handle.net/2117/402637
dc.language.isoeng
dc.publisherInstitute of Electrical and Electronics Engineers (IEEE)
dc.relation.projectidinfo:eu-repo/grantAgreement/EC/H2020/957258/EU/Architecture for Scalable, Self-*, human-centric, Intelligent, Secure, and Tactile next generation IoT/ASSIST-IoT
dc.relation.projectidinfo: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.projectidinfo: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.publisherversionhttps://ieeexplore.ieee.org/document/10380565
dc.rights.accessOpen Access
dc.rights.licensenameAttribution-NonCommercial-NoDerivatives 4.0 International
dc.rights.urihttp://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.lcshMachine learning
dc.subject.lcshInternet of things
dc.subject.lemacAprenentatge automàtic
dc.subject.lemacInternet de les coses
dc.subject.otherTinyML
dc.subject.otherApproximate computing
dc.subject.otherFederated learning
dc.subject.otherIoT
dc.titleThe effects of weight quantization on online federated learning for the IoT: a case study
dc.typeArticle
dspace.entity.typePublication
local.citation.authorLlisterri, N.; Lee, J.; Freitag, F.; Vandierendonck, H.
local.citation.endingPage5502
local.citation.publicationNameIEEE access
local.citation.startingPage5490
local.citation.volume12
local.identifier.drac37933124

Fitxers

Paquet original

Mostrant 1 - 1 de 1
Carregant...
Miniatura
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ó: