Skip to main content

Real-Time Arabic Digit Spotting with TinyML-Optimized CNNs on Edge Devices

  • Conference paper
  • First Online:
Artificial Intelligence Applications and Innovations (AIAI 2023)

Abstract

TinyML is a rapidly evolving field at the intersection of machine learning and embedded systems. This paper describes and evaluates a TinyML-optimized convolutional neural network (CNN) for real-time digit spotting in the Arabic language when executed on three different computational platforms. The proposed system is designed to recognize a set of Arabic digits from a continuous audio stream in real-time, enabling the development of intelligent voice-activated applications on edge devices.

Our results show that our TinyML-optimized CNN model can achieve 90%–93% inference accuracy, within 0.06–38 ms, while occupying only 19–139 KB of memory. These results demonstrate the feasibility of deploying a CNN-based Arabic digit spotting system on resource-constrained edge devices. They also provide insights into the trade-offs between performance and resource utilization on different hardware platforms. This work has important implications for the development of intelligent voice-activated applications in the Arabic language on edge devices, which enables new opportunities for real-time speech processing at the edge.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 109.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 139.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The dialect spoken in Arab states around the Persian Gulf.

References

  1. TensorFlow Lite for Microcontrollers. https://www.tensorflow.org/lite/microcontrollers

  2. Alalshekmubarak, A., Smith, L.S.: On Improving the Classification Capability of Reservoir Computing for Arabic Speech Recognition. In: Wermter, S., et al. (eds.) ICANN 2014. LNCS, vol. 8681, pp. 225–232. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11179-7_29

  3. Ammari, T., Kaye, J., Tsai, J.Y., Bentley, F.: Music, search, and IoT: How people (really) use voice assistants. ACM Trans. Comput. Hum. Interact. 26(3) (2019). https://doi.org/10.1145/3311956

  4. ARM: ARM NN SDK. https://www.arm.com/products/silicon-ip-cpu/ethos/arm-nn

  5. Cao, K., Liu, Y., Meng, G., Sun, Q.: An overview on edge computing research. IEEE Access 8, 85714–85728 (2020). https://doi.org/10.1109/ACCESS.2020.2991734

    Article  Google Scholar 

  6. Amir, G., et al.: A survey of quantization methods for efficient neural network inference. arXiv preprint arXiv:2103.13630 (2021)

  7. Benoit, J., et al.: Quantization and training of neural networks for efficient integer-arithmetic-only inference. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2704–2713 (2018)

    Google Scholar 

  8. Reddi, J., et al.: Widening Access to Applied Machine Learning With TinyML. Harvard Data Sci. Rev. 4 (2022)

    Google Scholar 

  9. Keras: BayesianOptimization Tuner

    Google Scholar 

  10. Microsoft: Embedded Learning Library (2020). https://microsoft.github.io/ELL/

  11. Novac, P.-E., et al.: Quantization and deployment of deep neural networks on microcontrollers. Sensors 21(9), 2984 (2021). https://doi.org/10.3390/s21092984. https://arxiv.org/abs/2105.13331

  12. Saha, S.S., Sandha, S.S., Srivastava, M.: Machine learning for microcontroller-class hardware: A review. IEEE Sens. J. 22(22), 21362–21390 (2022). https://doi.org/10.1109/jsen.2022.3210773

    Article  Google Scholar 

  13. Sithara, A., Thomas, A., Mathew, D.: Study of MFCC and IHC feature extraction methods with probabilistic acoustic models for speaker biometric applications. Proc. Comput. Sci. 143, 267–276 (2018)

    Article  Google Scholar 

  14. Soro, S.: TinyML for Ubiquitous Edge AI (2021). arXiv preprint arxiv.org/2102.01255https://doi.org/10.48550/ARXIV.2102.01255

  15. STMicroelectronics: Artificial Intelligence Ecosystem for STM32. https://www.st.com/content/stcom/en/ecosystems/artificial-intelligence-ecosystem-stm32.html

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yasmine Abu Adla .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 IFIP International Federation for Information Processing

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Abu Adla, Y., Saghir, M.A.R., Awad, M. (2023). Real-Time Arabic Digit Spotting with TinyML-Optimized CNNs on Edge Devices. In: Maglogiannis, I., Iliadis, L., MacIntyre, J., Dominguez, M. (eds) Artificial Intelligence Applications and Innovations. AIAI 2023. IFIP Advances in Information and Communication Technology, vol 675. Springer, Cham. https://doi.org/10.1007/978-3-031-34111-3_44

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-34111-3_44

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-34110-6

  • Online ISBN: 978-3-031-34111-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics