Daniele Jahier Pagliari

Dr. Daniele Jahier Pagliari

Politecnico di Torino
orcid

Research Focus & Metrics

Academic Career Length

12Years (2015-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
21 October 2021 in IEEE Transactions on Biomedical Circuits and Systems
Verified
Journal Article
Closed access
ABAlessio Burrello
Alessio Burrello
DPDaniele Jahier Pagliari
Daniele Jahier Pagliari
MRMatteo Risso
Matteo Risso
SBSimone Benatti
Simone Benatti
EMEnrico Macii
Enrico Macii
Massimo PoncinoMassimo Poncino
Massimo Poncino
Hearth Rate (HR) monitoring is increasingly performed in wrist-worn devices using low-cost photoplethysmography (PPG) sensors. However, Motion Artifacts (MAs) caused by movements of the subject’s arm affect the performance of PPG-based HR tracking. This is typically addressed coupling the PPG signal with acceleration measurements from an inertial sensor. Unfortunately, most standard approaches of this kind rely on hand-tuned parameters, which impair their generalization capabilities and their applicability to real data in the field. In contrast, methods based on deep learning, despite their better generalization, are considered to be too complex to deploy on wearable devices. In this work, we tackle these limitations, proposing a design space exploration methodology to automatically generate a rich family of deep Temporal Convolutional Networks (TCNs) for HR monitoring, all derived from a single “seed” model. Our flow involves a cascade of two Neural Architecture Search (NAS) tools and a hardware-friendly quantizer, whose combination yields both highly accurate and extremely lightweight models. When tested on the PPG-Dalia dataset, our most accurate model sets a new state-of-the-art in Mean Absolute Error. Furthermore, we deploy our TCNs on an embedded platform featuring a STM32WB55 microcontroller, demonstrating their suitability for real-time execution. Our most accurate quantized network achieves 4.41 Beats Per Minute (BPM) of Mean Absolute Error (MAE), with an energy consumption of 47.65 mJ and a memory footprint of 412 kB. At the same time, the smallest network that obtains a MAE $< $ 8 BPM, among those generated by our flow, has a memory footprint of 1.9 kB and consumes just 1.79 mJ per inference.

11 April 2019 in IEEE Transactions on Vehicular Technology
Verified
Journal Article
Closed access
Donkyu BaekDonkyu Baek
Donkyu Baek
Yukai ChenYukai Chen
Yukai Chen
ABAlberto Bocca
Alberto Bocca
Lorenzo BottaccioliLorenzo Bottaccioli
Lorenzo Bottaccioli
SCSanta Di Cataldo
Santa Di Cataldo
Massimo PoncinoMassimo Poncino
Massimo Poncino
The range of operations of electric vehicles (EVs) is a critical aspect that may affect the user's attitude toward them. For manned EVs, range anxiety is still perceived as a major issue and recent surveys have shown that one-third of potential European users are deterred by this problem when considering the move to an EV. A similar consideration applies to aerial EVs for commercial use, where a careful planning of the flying range is essential not only to guarantee the service but also to avoid the loss of the EVs due to charge depletion during the flight. Therefore, route planning for EVs for different purposes (range estimation, route optimization) and/or application scenarios (terrestrial, aerial EVs) is an essential element to foster the acceptance of EVs as a replacement of traditional vehicles. One essential element to enable such accurate planning is an accurate model of the actual power consumption. While very elaborate models for the electrical motors of EVs do exist, the motor power does not perfectly match the power drawn from the battery because of battery non-idealities. In this paper, we propose a general methodology that allows to predict and/or optimize the operation range of EVs, by allowing different accuracy/complexity tradeoffs for the models describing the route, the vehicle, and the battery, and taking into account the decoupling between motor and battery power. We demonstrate our method on two use cases. The first one is a traditional driving range prediction for a terrestrial EV; the second one concerns an unmanned aerial vehicle, for which the methodology will be used to determine the energy-optimal flying speed for a set of parcel delivery tasks.

26 May 2022 in IEEE Transactions on Computers
Verified
Journal Article
Closed access
MRMatteo Risso
Matteo Risso
ABAlessio Burrello
Alessio Burrello
FCFrancesco Conti
Francesco Conti
LLLorenzo Lamberti
Lorenzo Lamberti
Yukai ChenYukai Chen
Yukai Chen
DPDaniele Jahier Pagliari
Daniele Jahier Pagliari
Neural Architecture Search (NAS) is quickly becoming the go-to approach to optimize the structure of Deep Learning (DL) models for complex tasks such as Image Classification or Object Detection. However, many other relevant applications of DL, especially at the edge, are based on time-series processing and require models with unique features, for which NAS is less explored. This work focuses in particular on Temporal Convolutional Networks (TCNs), a convolutional model for time-series processing that has recently emerged as a promising alternative to more complex recurrent architectures. We propose the first NAS tool that explicitly targets the optimization of the most peculiar architectural parameters of TCNs, namely dilation, receptive-field and number of features in each layer. The proposed approach searches for networks that offer good trade-offs between accuracy and number of parameters/operations, enabling an efficient deployment on embedded platforms. Moreover, its fundamental feature is that of being lightweight in terms of search complexity, making it usable even with limited hardware resources. We test the proposed NAS on four real-world, edge-relevant tasks, involving audio and bio-signals: (i) PPG-based Heart-Rate Monitoring, (ii) ECG-based Arrythmia Detection, (iii) sEMG-based Hand-Gesture Recognition, and (iv) Keyword Spotting.Results show that, starting from a single seed network, our method is capable of obtaining a rich collection of Pareto optimal architectures, among which we obtain models with the same accuracy as the seed, and 15.9-152× fewer parameters. Moreover, the NAS finds solutions that Pareto-dominate state-of-the-arthand-tuned models for 3 out of the 4 benchmarks, and are Pareto-optimal on the fourth (sEMG). Compared to three state-of-the-art NAS tools, ProxylessNAS, MorphNet and FBNetV2, our method explores a larger search space for TCNs (up to 1012×) and obtains superior solutions, while requiring low GPU memory and search time. We deploy our NAS outputs on two distinct edge devices, the multicore GreenWaves Technology GAP8 IoT processor and the single-core STMicroelectronics STM32H7 microcontroller. With respect to the state-of-the-art hand-tuned models, we reduce latency and energy of up to 5.5× and 3.8× on the two targets respectively, without any accuracy loss.

31 July 2022 in ACM Transactions on Embedded Computing Systems
Verified
Journal Article
Open access
FDFrancesco Daghero
Francesco Daghero
ABAlessio Burrello
Alessio Burrello
CXChen Xie
Chen Xie
MCMarco Castellano
Marco Castellano
LGLuca Gandolfi
Luca Gandolfi
DPDaniele Jahier Pagliari
Daniele Jahier Pagliari
Human Activity Recognition (HAR) based on inertial data is an increasingly diffused task on embedded devices, from smartphones to ultra low-power sensors. Due to the high computational complexity of deep learning models, most embedded HAR systems are based on simple and not-so-accurate classic machine learning algorithms. This work bridges the gap between on-device HAR and deep learning, proposing a set of efficient one-dimensional Convolutional Neural Networks (CNNs) that can be deployed on general purpose microcontrollers (MCUs). Our CNNs are obtained combining hyper-parameters optimization with sub-byte and mixed-precision quantization, to find good trade-offs between classification results and memory occupation. Moreover, we also leverage adaptive inference as an orthogonal optimization to tune the inference complexity at runtime based on the processed input, hence producing a more flexible HAR system. With experiments on four datasets, and targeting an ultra-low-power RISC-V MCU, we show that (i) we are able to obtain a rich set of Pareto-optimal CNNs for HAR, spanning more than 1 order of magnitude in terms of memory, latency, and energy consumption; (ii) thanks to adaptive inference, we can derive >20 runtime operating modes starting from a single CNN, differing by up to 10% in classification scores and by more than 3× in inference complexity, with a limited memory overhead; (iii) on three of the four benchmarks, we outperform all previous deep learning methods, while reducing the memory occupation by more than 100×. The few methods that obtain better performance (both shallow and deep) are not compatible with MCU deployment; (iv) all our CNNs are compatible with real-time on-device HAR, achieving an inference latency that ranges between 9 μs and 16 ms. Their memory occupation varies in 0.05–23.17 kB, and their energy consumption in 0.05 and 61.59 μJ, allowing years of continuous operation on a small battery supply.

12 February 2021 in Proceedings of the IEEE
Verified
Journal Article
Closed access
Tania CerquitelliTania Cerquitelli
Tania Cerquitelli
DPDaniele Jahier Pagliari
Daniele Jahier Pagliari
ANDREA CALIMERAANDREA CALIMERA
ANDREA CALIMERA
Lorenzo BottaccioliLorenzo Bottaccioli
Lorenzo Bottaccioli
Edoardo PattiEdoardo Patti
Edoardo Patti
Massimo PoncinoMassimo Poncino
Massimo Poncino
In recent years, the introduction and exploitation of innovative information technologies in industrial contexts have led to the continuous growth of digital shop floor environments. The new Industry 4.0 model allows smart factories to become very advanced IT industries, generating an ever-increasing amount of valuable data. As a consequence, the necessity of powerful and reliable software architectures is becoming prominent along with data-driven methodologies to extract useful and hidden knowledge supporting the decision-making process. This article discusses the latest software technologies needed to collect, manage, and elaborate all data generated through innovative Internet-of-Things (IoT) architectures deployed over the production line, with the aim of extracting useful knowledge for the orchestration of high-level control services that can generate added business value. This survey covers the entire data life cycle in manufacturing environments, discussing key functional and methodological aspects along with a rich and properly classified set of technologies and tools, useful to add intelligence to data-driven services. Therefore, it serves both as a first guided step toward the rich landscape of the literature for readers approaching this field and as a global yet detailed overview of the current state of the art in the Industry 4.0 domain for experts. As a case study, we discuss, in detail, the deployment of the proposed solutions for two research project demonstrators, showing their ability to mitigate manufacturing line interruptions and reduce the corresponding impacts and costs.

14 June 2023 in IEEE Internet of Things Journal
Verified
Journal Article
Closed access
FDFrancesco Daghero
Francesco Daghero
ABAlessio Burrello
Alessio Burrello
EMEnrico Macii
Enrico Macii
PMPaolo Montuschi
Paolo Montuschi
Massimo PoncinoMassimo Poncino
Massimo Poncino
DPDaniele Jahier Pagliari
Daniele Jahier Pagliari
With the increasing popularity of Internet of Things (IoT) devices, there is a growing need for energy-efficient Machine Learning (ML) models that can run on constrained edge nodes. Decision tree ensembles, such as Random Forests (RFs) and Gradient Boosting (GBTs), are particularly suited for this task, given their relatively low complexity compared to other alternatives. However, their inference time and energy costs are still significant for edge hardware. Given that said costs grow linearly with the ensemble size, this paper proposes the use of dynamic ensembles, that adjust the number of executed trees based both on a latency/energy target and on the complexity of the processed input, to trade-off computational cost and accuracy. We focus on deploying these algorithms on multi-core low-power IoT devices, designing a tool that automatically converts a Python ensemble into optimized C code, and exploring several optimizations that account for the available parallelism and memory hierarchy. We extensively benchmark both static and dynamic RFs and GBTs on three state-of-the-art IoT-relevant datasets, using an 8-core ultra-lowpower System-on-Chip (SoC), GAP8, as the target platform. Thanks to the proposed early-stopping mechanisms, we achieve an energy reduction of up to 37.9% with respect to static GBTs (8.82 uJ vs 14.20 uJ per inference) and 41.7% with respect to static RFs (2.86 uJ vs 4.90 uJ per inference), without losing accuracy compared to the static model.