Pasar al contenido principal

SISTEMAS INFORMATICOS Y DE RED DESCENTRALIZADOS CON RECURSOS DISTRIBUIDOS

PID2019-106774RB-C21

•
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 de I+D+i (Generación de Conocimiento y Retos Investigación)
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): 39
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)

GateSelect: A novel Internet gateway selection algorithm for client nodes

  • Batbayar, Khulan
  • Meseguer Pallarès, Roc|||0000-0002-9414-646X
  • Sadre, Ramin
  • Subramaniam, Suresh
The Internet gateway selection problem is becoming very important as the number of Internet-connected devices increases and stresses the limited number of Internet gateway nodes. The gateway nodes often experience frequent performance fluctuations, and the best gateway selection candidate changes frequently with growing network dynamics. We propose GateSelect, a customized selection algorithm for each client node that not only provides the best-effort selection candidate but also ensures the global, balanced distribution of the gateway nodes. We utilize over the counter, lightweight calculations to optimize the client-side selection algorithm by combining classification, short term performance prediction, and randomized selection. We compare our algorithm with several baseline algorithms, and the experiment results show that our proposal provides better performance and balanced distribution of gateway nodes., This project has received funding from the European Union’s Horizon 2020 research and Next Generation Internet (NGI) Explorers innovation programme under the Grant Agreement No 825183 and by the EMJD-DC program and by the Spanish Government under contract PID2019-106774RB-C21., 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)

On the relation between open project-based learning in undergraduate computer science education and contemporary technological trends

  • Tous Liesa, Rubén|||0000-0002-1409-5843
  • Freitag, Fèlix|||0000-0001-5438-479X
  • Berral García, Josep Lluís|||0000-0003-3037-3580
Amidst rapid and constant technological change, keeping IT higher education curricula up to date is becoming increasingly challenging. For a decade, the course”Project on Information Technologies” within the undergraduate computer science studies offered by a major technical university has been pursuing an effort of continuous curriculum adaptation and active learning practices based on an open project-based learning (PBL) methodology. This article researches the implications of employing an open-ended PBL approach, with a specific focus on the alignment of acquired skills with the trends in the professional landscape. Our analysis has identified a strong correlation between the technologies utilized in the projects and the contemporary technological trends in the areas of global technological focus, programming languages, server-side technologies, database management systems, and DevOps-related tools. For the study, we analyzed empirical data gathered from over 100 projects involving more than 400 students who enrolled in this reference course, belonging to the last year of the IT higher education programme in the last 10 years. The results suggest the open project-based design as a teaching means in the student’s study plan for fostering the student the learning of prevailing current practical technologies., This work is partially supported by the Span-ish Ministry of Science under contracts PID2019-107255GB, PID2019-106774RB-C21, PID2021-126248OB-I00 (MCIN/AEI/10.13039/501100011033/FEDER), PDC2023-145809-I00 (PDC/AEI/10.13039/501100011033), the Recovery and Resilience Facility of the European Union, and by the SGR programme of the Catalan Government under contracts 2021-SGR-00478 and 2021-SGR-01059., 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)

Towards a library of deep neural networks for experimenting with on-device training on microcontrollers

  • Aatab, Soufiane
  • Freitag, Fèlix|||0000-0001-5438-479X
Despite the limited computing capacity of microcontrollers, there is a growing interest in training neural networks on these devices for tiny machine learning applications. The traditional approach is to train models off-device on powerful machines, but this limits the model's ability on the microcontroller to adapt to changing data. A limitation for further research on on-device training is the lack of open source deep neural network implementations for the training on microcontroller boards. In this paper, we present the design and implementation of a library in C++ to enable neural network training and inference on microcontroller boards. We conduct a functional validation of the implementation by comparing a Convolutional Neural Network (CNN) and autoencoder model defined with our library with a reference implementation. We then integrate the library into a machine learning application and flash it on an Arduino Portenta board to demonstrate its usability for on-device training. The developed library is open source and is flexible for defining different neural network architectures. Researchers and developers can use the given implementation as a tool for building new trainable machine learning applications, but can also extend it with recent model optimization techniques for tiny nodes from the research in this field., This work has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 957258 — ASSIST-IoT, and was partially supported by the Spanish Government under contract PID2019-106774RB-C21, and the Generalitat de Catalunya as Consolidated Research Group 2021-SGR-01059., Peer Reviewed
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)

Integrating a neural network library in embedded federated learning

  • Aatab, Soufiane
  • Freitag, Fèlix|||0000-0001-5438-479X
Federated learning has become a popular collaborative machine learning approach in which clients use their local data for training. This results in bandwidth savings since the training data does not have to be transferred to a central node, and also protects the privacy of these data. However, doing federated learning in tiny Internet of Things (IoT) devices is challenging due to the resource constraints of the devices and lack of experimental tools. In this paper, we develop a federated learning implementation that allows training of different machine learning models on embedded IoT devices. Our starting point is a library of neural network models which we have developed. We analyze the metadata to describe these models, design the interaction process between clients and server of a federated learning network, and implement the software. We validate the system by conducting experiments with our implementation deployed on real embedded boards. We observe in a non-IID experiment the capacity of federated learning to provide a trained model whose capacities go beyond those that the node could train by itself. Being heterogeneous data distribution a realistic scenario in distributed IoT devices, we believe that our implementation can be useful for the community as a tool to explore the training of neural networks on microcontrollers with the support of federated learning., This work has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 957258 — ASSIST-IoT, and was partially supported by the Spanish Government under contract PID2019-106774RB-C21, and the Generalitat de Catalunya as Consolidated Research Group 2021-SGR-01059., 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)

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)

A realistic open-data-based cost model for wireless backhaul networks in rural areas

  • Gemmi, Gabriele
  • Cerdà Alabern, Llorenç|||0000-0002-2799-6173
  • Maccari, Leonardo
Broadband Internet provision is an increasing demand in many rural areas and wireless internet service providers have emerged as an opportunity to fill this need. However, this type of operator typically consists of a small business with little resources, and difficulty to plan and assess a reliable and economically sustainable infrastructure. In this paper, we try to bring some aid to this challenging problem by describing a reliable mesh-based backhaul design, together with a detailed CapEx/OpEx economic assessment. We apply our model using real data from ten Italian rural municipalities. Our numerical results show that having clusters of 200 subscribers, a reliable backhaul could be deployed with a monthly subscription and price per Mb/s extremely competitive compared to existing market offers., This work has received funding through the Spanish grant PID2019-106774RB-C21 and Generalitat de Catalunya through 2017-SGR-990., 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
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

Stateful adaptive streams with approximate computing and elastic scaling

  • Francisco, João
  • Coimbra, Miguel E.
  • Neto, Pedro F.
  • Freitag, Fèlix|||0000-0001-5438-479X
  • Veiga, Luis
The model of approximate computing can be used to increase performance or optimize resource usage in stream and graph processing. It can be used to satisfy performance requirements (e.g., throughput, lag) in stream processing by reducing the effort that applications need to process datasets. There are currently multiple stream processing platforms, and most of them do not natively support approximate results. A recent one, Stateful Functions, is an API that uses Flink to enable developers to easily build stream and graph processing applications. It also retains Flink's features like stateful computations, fault-tolerance, scalability, control events and its graph processing library Gelly. Herein we present Approxate, an extension over this platform to support approximate results. It can also support more efficient stream and graph processing by allocating available resources adaptively, driven by user-defined requirements on throughput, lag, and latency. This extension enables flexibility in computational trade-offs such as trading accuracy for performance. The user can choose which metrics should be guaranteed at the cost of others, and/or the accuracy. Approxate incorporates approximate computing (using load shedding) with adaptive accuracy and resource manegement in state-of-the-art stream processing platforms, which are not targeted in other relevant related work. It does not require significant modifications to application code, and minimizes imbalance in data source representation when dropping events., This work was supported by national funds through FCT, Fundação para a Ciência e a Tecnologia, under project UIDB/50021/2020. DL 60/2018, de 3-08 – Aquisição necessária para a atividade de I&D do INESC-ID, no âmbito do projeto SmartRetail (02/C-05i01/2022). This work was partially supported by the Spanish Government under research contracts PID2019-106774RB-C21 and PCI2019-111850-2 (DiPET CHIST-ERA)., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

A monitoring system for distributed edge infrastructures with decentralized coordination

  • Pueyo Centelles, Roger|||0000-0002-3133-0657
  • Selimi, Mennan
  • Freitag, Fèlix|||0000-0001-5438-479X
  • Navarro Moldes, Leandro|||0000-0003-4775-5526
We present the case of monitoring a decentralized and crowdsourced network infrastructure, that needs to be monitored over geographically distributed devices at the network edge. It is a characteristic of the target environment that both, the infrastructure to be monitored and the hosts where the monitoring system runs, change over time, and network partitions may happen. The proposed monitoring system is decentralized, and monitoring servers coordinate their actions through an eventually consistent data storage layer deployed at the network edge. We developed a proof-of-concept implementation, which leverages CRDT-based data types provided by AntidoteDB. Our evaluation focuses on the understanding of the continuously updated mapping of monitoring server to network devices, specifically on the effects of different policies for each individual monitoring server to decide on which and how many network devices to monitor. One of the policies is experimented by means of a deployment on 8 real nodes, leveraging the data replication of AntidoteDB in a realistic setting. The observed effects of the different policies are interpreted from the point of view of the trade-off between resource consumption and redundancy., This work was supported by the European H2020 framework programme project LightKone (H2020-732505), by the Spanish government contract TIN2016-77836-C2-2-R and PID2019-106774RB-C21 by the Catalan government contract AGAUR SGR 990., Peer Reviewed
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

