Emanuele Valpreda

Mr. Emanuele Valpreda

Politecnico di Torino, Turin, Piedmont, Italy
orcid

Research Focus & Metrics

Academic Career Length

5Years (2022-Present)

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

Representative Publications

View All Publications
27 February 2024 in IEEE Transactions on Circuits and Systems I: Regular Papers
Verified
Journal Article
Open access
FGFlavia Guella
Flavia Guella
EVEmanuele Valpreda
Emanuele Valpreda
MCMichele Caon
Michele Caon
GMGuido Masera
Guido Masera
MMMaurizio Martina
Maurizio Martina
The optimization of neural networks (NNs) is necessary to enable their deployment on energy-constrained devices. State-of-the-art methods leverage approximate multipliers to execute NNs reducing the inference energy without heavily affecting the accuracy. However, previous works usually require a specialized hardware accelerator and are limited to fixed multipliers or reconfigurable ones with few approximation levels. This paper introduces MARLIN, a framework to deploy layerwise approximate NNs on PULP, a microcontroller with a RISC-V core. A multiplier architecture, with runtime selection of 256 approximation levels, is developed and integrated into the PULP cluster cores, enabling runtime configuration through control status register (CSR) instructions embedded within the code. The PULP toolchain is adapted to incorporate the approximation level selection within the instruction flow seamlessly. MARLIN leverages the genetic algorithm NSGA-II to search for the best configurations among thousands of approximate NNs. The framework is validated by simulating an approximate NN trained with the MNIST dataset on PULP. Moreover, MARLIN is used to optimize and approximate six ResNet models trained with the CIFAR-10 dataset. In particular, for ResNet-56, the most complex NN used in the experiments, the multiplication energy is reduced by 23.9% while retaining 99% of the accuracy of the exact model.

14 March 2022
Verified
Conference Paper
Closed access
NFNael Fasfous
Nael Fasfous
LFLukas Frickenstein
Lukas Frickenstein
MNMichael Neumeier
Michael Neumeier
MVManoj Rohit Vemparala
Manoj Rohit Vemparala
AFAlexander Frickenstein
Alexander Frickenstein
WSWalter Stechele
Walter Stechele
As more deep learning algorithms enter safety-critical application domains, the importance of analyzing their resilience against hardware faults cannot be overstated. Most existing works focus on bit-flips in memory, fewer focus on compute errors, and almost none study the effect of hardware faults on adversarially trained convolutional neural networks (CNNs). In this work, we show that adversarially trained CNNs are more susceptible to failure due to hardware errors when compared to vanilla-trained models. We identify large differences in the quantization scaling factors of the CNNs which are resilient to hardware faults and those which are not. As adversarially trained CNNs learn robustness against input attack perturbations, their internal weight and activation distributions open a backdoor for injecting large magnitude hardware faults. We propose a simple weight decay remedy for adversarially trained models to maintain adversarial robustness and hardware resilience in the same CNN. We improve the fault resilience of an adversarially trained ResNet56 by 25% for large-scale bit-flip benchmarks on activation data while gaining slightly improved accuracy and adversarial robustness.

7 May 2024
Verified
Conference Paper
Open access
Alessandra DolmetaAlessandra Dolmeta
Alessandra Dolmeta
EVEmanuele Valpreda
Emanuele Valpreda
MMMaurizio Martina
Maurizio Martina
GMGuido Masera
Guido Masera
This paper presents a comprehensive study on the implementation of a RISC-V-based memory-mapped accelerator designed for Number Theoretic Transform (NTT) and Inverse Number Theoretic Transform (INTT) operations within the context of the post-quantum cryptographic algorithm CRYSTALS-Kyber. The primary focus lies in the performance evaluation of the algorithm, with a particular emphasis on minimizing the overhead associated with transferring data between the core and the implemented IP. The analysis includes a deep dive into the intricacies of data transfer, leveraging Direct Memory Access (DMA) to efficiently reduce overhead. The evaluation results show that our approach, when applied to a X-HEEP core, achieves up to 15.7× and 19.6× improvement in cycle count for NTT and INTT respectively, compared to the base software implementation. To this end, we also demonstrate the efficacy of the proposed memory-mapped accelerator in enhancing the overall performance of CRYSTALS-Kyber, thereby contributing to the advancement of secure cryptographic systems in the post-quantum era.

16 September 2022 in Electronics
Verified
Journal Article
Open access
PDF file
EVEmanuele Valpreda
Emanuele Valpreda
PMPierpaolo Mori
Pierpaolo Mori
NFNael Fasfous
Nael Fasfous
MVManoj Rohit Vemparala
Manoj Rohit Vemparala
AFAlexander Frickenstein
Alexander Frickenstein
MMMaurizio Martina
Maurizio Martina
Energy and throughput efficient acceleration of convolutional neural networks (CNN) on devices with a strict power budget is achieved by leveraging different scheduling techniques to minimize data movement and maximize data reuse. Several dataflow mapping frameworks have been developed to explore the optimal scheduling of CNN layers on reconfigurable accelerators. However, previous works usually optimize each layer singularly, without leveraging the data reuse between the layers of CNNs. In this work, we present an analytical model to achieve efficient data reuse by searching for efficient scheduling of communication and computation across layers. We call this inter-layer scheduling framework HW-Flow-Fusion, as we explore the fused map-space of multiple layers sharing the available resources of the same accelerator, investigating the constraints and trade-offs of mapping the execution of multiple workloads with data dependencies. We propose a memory-efficient data reuse model, tiling, and resource partitioning strategies to fuse multiple layers without recomputation. Compared to standard single-layer scheduling, inter-layer scheduling can reduce the communication volume by 51% and 53% for selected VGG16-E and ResNet18 layers on a spatial array accelerator, and reduce the latency by 39% and 34% respectively, while also increasing the computation to communication ratio which improves the memory bandwidth efficiency.

1 September 2026
Verified
Conference Paper
Closed access
CCCatalin Bogdan Ciobanu
Catalin Bogdan Ciobanu
FCFrancesco Conti
Francesco Conti
CCCairo Caplan
Cairo Caplan
HSHolger Schmidt
Holger Schmidt
WEWolfgang Ecker
Wolfgang Ecker
IFIngo Feldner
Ingo Feldner