Pasar al contenido principal

MARCO DE ASIGNACION DE RECURSOS HOLISTICO Y FUNDACIONAL PARA SERVICIOS EDGE COMPUTING OPTIMIZADOS Y CON ALTO IMPACTO

PCI2019-111851-2

•
Nombre agencia financiadora Agencia Estatal de Investigación
Acrónimo agencia financiadora AEI
Programa Programa Estatal de I+D+i Orientado a los Retos de la Sociedad
Convocatoria Proyectos Programación Conjunta Internacional
Año convocatoria 2019
Plan Estatal 2017-2020 Plan Estatal de Investigación Científica y Técnica y de Innovación
Centro beneficiario UNIVERSITAT POLITECNICA DE CATALUNYA

Resultados relacionados

Resultados totales (Incluyendo duplicados): 31
Encontrada(s) 1 página(s)

UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

On-device training of machine learning models on microcontrollers with a look at federated learning

  • Monfort Grau, Marc
  • Pueyo Centelles, Roger|||0000-0002-3133-0657
  • Freitag, Fèlix|||0000-0001-5438-479X
Recent progress in machine learning frameworks makes it now possible to run an inference with sophisticated machine learning models on tiny microcontrollers. Model training, however, is typically done separately on powerful computers. There, the training process has abundant CPU and memory resources to process the stored datasets. In this work, we explore a different approach: training the model directly on the microcontroller. We implement this approach for a keyword spotting task. Then, we extend the training process using federated learning among microcontrollers. Our experiments with model training show an overall trend of decreasing loss with the increase of training epochs., This work was partially funded by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019-111850-2 (DiPET CHIST-ERA), PCI2019-111851-2 (LeadingEdge CHIST-ERA), and the Generalitat de Catalunya as Consolidated Research Group 2017- SGR-990., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

Towards a monitoring system for a LoRa mesh network

  • Capella del Solar, Alejandro Jesús
  • Miquel Solé, Joan|||0000-0003-3737-376X
  • Freitag, Fèlix|||0000-0001-5438-479X
LoRa is a popular communication technology used in Internet of Things (IoT) applications. Typically, in the LoRaWAN architecture, an end node periodically sends a LoRaWAN message to a gateway connected to the Internet. Recent works, however, showed the possibility of LoRa mesh networks where LoRa nodes communicate with each other. In this paper we present a monitoring system as a tool for observing the traffic and the operation of such LoRa mesh networks. The client side is implemented at the LoRa nodes which periodically send to a server detailed information about the nodes' in-and outgoing LoRa packets. The server visualizes the information through a dashboard. Thus the monitoring tool allows network administrators to further analyze such LoRa mesh networks., This work was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019- 111851-2 (LeadingEdge CHIST-ERA), PCI2019-111850-2 (DiPET CHIST-ERA)., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

Demo: An experimental environment based on mini-PCs for federated learning research

  • Freitag, Fèlix|||0000-0001-5438-479X
  • Vilchez Blanco, Pedro
  • Wei, Lu
  • Liu, Chun-Hung
  • Selimi, Mennan
  • Koutsopoulos, Iordanis
