Lune

ASE2024Top-tier venue

Prioritizing Test Inputs for DNNs Using Training Dynamics

Jian Shen, Zhong Li, Minxue Pan, Xuandong Li

Abstract

Deep Neural Network (DNN) testing is one of the most widelyused techniques to guarantee the quality of DNNs. However, DNN testing typically requires the ground truth of test inputs, which is time-consuming and labor-intensive to obtain. To relieve the labeling-cost problem of DNN testing, we propose TDPR, a test input prioritization technique for DNNs based on training dynamics. The key insight of TDPR is that bug-revealing samples exhibit different learning trajectories compared to normal ones. Based on this, TDPR constructs a learning trajectory for each test input, which characterizes the evolving learning behavior of DNNs. Then, TDPR extracts features from these learning trajectories and applies learning-to-rank techniques to build a ranking model, which can intelligently utilize the generated features to prioritize test inputs. To evaluate TDPR, we conduct extensive experiments on 8 diverse subjects, considering various domains of test inputs, different DNN architectures, and diverse types of test inputs. The evaluation results demonstrate that TDPR outperforms 7 baseline approaches in both prioritizing test inputs and guiding the retraining of DNNs.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Test Case Prioritization for DNNs via Neural Collapse Instability cites DeepGini: prioritizing massive tests to enhance the robustness of deep neural networks
  • Test Case Prioritization for DNNs via Neural Collapse Instability cites Prioritizing Test Inputs for Deep Neural Networks via Mutation Analysis
  • Prioritizing Test Inputs for Deep Neural Networks via Mutation Analysis cites DeepGini: prioritizing massive tests to enhance the robustness of deep neural networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Test Case Prioritization for DNNs via Neural Collapse InstabilityChunyu Liu, Mingyuan Li, Yang Li, Wenmin Li et al.ISSTA 2026

Builds on10

  1. Gradient Starvation: A Learning Proclivity in Neural NetworksMohammad Pezeshki, Sékou-Oumar Kaba, Yoshua Bengio, Aaron C. Courville et al.NeurIPS 2021 · 378 citations
  2. DeepGini: prioritizing massive tests to enhance the robustness of deep neural networksYang Feng, Qingkai Shi, Xinyu Gao, Jun Wan et al.ISSTA 2020 · 206 citations
  3. Deep Learning Through the Lens of Example DifficultyRobert J. N. Baldock, Hartmut Maennel, Behnam NeyshaburNeurIPS 2021 · 204 citations
  4. Prioritizing Test Inputs for Deep Neural Networks via Mutation AnalysisZan Wang, Hanmo You, Junjie Chen, Yingyi Zhang et al.ICSE 2021 · 117 citations
  5. Software visualization and deep transfer learning for effective software defect predictionJinyin Chen, Keke Hu, Yue Yu, Zhuangzhi Chen et al.ICSE 2020 · 89 citations

Related papers

  1. CertPri: Certifiable Prioritization for Deep Neural Networks via Movement Cost in Feature SpaceHaibin Zheng, Jinyin Chen, Haibo JinASE 2023 · 11 citations
  2. TestRank: Bringing Order into Unlabeled Test Instances for Deep Learning TasksYu Li, Min Li, Qiuxia Lai, Yannan Liu et al.NeurIPS 2021 · 36 citations
  3. Test Selection for Deep Neural Networks using Meta-Models with Uncertainty MetricsDemet Demir, Aysu Betin Can, Elif SürerISSTA 2024 · 3 citations
  4. In Defense of Simple Techniques for Neural Network Test Case SelectionShenglin Bao, Chaofeng Sha, Bihuan Chen, Xin Peng et al.ISSTA 2023 · 9 citations
  5. Distance-Aware Test Input Selection for Deep Neural NetworksZhong Li, Zhengfeng Xu, Ruihua Ji, Minxue Pan et al.ISSTA 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines