Test Case Prioritization for DNNs via Neural Collapse Instability
Chunyu Liu, Mingyuan Li, Yang Li, Wenmin Li, Fei Gao, Tengfei Tu, Su-Juan Qin
Key points
From the paper's conclusion- Existing test case prioritization techniques often rely on single-checkpoint confidence signals derived from output probabilities.
Abstract
With the widespread deployment of deep neural networks (DNNs) in safety-critical domains, reducing the cost of model validation under limited testing budgets has become increasingly important. Existing test case prioritization techniques often rely on single-checkpoint confidence signals derived from output probabilities. However, DNNs can be confidently wrong, and the confidence margin between the predicted and competing classes is frequently small, which weakens early fault discovery. To address this limitation, we propose a N eural- C ollapse- I nspired P rioritization ( NCIP ) framework that replaces absolute confidence with cross-checkpoint prediction variability in the terminal training regime, where model geometry becomes highly structured. NCIP introduces two key components. First, it selects an NC-guided representative subset of training checkpoints using an equiangularity score of classifier weights, quantified as the standard deviation of pairwise cosine similarities among class weight vectors. Second, it prioritizes test inputs by their prediction variability across the selected checkpoints, surfacing boundary-adjacent and failure-prone samples that are unstable under checkpoint-induced decision boundary shifts. Extensive experiments across multiple datasets and architectures show that NCIP achieves strong performance in early fault discovery compared with competitive baselines, with 1.5%–16.6% RAUC-ALL gains and 4.9%–20.6% RAUC-500 gains under the same testing budget. NCIP further attains the best average performance across all dataset-model pairs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- When Does Perturbation Consistency Add Information Beyond Softmax Confidence? Theory and Evidence for the Decision Consistency FrameworkarXiv · 2026
- A Canary in the Neural Mine: Catching an Image Classifier's Silent, Confident FailuresarXiv · 2026
- RiskBlend: A Multi-Signal Framework for Test Input Prioritization in Machine Learning Regression TestingarXiv · 2026
- FuzzInsight: Navigating the Efficiency-Effectiveness Trade-off in Coverage-Guided DNN FuzzingarXiv · 2026
- Test Case Selection for Deep Neural Networks: A Replication Study on LLMs for Code (Replicability Study)Proceedings of the ACM on Software Engineering · 2026
- Detecting noisy labels using checkpoint ensemblesNeural Computing and Applications · 2026