Preview Based View Selection and Cost Aware Stopping for Budgeted Inspection
Downloads
Abstract
Budgeted inspection combines evidence acquisition with a decision about when to stop. This manuscript proposes AVID, a partially observed decision architecture, and evaluates a simpler committee-based realization on 1,797 handwritten-digit images. Classes {3,8,9} represent a proxy defect label, and six deterministic image transforms represent views. Across twenty repeated splits, the preview-based selector reports single-view AUC 0.952 versus 0.864 for random order. Its candidate scoring uses actual unacquired view features, giving it information unavailable to the non-preview baselines. Cost-aware stopping uses 1.65 acquired views per decision versus 3.90 for a posterior-odds threshold baseline, but has lower reported net utility: −0.058 versus +0.036 under correct=+1, wrong=−5, and acquisition cost 0.15. Always acquiring six views has accuracy 0.9392 versus 0.8650 with stopping. The result therefore documents a preview-assisted selection and accuracy–cost trade-off on a digit proxy, not validated industrial acquisition efficiency. Reinforcement learning, attention-based aggregation, asymmetric error costs, and formal Wald guarantees are not executed by this realization.
Keywords
Active vision Industrial inspection Anomaly detection Epistemic uncertainty Reinforcement learning Optimal stoppingReferences (37)
- [1] Bajcsy, R. (1988). Active perception. Proceedings of the IEEE, 76(8), 966–1005. https://doi.org/10.1109/5.5968
- [2] Aloimonos, J., Weiss, I., & Bandyopadhyay, A. (1988). Active vision. International journal of computer vision, 1(4), 333–356. https://doi.org/10.1007/BF00133571
- [3] Bergmann, P., Fauser, M., Sattlegger, D., & Steger, C. (2019). MVTec ad—a comprehensive real-world dataset for unsupervised anomaly detection. 2019 IEEE/CVF conference on computer vision and pattern recognition (CVPR) (pp. 9584–9592). IEEE. https://doi.org/10.1109/CVPR.2019.00982
- [4] Akcay, S., Atapour-Abarghouei, A., & Breckon, T. P. (2018). Ganomaly: semi-supervised anomaly detection via adversarial training. Asian conference on computer vision (pp. 622–637). Springer. https://arxiv.org/abs/1805.06725
- [5] Defard, T., Setkov, A., Loesch, A., & Audigier, R. (2021). Padim: a patch distribution modeling framework for anomaly detection and localization. International conference on pattern recognition (pp. 475–489). Springer. https://arxiv.org/abs/2011.08785
- [6] Roth, K., Pemula, L., Zepeda, J., Schölkopf, B., Brox, T., & Gehler, P. (2022). Towards total recall in industrial anomaly detection. 2022 IEEE/CVF conference on computer vision and pattern recognition (CVPR) (pp. 14298–14308). IEEE. https://doi.org/10.1109/cvpr52688.2022.01392
- [7] Ruff, L., Kauffmann, J. R., Vandermeulen, R. A., Montavon, G., Samek, W., Kloft, M., … & Müller, K.-R. (2021). A unifying review of deep and shallow anomaly detection. Proceedings of the IEEE, 109(5), 756–795. https://doi.org/10.1109/jproc.2021.3052449
- [8] Lakshminarayanan, B., Pritzel, A., & Blundell, C. (2017). Simple and scalable predictive uncertainty estimation using deep ensembles. Advances in neural information processing systems, 30. https://doi.org/10.48550/arXiv.1612.01474
- [9] Gal, Y., & Ghahramani, Z. (2016). Dropout as a bayesian approximation: representing model uncertainty in deep learning. International conference on machine learning (pp. 1050–1059). PMLR. https://doi.org/10.48550/arXiv.1506.02142
- [10] Guo, C., Pleiss, G., Sun, Y., & Weinberger, K. Q. (2017). On calibration of modern neural networks. International conference on machine learning (pp. 1321–1330). PMLR. https://proceedings.mlr.press/v70/guo17a.html
- [11] Mnih, V., Heess, N., Graves, A., & Kavukcuoglu, K. (2014). Recurrent models of visual attention (Vol. 27). https://arxiv.org/abs/1406.6247
- [12] Ba, J., Mnih, V., & Kavukcuoglu, K. (2014). Multiple object recognition with visual attention. https://doi.org/10.48550/arXiv.1412.7755
- [13] Mnih, V., Kavukcuoglu, K., Silver, D., Rusu, A. A., Veness, J., & Bellemare, M. G. (2015). Human-level control through deep reinforcement learning. Nature, 518(7540), 529–533. https://doi.org/10.1038/nature14236
- [14] Schulman, J., Wolski, F., Dhariwal, P., Radford, A., & Klimov, O. (2017). Proximal policy optimization algorithms. https://arxiv.org/abs/1707.06347
- [15] Wald, A. (1992). Sequential tests of statistical hypotheses. In Breakthroughs in statistics: Foundations and basic theory (pp. 256–298). Springer. https://doi.org/10.1214/aoms/1177731118
- [16] Lindley, D. V. (1956). On a measure of the information provided by an experiment. The annals of mathematical statistics, 27(4), 986–1005. https://doi.org/10.1214/aoms/1177728069
- [17] Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., … & Polosukhin, I. (2017). Attention is all you need. Advances in neural information processing systems (Vol. 2017-Decem, pp. 5999–6009). NIPS. https://arxiv.org/abs/1706.03762
- [18] Settles, B. (2009). Active learning literature survey. https://burrsettles.com/pub/settles.activelearning.pdf
- [19] Bergmann, P., Batzner, K., Fauser, M., Sattlegger, D., & Steger, C. (2021). The MVTec anomaly detection dataset: a comprehensive real-world dataset for unsupervised anomaly detection. International journal of computer vision, 129(4), 1038–1059. https://doi.org/10.1007/s11263-020-01400-4
- [20] Bergmann, P., Batzner, K., Fauser, M., Sattlegger, D., & Steger, C. (2022). Beyond dents and scratches: Logical constraints in unsupervised anomaly detection and localization. International journal of computer vision, 130(4), 947–969. https://doi.org/10.1007/s11263-022-01578-9%0A%0A
- [21] He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 770–778). IEEE. https://doi.org/10.1109/cvpr.2016.90
- [22] Simonyan, K., & Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. https://arxiv.org/abs/1409.1556
- [23] Hendrycks, D., & Dietterich, T. (2019). Benchmarking neural network robustness to common corruptions and perturbations. https://arxiv.org/abs/1903.12261
- [24] Kaelbling, L. P., Littman, M. L., & Cassandra, A. R. (1998). Planning and acting in partially observable stochastic domains. Artificial intelligence, 101(1–2), 99–134. https://doi.org/10.1016/s0004-3702(98)00023-x
- [25] Haarnoja, T., Zhou, A., Abbeel, P., & Levine, S. (2018). Soft actor-critic: off-policy maximum entropy deep reinforcement learning with a stochastic actor. International conference on machine learning (pp. 1861–1870). PMLR. https://proceedings.mlr.press/v80/haarnoja18b
- [26] Auer, P., Cesa-Bianchi, N., & Fischer, P. (2002). Finite-time analysis of the multiarmed bandit problem. Machine learning, 47(2), 235–256. https://doi.org/10.1023/a:1013689704352
- [27] Pathak, D., Agrawal, P., Efros, A. A., & Darrell, T. (2017). Curiosity-driven exploration by self-supervised prediction. International conference on machine learning (pp. 2778–2787). PMLR. https://proceedings.mlr.press/v70/pathak17a.html?ref=https://githubhelp.com
- [28] Burda, Y., Edwards, H., Storkey, A., & Klimov, O. (2018). Exploration by random network distillation. https://doi.org/10.48550/arXiv.1810.12894
- [29] Elkan, C. (2001). The foundations of cost-sensitive learning [presentation]. International joint conference on artificial intelligence (Vol. 17, pp. 973–978). https://cseweb.ucsd.edu/~elkan/rescale.pdf
- [30] Jaderberg, M., Simonyan, K., & Zisserman, A. (2015). Spatial transformer networks. https://arxiv.org/abs/1506.02025
- [31] Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., & Grisel, O. (2011). Scikit-learn: Machine learning in Python. The journal of machine learning research, 12, 2825–2830. https://jmlr.org/papers/v12/pedregosa11a.html
- [32] Alpaydin, E., & Kaynak, C. (1998). Optical recognition of handwritten digits. https://doi.org/10.24432/C50P49
- [33] Breiman, L. (1996). Bagging predictors. Machine learning, 24(2), 123–140. https://doi.org/10.1023/a:1018054314350
- [34] Wilcoxon, F. (1945). Individual comparisons by ranking methods. Biometrics bulletin, 1(6), 80–83. https://doi.org/10.2307/3001968
- [35] Holm, S. (1979). A simple sequentially rejective multiple test procedure. Scandinavian journal of statistics, 6(2), 65–70. https://www.jstor.org/stable/4615733
- [36] Friedman, M. (1937). The use of ranks to avoid the assumption of normality implicit in the analysis of variance. Journal of the American statistical association, 32, 675–701. https://doi.org/10.1080/01621459.1937.10503522
- [37] Demšar, J. (2006). Statistical comparisons of classifiers over multiple data sets. Journal of machine learning research, 7(1), 1–30. http://www.jmlr.org/papers/volume7/demsar06a/demsar06a.pdf