A monitoring system for distributed edge infrastructures with decentralized coordination

  • Pueyo Centelles, Roger
  • Selimi, Mennan
  • Freitag, Fèlix
  • Navarro Moldes, Leandro
We present the case of monitoring a decentralized and crowdsourced network infrastructure, that needs to be monitored over geographically distributed devices at the network edge. It is a characteristic of the target environment that both, the infrastructure to be monitored and the hosts where the monitoring system runs, change over time, and network partitions may happen. The proposed monitoring system is decentralized, and monitoring servers coordinate their actions through an eventually consistent data storage layer deployed at the network edge. We developed a proof-of-concept implementation, which leverages CRDT-based data types provided by AntidoteDB. Our evaluation focuses on the understanding of the continuously updated mapping of monitoring server to network devices, specifically on the effects of different policies for each individual monitoring server to decide on which and how many network devices to monitor. One of the policies is experimented by means of a deployment on 8 real nodes, leveraging the data replication of AntidoteDB in a realistic setting. The observed effects of the different policies are interpreted from the point of view of the trade-off between resource consumption and redundancy., This work was supported by the European H2020 framework programme project LightKone (H2020-732505), by the Spanish government contract TIN2016-77836-C2-2-R and PID2019-106774RB-C21 by the Catalan government contract 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)

A realistic open-data-based cost model for wireless backhaul networks in rural areas

  • Gemmi, Gabriele
  • Cerdà Alabern, Llorenç
  • Maccari, Leonardo
Broadband Internet provision is an increasing demand in many rural areas and wireless internet service providers have emerged as an opportunity to fill this need. However, this type of operator typically consists of a small business with little resources, and difficulty to plan and assess a reliable and economically sustainable infrastructure. In this paper, we try to bring some aid to this challenging problem by describing a reliable mesh-based backhaul design, together with a detailed CapEx/OpEx economic assessment. We apply our model using real data from ten Italian rural municipalities. Our numerical results show that having clusters of 200 subscribers, a reliable backhaul could be deployed with a monthly subscription and price per Mb/s extremely competitive compared to existing market offers., This work has received funding through the Spanish grant PID2019-106774RB-C21 and Generalitat de Catalunya through 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)

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)

Stateful adaptive streams with approximate computing and elastic scaling

  • Francisco, João
  • Coimbra, Miguel E.
  • Neto, Pedro F.
  • Freitag, Fèlix
  • Veiga, Luis
The model of approximate computing can be used to increase performance or optimize resource usage in stream and graph processing. It can be used to satisfy performance requirements (e.g., throughput, lag) in stream processing by reducing the effort that applications need to process datasets. There are currently multiple stream processing platforms, and most of them do not natively support approximate results. A recent one, Stateful Functions, is an API that uses Flink to enable developers to easily build stream and graph processing applications. It also retains Flink's features like stateful computations, fault-tolerance, scalability, control events and its graph processing library Gelly. Herein we present Approxate, an extension over this platform to support approximate results. It can also support more efficient stream and graph processing by allocating available resources adaptively, driven by user-defined requirements on throughput, lag, and latency. This extension enables flexibility in computational trade-offs such as trading accuracy for performance. The user can choose which metrics should be guaranteed at the cost of others, and/or the accuracy. Approxate incorporates approximate computing (using load shedding) with adaptive accuracy and resource manegement in state-of-the-art stream processing platforms, which are not targeted in other relevant related work. It does not require significant modifications to application code, and minimizes imbalance in data source representation when dropping events., This work was supported by national funds through FCT, Fundação para a Ciência e a Tecnologia, under project UIDB/50021/2020. DL 60/2018, de 3-08 – Aquisição necessária para a atividade de I&D do INESC-ID, no âmbito do projeto SmartRetail (02/C-05i01/2022). This work was partially supported by the Spanish Government under research contracts PID2019-106774RB-C21 and 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)

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)

On the relation between open project-based learning in undergraduate computer science education and contemporary technological trends

  • Tous Liesa, Rubén
  • Freitag, Fèlix
  • Berral García, Josep Lluís
