Skip to main content

Bat Echolocation Call Detection and Species Recognition by Transformers with Self-attention

  • Conference paper
  • First Online:
Intelligent Systems and Pattern Recognition (ISPR 2022)

Abstract

Biodiversity is important for several ecosystem services that provide the existential basis for human life. The current decline in biodiversity requires a transformation from manual, periodic assessment to automatic real-time biodiversity monitoring. Bats as one of the most widespread species among terrestrial mammals serve as important bioindicators for the health of ecosystems. Typically, bats are monitored by recording and analyzing their echolocation calls. In this paper, we present a novel approach for detecting bat echolocation calls and recognizing bat species in audio spectrograms. It is based on a transformer neural network architecture and relies on self-attention. Our experiments show that our approach outperforms state-of-the-art approaches for bat echolocation call detection and species recognition on several publicly available data sets. While our bat echolocation call detection approach achieves a performance of up to 90.2% in terms of average precision, our bat species recognition model obtains up to 88.7% accuracy for 14 bat classes occurring in Germany, some of which are difficult to distinguish even for human experts.

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 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight 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.

    https://research.google.com/audioset.

  2. 2.

    https://www.tierstimmenarchiv.de/.

References

  1. Aide, T.M., Corrada-Bravo, C., Campos-Cerqueira, M., Milan, C., Vega, G., Alvarez, R.: Real-time bioacoustics monitoring and automated species identification. PeerJ 1, e103 (2013)

    Google Scholar 

  2. Chen, X., Zhao, J., Chen, Y., Zhou, W., Hughes, A.C.: Automatic standardized processing and identification of tropical bat calls using deep learning approaches. Biol. Conserv. 241, 108269 (2020). https://doi.org/10.1016/j.biocon.2019.108269

  3. Cordonnier, J., Loukas, A., Jaggi, M.: On the relationship between self-attention and convolutional layers. In: 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia (2020)

    Google Scholar 

  4. Cornia, M., Stefanini, M., Baraldi, L., Cucchiara, R.: Meshed-memory transformer for image captioning. In: 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13–19, 2020, pp. 10575–10584. Computer Vision Foundation/IEEE (2020). https://doi.org/10.1109/CVPR42600.2020.01059

  5. Dosovitskiy, A., et al.: An image is worth 16x16 words: transformers for image recognition at scale. In: 9th International Conference on Learning Representations, ICLR 2021, Austria (2021)

    Google Scholar 

  6. Frick, W.F., Kingston, T., Flanders, J.: A review of the major threats and challenges to global bat conservation. Ann. N. Y. Acad. Sci. 1469(1), 5–25 (2020). https://doi.org/10.1111/nyas.14045

  7. Gemmeke, J.F., et al.: Audio set: an ontology and human-labeled dataset for audio events. In: 2017 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 776–780 (2017). https://doi.org/10.1109/ICASSP.2017.7952261

  8. Gong, Y., Chung, Y., Glass, J.R.: AST: audio spectrogram transformer. In: Interspeech 2021, pp. 571–575 (2021). https://doi.org/10.21437/Interspeech.2021-698

  9. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2016). https://doi.org/10.1109/CVPR.2016.90

  10. Jones, G., Jacobs, D.S., Kunz, T.H., Willig, M.R., Racey, P.A.: Carpe noctem: the importance of bats as bioindicators. Endang Species Res. 8, 93–115 (2009). https://doi.org/10.3354/esr00182

  11. Jones, K.E., et al.: Indicator bats program: a system for the global acoustic monitoring of bats. Biodivers. Monit. Conserv. 211–247 (2013). https://doi.org/10.1002/9781118490747.ch10

  12. Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization. In: Bengio, Y., LeCun, Y. (eds.) 3rd International Conference on Learning Representations, 2015, San Diego, CA, USA (2015). http://arxiv.org/abs/1412.6980

  13. Kobayashi, K., Masuda, K., Haga, C., Matsui, T., Fukui, D., Machimura, T.: Development of a species identification system of japanese bats from echolocation calls using convolutional neural networks. Ecol. Inform. 62 (2021). https://doi.org/10.1016/j.ecoinf.2021.101253

  14. Kunz, T.H.: Ecology of Bats. Springer, Boston, MA, 1 edn. (1982). https://doi.org/10.1007/978-1-4613-3421-7

  15. Kunz, T.H., Braun de Torrez, E., Bauer, D., Lobova, T., Fleming, T.H.: Ecosystem services provided by bats. Ann. N. Y. Acad. Sci. 1223(1), 1–38 (2011). https://doi.org/10.1111/j.1749-6632.2011.06004.x

  16. Mac Aodha, O., et al.: Bat detective-deep learning tools for bat acoustic signal detection. PLoS Comput. Biol. 14(3) (2018). https://doi.org/10.1371/journal.pcbi.1005995

  17. Newson, S.E., Evans, H.E., Gillings, S.: A novel citizen science approach for large-scale standardised monitoring of bat activity and distribution, evaluated in eastern England. Biol. Conserv. 191, 38–49 (2015). https://doi.org/10.1016/j.biocon.2015.06.009

  18. Park, D.S., et al.: Specaugment: a simple data augmentation method for automatic speech recognition. Interspeech 2019 (2019). https://doi.org/10.21437/interspeech.2019-2680

  19. Paszke, A., et al.: Automatic differentiation in pytorch. In: NIPS-W (2017)

    Google Scholar 

  20. Paumen, Y., Mälzer, M., Alipek, S., Moll, J., Lüdtke, B., Schauer-Weisshahn, H.: Development and test of a bat calls detection and classification method based on convolutional neural networks. Bioacoustics, 1–12 (2021). https://doi.org/10.1080/09524622.2021.1978863

  21. Roemer, C., Julien, J.F., Bas, Y.: An automatic classifier of bat sonotypes around the world. Methods Ecol. Evol. 101526 (2021). https://doi.org/10.1111/2041-210X.13721

  22. Schwab, E., Pogrebnoj, S., Freund, M., Flossmann, F., Vogl, S., Frommolt, K.H.: Automated bat call classification using deep convolutional neural networks (2021). https://www.researchgate.net/publication/350978565_Automated_Bat_Call_Classification_using_Deep_Convolutional_Neural_Networks

  23. Skiba, R.: Europäische Fledermäuse. Westarp Wissenschaften, Hohenwarsleben (2003)

    Google Scholar 

  24. Tabak, M.A., Murray, K.L., Lombardi, J.A., Bay, K.J.: Automated classification of bat echolocation call recordings with artificial intelligence. Ecol. Inform. 68, 101526 (2022). https://doi.org/10.1016/j.ecoinf.2021.101526

  25. Touvron, H., Cord, M., Douze, M., Massa, F., Sablayrolles, A., Jégou, H.: Training data-efficient image transformers & distillation through attention. In: 38th International Conference on Machine Learning, PMLR 139, pp. 10347–10357 (2021)

    Google Scholar 

  26. Wightman, R.: Pytorch image models (2019). https://github.com/rwightman/pytorch-image-models. https://doi.org/10.5281/zenodo.4414861

  27. Yang, Y.Y., et al.: Torchaudio: building blocks for audio and speech processing. In: IEEE International Conference on Acoustics, Speech, and Signal Processing, Singapore (2022)

    Google Scholar 

  28. Yu, J., Li, J., Yu, Z., Huang, Q.: Multimodal transformer with multi-view visual representation for image captioning. IEEE Trans. Circ. Syst. Video Technol. 30(12), 4467–4480 (2020). https://doi.org/10.1109/TCSVT.2019.2947482

  29. Zualkernan, I., Judas, J., Mahbub, T., Bhagwagar, A., Chand, P.: A tiny CNN architecture for identifying bat species from echolocation calls. In: 2020 IEEE / ITU International Conference on Artificial Intelligence for Good (AI4G), pp. 81–86 (2020). https://doi.org/10.1109/AI4G50087.2020.9311084

Download references

Acknowledgement

This work is funded by the Hessian State Ministry for Higher Education, Research and the Arts (HMWK) (LOEWE Natur 4.0 and hessian.AI Connectom AI4Bats) and the German Academic Exchange Service (DAAD) (Transformation Partnership Program; Project OLIVIA).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hicham Bellafkir .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Bellafkir, H. et al. (2022). Bat Echolocation Call Detection and Species Recognition by Transformers with Self-attention. In: Bennour, A., Ensari, T., Kessentini, Y., Eom, S. (eds) Intelligent Systems and Pattern Recognition. ISPR 2022. Communications in Computer and Information Science, vol 1589. Springer, Cham. https://doi.org/10.1007/978-3-031-08277-1_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-08277-1_16

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-08276-4

  • Online ISBN: 978-3-031-08277-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics