Smart Audio Sensors in the Internet of Things Edge for Anomaly Detection

Everyday objects are becoming smart enough to directly connect to other nearby and remote objects and systems. These objects increasingly interact with machine learning applications that perform feature extraction and model inference in the cloud. However, this approach poses several challenges due to latency, privacy, and dependency on network connectivity between data producers and consumers. To alleviate these limitations, computation should be moved as much as possible towards the IoT edge, that is on gateways, if not directly on data producers. In this paper, we propose a design framework for smart audio sensors able to record and pre-process raw audio streams, before wirelessly transmitting the computed audio features to a modular IoT gateway. In this paper, an anomaly detection algorithm executed as a micro-service is capable of analyzing the received features, hence detecting audio anomalies in real-time. First, to assess the effectiveness of the proposed solution, we deployed a real smart environment showcase. More in detail, we adopted two different anomaly detection algorithms, namely Elliptic Envelope and Isolation Forest, that were purposely trained and deployed on an affordable IoT gateway to detect anomalous sound events happening in an office environment. Then, we numerically compared both the deployments, in terms of end-to-end latency and gateway CPU load, also deriving some ideal capacity bounds.

[1]  Geoffrey E. Hinton,et al.  Reducing the Dimensionality of Data with Neural Networks , 2006, Science.

[2]  Massimo Vecchio,et al.  Learn by Examples How to Link the Internet of Things and the Cloud Computing Paradigms: A Fully Working Proof of Concept , 2015, 2015 3rd International Conference on Future Internet of Things and Cloud.

[3]  Jasmin Kevric,et al.  An effective combining classifier approach using tree algorithms for network intrusion detection , 2017, Neural Computing and Applications.

[4]  T. Kobayashi,et al.  Smart audio sensor on anomaly respiration detection using FLAC features , 2012, 2012 IEEE Sensors Applications Symposium Proceedings.

[5]  Joan Claudi Socoró,et al.  An Anomalous Noise Events Detector for Dynamic Road Traffic Noise Mapping in Real-Life Urban and Suburban Environments , 2017, Sensors.

[6]  Mazin S. Yousif,et al.  Microservices , 2016, IEEE Cloud Comput..

[7]  Seiichi Uchida,et al.  A Comparative Evaluation of Unsupervised Anomaly Detection Algorithms for Multivariate Data , 2016, PloS one.

[8]  Jeffrey O. Kephart,et al.  The Vision of Autonomic Computing , 2003, Computer.

[9]  Xiaojin Zhu,et al.  Introduction to Semi-Supervised Learning , 2009, Synthesis Lectures on Artificial Intelligence and Machine Learning.

[10]  Mohamed S. Kamel,et al.  A distributed sensor management for large-scale IoT indoor acoustic surveillance , 2018, Future Gener. Comput. Syst..

[11]  Defeng Wang,et al.  Structured One-Class Classification , 2006, IEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics).

[12]  Aboul Ella Hassanien,et al.  Comparison of classification techniques applied for network intrusion detection and classification , 2017, J. Appl. Log..

[13]  Antonio Pescapè,et al.  Integration of Cloud computing and Internet of Things: A survey , 2016, Future Gener. Comput. Syst..

[14]  Marimuthu Palaniswami,et al.  Real-Time Urban Microclimate Analysis Using Internet of Things , 2018, IEEE Internet of Things Journal.

[15]  Sven Schade,et al.  A domain-independent methodology to analyze IoT data streams in real-time. A proof of concept implementation for anomaly detection from environmental data , 2017, Int. J. Digit. Earth.

[16]  Marimuthu Palaniswami,et al.  Fog-Empowered Anomaly Detection in IoT Using Hyperellipsoidal Clustering , 2017, IEEE Internet of Things Journal.

[17]  Ankit Shah,et al.  DCASE2017 Challenge Setup: Tasks, Datasets and Baseline System , 2017, DCASE.

[18]  Shikha Agrawal,et al.  Survey on Anomaly Detection using Data Mining Techniques , 2015, KES.

[19]  Yu-Lin He,et al.  Fuzziness based semi-supervised learning approach for intrusion detection system , 2017, Inf. Sci..

[20]  Tao Zhang,et al.  Fog and IoT: An Overview of Research Opportunities , 2016, IEEE Internet of Things Journal.

[21]  Francesc Alías,et al.  homeSound: Real-Time Audio Event Detection Based on High Performance Computing for Behaviour and Surveillance Remote Monitoring , 2017, Sensors.

[22]  Gugulothu Narsimha,et al.  CLAPP: A self constructing feature clustering approach for anomaly detection , 2017, Future Gener. Comput. Syst..

