Skip to main content

DeepSensitive: A Fuzzing Test for Deep Neural Networks with Sensitive Neurons

  • Conference paper
  • First Online:
Applied Intelligence (ICAI 2023)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 2014))

Included in the following conference series:

  • 487 Accesses

Abstract

Deep learning (DL) systems have exhibited remarkable capabilities in various domains, such as image classification, natural language processing, and recommender systems, thereby establishing themselves as significant contributors to the advancement of software intelligence. Nevertheless, in domains emphasizing security assurance, the reliability and stability of deep learning systems necessitate thorough testing prior to practical implementation. Given the increasing demand for high-quality assurance of DL systems, the field of DL testing has gained significant traction. Researchers have adapted testing techniques and criteria from traditional software testing to deep neural networks, yielding results that enhance the overall security of DL technology. To address the challenge of enriching test samples in DL testing systems and resolving the issue of unintelligibility in samples generated by multiple mutations, we propose an innovative solution called DeepSensitive. DeepSensitive functions as a fuzzy testing tool, leveraging DL interpretable algorithms to identify sensitive neurons within the input layer via the DeepLIFT algorithm. Employing a fuzzy approach, DeepSensitive perturbs these sensitive neurons to generate novel test samples. We conducted evaluations of DeepSensitive using various mainstream image processing datasets and deep learning models, thereby demonstrating its efficient and intuitive capacity for generating test samples.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Chen, C.F.R., Fan, Q., Panda, R.: CrossViT: cross-attention multi-scale vision transformer for image classification. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 357–366 (2021)

    Google Scholar 

  2. Vaswani, A., et al.: Attention is all you need. In: Advances in Neural Information Processing Systems, vol. 30 (2017)

    Google Scholar 

  3. Yurtsever, E., Lambert, J., Carballo, A., Takeda, K.: A survey of autonomous driving: common practices and emerging technologies. IEEE Access 8, 58443–58469 (2020)

    Article  Google Scholar 

  4. Isinkaye, F.O., Folajimi, Y.O., Ojokoh, B.A.: Recommendation systems: principles, methods and evaluation. Egypt. Inf. J. 16(3), 261–273 (2015)

    Google Scholar 

  5. Deep learning market size, share, and trends analysis report by solution (hardware, software), by hardware, by application (image recognition, voice recognition), by end-use, by region, and segment forecasts, 2023 - 2030 (2022). https://www.grandviewresearch.com/industry-analysis/deep-learning-market

  6. Eykholt, K., et al.: Robust physical-world attacks on deep learning visual classification. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1625--1634 (2018)

    Google Scholar 

  7. Ma, L., et al.: DeepGauge: multi-granularity testing criteria for deep learning systems. In: Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering, pp. 120–131 (2018)

    Google Scholar 

  8. Gerasimou, S., Eniser, H.F., Sen, A., Cakan, A.: Importance-driven deep learning system testing. In: 2020 IEEE/ACM 42nd International Conference on Software Engineering (ICSE), pp. 702–713. IEEE (2020)

    Google Scholar 

  9. Shrikumar, A., Greenside, P., Kundaje, A.: Learning important features through propagating activation differences. In: International Conference on Machine Learning, pp. 3145--3153. PMLR (2017)

    Google Scholar 

  10. Pei, K., Cao, Y., Yang, J., Jana, S.: DeepXplore: automated whitebox testing of deep learning systems. In: Proceedings of the 26th Symposium on Operating Systems Principles, pp. 1–18 (2017)

    Google Scholar 

  11. Gopinath, D., Pasareanu, C.S., Wang, K., Zhang, M., Khurshid, S.: Symbolic execution for attribution and attack synthesis in neural networks. In: 2019 IEEE/ACM 41st International Conference on Software Engineering: Companion Proceedings (ICSE-Companion), pp. 282–283. IEEE (2019)

    Google Scholar 

  12. Ma, L., et al.: DeepMutation: mutation testing of deep learning systems. In: 2018 IEEE 29th International Symposium on Software Reliability Engineering (ISSRE), pp. 100–111. IEEE (2018)

    Google Scholar 

  13. Xie, X., et al.: DeepHunter: a coverage-guided fuzz testing framework for deep neural networks. In: Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis, pp. 146–157 (2019)

    Google Scholar 

  14. Gopinath, D., Katz, G., Păsăreanu, C.S., Barrett, C.: DeepSafe: a data-driven approach for assessing robustness of neural networks. In: Lahiri, S., Wang, C. (eds.) Automated Technology for Verification and Analysis. ATVA 2018. Lecture Notes in Computer Science(), vol. 11138, pp. 3–19. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-01090-4_1

  15. Sharma, A., Wehrheim, H.: Testing machine learning algorithms for balanced data usage. In: 2019 12th IEEE Conference on Software Testing, Validation and Verification (ICST), pp. 125–135. IEEE (2019)

    Google Scholar 

  16. Du, X., Xie, X., Li, Y., Ma, L., Liu, Y., Zhao, J.: DeepStellar: model-based quantitative analysis of stateful deep learning systems. In: Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, pp. 477–487 (2019)

    Google Scholar 

  17. Gao, X., Zhai, J., Ma, S., Shen, C., Chen, Y., Wang, Q.: FairNeuron: improving deep neural network fairness with adversary games on selective neurons. In: Proceedings of the 44th International Conference on Software Engineering, pp. 921–933 (2022)

    Google Scholar 

  18. Zhang, X., Zhai, J., Ma, S., Shen, C.: AutoTrainer: an automatic DNN training problem detection and repair system. In: 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE), pp. 359–371. IEEE (2021)

    Google Scholar 

  19. Bach, S., Binder, A., Montavon, G., Klauschen, F., Müller, K.R., Samek, W.: On pixel-wise explanations for non-linear classifier decisions by layer-wise relevance propagation. PLoS ONE 10(7), e0130140 (2015)

    Article  Google Scholar 

  20. Paszke, A., et al.: PyTorch: an imperative style, high-performance deep learning library. In: Advances in Neural Information Processing Systems, vol. 32 (2019)

    Google Scholar 

  21. LeCun, Y.: The MNIST database of handwritten digits (1998). http://yann.lecun.com/exdb/mnist/

  22. Cifar-10 dataset (2021). https://www.cs.toronto.edu/~kriz/cifar.html

  23. LeCun, Y., Bottou, L., Bengio, Y., Haffner, P.: Gradient-based learning applied to document recognition. Proc. IEEE 86(11), 2278–2324 (1998)

    Article  Google Scholar 

  24. Simonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition. arXiv preprint. arXiv:1409.1556 (2014)

Download references

Acknowledgement

Chenhao Lin is the corresponding author. This work is supported by the National Key Research and Development Program of China (2020AAA0107702), the National Natural Science Foundation of China (62006181, 62161160337, 62132011, U21B2018, U20A20177, 62206217), the Shaanxi Province Key Industry Innovation Program (2023-ZDLGY-38, 2021ZDLGY01–02).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chenhao Lin .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Yang, Z., Lin, C., Hu, P., Shen, C. (2024). DeepSensitive: A Fuzzing Test for Deep Neural Networks with Sensitive Neurons. In: Huang, DS., Premaratne, P., Yuan, C. (eds) Applied Intelligence. ICAI 2023. Communications in Computer and Information Science, vol 2014. Springer, Singapore. https://doi.org/10.1007/978-981-97-0903-8_33

Download citation

  • DOI: https://doi.org/10.1007/978-981-97-0903-8_33

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-97-0902-1

  • Online ISBN: 978-981-97-0903-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics