Train me if you can: decentralized learning on the deep edge

dc.contributor.authorCosta, Diogo André Veigapor
dc.contributor.authorCosta, Miguel Ângelo Peixotopor
dc.contributor.authorPinto, Sandropor
dc.date.accessioned2022-09-30T08:51:16Z
dc.date.available2022-09-30T08:51:16Z
dc.date.issued2022-05-06
dc.date.updated2022-05-12T19:36:19Z
dc.description.abstractThe end of Moore’s Law aligned with data privacy concerns is forcing machine learning (ML) to shift from the cloud to the deep edge. In the next-generation ML systems, the inference and part of the training process will perform at the edge, while the cloud stays responsible for major updates. This new computing paradigm, called federated learning (FL), alleviates the cloud and network infrastructure while increasing data privacy. Recent advances empowered the inference pass of quantized artificial neural networks (ANNs) on Arm Cortex-M and RISC-V microcontroller units (MCUs). Nevertheless, the training remains confined to the cloud, imposing the transaction of high volumes of private data over a network and leading to unpredictable delays when ML applications attempt to adapt to adversarial environments. To fill this gap, we make the first attempt to evaluate the feasibility of ANN training in Arm Cortex-M MCUs. From the available optimization algorithms, stochastic gradient descent (SGD) has the best trade-off between accuracy, memory footprint, and latency. However, its original form and the variants available in the literature still do not fit the stringent requirements of Arm Cortex-M MCUs. We propose L-SGD, a lightweight implementation of SGD optimized for maximum speed and minimal memory footprint in this class of MCUs. We developed a floating-point version and another that operates over quantized weights. For a fully-connected ANN trained on the MNIST dataset, L-SGD (float-32) is 4.20× faster than the SGD while requiring only 2.80% of the memory with negligible accuracy loss. Results also show that quantized training is still unfeasible to train an ANN from the scratch but is a lightweight solution to perform minor model fixes and counteract the fairness problem in typical FL systems.por
dc.description.sponsorshipThis work has been supported by FCT - Fundação para a Ciência e Tecnologia within the R&D Units Project Scope: UIDB/00319/2020. This work has also been supported by FCT within the PhD Scholarship Project Scope: SFRH/BD/146780/2019.por
dc.distributioninternationalpor
dc.identifier.articlenumber4653por
dc.identifier.citationCosta, D.; Costa, M.; Pinto, S. Train Me If You Can: Decentralized Learning on the Deep Edge. Appl. Sci. 2022, 12, 4653. https://doi.org/10.3390/app12094653por
dc.identifier.doi10.3390/app12094653por
dc.identifier.eissn2076-3417
dc.identifier.urihttps://hdl.handle.net/1822/79831
dc.language.isoengpor
dc.peerreviewedyespor
dc.publisherMultidisciplinary Digital Publishing Institute (MDPI)por
dc.relationinfo:eu-repo/grantAgreement/FCT/6817 - DCRRNI ID/UIDB%2F00319%2F2020/PTpor
dc.relationinfo:eu-repo/grantAgreement/FCT/POR_NORTE/SFRH%2FBD%2F146780%2F2019/PTpor
dc.relation.publisherversionhttps://www.mdpi.com/2076-3417/12/9/4653por
dc.rightsopenAccesspor
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/por
dc.subjectFederated learningpor
dc.subjectMachine learningpor
dc.subjectArtificial neural networkspor
dc.subjectArtificial intelligencepor
dc.subjectMachine learning algorithmspor
dc.subjectIntelligent systemspor
dc.subjectInternet of thingspor
dc.subjectArm cortex-Mpor
dc.subject.wosScience & Technologypor
dc.titleTrain me if you can: decentralized learning on the deep edgepor
dc.typearticlepor
dspace.entity.typePublicationen
oaire.citationEndPage18por
oaire.citationIssue9por
oaire.citationStartPage1por
oaire.citationVolume12por
oaire.versionVoRpor
sdum.journalApplied Sciencespor

Ficheiros

Pacote original

A mostrar 1 - 1 de 1
A carregar...
Nome:
applsci-12-04653.pdf
Tamanho:
1.35 MB
Formato:
Adobe Portable Document Format