[23]  Kevin Ashton,et al.  That ‘Internet of Things’ Thing , 1999 .

[24]  Zhi-Hua Zhou,et al.  Isolation Forest , 2008, 2008 Eighth IEEE International Conference on Data Mining.

[25]  Karl Andersson,et al.  A novel anomaly detection algorithm for sensor data under uncertainty , 2016, Soft Computing.

[26]  E. B. Newman,et al.  A Scale for the Measurement of the Psychological Magnitude Pitch , 1937 .

[27]  Yan Zhang,et al.  Mobile Edge Computing: A Survey , 2018, IEEE Internet of Things Journal.

[28]  Mahadev Satyanarayanan,et al.  The Emergence of Edge Computing , 2017, Computer.

[29]  Marimuthu Palaniswami,et al.  Ellipsoidal neighbourhood outlier factor for distributed anomaly detection in resource constrained networks , 2014, Pattern Recognit..

[30]  Danai Koutra,et al.  Graph based anomaly detection and description: a survey , 2014, Data Mining and Knowledge Discovery.

[31]  Roch H. Glitho,et al.  A Comprehensive Survey on Fog Computing: State-of-the-Art and Research Challenges , 2017, IEEE Communications Surveys & Tutorials.

[32]  Aidong Men,et al.  A Hybrid Semi-Supervised Anomaly Detection Model for High-Dimensional Data , 2017, Comput. Intell. Neurosci..

[33]  Roberto Togneri,et al.  Random forest classification based acoustic event detection utilizing contextual-information and bottleneck features , 2018, Pattern Recognit..

[34]  Christopher Leckie,et al.  High-dimensional and large-scale anomaly detection using a linear one-class SVM with deep learning , 2016, Pattern Recognit..

[35]  P. Rousseeuw,et al.  A fast algorithm for the minimum covariance determinant estimator , 1999 .

[36]  Annamaria Mesaros,et al.  Metrics for Polyphonic Sound Event Detection , 2016 .

[37]  Fei Tony Liu,et al.  Isolation-Based Anomaly Detection , 2012, TKDD.

[38]  Francesco Marcelloni,et al.  Adaptive Lossless Entropy Compressors for Tiny IoT Devices , 2014, IEEE Transactions on Wireless Communications.

[39]  Christos G. Cassandras,et al.  Smart Cities as Cyber-Physical Social Systems , 2016 .

[40]  Jianhua Ma,et al.  Introduction to the IEEE CIS TC on Smart World (SWTC) [Society Briefs] , 2018, IEEE Comput. Intell. Mag..

[41]  Bruno Volckaert,et al.  Anomaly detection for Smart City applications over 5G low power wide area networks , 2018, NOMS 2018 - 2018 IEEE/IFIP Network Operations and Management Symposium.

[42]  Shahram Sarkani,et al.  A network intrusion detection system based on a Hidden Naïve Bayes multiclass classifier , 2012, Expert Syst. Appl..

[43]  Sangtae Ha,et al.  Clarifying Fog Computing and Networking: 10 Questions and Answers , 2017, IEEE Communications Magazine.

[44]  Haiquan Zhao,et al.  Distributed Online One-Class Support Vector Machine for Anomaly Detection Over Networks , 2019, IEEE Transactions on Cybernetics.

[45]  Klaus Moessner,et al.  Smart Cities via Data Aggregation , 2014, Wirel. Pers. Commun..

[46]  Danh Le Phuoc,et al.  Enabling IoT Ecosystems through Platform Interoperability , 2017, IEEE Software.

[47]  Daniel Sánchez,et al.  Anomaly detection using fuzzy association rules , 2014, Int. J. Electron. Secur. Digit. Forensics.

[48]  Athanasios V. Vasilakos,et al.  Fog Computing for Sustainable Smart Cities , 2017, ArXiv.

[49]  Nancy Chinchor,et al.  MUC-4 evaluation metrics , 1992, MUC.

[50]  VARUN CHANDOLA,et al.  Anomaly detection: A survey , 2009, CSUR.

[51]  Zhu Wang,et al.  From the internet of things to embedded intelligence , 2013, World Wide Web.

[52]  Daniel P. W. Ellis,et al.  A Discriminative Model for Polyphonic Piano Transcription , 2007, EURASIP J. Adv. Signal Process..

[53]  Zengyou He,et al.  A Frequent Pattern Discovery Method for Outlier Detection , 2004, WAIM.

[54]  Badraddin Alturki,et al.  A hybrid approach for data analytics for internet of things , 2017, IOT.