{"title":"Performance of deep neural networks on low-power IoT devices","authors":"Christos Profentzas, M. Almgren, O. Landsiedel","doi":"10.1145/3458473.3458823","DOIUrl":"https://doi.org/10.1145/3458473.3458823","url":null,"abstract":"Advances in deep learning have revolutionized machine learning by solving complex tasks such as image, speech, and text recognition. However, training and inference of deep neural networks are resource-intensive. Recently, researchers made efforts to bring inference to IoT edge and sensor devices which have become the prime data sources nowadays. However, running deep neural networks on low-power IoT devices is challenging due to their resource-constraints in memory, compute power, and energy. This paper presents a benchmark to grasp these trade-offs by evaluating three representative deep learning frameworks: uTensor, TF-Lite-Micro, and CMSIS-NN. Our benchmark reveals significant differences and trade-offs for each framework and its tool-chain: (1) We find that uTensor is the most straightforward framework to use, followed by TF-Micro, and then CMSIS-NN. (2) Our evaluation shows large differences in energy, RAM, and Flash footprints. For example, in terms of energy, CMSIS-NN is the most efficient, followed by TF-Micro and then uTensor, each with a significant gap.","PeriodicalId":163719,"journal":{"name":"Proceedings of the Workshop on Benchmarking Cyber-Physical Systems and Internet of Things","volume":"101 10","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133457044","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}
Alex Yen, Bryse Flowers, Wenshan Luo, N. Nagesh, Peter Tueller, R. Kastner, P. Pannuto
{"title":"A UCSD view on replication and reproducibility for CPS & IoT","authors":"Alex Yen, Bryse Flowers, Wenshan Luo, N. Nagesh, Peter Tueller, R. Kastner, P. Pannuto","doi":"10.1145/3458473.3458821","DOIUrl":"https://doi.org/10.1145/3458473.3458821","url":null,"abstract":"Reproducibility and replicability (R&R) are important for research. Many communities are beginning efforts to reward, incentivize, and highlight projects as a motive to adopt R&R practices. This is clearly a good direction - we should all aim to make our research sound, replicable, and reproducible. Yet, this involves a lot of effort to document, debug, and generally make the systems that we build more usable. Interfacing with the Physical world and building custom Things exacerbates these challenges. Therein lies the dilemma: how does the CPS/IoT community reward and incentivize R&R efforts? This paper looks into the question of R&R in CPS/IoT. We survey efforts in other fields spanning computing to healthcare and highlight similarities and differences to CPS/IoT. We then discuss several exemplar CPS/IoT projects related to UCSD's research and highlight the R&R efforts in these projects, the potential ways that they could be improved, and best practices. We finish with recommendations and insights for R&R tailored to the CPS/IoT community.","PeriodicalId":163719,"journal":{"name":"Proceedings of the Workshop on Benchmarking Cyber-Physical Systems and Internet of Things","volume":"49 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132662730","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":"Automatic energy model generation with MSP430 EnergyTrace","authors":"Daniel Friesel, L. Kaiser, O. Spinczyk","doi":"10.1145/3458473.3458822","DOIUrl":"https://doi.org/10.1145/3458473.3458822","url":null,"abstract":"Professional energy measurement systems are expensive, especially when it comes to systems usable for automated measurements. In exchange, they provide a well-known measurement range, detailed accuracy guarantees, and a computer interface. DIY solutions from researchers have improved the situation considerably, with hardware cost in the $100 range, but are typically not commercially available. We are interested in even more affordable solutions, and examine the capabilities of the \"EnergyTrace\" technology embedded on the TI MSP430FR5994 LaunchPad, which is commercially available for less than $20. Out of the box, we observe a maximum error of 210 μA in the 100 μA to 10 mA range, but no support for automatic model generation. With single-point calibration and a custom synchronization and drift compensation algorithm, we are able to further reduce the error to 53 μA and perform entirely automated measurements and energy model generation on 3.3V MCUs and peripherals with a maximum timestamp error of 0.95 ms.","PeriodicalId":163719,"journal":{"name":"Proceedings of the Workshop on Benchmarking Cyber-Physical Systems and Internet of Things","volume":"76 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126236174","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}
Anna Förster, Thenuka Karunathilake, Jens Dede, A. Udugama
{"title":"Benchmarking data dissemination protocols for opportunistic networks","authors":"Anna Förster, Thenuka Karunathilake, Jens Dede, A. Udugama","doi":"10.1145/3458473.3458819","DOIUrl":"https://doi.org/10.1145/3458473.3458819","url":null,"abstract":"Opportunistic networks rely on intermittent direct contacts between devices to exchange and disseminate information. While the development of data dissemination protocols is still ongoing, their evaluation is particularly challenging and complex. An evaluation usually relies on simulation scenarios and no consensus exists in the community about their setup and parameters. In this paper, we aim to improve the reproducibility and cross-comparability of OppNets data dissemination protocols by defining a benchmark suite with realistic mobility and traffic scenarios, mostly based on real traces. It currently includes 11 scenarios and together with a simulation-as-a-service platform offers a unique tool to foster and ease research in OppNets. First results with sample data dissemination protocols show that no protocol is better than all others in all scenarios, demonstrating the importance of a benchmark.","PeriodicalId":163719,"journal":{"name":"Proceedings of the Workshop on Benchmarking Cyber-Physical Systems and Internet of Things","volume":"112 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124811638","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":"Reproduction of \"evaluating adversarial evasion attacks in the context of wireless communications\" and \"convolutional radio modulation recognition networks\"","authors":"Kyle W. Mcclintick, A. Wyglinski","doi":"10.1145/3458473.3458818","DOIUrl":"https://doi.org/10.1145/3458473.3458818","url":null,"abstract":"In this work, we reproduce several findings from references [1] and [2] which possess the same title. The authors of [2] trained a Convolutional Neural Network (CNN) to classify In-phase/Quadriture (IQ) signals to one of 11 possible modulation classes, while the authors of [1] performed a detailed analysis of the trade-off between disrupting an eavesdropper using the CNN from [2] and maintaining a low Bit Error Rate (BER) in a wireless transmit-receive chain. We found that 6 out of the 11 classes presented in the data set generated by [2] experience significant amounts of multicollinearity, even in zero-noise scenarios, due in part to the relatively small size of the input signals. Additionally, the SNR is computed with an error of approximately 6 dB for the BPSK class, which is an amount that varies for other classes in the data set. Finally, we determine there exists a need for greater variety in the data set channels, dimensions, and oversampling to enable further investigate trade-offs. We found the CNN used in [1] does indeed require dither to generate the BPSK signals reported due to zero-valued gradients being computed for the signals' quadrature components. Alternatively, bias terms may be used, although this significantly impairs training. The energy and SNR issues present in [2] could potentially be mentioned when utilized by [1], since there is a mismatch for both axis, which occurs when reproducing the eavesdropper classifier accuracy plots shown in [1].","PeriodicalId":163719,"journal":{"name":"Proceedings of the Workshop on Benchmarking Cyber-Physical Systems and Internet of Things","volume":"20 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132884033","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":"Performance of support vector regression in correcting UWB ranging measurements under LOS/NLOS conditions","authors":"Michael Stocker, M. Gallacher, C. Boano, K. Römer","doi":"10.1145/3458473.3458820","DOIUrl":"https://doi.org/10.1145/3458473.3458820","url":null,"abstract":"Ultra-wideband technology has recently gained interest due to its inherently fine temporal resolution, which enables precise measurements of the time-of-flight between devices. The accuracy of these measurements depends, among others, on the presence of a free line-of-sight (LOS): in case the latter is partly or fully blocked, the direct path component cannot be accurately identified, leading to large errors in the estimated distance. To cope with this problem, many approaches based on machine learning have been proposed to detect non-line-of-sight (NLOS) conditions and mitigate erroneous ranging measurements. However, the performance of these approaches as a function of various features and different LOS/NLOS conditions has rarely been evaluated on off-the-shelf devices in an exhaustive way. In this work we systematically benchmark the accuracy of error correction models based on support vector regression. To this end, we perform a large experimental campaign on off-the-shelf ultra-wideband devices, in which we collect 35050 ranging measurements in various environments and different LOS conditions. Our analysis of the collected data shows that a detection and mitigation strategy, where measurements are first classified and only corrected if a NLOS condition is detected, can help reducing the root mean square error in NLOS conditions by up to 38%, while preserving the accuracy and precision of measurements in LOS conditions.","PeriodicalId":163719,"journal":{"name":"Proceedings of the Workshop on Benchmarking Cyber-Physical Systems and Internet of Things","volume":"12 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132297667","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 of the Workshop on Benchmarking Cyber-Physical Systems and Internet of Things","authors":"","doi":"10.1145/3458473","DOIUrl":"https://doi.org/10.1145/3458473","url":null,"abstract":"","PeriodicalId":163719,"journal":{"name":"Proceedings of the Workshop on Benchmarking Cyber-Physical Systems and Internet of Things","volume":"160 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132798140","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}