Amidst rapid and constant technological change, keeping IT higher education curricula up to date is becoming increasingly challenging. For a decade, the course”Project on Information Technologies” within the undergraduate computer science studies offered by a major technical university has been pursuing an effort of continuous curriculum adaptation and active learning practices based on an open project-based learning (PBL) methodology. This article researches the implications of employing an open-ended PBL approach, with a specific focus on the alignment of acquired skills with the trends in the professional landscape. Our analysis has identified a strong correlation between the technologies utilized in the projects and the contemporary technological trends in the areas of global technological focus, programming languages, server-side technologies, database management systems, and DevOps-related tools. For the study, we analyzed empirical data gathered from over 100 projects involving more than 400 students who enrolled in this reference course, belonging to the last year of the IT higher education programme in the last 10 years. The results suggest the open project-based design as a teaching means in the student’s study plan for fostering the student the learning of prevailing current practical technologies., This work is partially supported by the Span-ish Ministry of Science under contracts PID2019-107255GB, PID2019-106774RB-C21, PID2021-126248OB-I00 (MCIN/AEI/10.13039/501100011033/FEDER), PDC2023-145809-I00 (PDC/AEI/10.13039/501100011033), the Recovery and Resilience Facility of the European Union, and by the SGR programme of the Catalan Government under contracts 2021-SGR-00478 and 2021-SGR-01059., Peer Reviewed, Postprint (published version)
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 library of deep neural networks for experimenting with on-device training on microcontrollers

  • Aatab, Soufiane
  • Freitag, Fèlix
Despite the limited computing capacity of microcontrollers, there is a growing interest in training neural networks on these devices for tiny machine learning applications. The traditional approach is to train models off-device on powerful machines, but this limits the model's ability on the microcontroller to adapt to changing data. A limitation for further research on on-device training is the lack of open source deep neural network implementations for the training on microcontroller boards. In this paper, we present the design and implementation of a library in C++ to enable neural network training and inference on microcontroller boards. We conduct a functional validation of the implementation by comparing a Convolutional Neural Network (CNN) and autoencoder model defined with our library with a reference implementation. We then integrate the library into a machine learning application and flash it on an Arduino Portenta board to demonstrate its usability for on-device training. The developed library is open source and is flexible for defining different neural network architectures. Researchers and developers can use the given implementation as a tool for building new trainable machine learning applications, but can also extend it with recent model optimization techniques for tiny nodes from the research in this field., This work has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 957258 — ASSIST-IoT, and was partially supported by the Spanish Government under contract PID2019-106774RB-C21, and the Generalitat de Catalunya as Consolidated Research Group 2021-SGR-01059., 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)

Integrating a neural network library in embedded federated learning

  • Aatab, Soufiane
  • Freitag, Fèlix
Federated learning has become a popular collaborative machine learning approach in which clients use their local data for training. This results in bandwidth savings since the training data does not have to be transferred to a central node, and also protects the privacy of these data. However, doing federated learning in tiny Internet of Things (IoT) devices is challenging due to the resource constraints of the devices and lack of experimental tools. In this paper, we develop a federated learning implementation that allows training of different machine learning models on embedded IoT devices. Our starting point is a library of neural network models which we have developed. We analyze the metadata to describe these models, design the interaction process between clients and server of a federated learning network, and implement the software. We validate the system by conducting experiments with our implementation deployed on real embedded boards. We observe in a non-IID experiment the capacity of federated learning to provide a trained model whose capacities go beyond those that the node could train by itself. Being heterogeneous data distribution a realistic scenario in distributed IoT devices, we believe that our implementation can be useful for the community as a tool to explore the training of neural networks on microcontrollers with the support of federated learning., This work has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 957258 — ASSIST-IoT, and was partially supported by the Spanish Government under contract PID2019-106774RB-C21, and the Generalitat de Catalunya as Consolidated Research Group 2021-SGR-01059., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

GateSelect: A novel Internet gateway selection algorithm for client nodes

  • Batbayar, Khulan
  • Meseguer Pallarès, Roc
  • Sadre, Ramin
  • Subramaniam, Suresh
The Internet gateway selection problem is becoming very important as the number of Internet-connected devices increases and stresses the limited number of Internet gateway nodes. The gateway nodes often experience frequent performance fluctuations, and the best gateway selection candidate changes frequently with growing network dynamics. We propose GateSelect, a customized selection algorithm for each client node that not only provides the best-effort selection candidate but also ensures the global, balanced distribution of the gateway nodes. We utilize over the counter, lightweight calculations to optimize the client-side selection algorithm by combining classification, short term performance prediction, and randomized selection. We compare our algorithm with several baseline algorithms, and the experiment results show that our proposal provides better performance and balanced distribution of gateway nodes., This project has received funding from the European Union’s Horizon 2020 research and Next Generation Internet (NGI) Explorers innovation programme under the Grant Agreement No 825183 and by the EMJD-DC program and by the Spanish Government under contract PID2019-106774RB-C21., 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)

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)