Existing methods for testing deep neural networks (DNNs) primarily prioritize test inputs likely to reveal model faults under a fixed labeling budget. In practice, choosing that budget is difficult: too little testing misses failures, while too much incurs unnecessary labeling costs. This work studies the stopping problem in DNN testing. We formulate testing as a cost–benefit decision process in which labeling an input incurs cost and discovering a fault yields value . Based on this formulation, we introduce , a framework that estimates the marginal fault discovery rate during testing and stops labeling when the estimated rate falls below the threshold . Experiments across multiple datasets, architectures, and selection strategies show that – of faults can be discovered using only – of the labeling budget.

生成讲解博客的中文版本

生成AI智能校验的中文版本