Julien Maillard, Thomas Hiscock, Maxime Lecomte, Christophe Clavier
{"title":"Towards Fine-grained Side-Channel Instruction Disassembly on a System-on-Chip","authors":"Julien Maillard, Thomas Hiscock, Maxime Lecomte, Christophe Clavier","doi":"10.1109/DSD57027.2022.00069","DOIUrl":"https://doi.org/10.1109/DSD57027.2022.00069","url":null,"abstract":"Side-channel based instruction disassembly (SCBD) is a family of side-channel attacks that aims at recovering the code executed by a device from physical measurements. Over past decades researches have proved that instruction-level disassembly is feasible on simple controllers. Simultaneously, the computing power and architectural complexity of processors are increasing, even in constrained devices. Performing side-channel attacks on mid or high-end devices is inherently harder because of complex concurrent activities and an important amount of noise. While broad pattern identification, such as cryptographic primitives, has been proved possible, the feasibility of precise SCBD remains an open question on a complex System-on-Chip (SoC). In this work, we address some of the technical challenges involved in performing SCBD on SoCs. We propose an experimental setup and measurement methodology that enables reliable characterization of instruction-level electromagnetic (EM) leakages. We study the feasibility of three code reconstruction granularities: functional unit recognition, opcode recognition and full instruction recovery. Under a controlled experimental environment, our results show that functional unit recognition is achievable (100% classification accuracy) as well as opcode recognition (with evidence of leakage). In our setup, full instruction recovery (i.e., bit-level encoding) turned out to be more challenging. We show that the classification accuracy on instruction bits is better than random guesses and can be improved by combining multiple EM probe positions, but it is not high enough to foresee an attack in a real environment.","PeriodicalId":211723,"journal":{"name":"2022 25th Euromicro Conference on Digital System Design (DSD)","volume":"45 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117111098","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
C. Goumopoulos, Damianos Ougkrenidis, Dimitris Gklavakis, I. Ioannidis
{"title":"A Smart Floor Device of an Exergame Platform for Elderly Fall Prevention: *Note: Sub-titles are not captured in Xplore and should not be used","authors":"C. Goumopoulos, Damianos Ougkrenidis, Dimitris Gklavakis, I. Ioannidis","doi":"10.1109/DSD57027.2022.00084","DOIUrl":"https://doi.org/10.1109/DSD57027.2022.00084","url":null,"abstract":"The high risk of falls in the elderly and their severe consequences makes research to prevent them an important priority for public health. Technologies that enable exercise in the form of games (exergames) can improve both cognitive and physical functions, which is a prerequisite to reduce fall risk. However, the key question is whether such tools are easy to use by the elderly. In this work, the development of a smart floor device for exergames that can motivate elderly to perform physical exercises is presented. The underlying hypothesis is that technologies that do not require the use of a complex user interaction environment such as the proposed smart floor are more suitable for the elderly to use for improving their physical and cognitive functions. The design and development of the smart floor leverages on features from the Internet of Things domain and follows the design principles for system composability using artifact tiles as building blocks. The tile mounting and circuit diagrams are discussed as well as the microcontroller selection to support both distributed and centralized game development models. Recurring training programs with stepping exercises can be deployed in the smart floor as appropriate interventions for fall prevention. Furthermore, the inherent ability to evaluate measures that can predict the risk of falling, such as the choice stepping reaction time, can promote the smart floor as a diagnostic tool. A qualitative assessment was performed with positive results on the perceived usefulness of the proposed exergame device.","PeriodicalId":211723,"journal":{"name":"2022 25th Euromicro Conference on Digital System Design (DSD)","volume":"24 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125948177","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"X-on-X: Distributed Parallel Virtual Platforms for Heterogeneous Systems","authors":"Lukas Jünger, Simon Winther, R. Leupers","doi":"10.1109/DSD57027.2022.00028","DOIUrl":"https://doi.org/10.1109/DSD57027.2022.00028","url":null,"abstract":"The complexity of modern heterogeneous systems leads to simulation performance problems. We show how heterogeneous system verification can be accelerated using a heterogeneous simulator architecture, by distributing simulations amongst different hosts with a novel SystemC TLM-compliant method. Hosts are combined via a high-speed network to leverage their specific advantages when executing simulation segments. To avoid timing causality problems, a conservative, asynchronous parallel discrete event simulation approach is used. We analyze a machine learning task on an embedded Linux system using an ARMv8 virtual platform containing a commercial deep learning accelerator. There, our approach enables speedups of up to 3.9x.","PeriodicalId":211723,"journal":{"name":"2022 25th Euromicro Conference on Digital System Design (DSD)","volume":"101 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123291435","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
A. Martín-Pérez, M. Villa, Guillermo Vázquez, Jaime Sancho, Gonzalo Rosa, Pallabi Sutradhar, M. Chavarrías, Alfonso Lagares, E. Juárez, C. Sanz
{"title":"Hyperparameter Optimization for Brain Tumor Classification with Hyperspectral Images","authors":"A. Martín-Pérez, M. Villa, Guillermo Vázquez, Jaime Sancho, Gonzalo Rosa, Pallabi Sutradhar, M. Chavarrías, Alfonso Lagares, E. Juárez, C. Sanz","doi":"10.1109/DSD57027.2022.00117","DOIUrl":"https://doi.org/10.1109/DSD57027.2022.00117","url":null,"abstract":"Hyperspectral (HS) imaging (HSI) techniques have demonstrated to be useful in the medical field to characterize tissues without any contact and without ionizing the patient. Besides, HSI combined with supervised machine learning (ML) algorithms have proven to be an effective technique to assist neurosurgeons to resect brain tumors. This research looks at the effects of hyperparameter optimization on two common supervised ML algorithms used for brain tumor classification: support vector machines (SVM) and random forest (RF). Correctly classifying brain tumor with HS data containing low spatial and spectral information can be challenging. To tackle this problem, this study has applied hyperparameter optimization techniques on SVM and RF with 10 brain images of patients suffering from glioblastoma multiforme (GBM) with non-mutated isocitrate dehydrogenase (IDH) enzymes. These captures have 409x217 spatial resolution and 25 normalized reflectance wavelengths gathered from 665 to 960 nm with a HS snapshot camera. Results show how this work has been able to obtain 98,60% of weighted area under the curve (AUC) on the test score by employing naive optimizations like grid search (GS) or random search (RS) and even more complex methods based on Bayesian optimization (BO). Not only the weighted AUC of SVM has been improved by 8%, but BO have also enhanced the AUC of the tumor class by 22.50% in comparison with non-optimized SVM models in the state-of-the-art, achieving AUC values of 95,49% on the tumor class. Furthermore, these improvements have been illustrated with classification maps to demonstrate the importance of hyperparameter optimization on SVM to clearly classify brain tumor, whereas non-optimized models from previous studies are unable to detect the tumor.","PeriodicalId":211723,"journal":{"name":"2022 25th Euromicro Conference on Digital System Design (DSD)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117105435","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
I. A. Cruz-Guerrero, Raquel León, Liliana Granados-Castro, H. Fabelo, S. Ortega, D. U. Campos‐Delgado, G. Callicó
{"title":"Reflectance Calibration with Normalization Correction in Hyperspectral Imaging","authors":"I. A. Cruz-Guerrero, Raquel León, Liliana Granados-Castro, H. Fabelo, S. Ortega, D. U. Campos‐Delgado, G. Callicó","doi":"10.1109/DSD57027.2022.00120","DOIUrl":"https://doi.org/10.1109/DSD57027.2022.00120","url":null,"abstract":"Today, hyperspectral (HS) imaging has become a powerful tool to identify remotely the composition of an interest area through the joint acquisition of spatial and spectral information. However, like in most imaging techniques, unwanted effects may occur during data acquisition, such as noise, changes in light intensity, temperature differences, or optical variations. In HS imaging, these problems can be attenuated using a reflectance calibration stage and optical filtering. Nevertheless, optical filtering might induce some distortion that could complicate the posterior image processing stage. In this work, we present a new proposal for reflectance calibration that compensates for optical alterations during the acquisition of an HS image. The proposed methodology was evaluated on an HS image of synthetic squares of various materials with specific spectral responses. The results of our proposal show high performance in two classification tests using the K-means algorithm with 97% and 88% accuracy; in comparison with the standard reflectance calibration from the literature that obtained 77% and 64% accuracy. These results illustrate the performance gain of the proposed formulation, which besides maintaining the characteristic features of the compounds within the HS image, keeps the resulting reflectance into fixed lower and upper bounds, which avoids a post-calibration normalization step.","PeriodicalId":211723,"journal":{"name":"2022 25th Euromicro Conference on Digital System Design (DSD)","volume":"70 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128558030","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Proceedings 2022 25th Euromicro Conference on Digital System Design DSD 2022","authors":"","doi":"10.1109/dsd57027.2022.00002","DOIUrl":"https://doi.org/10.1109/dsd57027.2022.00002","url":null,"abstract":"","PeriodicalId":211723,"journal":{"name":"2022 25th Euromicro Conference on Digital System Design (DSD)","volume":"9 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127880906","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Be My Guess: Guessing Entropy vs. Success Rate for Evaluating Side-Channel Attacks of Secure Chips","authors":"Julien Béguinot, Wei Cheng, S. Guilley, O. Rioul","doi":"10.1109/DSD57027.2022.00072","DOIUrl":"https://doi.org/10.1109/DSD57027.2022.00072","url":null,"abstract":"In a theoretical context of side-channel attacks, optimal bounds between success rate and guessing entropy are derived with a simple majorization (Schur-concavity) argument. They are further theoretically refined for different versions of the classical Hamming weight leakage model, in particular assuming a priori equiprobable secret keys and additive white Gaussian measurement noise. Closed-form expressions and numerical computation are given. A study of the impact of the choice of the substitution box with respect to side-channel resistance reveals that its nonlinearity tends to homogenize the expressivity of success rate and guessing entropy. The intriguing approximate relation $GE=1/SR$ is observed in the case of 8-bit bytes and low noise.","PeriodicalId":211723,"journal":{"name":"2022 25th Euromicro Conference on Digital System Design (DSD)","volume":"95 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121758772","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
María Castro-Fernández, Abián Hernández, H. Fabelo, Francisco Balea-Fernández, S. Ortega, G. Callicó
{"title":"Towards Skin Cancer Self-Monitoring through an Optimized MobileNet with Coordinate Attention","authors":"María Castro-Fernández, Abián Hernández, H. Fabelo, Francisco Balea-Fernández, S. Ortega, G. Callicó","doi":"10.1109/DSD57027.2022.00087","DOIUrl":"https://doi.org/10.1109/DSD57027.2022.00087","url":null,"abstract":"Skin cancer is one of the most frequent type of cancer, which is tipically divided in two types: melanoma and non-melanoma. Melanoma is the least common, but also the deadliest of them if left untreated in early stages. Thus, skin cancer monitoring is key for early detection, which could be done with the help of mobile devices and artificial intelligence solutions. In this sense, local deployment is suggested to embrace simplicity and avoid data privacy and security issues. However, current high-performance neural networks are extremely challenging to be deployed in mobile devices due to resource constraint, so lighter but effective models are required to make local deployment possible. In this work, simplifying an already light model, such as MobileNetV2, is pursued, combining it with an attention mechanism to enhance the network's capability to learn and compensate for the lack of information that simplifying the original architecture might cause. Fine-tuning was applied, using an autoencoder to pre-train the model on the CIFAR100 dataset. Experiments covering four scenarios were carried out using HAM10000 dataset. Promising results were obtained, reaching the best performance using a simplified MobileNetV2 combined with Coordinate Attention mechanism with less than a million parameters in total and up to a 83.93 % of accuracy.","PeriodicalId":211723,"journal":{"name":"2022 25th Euromicro Conference on Digital System Design (DSD)","volume":"106 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131920597","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
M. Roa-Villescas, Patrick W. A. Wijnings, S. Stuijk, H. Corporaal
{"title":"Partial Evaluation in Junction Trees","authors":"M. Roa-Villescas, Patrick W. A. Wijnings, S. Stuijk, H. Corporaal","doi":"10.1109/DSD57027.2022.00064","DOIUrl":"https://doi.org/10.1109/DSD57027.2022.00064","url":null,"abstract":"One prominent method to perform inference on probabilistic graphical models is the probability propagation in trees of clusters (PPTC) algorithm. In this paper, we demonstrate the use of partial evaluation, an established technique from the compiler domain, to improve the performance of online Bayesian inference using the PPTC algorithm in the context of observed evidence. We present a metaprogramming-based method to transform a base program into an optimized version by precomputing the static input at compile time while guaranteeing behavioral equivalence. We achieve an inference time reduction of 21% on average for the Promedas benchmark.","PeriodicalId":211723,"journal":{"name":"2022 25th Euromicro Conference on Digital System Design (DSD)","volume":"39 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"134212529","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Ehsan Aghapour, Dolly Sapra, A. Pimentel, A. Pathania
{"title":"CPU-GPU Layer-Switched Low Latency CNN Inference","authors":"Ehsan Aghapour, Dolly Sapra, A. Pimentel, A. Pathania","doi":"10.1109/DSD57027.2022.00051","DOIUrl":"https://doi.org/10.1109/DSD57027.2022.00051","url":null,"abstract":"Convolutional Neural Networks (CNNs) inference on Heterogeneous Multi-Processor System-on-Chips (HMPSoCs) in edge devices represent cutting-edge embedded machine learning. Embedded CPU and GPU within an HMPSoC can both perform inference using CNNs. However, common practice is to run a CNN on the HMPSoC component (CPU or GPU) provides the best performance (lowest latency) for that CNN. CNNs are not monolithic and are composed of several layers of different types. Some of these layers have lower latency on the CPU, while others execute faster on the GPU. In this work, we investigate the reason behind this observation. We also propose an execution of CNN that switches between CPU and GPU at the layer granularity, wherein a CNN layer executes on the component that provides it with the lowest latency. Switching between the CPU and the GPU back and forth mid-inference introduces additional overhead (delay) in the inference. Regardless of overhead, we show in this work that a CPU-GPU layer switched execution results in, on average, having 4.72% lower CNN inference latency on the Khadas VIM 3 board with Amlogic A311D HMPSoC.","PeriodicalId":211723,"journal":{"name":"2022 25th Euromicro Conference on Digital System Design (DSD)","volume":"20 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132600829","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}