# Predicting Performance of Object Detection Models in Electron Microscopy Using Random Forests

arXiv: https://arxiv.org/abs/2501.08465 · HTML: https://mlsanity.com/paper/2501.08465/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 5 of its 23 references that are in the map.
- First posted on arXiv 14 Jan 2025.

## Builds on (most cited first, 5 of 5)

- [Generalized Out-of-Distribution Detection: A Survey](https://mlsanity.com/paper/2110.11334/) (2021)
- [Overview: Computer vision and machine learning for microstructural characterization and analysis](https://mlsanity.com/paper/2005.14260/) (2020)
- [A Deep Learning Based Automatic Defect Analysis Framework for In-situ TEM Ion Irradiations](https://mlsanity.com/paper/2108.08882/) (2021)
- [Multi defect detection and analysis of electron microscopy images with deep learning](https://mlsanity.com/paper/2108.08883/) (2021)
- [Learning-based Defect Recognition for Quasi-Periodic Microscope Images](https://mlsanity.com/paper/2007.01309/) (2020)

## Abstract (arXiv)

Quantifying prediction uncertainty when applying object detection models to new, unlabeled datasets is critical in applied machine learning. This study introduces an approach to estimate the performance of deep learning-based object detection models for quantifying defects in transmission electron microscopy (TEM) images, focusing on detecting irradiation-induced cavities in TEM images of metal alloys. We developed a random forest regression model that predicts the object detection F1 score, a statistical metric used to evaluate the ability to accurately locate and classify objects of interest. The random forest model uses features extracted from the predictions of the object detection model whose uncertainty is being quantified, enabling fast prediction on new, unlabeled images. The mean absolute error (MAE) for predicting F1 of the trained model on test data is 0.09, and the R2 score is 0.77, indicating there is a significant correlation between the random forest regression model predicted and true defect detection F1 scores. The approach is shown to be robust across three distinct TEM image datasets with varying imaging and material domains. Our approach enables users to estimate the reliability of a defect detection and segmentation model predictions and assess the applicability of the model to their specific datasets, providing valuable information about possible domain shifts and whether the model needs to be fine-tuned or trained on additional data to be maximally effective for the desired use case.
