Lune

ISSTA2023Top-tier venue

In Defense of Simple Techniques for Neural Network Test Case Selection

Shenglin Bao, Chaofeng Sha, Bihuan Chen, Xin Peng, Wenyun Zhao

Abstract

Although deep learning (DL) software has been pervasive in various applications, the brittleness of deep neural networks (DNN) hinders their deployment in many tasks especially high-stake ones. To mitigate the risk accompanied with DL software fault, a variety of DNN testing techniques have been proposed such as test case selection. Among those test case selection or prioritization methods, the uncertainty-based ones such as DeepGini have demonstrated their effectiveness in finding DNN's faults. Recently, TestRank, a learning based test ranking method has shown their out-performance over simple uncertainty-based test selection methods. However, this is achieved with a more complicated design which needs to train a graph convolutional network and a multi-layer Perceptron. In this paper, we propose a novel and lightweight DNN test selection method to enhance the effectiveness of existing simple ones. Besides the DNN model's uncertainty on test case itself, we take into account model's uncertainty on its neighbors. This could diversify the selected test cases and improve the effectiveness of existing uncertainty-based test selection methods. Extensive experiments on 5 datasets demonstrate the effectiveness of our approach.

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.

3 top-tier papers have 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 Towards Evaluating the Robustness of Neural Networks
  • 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 FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature Selection
  • DeepGini: prioritizing massive tests to enhance the robustness of deep neural networks cites Towards Evaluating the Robustness of Neural Networks
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature Selection cites DeepGini: prioritizing massive tests to enhance the robustness of deep neural networks
  • On the Evaluation of Capability Estimation Methods for Large Language Models 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 papers3

  1. Test Case Prioritization for DNNs via Neural Collapse InstabilityChunyu Liu, Mingyuan Li, Yang Li, Wenmin Li et al.ISSTA 2026
  2. FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature SelectionJialuo Chen, Jingyi Wang, Xiyue Zhang, Youcheng Sun et al.ASE 2024
  3. On the Evaluation of Capability Estimation Methods for Large Language ModelsQiang Hu, Jin Wen, Yao Zhang, Maxime Cordy et al.AAAI 2026

Builds on11

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
  3. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  4. 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
  5. Deep Learning Through the Lens of Example DifficultyRobert J. N. Baldock, Hartmut Maennel, Behnam NeyshaburNeurIPS 2021 · 204 citations

Related papers

  1. TestRank: Bringing Order into Unlabeled Test Instances for Deep Learning TasksYu Li, Min Li, Qiuxia Lai, Yannan Liu et al.NeurIPS 2021 · 36 citations
  2. RobOT: Robustness-Oriented Testing for Deep Learning SystemsJingyi Wang, Jialuo Chen, Youcheng Sun, Xingjun Ma et al.ICSE 2021 · 62 citations
  3. Simple techniques work surprisingly well for neural network test prioritization and active learning (replicability study)Michael Weiss, Paolo TonellaISSTA 2022 · 50 citations
  4. Test Selection for Deep Neural Networks using Meta-Models with Uncertainty MetricsDemet Demir, Aysu Betin Can, Elif SürerISSTA 2024 · 3 citations
  5. Prioritizing Test Inputs for Deep Neural Networks via Mutation AnalysisZan Wang, Hanmo You, Junjie Chen, Yingyi Zhang et al.ICSE 2021 · 117 citations
Dusk over the sea between two cliffs drawn in fine vertical lines