AdaStop Optimizes DNN Testing with Cost-Aware Early Stopping.

Bonan Shen, Wei-Jung Huang, Xin Liu, Jiazhou Gao, Tao Ning· July 8, 2026 View original

▶ The 2-minute explainer

Summary

This paper introduces AdaStop, a framework for Deep Neural Network (DNN) testing that formulates testing as a cost-benefit decision process. AdaStop estimates the marginal fault discovery rate and stops labeling when it falls below a cost-value threshold, enabling significant fault discovery with a fraction of the labeling budget.

Testing deep neural networks (DNNs) typically focuses on identifying inputs likely to reveal faults within a predetermined labeling budget. However, setting this budget is challenging; too little testing risks missing critical failures, while excessive testing incurs unnecessary costs. This research addresses the DNN testing "stopping problem" by framing it as a cost-benefit decision. The proposed framework, named AdaStop, models the testing process where labeling an input incurs a cost, and discovering a fault yields a specific value. AdaStop continuously estimates the marginal rate at which new faults are discovered during testing. The system then intelligently halts the labeling process when this estimated fault discovery rate drops below a predefined threshold, which is calculated as the ratio of labeling cost to fault value. Experiments across various datasets, architectures, and selection strategies demonstrate AdaStop's efficiency, showing that it can uncover 65-84% of faults using only 9-31% of the total labeling budget.

Why it matters

Professionals in AI development and quality assurance can significantly optimize their DNN testing processes, reducing labeling costs and accelerating deployment cycles without compromising fault detection capabilities.

How to implement this in your domain

  1. 1Integrate AdaStop's cost-aware early stopping mechanism into your DNN testing pipelines.
  2. 2Quantify the cost of labeling and the value of discovering a fault for your specific applications.
  3. 3Benchmark AdaStop against current fixed-budget testing strategies to demonstrate cost savings and fault coverage.
  4. 4Train QA and MLOps teams on dynamic test selection and stopping criteria.

Who benefits

Software DevelopmentAutomotiveHealthcareFinanceAI/ML Platforms

Key takeaways

  • DNN testing often struggles with optimal labeling budget allocation.
  • AdaStop frames testing as a cost-benefit decision process.
  • It estimates marginal fault discovery rate and stops testing when inefficient.
  • AdaStop can find most faults with a significantly reduced labeling budget.

Original post by Bonan Shen, Wei-Jung Huang, Xin Liu, Jiazhou Gao, Tao Ning

"arXiv:2607.05461v1 Announce Type: new Abstract: 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 failure…"

View on X

Originally posted by Bonan Shen, Wei-Jung Huang, Xin Liu, Jiazhou Gao, Tao Ning on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses