skip to main content
10.1145/3576842.3582387acmconferencesArticle/Chapter ViewAbstractPublication PagesiotdiConference Proceedingsconference-collections
research-article

LightEQ: On-Device Earthquake Detection with Embedded Machine Learning

Published:09 May 2023Publication History

ABSTRACT

The detection of earthquakes in seismological time series is central to observational seismology. Generally, seismic sensors passively record data and transmit it to the cloud or edge for integration, storage, and processing. However, transmitting raw data through the network is not an option for sensors deployed in harsh environments like underwater, underground, or in rural areas with limited connectivity. This paper introduces an efficient data processing pipeline and a set of lightweight deep-learning models for seismic event detection deployable on tiny devices such as microcontrollers. We conduct an extensive hyperparameter search and devise three lightweight models. We evaluate our models using the Stanford Earthquake Dataset and compare them with a basic STA/LTA detection algorithm and the state-of-the-art machine learning models, i.e., CRED, EQtransformer, and LCANet. For example, our smallest model consumes 193 kB of RAM and has an F1 score of 0.99 with just 29k parameters. Compared to CRED, which has an F1 score of 0.98 and 293k parameters, we reduce the number of parameters by a factor of 10. Deployed on Cortex M4 microcontrollers, the smallest version of LightEQ-NN has an inference time of 932 ms for 1 minute of raw data, an energy consumption of 5.86 mJ, and a flash requirement of 593 kB. Our results show that resource-efficient, on-device machine learning for seismological time series data is feasible and enables new approaches to seismic monitoring and early warning applications.

References

  1. James Bergstra, Rémi Bardenet, Yoshua Bengio, and Balázs Kégl. 2011. Algorithms for hyper-parameter optimization. Advances in neural information processing systems 24 (2011).Google ScholarGoogle Scholar
  2. Jörg Bialas and Ernst R Flueh. 1999. Ocean bottom seismometers. Sea Technol 40, 4 (1999), 41–46.Google ScholarGoogle Scholar
  3. Ronald Newbold Bracewell and Ronald N Bracewell. 1986. The Fourier transform and its applications. Vol. 31999. McGraw-Hill New York.Google ScholarGoogle Scholar
  4. Tai-Lin Chin, Chin-Ya Huang, Shan-Hsiang Shen, You-Cheng Tsai, Yu Hen Hu, and Yih-Min Wu. 2019. Learn to detect: Improving the accuracy of earthquake detection. IEEE Transactions on Geoscience and Remote Sensing 57, 11 (2019), 8867–8878.Google ScholarGoogle ScholarCross RefCross Ref
  5. Yoni Choukroun, Eli Kravchik, Fan Yang, and Pavel Kisilev. 2019. Low-bit quantization of neural networks for efficient inference. In 2019 IEEE/CVF International Conference on Computer Vision Workshop (ICCVW). IEEE, 3009–3018.Google ScholarGoogle ScholarCross RefCross Ref
  6. Robert David, Jared Duke, Advait Jain, Vijay Janapa Reddi, Nat Jeffries, Jian Li, Nick Kreeger, Ian Nappier, Meghna Natraj, Tiezhen Wang, 2021. Tensorflow lite micro: Embedded machine learning for tinyml systems. Proceedings of Machine Learning and Systems 3 (2021), 800–811.Google ScholarGoogle Scholar
  7. Gregory Giuliani, Hy Dao, Andrea De Bono, Bruno Chatenoux, Karin Allenbach, Pierric De Laborie, Denisa Rodila, Nikos Alexandris, and Pascal Peduzzi. 2017. Live Monitoring of Earth Surface (LiMES): A framework for monitoring environmental changes from Earth Observations. Remote Sensing of Environment 202 (2017), 222–233.Google ScholarGoogle ScholarCross RefCross Ref
  8. Daniel Griffin and Jae Lim. 1984. Signal estimation from modified short-time Fourier transform. IEEE Transactions on acoustics, speech, and signal processing 32, 2 (1984), 236–243.Google ScholarGoogle ScholarCross RefCross Ref
  9. Andrew Howard, Mark Sandler, Grace Chu, Liang-Chieh Chen, Bo Chen, Mingxing Tan, Weijun Wang, Yukun Zhu, Ruoming Pang, Vijay Vasudevan, 2019. Searching for mobilenetv3. In Proceedings of the IEEE/CVF international conference on computer vision. 1314–1324.Google ScholarGoogle ScholarCross RefCross Ref
  10. Forrest N Iandola, Song Han, Matthew W Moskewicz, Khalid Ashraf, William J Dally, and Kurt Keutzer. 2016. SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and < 0.5 MB model size. arXiv preprint arXiv:1602.07360 (2016).Google ScholarGoogle Scholar
  11. Benoit Jacob, Skirmantas Kligys, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam, and Dmitry Kalenichenko. 2018. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In Proceedings of the IEEE conference on computer vision and pattern recognition. 2704–2713.Google ScholarGoogle ScholarCross RefCross Ref
  12. Benoit Jacob, Skirmantas Kligys, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam, and Dmitry Kalenichenko. 2018. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In Proceedings of the IEEE conference on computer vision and pattern recognition. 2704–2713.Google ScholarGoogle ScholarCross RefCross Ref
  13. Shengming Jiang. 2019. Marine internet for internetworking in oceans: A tutorial. Future Internet 11, 7 (2019), 146.Google ScholarGoogle ScholarCross RefCross Ref
  14. Supriya Kapur, Asit Mishra, and Debbie Marr. 2017. Low precision rnns: Quantizing rnns without losing accuracy. arXiv preprint arXiv:1710.07706 (2017).Google ScholarGoogle Scholar
  15. Fazle Karim, Somshubra Majumdar, Houshang Darabi, and Shun Chen. 2017. LSTM fully convolutional networks for time series classification. IEEE access 6 (2017), 1662–1669.Google ScholarGoogle Scholar
  16. Qingkai Kong, Young-Woo Kwon, Louis Schreierz, Steven Allen, Richard Allen, and Jennifer Strauss. 2015. Smartphone-based networks for earthquake detection. In 2015 15th international conference on innovations for community services (i4cs). IEEE, 1–8.Google ScholarGoogle ScholarCross RefCross Ref
  17. Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. 2012. 2012 AlexNet. Adv. Neural Inf. Process. Syst (2012), 1–9.Google ScholarGoogle Scholar
  18. Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. 2015. Deep learning. nature 521, 7553 (2015), 436–444.Google ScholarGoogle Scholar
  19. Jongseong Lim, Sunghun Jung, Chan JeGal, Gwanghoon Jung, Jung Ho Yoo, Jin Kyu Gahm, and Giltae Song. 2022. LEQNet: Light Earthquake Deep Neural Network for Earthquake Detection and Phase Picking. Frontiers in Earth Science 10 (2022), 848237.Google ScholarGoogle ScholarCross RefCross Ref
  20. Han Liu and Jian-zhong ZHANG. 2014. STA/LTA algorithm analysis and improvement of Microseismic signal automatic detection. Progress in Geophysics 29, 4 (2014), 1708–1714.Google ScholarGoogle Scholar
  21. JH Luetgert, DH Oppenheimer, and J Hamilton. 2010. The netquakes project-research-quality seismic data transmitted via the internet from citizen-hosted instruments. In AGU Fall Meeting Abstracts, Vol. 2010. S51E–03.Google ScholarGoogle Scholar
  22. S Mostafa Mousavi, William L Ellsworth, Weiqiang Zhu, Lindsay Y Chuang, and Gregory C Beroza. 2020. Earthquake transformer—an attentive deep-learning model for simultaneous earthquake detection and phase picking. Nature communications 11, 1 (2020), 1–12.Google ScholarGoogle Scholar
  23. S Mostafa Mousavi, Stephen P Horton, Charles A Langston, and Borhan Samei. 2016. Seismic features and automatic discrimination of deep and shallow induced-microearthquakes using neural network and logistic regression. Geophysical Journal International 207, 1 (2016), 29–46.Google ScholarGoogle ScholarCross RefCross Ref
  24. Seyed Mostafa Mousavi and Charles Langston. 2016. Fast and novel microseismic detection using time-frequency analysis. In SEG Technical Program Expanded Abstracts 2016. Society of Exploration Geophysicists, 2632–2636.Google ScholarGoogle Scholar
  25. S Mostafa Mousavi, Yixiao Sheng, Weiqiang Zhu, and Gregory C Beroza. 2019. STanford EArthquake Dataset (STEAD): A global data set of seismic signals for AI. IEEE Access 7 (2019), 179464–179476.Google ScholarGoogle ScholarCross RefCross Ref
  26. S Mostafa Mousavi, Weiqiang Zhu, Yixiao Sheng, and Gregory C Beroza. 2019. CRED: A deep residual network of convolutional and recurrent units for earthquake signal detection. Scientific reports 9, 1 (2019), 1–14.Google ScholarGoogle Scholar
  27. Keiron O’Shea and Ryan Nash. 2015. An introduction to convolutional neural networks. arXiv preprint arXiv:1511.08458 (2015).Google ScholarGoogle Scholar
  28. Thibaut Perol, Michaël Gharbi, and Marine Denolle. 2018. Convolutional neural network for earthquake detection and location. Science Advances 4, 2 (2018), e1700578.Google ScholarGoogle ScholarCross RefCross Ref
  29. Omar M Saad and Yangkang Chen. 2020. Earthquake detection and P-wave arrival time picking using capsule neural network. IEEE Transactions on Geoscience and Remote Sensing 59, 7 (2020), 6234–6243.Google ScholarGoogle ScholarCross RefCross Ref
  30. Sandra Sendra, Jaime Lloret, Jose Miguel Jimenez, and Lorena Parra. 2015. Underwater acoustic modems. IEEE Sensors Journal 16, 11 (2015), 4063–4071.Google ScholarGoogle ScholarCross RefCross Ref
  31. BK Sharma, Amod Kumar, and VM Murthy. 2010. Evaluation of seismic events detection algorithms. Journal of the Geological Society of India 75, 3 (2010), 533–538.Google ScholarGoogle ScholarCross RefCross Ref
  32. Alex Sherstinsky. 2020. Fundamentals of recurrent neural network (RNN) and long short-term memory (LSTM) network. Physica D: Nonlinear Phenomena 404 (2020), 132306.Google ScholarGoogle ScholarCross RefCross Ref
  33. Amadej Trnkoczy. 2009. Understanding and parameter setting of STA/LTA trigger algorithm. In New Manual of Seismological Observatory Practice (NMSOP). Deutsches GeoForschungsZentrum GFZ, 1–20.Google ScholarGoogle Scholar
  34. David A Van Dyk and Xiao-Li Meng. 2001. The art of data augmentation. Journal of Computational and Graphical Statistics 10, 1 (2001), 1–50.Google ScholarGoogle ScholarCross RefCross Ref
  35. Yue Wu, Youzuo Lin, Zheng Zhou, David Chas Bolton, Ji Liu, and Paul Johnson. 2018. DeepDetect: A cascaded region-based densely connected network for seismic event detection. IEEE Transactions on Geoscience and Remote Sensing 57, 1 (2018), 62–75.Google ScholarGoogle ScholarCross RefCross Ref
  36. Clara E Yoon, Ossian O’Reilly, Karianne J Bergen, and Gregory C Beroza. 2015. Earthquake detection through computationally efficient similarity search. Science advances 1, 11 (2015), e1501057.Google ScholarGoogle Scholar
  37. Yu Zhao, Pan Deng, Junting Liu, Mulan Wang, and Jiafu Wan. 2022. LCANet: Lightweight Context-Aware Attention Networks for Earthquake Detection and Phase-Picking on IoT Edge Devices. IEEE Systems Journal 16, 3 (2022), 4024–4035. https://doi.org/10.1109/JSYST.2021.3114689Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. LightEQ: On-Device Earthquake Detection with Embedded Machine Learning

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          IoTDI '23: Proceedings of the 8th ACM/IEEE Conference on Internet of Things Design and Implementation
          May 2023
          514 pages
          ISBN:9798400700378
          DOI:10.1145/3576842

          Copyright © 2023 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 9 May 2023

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article
          • Research
          • Refereed limited
        • Article Metrics

          • Downloads (Last 12 months)180
          • Downloads (Last 6 weeks)13

          Other Metrics

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader

        HTML Format

        View this article in HTML Format .

        View HTML Format