Being confident in confidence scores: calibration in deep learning models for camera trap image sequences
Résumé
In ecological studies, machine learning models are increasingly being used for the automatic processing of camera trap images. Although this automation facilitates and accelerates the identification step, the results of these models may lack interpretability and their immediate applicability to ecological downstream tasks (e.g. occupancy estimation) remains questionable. In particular, little is known about their calibration, a property that allows confidence scores to be interpreted as probabilities that model's predictions are true. Using a large and diverse European camera trap dataset, we investigate whether deep learning models for species classification in camera trap images are well calibrated. Additionally, as camera traps are often configured to take multiple photos of the same event, we also explore the calibration of predictions aggregated across sequences of images. Finally, we study the effect and the practicality of a post-hoc calibration method, i.e. temperature scaling, for predictions made at image and sequence levels. Based on five established models and three independent test sets, we show that averaging the logits over the sequence, selecting an appropriate architecture, and optionally using temperature scaling can produce well-calibrated models. Our findings have clear implication for, for instance, the calculation of error rates or the selection of confidence score thresholds in ecological studies making use of artificial intelligence models.
Origine | Fichiers éditeurs autorisés sur une archive ouverte |
---|