There is a growing research interest in Federated Learning (FL), a promising approach for data privacy preservation and proximity of training to the network edge, where data is generated. Resource consumption for Machine Learning (ML) training and inference is important for edge nodes, but most of the proposed protocols and algorithms for FL are evaluated by simulations. In this demo paper, we present an environment based on distributed mini-PCs to enable experimental study of FL protocols and algorithms. We have installed low-capacity mini-PCs within a wireless city-level mesh network and deployed container-based FL components on these nodes. We show the deployed FL clients and server at different nodes in the city and demonstrate how an FL experiment can be set and run in a real environment., This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 871582 — NGIatlantic.eu and was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019-111851-2 (LeadingEdge CHIST-ERA), PCI2019-111850-2 (DiPET CHIST-ERA). The work of C.-H. Liu was supported in part by the U.S. National Science Foundation (NSF) under Award CNS-2006453 and in part by Mississippi State University under Grant ORED 253551-060702. The work of L. Wei is supported in part by the U.S. National Science Foundation (#2150486 and #2006612). I Koutsopoulos acknowledges support from the CHIST-ERA grant CHIST-ERA-18-SDCDN-004 (GSRI grant number T11EPA4-00056)., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

Property rights in servitisation: a practical assessment with reused computers

  • Roura Salietti, Mireya
  • Navarro Moldes, Leandro|||0000-0003-4775-5526
  • Meseguer Pallarès, Roc|||0000-0002-9414-646X
The circular economy of computers is about producing fewer, more durable and reusable products while investing in expanding their life span through a functional service economy. Reuse is often mentioned as a sustainable solution to linear consumption’s negative impacts. Shared ownership has potential advantages in life span extension computers over individual ownership. Moreover, it allows understanding how computers are used during their reuse phase to estimate lifecycle impacts and evaluate circular business models. This paper aims to identify specific success factors and barriers for shared property in four empirical cases of reused and servitised computers launched by eReuse, a collaborative computer reuse platform in Barcelona. The scope of the study is the impact of reused computers under different ownership-sharing scenarios and roles involved. Ethnographic action research and quantitative data help us analyse to what extent shared ownership models manage to lengthen the life span of computers and what roles and life extension strategies are beneficial to its optimal functionality. We found that roles as maintainers or activities such as product and software upgrading are essential to ensuring the dynamism and flexibility required to keep computers functional for an extended lifespan under a shared ownership model., The Spanish Government partially funded this work under contracts PID2019-106774RB-C21, PCI2019-111851-2 (LeadingEdge Chist-era), the NGI DLT4EU, NGI Policy in Practice, Subtract (Interreg Europe), the Association for Progressive Communications (APC), the Catalan Waste Agency, and the Barcelona City Council., Peer Reviewed, Objectius de Desenvolupament Sostenible::4 - Educació de Qualitat, Objectius de Desenvolupament Sostenible::8 - Treball Decent i Creixement Econòmic, Objectius de Desenvolupament Sostenible::10 - Reducció de les Desigualtats, Objectius de Desenvolupament Sostenible::11 - Ciutats i Comunitats Sostenibles, Objectius de Desenvolupament Sostenible::12 - Producció i Consum Responsables, Objectius de Desenvolupament Sostenible::13 - Acció per al Clima, Objectius de Desenvolupament Sostenible::15 - Vida d'Ecosistemes Terrestres, Objectius de Desenvolupament Sostenible::16 - Pau, Justícia i Institucions Sòlides
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

BePOCH: Improving federated learning performance in resource-constrained computing devices

  • Ibraimi, Lenart
  • Selimi, Mennan
  • Freitag, Fèlix|||0000-0001-5438-479X
Inference with trained machine learning models is now possible with small computing devices while only a few years ago it was run mostly in the cloud only. The recent technique of Federated Learning offers now a way to do also the training of the machine learning models on small devices by distributing the computing effort needed for the training over many distributed machines. But, the training on these low-capacity devices takes a long time and often consumes all the available CPU resource of the device. Therefore, for Federated Learning to be done by low-capacity devices in practical environments, the training process must not only target for the highest accuracy, but also on reducing the training time and the resource consumption. In this paper, we present an approach which uses a dynamic epoch parameter in the model training. We propose the BePOCH (Best Epoch) algorithm to identify what is the best number of epochs per training round in Federated Learning. We show in experiments with medical datasets how with the BePOCH suggested number of epochs, the training time and resource consumption decreases while keeping the level of accuracy. Thus, BePOCH makes machine learning model training on low-capacity devices more feasible and furthermore, decreases the overall resource consumption of the training process, which is an important asnect towards greener machine learning techniques., This work was partially funded by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019-111850- 2 (DiPET CHIST-ERA), PCI2019-111851-2 (LeadingEdge CHIST-ERA), and the Generalitat de Catalunya as Consolidated Research Group 2017-SGR-990. Suport was given also by the Agency for Electronic Communications (AEK) of North Macedonia., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

Exploring blockchain-based management for LoRa IoT nodes

  • Cruz Harillo, Eloi
  • Freitag, Fèlix|||0000-0001-5438-479X
We consider open IoT applications in which the IoT devices, i.e. sensor nodes and gateways, can be contributed by volunteer participants. Since the contribution of sensor deployments and their data is critical for the value of such IoT applications, we propose to account for each participant her donation of both the measured data and the hardware, and translate this information into rewards to create incentives. The system architecture we propose uses a blockchain-based backend and aims to extend properties of the blockchain to the IoT sensor layer in order to achieve the trusted accounting of each contribution. A potential use case that can benefit from this concept are environmental monitoring applications that need to integrate IoT sensor nodes from third parties for increasing their geographic reach., This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 957228 — TruBlo and was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019-111851-2 (LeadingEdge CHIST-ERA), PCI2019-111850-2 (DiPET CHIST-ERA)., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

Poster: Testbed in wireless city mesh network with application to federated learning experiments

  • Freitag, Fèlix|||0000-0001-5438-479X
  • Vilchez Blanco, Pedro
  • Wei, Lu
  • Liu, Chun-Hung
  • Selimi, Mennan
The increase of the computing capacity of IoT devices and the appearance of lightweight machine learning frameworks have led to the situation that machine learning can nowadays be run in IoT applications at the network edge. There is an opportunity to implement machine learning algorithms with the more and more computationally powerful edge nodes and using the ever increasing amount of local data coming from nearby sensors. For this purpose, federated learning becomes a promising machine learning approach, where a machine learning model is trained by various nodes using their local data. For performing practical federated learning experiments, we have built a testbed deployed within a wireless city mesh network with geographically distributed low capacity devices. We describe the testbed implementation and show its potential to experimentally study federated learning protocols and algorithms in real edge environments., This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 871582 — NGIatlantic.eu and was partially supported by the Spanish Government under contracts PID2019-106774RBC21, PCI2019-111850-2 (DiPET CHIST-ERA), PCI2019-111851-2 (LeadingEdge CHIST-ERA). The work of C.-H. Liu was supported in part by the U.S. National Science Foundation (NSF) under Award CNS-2006453 and in part by Mississippi State University under Grant ORED 253551-060702. The work of L. Wei is supported in part by the U.S. National Science Foundation (#2006612 and #2150486)., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

LoRaCoin: Towards a blockchain-based platform for managing LoRa devices

  • Cruz Harillo, Eloi
  • Freitag, Fèlix|||0000-0001-5438-479X
We propose LoRaCoin, a decentralized blockchainbased service to manage the generation and storage of sensor data generated by IoT devices. A novel feature of LoRaCoin is that it rewards both IoT devices that generate data and gateways that offer the Internet connectivity to the sensor nodes. With such double rewards, LoRaCoin aims to incentivize individuals to host sensor nodes and gateways and contribute to the growing need of the society for environmental monitoring applications., This work was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019- 111851-2 (LeadingEdge CHIST-ERA), PCI2019-111850-2 (DiPET CHIST-ERA)., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

eReuse poster: the circular economy of digital devices

  • Navarro Moldes, Leandro|||0000-0003-4775-5526
  • Roura Salietti, Mireya
  • Franquesa Griso, David|||0000-0002-3029-5968
  • Meseguer Pallarès, Roc|||0000-0002-9414-646X
eReuse is an initiative and action-research project that since 2015 has iterated over research and activism to understand, develop, apply to communities, evaluate and scale-up the circular economy of digital devices. The work, in partnership with diverse organisations, has contributed to the transition towards a circular economy of digital devices that contributes effectively to sustainable development., This work was partially funded by the Spanish Government under contracts PID2019-106774RB-C21, and PCI2019-111851-2 (LeadingEdge Chist-era), and the Generalitat de Catalunya as Consolidated Research Group 2017-SGR-990, the NGI DLT4EU, NGI Policy in Practice, NGI Atlantic projects, Subtract (Interreg Europe), the Association for Progressive Communications (APC), and the Waste Agency of the Catalan government., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

A simheuristic algorithm for service placement in community networks

  • Panadero Martínez, Javier
  • Calvet Liñán, Laura
  • Bayliss, Christopher
  • Marques Puig, Joan Manuel
  • Selimi, Mennan
  • Freitag, Fèlix|||0000-0001-5438-479X
The growing demand for network connectivity has boosted the number of community networks (CNs). CNs are decentralized and self-organized communication networks owned and managed at the edge by volunteers. Due to the heterogeneity of edge node characteristics, high software and hardware diversity, irregular topology and unreliable behavior of the network, the performance of its services varie depending on where they are hosted. These characteristics of CNs and edge platforms running on them require of advanced simulation-optimization methods to place services. In this context, we propose a simheuristic algorithm to address this stochastic problem. The core of this approach relies on a multi-start metaheuristic with a multi-objective optimization method. Our approach combines Monte Carlo simulation and the multi-criteria optimal placement heuristic, The method is tested using real traces of Guifi.net CN, which is considered to be largest CN worldwide., This work has been partially supported by the Spanish Ministry of Science, Innovation and Universities under contract PGC2018-097599-B-100 and by the Spanish State Research Agency (AEI) under contracts PCI2019-111850-2 and PCI2019-111851-2., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

Towards information-centric edge platform for mesh networks: The case of CityLab testbed

  • Selimi, Mennan
  • Navarro Moldes, Leandro|||0000-0003-4775-5526
  • Braem, Bart
  • Freitag, Fèlix|||0000-0001-5438-479X
By leveraging resources from the Fed4Fire+ City-Lab testbed, we design the PiGeon edge computing platform that experiments solution that enable ICN based edge services in wireless mesh networks (WMNs). PiGeon combines into a platform several trends in edge computing namely the ICN (Information-Centric Networking), the containerization of services exemplified by Docker, novel service placement algorithms and the increasing availability of energy efficient but still powerful hardware at user premises (Raspberry Pi, mini-PCs, and enhanced home gateways). We underpin the PiGeon platform with Docker container-based service that can be seamlessly delivered, cached and deployed at the network edge. The core of the PiGeon platform is the Decision Engine making a decision on where and when to deploy a service instance to satisfy the service requirements while considering the network status and available hardware resources. We collect network data from a real citywide mesh network such as CityLab FIRE testbed located at the city of Antwerp, Belgium. The collected data is used to feed our service placement heuristic within the PiGeon platform. Through a real deployment in CityLab testbed, we show that our service placement heuristic improves the response time up to 37% for stateful services (Web2.0 service). Apart from improving the QoS for end-users, our results show that ICN plays a key role in improving the service delivery time as well as reducing the traffic consumption in WMNs. The overall effect of ICN in our platform is that most content and service delivery requests can be satisfied very close to the client device, many times just one hop away, decoupling QoS from intra-network traffic and origin server load., This work was supported by the European H2020 framework programme project Fed4Fire+ (732638), by the Spanish State Research Agency (AEI) under contracts PCI2019-111850-2 and PCI2019-111851-2, and the Catalan government AGAUR SGR 990., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

REDEMON: Resilient Decentralized Monitoring system for edge Infrastructures

  • Pueyo Centelles, Roger|||0000-0002-3133-0657
  • Selimi, Mennan
  • Freitag, Fèlix|||0000-0001-5438-479X
  • Navarro Moldes, Leandro|||0000-0003-4775-5526
The Guifi.net community network has evolved during the past 15 years into a telecommunications infrastructure that offers Internet access to more than 80.000 people. The monitoring system currently in place for this network is lagging behind the growth of the infrastructure, requiring manual intervention and counting several single points of failure. In this paper we present REDEMON, a resilient decentralized monitoring system, hosted on distributed and interconnected edge devices, for a reliable, eventually-consistent monitoring of the Guifi.net network, leveraging CRDT-based data structures implemented on AntidoteDB. We developed the REDEMON system as a prototype featuring resilience, decentralization and automation, in order to replace the legacy monitoring system. To assess the system, this prototype was deployed on resource-constraint edge nodes in the Guifi.net production network and evaluated under realistic conditions. The decentralized assignment mechanism successfully achieves setting the minimum number of monitoring servers per network device that satisfies the established system requirements. Besides, by concentrating the workload on the minimum required number of servers running at their maximum capacity, the remaining devices can idle away, reducing the consumption footprint of the system. With regard to computing resources, we measure a moderate CPU and RAM usage by the monitoring system on low-capacity devices, while we observe that a considerable network traffic is required for achieving a resilient and consistent data storage layer. This resilient and decentralized architecture could lay the basis for other edge applications in the cloud computing domain that need to coordinate over distributed and consistent shared data., This work was supported by the European H2020 framework programme project LightKone (H2020-732505), by the Spanish State Research Agency (AEI) under contracts PCI2019- 111850-2 and PCI2019-111851-2, and the Catalan government AGAUR SGR 990., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

Demonstration of a library prototype to build LoRa mesh networks for the IoT

  • Miquel Solé, Joan|||0000-0003-3737-376X
  • Miralles Nogués, Sergi
  • Pueyo Centelles, Roger|||0000-0002-3133-0657
  • Freitag, Fèlix|||0000-0001-5438-479X
LoRa has become popular in the Internet of Things (IoT) domain as a Low Power, Wide Area Network (LPWAN) radio technology providing low-power and long-range communication. In a typical IoT application, the LoRaWAN architecture is applied, where LoRa end nodes communicate their data to a gateway, which then over the Internet sends these data to a cloud-based service for further processing. However, LoRa can also be used standalone for the communication between LoRa nodes forming a mesh network. In this demo paper we present a library called LoRaMesher, which runs on LoRa nodes and forms a mesh network among these nodes. By implementing a distance vector routing protocol, LoRaMesher enables two nodes to communicate data packets with each other while the other nodes in the mesh network operate as routers. LoRaMesher can open the possibility for new distributed applications hosted only on such tiny IoT nodes., This work was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019- 111851-2 (LeadingEdge CHIST-ERA), PCI2019-111850-2 (DiPET CHIST-ERA)., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

Designing a double LoRa connectivity for the Arduino Portenta H7

  • López Pino, Daniel
  • Freitag, Fèlix|||0000-0001-5438-479X
  • Selimi, Mennan
Machine learning is moving to the smallest computing devices. Today machine learning is applied even in tiny IoT microcontroller boards. In the IoT, LoRa is a popular communication technology to connect remote devices with gateways. Still, the confluence of machine learning in microcontrollers and networked LoRa connectivity is not yet fully exploited. In this paper we design a new LoRa connectivity for the Arduino Portenta H7, a recent microcontroller board equipped with embedded sensors suitable for diverse machine learning tasks. With the solution that we found the Arduino Portenta H7 is able to become part of a LoRa mesh network. This capacity increases the Portenta's range of applications. For the vision of distributed machine learning at the tiny edge, we can add with the Portenta an important board to become a smart compute node within a LoRa mesh network., This work was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019-111851-2 (LeadingEdge CHIST-ERA), PCI2019-111850-2 (DiPET CHIST-ERA)., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

Comparison of two microcontroller boards for on-device model training in a keyword spotting task

  • Llisterri i Giménez, Nil|||0000-0003-1896-2868
  • Freitag, Fèlix|||0000-0001-5438-479X
  • Lee, JunKyu
  • Vandierendonck, Hans
Machine learning applications on resource-constrained devices such as microcontroller units often use models trained externally on more powerful devices. This approach, however, limits a later adaptation of the machine learning model in the device to changing data. Differently, on-device training allows the model to be updated for new datasets, but the training process needs to take into account the resource limitations of the device. This paper compares on-device training performance for a keyword spotting task using two popular microcontroller boards, Arduino Nano 33 BLE Sense and Arduino Portenta H7, in terms of inference accuracy, training latency, and current consumption. We use feedforward neural networks having a single hidden layer for models. The inference accuracy has been significantly improved using the Portenta H7 board by employing more neurons fitted to its memory budget, compared to the Nano board. With a neural network having 25 neurons for a hidden layer, the 5.0 x inference and 4.2 x training speedups are achieved using the Arduino Portenta H7 board, compared to the Arduino Nano 33 BLE Sense. While the memory of the Arduino Nano 33 BLE Sense is capable to train a neural network for the keyword spotting task, the Arduino Portenta H7 gives new possibilities for exploring more complex models for more complex problems thanks to a larger memory budget and adapting a model to new data in lower latency., This work was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019-111850-2 (DiPET CHIST-ERA CHIST-ERA-SDCDN-002), PCI2019-111851-2 (LeadingEdge CHIST-ERA), and UK Engineering and Physical Sciences Research Council (EP/T022345/1)., Peer Reviewed
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

Demonstration of a library prototype to build LoRa mesh networks for the IoT

  • Miquel Solé, Joan
  • Miralles Nogués, Sergi
  • Pueyo Centelles, Roger
  • Freitag, Fèlix
LoRa has become popular in the Internet of Things (IoT) domain as a Low Power, Wide Area Network (LPWAN) radio technology providing low-power and long-range communication. In a typical IoT application, the LoRaWAN architecture is applied, where LoRa end nodes communicate their data to a gateway, which then over the Internet sends these data to a cloud-based service for further processing. However, LoRa can also be used standalone for the communication between LoRa nodes forming a mesh network. In this demo paper we present a library called LoRaMesher, which runs on LoRa nodes and forms a mesh network among these nodes. By implementing a distance vector routing protocol, LoRaMesher enables two nodes to communicate data packets with each other while the other nodes in the mesh network operate as routers. LoRaMesher can open the possibility for new distributed applications hosted only on such tiny IoT nodes., This work was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019- 111851-2 (LeadingEdge CHIST-ERA), PCI2019-111850-2 (DiPET CHIST-ERA)., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

eReuse poster: the circular economy of digital devices

  • Navarro Moldes, Leandro
  • Roura Salietti, Mireya
  • Franquesa Griso, David
  • Meseguer Pallarès, Roc
eReuse is an initiative and action-research project that since 2015 has iterated over research and activism to understand, develop, apply to communities, evaluate and scale-up the circular economy of digital devices. The work, in partnership with diverse organisations, has contributed to the transition towards a circular economy of digital devices that contributes effectively to sustainable development., This work was partially funded by the Spanish Government under contracts PID2019-106774RB-C21, and PCI2019-111851-2 (LeadingEdge Chist-era), and the Generalitat de Catalunya as Consolidated Research Group 2017-SGR-990, the NGI DLT4EU, NGI Policy in Practice, NGI Atlantic projects, Subtract (Interreg Europe), the Association for Progressive Communications (APC), and the Waste Agency of the Catalan government., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

Poster: Testbed in wireless city mesh network with application to federated learning experiments

  • Freitag, Fèlix
  • Vilchez Blanco, Pedro
  • Wei, Lu
  • Liu, Chun-Hung
  • Selimi, Mennan
The increase of the computing capacity of IoT devices and the appearance of lightweight machine learning frameworks have led to the situation that machine learning can nowadays be run in IoT applications at the network edge. There is an opportunity to implement machine learning algorithms with the more and more computationally powerful edge nodes and using the ever increasing amount of local data coming from nearby sensors. For this purpose, federated learning becomes a promising machine learning approach, where a machine learning model is trained by various nodes using their local data. For performing practical federated learning experiments, we have built a testbed deployed within a wireless city mesh network with geographically distributed low capacity devices. We describe the testbed implementation and show its potential to experimentally study federated learning protocols and algorithms in real edge environments., This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 871582 — NGIatlantic.eu and was partially supported by the Spanish Government under contracts PID2019-106774RBC21, PCI2019-111850-2 (DiPET CHIST-ERA), PCI2019-111851-2 (LeadingEdge CHIST-ERA). The work of C.-H. Liu was supported in part by the U.S. National Science Foundation (NSF) under Award CNS-2006453 and in part by Mississippi State University under Grant ORED 253551-060702. The work of L. Wei is supported in part by the U.S. National Science Foundation (#2006612 and #2150486)., Peer Reviewed, Postprint (published version)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

A simheuristic algorithm for service placement in community networks

  • Panadero Martínez, Javier
  • Calvet Liñán, Laura
  • Bayliss, Christopher
  • Marques Puig, Joan Manuel
  • Selimi, Mennan
  • Freitag, Fèlix
The growing demand for network connectivity has boosted the number of community networks (CNs). CNs are decentralized and self-organized communication networks owned and managed at the edge by volunteers. Due to the heterogeneity of edge node characteristics, high software and hardware diversity, irregular topology and unreliable behavior of the network, the performance of its services varie depending on where they are hosted. These characteristics of CNs and edge platforms running on them require of advanced simulation-optimization methods to place services. In this context, we propose a simheuristic algorithm to address this stochastic problem. The core of this approach relies on a multi-start metaheuristic with a multi-objective optimization method. Our approach combines Monte Carlo simulation and the multi-criteria optimal placement heuristic, The method is tested using real traces of Guifi.net CN, which is considered to be largest CN worldwide., This work has been partially supported by the Spanish Ministry of Science, Innovation and Universities under contract PGC2018-097599-B-100 and by the Spanish State Research Agency (AEI) under contracts PCI2019-111850-2 and PCI2019-111851-2., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

Designing a double LoRa connectivity for the Arduino Portenta H7

  • López Pino, Daniel
  • Freitag, Fèlix
  • Selimi, Mennan
Machine learning is moving to the smallest computing devices. Today machine learning is applied even in tiny IoT microcontroller boards. In the IoT, LoRa is a popular communication technology to connect remote devices with gateways. Still, the confluence of machine learning in microcontrollers and networked LoRa connectivity is not yet fully exploited. In this paper we design a new LoRa connectivity for the Arduino Portenta H7, a recent microcontroller board equipped with embedded sensors suitable for diverse machine learning tasks. With the solution that we found the Arduino Portenta H7 is able to become part of a LoRa mesh network. This capacity increases the Portenta's range of applications. For the vision of distributed machine learning at the tiny edge, we can add with the Portenta an important board to become a smart compute node within a LoRa mesh network., This work was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019-111851-2 (LeadingEdge CHIST-ERA), PCI2019-111850-2 (DiPET CHIST-ERA)., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

LoRaCoin: Towards a blockchain-based platform for managing LoRa devices

  • Cruz Harillo, Eloi
  • Freitag, Fèlix
We propose LoRaCoin, a decentralized blockchainbased service to manage the generation and storage of sensor data generated by IoT devices. A novel feature of LoRaCoin is that it rewards both IoT devices that generate data and gateways that offer the Internet connectivity to the sensor nodes. With such double rewards, LoRaCoin aims to incentivize individuals to host sensor nodes and gateways and contribute to the growing need of the society for environmental monitoring applications., This work was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019- 111851-2 (LeadingEdge CHIST-ERA), PCI2019-111850-2 (DiPET CHIST-ERA)., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

Demo: An experimental environment based on mini-PCs for federated learning research

  • Freitag, Fèlix
  • Vilchez Blanco, Pedro
  • Wei, Lu
  • Liu, Chun-Hung
  • Selimi, Mennan
  • Koutsopoulos, Iordanis
There is a growing research interest in Federated Learning (FL), a promising approach for data privacy preservation and proximity of training to the network edge, where data is generated. Resource consumption for Machine Learning (ML) training and inference is important for edge nodes, but most of the proposed protocols and algorithms for FL are evaluated by simulations. In this demo paper, we present an environment based on distributed mini-PCs to enable experimental study of FL protocols and algorithms. We have installed low-capacity mini-PCs within a wireless city-level mesh network and deployed container-based FL components on these nodes. We show the deployed FL clients and server at different nodes in the city and demonstrate how an FL experiment can be set and run in a real environment., This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 871582 — NGIatlantic.eu and was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019-111851-2 (LeadingEdge CHIST-ERA), PCI2019-111850-2 (DiPET CHIST-ERA). The work of C.-H. Liu was supported in part by the U.S. National Science Foundation (NSF) under Award CNS-2006453 and in part by Mississippi State University under Grant ORED 253551-060702. The work of L. Wei is supported in part by the U.S. National Science Foundation (#2150486 and #2006612). I Koutsopoulos acknowledges support from the CHIST-ERA grant CHIST-ERA-18-SDCDN-004 (GSRI grant number T11EPA4-00056)., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

Towards a monitoring system for a LoRa mesh network

  • Capella del Solar, Alejandro Jesús
  • Miquel Solé, Joan
  • Freitag, Fèlix
LoRa is a popular communication technology used in Internet of Things (IoT) applications. Typically, in the LoRaWAN architecture, an end node periodically sends a LoRaWAN message to a gateway connected to the Internet. Recent works, however, showed the possibility of LoRa mesh networks where LoRa nodes communicate with each other. In this paper we present a monitoring system as a tool for observing the traffic and the operation of such LoRa mesh networks. The client side is implemented at the LoRa nodes which periodically send to a server detailed information about the nodes' in-and outgoing LoRa packets. The server visualizes the information through a dashboard. Thus the monitoring tool allows network administrators to further analyze such LoRa mesh networks., This work was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019- 111851-2 (LeadingEdge CHIST-ERA), PCI2019-111850-2 (DiPET CHIST-ERA)., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

Exploring blockchain-based management for LoRa IoT nodes

  • Cruz Harillo, Eloi
  • Freitag, Fèlix
We consider open IoT applications in which the IoT devices, i.e. sensor nodes and gateways, can be contributed by volunteer participants. Since the contribution of sensor deployments and their data is critical for the value of such IoT applications, we propose to account for each participant her donation of both the measured data and the hardware, and translate this information into rewards to create incentives. The system architecture we propose uses a blockchain-based backend and aims to extend properties of the blockchain to the IoT sensor layer in order to achieve the trusted accounting of each contribution. A potential use case that can benefit from this concept are environmental monitoring applications that need to integrate IoT sensor nodes from third parties for increasing their geographic reach., This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 957228 — TruBlo and was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019-111851-2 (LeadingEdge CHIST-ERA), PCI2019-111850-2 (DiPET CHIST-ERA)., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

On-device training of machine learning models on microcontrollers with a look at federated learning

  • Monfort Grau, Marc
  • Pueyo Centelles, Roger
  • Freitag, Fèlix
Recent progress in machine learning frameworks makes it now possible to run an inference with sophisticated machine learning models on tiny microcontrollers. Model training, however, is typically done separately on powerful computers. There, the training process has abundant CPU and memory resources to process the stored datasets. In this work, we explore a different approach: training the model directly on the microcontroller. We implement this approach for a keyword spotting task. Then, we extend the training process using federated learning among microcontrollers. Our experiments with model training show an overall trend of decreasing loss with the increase of training epochs., This work was partially funded by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019-111850-2 (DiPET CHIST-ERA), PCI2019-111851-2 (LeadingEdge CHIST-ERA), and the Generalitat de Catalunya as Consolidated Research Group 2017- SGR-990., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

BePOCH: Improving federated learning performance in resource-constrained computing devices

  • Ibraimi, Lenart
  • Selimi, Mennan
  • Freitag, Fèlix
Inference with trained machine learning models is now possible with small computing devices while only a few years ago it was run mostly in the cloud only. The recent technique of Federated Learning offers now a way to do also the training of the machine learning models on small devices by distributing the computing effort needed for the training over many distributed machines. But, the training on these low-capacity devices takes a long time and often consumes all the available CPU resource of the device. Therefore, for Federated Learning to be done by low-capacity devices in practical environments, the training process must not only target for the highest accuracy, but also on reducing the training time and the resource consumption. In this paper, we present an approach which uses a dynamic epoch parameter in the model training. We propose the BePOCH (Best Epoch) algorithm to identify what is the best number of epochs per training round in Federated Learning. We show in experiments with medical datasets how with the BePOCH suggested number of epochs, the training time and resource consumption decreases while keeping the level of accuracy. Thus, BePOCH makes machine learning model training on low-capacity devices more feasible and furthermore, decreases the overall resource consumption of the training process, which is an important asnect towards greener machine learning techniques., This work was partially funded by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019-111850- 2 (DiPET CHIST-ERA), PCI2019-111851-2 (LeadingEdge CHIST-ERA), and the Generalitat de Catalunya as Consolidated Research Group 2017-SGR-990. Suport was given also by the Agency for Electronic Communications (AEK) of North Macedonia., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

Circular digital devices: lessons about the social and planetary boundaries

  • Roura Salietti, Mireya
  • Franquesa Griso, David
  • Navarro Moldes, Leandro
  • Meseguer Pallarès, Roc
The digital world can be part of the solution to the coexistence of people and the planet, with large efficiencies gained through digital solutions, but it is part of the problem too, as it requires vast natural resources for digital devices in terms of participation. The challenge lies in satisfying the demand for digital devices for everyone, particularly for those with scarce resources, while preserving planetary limits. We have implemented and optimised a circular economy ecosystem that —through donation, refurbishment and traceability— delivers locally reused digital devices at a fair economic and environmental cost to citizens in need, providing satisfactory computing services and reducing the demand to manufacture new devices, which instead must be more durable. Following the sourcing of 10,000 computers, 1,000 have been successfully refurbished by local social enterprises and used by citizens in the city of Barcelona as a common good, herein we present an analysis of the achievements, limitations, and conditions of this model, which has already been replicated in other areas. It is feasible, and we also explore its scalability and sustainability in economic, social, and environmental contexts. We identify critical success factors, such as the roles of local public or private donors, social-support organisations, and ecosystem facilitators, in mediating among all actors involved., This work was partially funded by the Spanish government under contracts PID2019-106774RB-C21, and PCI2019-111851-2 (LeadingEdge Chist-era), the NGI-DLT4EU, NGI-Policy, NGI-Atlantic projects, Subtract (Interreg Europe), and the Waste Agency of the Catalonia. Many organisations and people have participated in the eReuse circuit and have contributed to improving the model: Pangea.org for supporting the eReuse project since its initial idea, the Centre of Cooperation for Development UPC, the City Councils of Barcelona, Sant Boi and Getafe, and the entities part of eReuse: Asociación Cultural La Kalle-Reutilizak, Solidança, Donalo.org, AndròminesAlencop, Fundación Esplai, Trinijove, TXT-UPC, Banc dels Aliments, Abacus, Sant Joan de Déu-Terres de l’Ebre, Punt de referència, among others., Peer Reviewed, Postprint (published version)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

Comparison of two microcontroller boards for on-device model training in a keyword spotting task

  • Llisterri i Giménez, Nil
  • Freitag, Fèlix
  • Lee, JunKyu
  • Vandierendonck, Hans
Machine learning applications on resource-constrained devices such as microcontroller units often use models trained externally on more powerful devices. This approach, however, limits a later adaptation of the machine learning model in the device to changing data. Differently, on-device training allows the model to be updated for new datasets, but the training process needs to take into account the resource limitations of the device. This paper compares on-device training performance for a keyword spotting task using two popular microcontroller boards, Arduino Nano 33 BLE Sense and Arduino Portenta H7, in terms of inference accuracy, training latency, and current consumption. We use feedforward neural networks having a single hidden layer for models. The inference accuracy has been significantly improved using the Portenta H7 board by employing more neurons fitted to its memory budget, compared to the Nano board. With a neural network having 25 neurons for a hidden layer, the 5.0 x inference and 4.2 x training speedups are achieved using the Arduino Portenta H7 board, compared to the Arduino Nano 33 BLE Sense. While the memory of the Arduino Nano 33 BLE Sense is capable to train a neural network for the keyword spotting task, the Arduino Portenta H7 gives new possibilities for exploring more complex models for more complex problems thanks to a larger memory budget and adapting a model to new data in lower latency., This work was partially supported by the Spanish Government under contracts PID2019-106774RB-C21, PCI2019-111850-2 (DiPET CHIST-ERA CHIST-ERA-SDCDN-002), PCI2019-111851-2 (LeadingEdge CHIST-ERA), and UK Engineering and Physical Sciences Research Council (EP/T022345/1)., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

REDEMON: Resilient Decentralized Monitoring system for edge Infrastructures

  • Pueyo Centelles, Roger
  • Selimi, Mennan
  • Freitag, Fèlix
  • Navarro Moldes, Leandro
The Guifi.net community network has evolved during the past 15 years into a telecommunications infrastructure that offers Internet access to more than 80.000 people. The monitoring system currently in place for this network is lagging behind the growth of the infrastructure, requiring manual intervention and counting several single points of failure. In this paper we present REDEMON, a resilient decentralized monitoring system, hosted on distributed and interconnected edge devices, for a reliable, eventually-consistent monitoring of the Guifi.net network, leveraging CRDT-based data structures implemented on AntidoteDB. We developed the REDEMON system as a prototype featuring resilience, decentralization and automation, in order to replace the legacy monitoring system. To assess the system, this prototype was deployed on resource-constraint edge nodes in the Guifi.net production network and evaluated under realistic conditions. The decentralized assignment mechanism successfully achieves setting the minimum number of monitoring servers per network device that satisfies the established system requirements. Besides, by concentrating the workload on the minimum required number of servers running at their maximum capacity, the remaining devices can idle away, reducing the consumption footprint of the system. With regard to computing resources, we measure a moderate CPU and RAM usage by the monitoring system on low-capacity devices, while we observe that a considerable network traffic is required for achieving a resilient and consistent data storage layer. This resilient and decentralized architecture could lay the basis for other edge applications in the cloud computing domain that need to coordinate over distributed and consistent shared data., This work was supported by the European H2020 framework programme project LightKone (H2020-732505), by the Spanish State Research Agency (AEI) under contracts PCI2019- 111850-2 and PCI2019-111851-2, and the Catalan government AGAUR SGR 990., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

Property rights in servitisation: a practical assessment with reused computers

  • Roura Salietti, Mireya
  • Navarro Moldes, Leandro
  • Meseguer Pallarès, Roc
The circular economy of computers is about producing fewer, more durable and reusable products while investing in expanding their life span through a functional service economy. Reuse is often mentioned as a sustainable solution to linear consumption’s negative impacts. Shared ownership has potential advantages in life span extension computers over individual ownership. Moreover, it allows understanding how computers are used during their reuse phase to estimate lifecycle impacts and evaluate circular business models. This paper aims to identify specific success factors and barriers for shared property in four empirical cases of reused and servitised computers launched by eReuse, a collaborative computer reuse platform in Barcelona. The scope of the study is the impact of reused computers under different ownership-sharing scenarios and roles involved. Ethnographic action research and quantitative data help us analyse to what extent shared ownership models manage to lengthen the life span of computers and what roles and life extension strategies are beneficial to its optimal functionality. We found that roles as maintainers or activities such as product and software upgrading are essential to ensuring the dynamism and flexibility required to keep computers functional for an extended lifespan under a shared ownership model., The Spanish Government partially funded this work under contracts PID2019-106774RB-C21, PCI2019-111851-2 (LeadingEdge Chist-era), the NGI DLT4EU, NGI Policy in Practice, Subtract (Interreg Europe), the Association for Progressive Communications (APC), the Catalan Waste Agency, and the Barcelona City Council., Peer Reviewed, Objectius de Desenvolupament Sostenible::4 - Educació de Qualitat, Objectius de Desenvolupament Sostenible::8 - Treball Decent i Creixement Econòmic, Objectius de Desenvolupament Sostenible::10 - Reducció de les Desigualtats, Objectius de Desenvolupament Sostenible::11 - Ciutats i Comunitats Sostenibles, Objectius de Desenvolupament Sostenible::12 - Producció i Consum Responsables, Objectius de Desenvolupament Sostenible::13 - Acció per al Clima, Objectius de Desenvolupament Sostenible::15 - Vida d'Ecosistemes Terrestres, Objectius de Desenvolupament Sostenible::16 - Pau, Justícia i Institucions Sòlides, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

Towards information-centric edge platform for mesh networks: The case of CityLab testbed

  • Selimi, Mennan
  • Navarro Moldes, Leandro
  • Braem, Bart
  • Freitag, Fèlix
By leveraging resources from the Fed4Fire+ City-Lab testbed, we design the PiGeon edge computing platform that experiments solution that enable ICN based edge services in wireless mesh networks (WMNs). PiGeon combines into a platform several trends in edge computing namely the ICN (Information-Centric Networking), the containerization of services exemplified by Docker, novel service placement algorithms and the increasing availability of energy efficient but still powerful hardware at user premises (Raspberry Pi, mini-PCs, and enhanced home gateways). We underpin the PiGeon platform with Docker container-based service that can be seamlessly delivered, cached and deployed at the network edge. The core of the PiGeon platform is the Decision Engine making a decision on where and when to deploy a service instance to satisfy the service requirements while considering the network status and available hardware resources. We collect network data from a real citywide mesh network such as CityLab FIRE testbed located at the city of Antwerp, Belgium. The collected data is used to feed our service placement heuristic within the PiGeon platform. Through a real deployment in CityLab testbed, we show that our service placement heuristic improves the response time up to 37% for stateful services (Web2.0 service). Apart from improving the QoS for end-users, our results show that ICN plays a key role in improving the service delivery time as well as reducing the traffic consumption in WMNs. The overall effect of ICN in our platform is that most content and service delivery requests can be satisfied very close to the client device, many times just one hop away, decoupling QoS from intra-network traffic and origin server load., This work was supported by the European H2020 framework programme project Fed4Fire+ (732638), by the Spanish State Research Agency (AEI) under contracts PCI2019-111850-2 and PCI2019-111851-2, and the Catalan government AGAUR SGR 990., Peer Reviewed, Postprint (author's final draft)