JOURNAL ARTICLE

DeepRank: Test Case Prioritization for Deep Neural Networks

Wei LiZhiyi ZhangYifan JianChen LiuZhiqiu Huang

Year: 2023 Journal:   Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering Vol: 2023 Pages: 262-267

Abstract

Deep neural networks (DNNs) have been widely used in safety-critical fields such as autonomous driving and medical diagnosis.However, DNNs are easily disturbed to make wrong decisions, which may lead to loss of life or property.Therefore, it is vital to test DNN adequately.In practice, to reveal the incorrect behavior of DNN and improve its robustness, testers usually need massive labeled data to test and optimize DNN.However, labeling test inputs to detect the correctness of DNN predictions is an expensive and time-consuming task that even affects the efficiency of DNN testing.To relieve the labeling-cost problem, we propose DeepRank, a test case prioritization technique based on cross-entropy loss.The key idea of DeepRank is that the higher the loss value of a test case relative to the DNN, the more likely it is to be mispredicted and the more conducive it is to improve the robustness of the DNN through retraining.Therefore, the cross-entropy loss value can be used for test case prioritization.We experimentally validate our approach on two datasets and three DNNs models.The experimental results demonstrate that DeepRank is significantly better than existing test case prioritization methods regarding fault-revealing capability and retraining effectiveness.

Keywords:
Computer science Robustness (evolution) Prioritization Correctness Deep neural networks Artificial intelligence Cross entropy Machine learning Artificial neural network Retraining Entropy (arrow of time) Pattern recognition (psychology) Engineering Algorithm

Metrics

1
Cited By
0.32
FWCI (Field Weighted Citation Impact)
21
Refs
0.59
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Testing and Debugging Techniques
Physical Sciences →  Computer Science →  Software
Adversarial Robustness in Machine Learning
Physical Sciences →  Computer Science →  Artificial Intelligence
Software Reliability and Analysis Research
Physical Sciences →  Computer Science →  Software

Related Documents

JOURNAL ARTICLE

Test Case Prioritization for Deep Neural Networks

Zhonghao PanShan ZhouJianmin WangJinbo WangJiao JiaYang Feng

Journal:   2022 9th International Conference on Dependable Systems and Their Applications (DSA) Year: 2022 Pages: 624-628
JOURNAL ARTICLE

An Empirical Study on Test Case Prioritization Metrics for Deep Neural Networks

Ying ShiBeibei YinZheng ZhengTiancheng Li

Journal:   2021 IEEE 21st International Conference on Software Quality, Reliability and Security (QRS) Year: 2021 Pages: 157-166
© 2026 ScienceGate Book Chapters — All rights reserved.