XTrail-ID: An Explainable AI Human Footprint Trail Identification on Soil Substrate Using Unsupervised Machine Learning from UAV Imagery
Wazha Mmereki, Rodrigo S. Jamisola, Zoe C. Jewell, Tinao Petso, Oduetse Matsebe, Sky K. Alibhai
This paper investigates human–AI collaboration through explainable AI where we interpret the results of barefoot print clustering using unsupervised machine learning. This can be used to identify the number of individuals from barefoot prints on the ground as a tool in forensics or anti-poaching. A self-supervised vision transformer, DINOv2, is used to automatically extract feature embeddings from localized barefoot-print regions to identify trails belonging to an individual on soil substrate. Furthermore, we introduce an Embedding Spatial Attribution Module (ESAM) to generate spatial attribution heatmaps, enabling visualization of discriminative regions that contribute to individual-specific trail identification and improving model explainability. The proposed method is named XTrail-ID, an explainable human footprint trail identification framework with two variants, OBB-XTrail-ID (oriented bounding box-based), and SEG-XTrail-ID (segmentation-based). We quantify embedding similarity using three complementary metrics: cosine similarity, Pearson correlation coefficient, and Spearman rank correlation. Twenty adults (ten males, ten females) participated, with a total of 1000 trail images extracted from UAV imagery. SEG-XTrail-ID using cosine similarity yielded the highest performance, with (3.21) discriminability and (94.2%) accuracy, while OBB-XTrail-ID using cosine similarity achieved (2.54) discriminability and (91.5%) accuracy. In addition, the latter exhibited reduced consistency in footprint grouping when more than three individuals were present within a single frame.