Can Confidence Calibration Transfer Across Camera Elevations?
Abstract
Does camera elevation supply useful information for calibrating an object classifier’s confidence? We tested whether knowing the camera’s elevation improved these probabilities on photographs of previously unseen Small NORB objects. A ridge classifier learned category scores on 20 toys. Five different toys supplied calibration observations, and 25 official held-out toys supplied 4,050 test images. One scale applied across camera angles reduced log loss from 1.11839 to 0.47017. Three scales fitted to different elevation bands reduced it to 0.47001. The band-specific rule helped at 30–40° and increased loss in the other two bands. All rules classified 88.05% of the images correctly. Most of the improvement came from recalibrating the scores once, and the camera angle mainly changed which views benefited.
References
- Barbu, A.; Mayo, D.; Alverio, J.; Luo, W.; Wang, C.; Gutfreund, D.; Tenenbaum, J.; Katz, B. (2019). ObjectNet: A large-scale bias-controlled dataset for pushing the limits of object recognition models. Advances in Neural Information Processing Systems, 32. https://papers.nips.cc/paper/2019/hash/97af07a14cacba681feacf3012730892-Abstract.html
- Bates, S.; Hastie, T.; Tibshirani, R. (2024). Cross-Validation: What Does It Estimate and How Well Does It Do It? Journal of the American Statistical Association, 119(546), 1434–1445. https://doi.org/10.1080/01621459.2023.2197686
- Brier, G. W. (1950). Verification of forecasts expressed in terms of probability. Monthly Weather Review, 78(1), 1–3. https://journals.ametsoc.org/view/journals/mwre/78/1/1520-0493_1950_078_0001_vofeit_2_0_co_2.xml
- Dalal, N.; Triggs, B. (2005). Histograms of Oriented Gradients for Human Detection. 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05), 1, 886–893. https://doi.org/10.1109/cvpr.2005.177
- Dawid, A. P. (1982). The Well-Calibrated Bayesian. Journal of the American Statistical Association, 77(379), 605–610. https://doi.org/10.1080/01621459.1982.10477856
- Gneiting, T.; Raftery, A. E. (2007). Strictly Proper Scoring Rules, Prediction, and Estimation. Journal of the American Statistical Association, 102(477), 359–378. https://doi.org/10.1198/016214506000001437
- Guo, C.; Pleiss, G.; Sun, Y.; Weinberger, K. Q. (2017). On Calibration of Modern Neural Networks. Proceedings of Machine Learning Research, 70, 1321–1330. ['https://proceedings.mlr.press/v70/guo17a.html']
- Hoerl, A. E.; Kennard, R. W. (1970). Ridge Regression: Biased Estimation for Nonorthogonal Problems. Technometrics, 12(1), 55–67. https://doi.org/10.1080/00401706.1970.10488634
- Huang, F. J.; LeCun, Y. (2006). Large-scale learning with SVM and convolutional nets for generic object categorization. 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR), 1, 284–291. https://yann.lecun.org/exdb/publis/pdf/huang-lecun-06.pdf
- Hébert-Johnson, Ú.; Kim, M.; Reingold, O.; Rothblum, G. (2018). Multicalibration: Calibration for the (Computationally-Identifiable) Masses. Proceedings of Machine Learning Research, 80, 1939–1948. ['https://proceedings.mlr.press/v80/hebert-johnson18a.html']
- Hüllermeier, E.; Waegeman, W. (2021). Aleatoric and epistemic uncertainty in machine learning: an introduction to concepts and methods. Machine Learning, 110(3), 457–506. https://doi.org/10.1007/s10994-021-05946-3
- Koh, P. W.; Sagawa, S.; Marklund, H.; Xie, S. M.; Zhang, M.; Balsubramani, A.; Hu, W.; Yasunaga, M.; Phillips, R. L.; Gao, I.; et al. (2021). WILDS: A Benchmark of in-the-Wild Distribution Shifts. Proceedings of Machine Learning Research, 139, 5637–5664. ['https://proceedings.mlr.press/v139/koh21a.html']
- Kull, M.; Silva Filho, T.; Flach, P. (2017). Beta calibration: a well-founded and easily implemented improvement on logistic calibration for binary classifiers. Proceedings of Machine Learning Research, 54, 623–631. ['https://proceedings.mlr.press/v54/kull17a.html']
- Kull, M.; Perello-Nieto, M.; Kängsepp, M.; Silva Filho, T.; Song, H.; Flach, P. (2019). Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibration. Advances in Neural Information Processing Systems, 32. https://proceedings.neurips.cc/paper/2019/file/8ca01ea920679a0fe3728441494041b9-Paper.pdf
- Kumar, A.; Liang, P.; Ma, T. (2019). Verified Uncertainty Calibration. arXiv. ['https://arxiv.org/abs/1909.10155']
- LeCun, Y.; Huang, F. J.; Bottou, L. (2004). Learning methods for generic object recognition with invariance to pose and lighting. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR), 2, 97–104. https://doi.org/10.1109/cvpr.2004.1315150
- Leibe, B.; Schiele, B. (2003). Analyzing appearance and contour based methods for object categorization. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR), 2, II–409–15. https://doi.org/10.1109/cvpr.2003.1211497
- Murphy, A. H. (1973). A New Vector Partition of the Probability Score. Journal of Applied Meteorology, 12(4), 595–600. https://journals.ametsoc.org/view/journals/apme/12/4/1520-0450_1973_012_0595_anvpot_2_0_co_2.xml
- Niculescu-Mizil, A.; Caruana, R. (2005). Predicting good probabilities with supervised learning. Proceedings of the 22nd International Conference on Machine Learning, 625–632. https://ctsilva.github.io/2025-VisML-CSE/refs/Niculescu_Mizil_Caruana_2005_Predicting_Good_Probabilities_Supervised_Learning.pdf
- Nixon, J.; Dusenberry, M.; Jerfel, G.; Nguyen, T.; Liu, J.; Zhang, L.; Tran, D. (2019). Measuring Calibration in Deep Learning. arXiv. ['https://arxiv.org/abs/1904.01685']
- Ovadia, Y.; Fertig, E.; Ren, J.; Nado, Z.; Sculley, D.; Nowozin, S.; Dillon, J. V.; Lakshminarayanan, B.; Snoek, J. (2019). Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shift. arXiv. ['https://arxiv.org/abs/1906.02530']
- Platt, J. C. (1999). Probabilistic outputs for support vector machines and comparisons to regularized likelihood methods. Advances in Large Margin Classifiers, 61–74. https://home.cs.colorado.edu/~mozer/Teaching/syllabi/6622/papers/Platt1999.pdf
- Roberts, D. R.; Bahn, V.; Ciuti, S.; Boyce, M. S.; Elith, J.; Guillera‐Arroita, G.; Hauenstein, S.; Lahoz‐Monfort, J. J.; Schröder, B.; Thuiller, W.; et al. (2017). Cross‐validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography, 40(8), 913–929. https://doi.org/10.1111/ecog.02881
- Roelofs, R.; Cain, N.; Shlens, J.; Mozer, M. C. (2022). Mitigating Bias in Calibration Error Estimation. Proceedings of Machine Learning Research, 151, 4036–4054. ['https://proceedings.mlr.press/v151/roelofs22a.html']
- Su, H.; Qi, C. R.; Li, Y.; Guibas, L. J. (2015). Render for CNN: Viewpoint Estimation in Images Using CNNs Trained with Rendered 3D Model Views. Proceedings of the IEEE International Conference on Computer Vision, 2686–2694. https://openaccess.thecvf.com/content_iccv_2015/html/Su_Render_for_CNN_ICCV_2015_paper.html
- Tomani, C.; Gruber, S.; Erdem, M. E.; Cremers, D.; Buettner, F. (2021). Post-hoc Uncertainty Calibration for Domain Drift Scenarios. 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 10119–10127. https://doi.org/10.1109/cvpr46437.2021.00999
- Vaicenavicius, J.; Widmann, D.; Andersson, C.; Lindsten, F.; Roll, J.; Schön, T. (2019). Evaluating model calibration in classification. Proceedings of Machine Learning Research, 89, 3459–3467. ['https://proceedings.mlr.press/v89/vaicenavicius19a.html']
- Xiang, Y.; Mottaghi, R.; Savarese, S. (2014). Beyond PASCAL: A benchmark for 3D object detection in the wild. IEEE Winter Conference on Applications of Computer Vision, 75–82. https://doi.org/10.1109/wacv.2014.6836101
- Zadrozny, B.; Elkan, C. (2002). Transforming classifier scores into accurate multiclass probability estimates. Proceedings of the Eighth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 694–699. https://www.cs.columbia.edu/~djhsu/ML/handouts/zadrozny2002kdd.pdf
- Jin, T.; Kan, D.; Yin, S.; Zhao, R. (2024). A Study on Multi-Perspective Master-Slave Monitoring and Visual Recognition of Control Panels Based on Mixed Reality. 2024 10th International Conference on Systems and Informatics (ICSAI), 1–5. https://doi.org/10.1109/icsai65059.2024.10893733