Julien Maitre, Arnaud L. Back, Kevin Bouchard, L. Paul Bedard
{"title":"An advanced deep learning framework for mineral grain identification","authors":"Julien Maitre, Arnaud L. Back, Kevin Bouchard, L. Paul Bedard","doi":"10.1016/j.acags.2026.100415","DOIUrl":null,"url":null,"abstract":"<div><div>Automatic identification of mineral grains from unconsolidated sediments is a critical step in mineral exploration, environmental assessment, and engineering geology, yet it remains a time-consuming and error-prone task when performed manually. This paper presents an end-to-end deep learning framework that addresses both the segmentation and classification of individual mineral grains from high-resolution photomicrographic mosaics acquired under plane-polarized Annular Light (AL). Grain isolation is achieved through the Segment Anything Model 2 (SAM 2), combined with a set of geometric filtering rules designed to eliminate incorrect and redundant segments. Individual grain images are subsequently classified using six pre-trained architectures (VGG-19 with batch normalization, ResNet-101 and ResNet-152, DenseNet-161, ResNeXt-101-32x8d, and ViT-B-16) adapted to our task via transfer learning and fine-tuning. The dataset comprises 8 654 grain images covering 24 mineral species, representing, to the best of our knowledge, the largest number of mineral classes addressed in a single deep learning study in this field. Among the evaluated architectures, fine-tuned ViT-B-16 achieves the highest mean grain-level classification accuracy (0.954 ± 0.006), under the individual-grain partitioning protocol, significantly outperforming all five CNN-based architectures in paired statistical comparisons (Holm-adjusted <span><math><mrow><mi>p</mi><mo><</mo><mn>0.01</mn></mrow></math></span>), while achieving a top-3 accuracy of 0.981 ± 0.005. An independently evaluated mixed-mineral mosaic containing 170 reference grains was additionally used to assess heterogeneous-input performance. Of these grains, 154 were retained for classification. Conditional classification accuracy on the retained grains was 0.734 <span><math><mo>±</mo></math></span> 0.032, while the strict end-to-end identification rate relative to all 170 reference grains was 0.665 <span><math><mo>±</mo></math></span> 0.029. These results demonstrate strong classification performance for held-out grains under the controlled acquisition conditions of the present study, while the lower mixed-mosaic end-to-end performance highlights the additional difficulty of heterogeneous-input processing. Broader generalization to independent physical samples remains to be evaluated.</div></div>","PeriodicalId":33804,"journal":{"name":"Applied Computing and Geosciences","volume":"32 ","pages":"Article 100415"},"PeriodicalIF":4.0000,"publicationDate":"2026-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied Computing and Geosciences","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2590197426000996","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/10/10 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
Automatic identification of mineral grains from unconsolidated sediments is a critical step in mineral exploration, environmental assessment, and engineering geology, yet it remains a time-consuming and error-prone task when performed manually. This paper presents an end-to-end deep learning framework that addresses both the segmentation and classification of individual mineral grains from high-resolution photomicrographic mosaics acquired under plane-polarized Annular Light (AL). Grain isolation is achieved through the Segment Anything Model 2 (SAM 2), combined with a set of geometric filtering rules designed to eliminate incorrect and redundant segments. Individual grain images are subsequently classified using six pre-trained architectures (VGG-19 with batch normalization, ResNet-101 and ResNet-152, DenseNet-161, ResNeXt-101-32x8d, and ViT-B-16) adapted to our task via transfer learning and fine-tuning. The dataset comprises 8 654 grain images covering 24 mineral species, representing, to the best of our knowledge, the largest number of mineral classes addressed in a single deep learning study in this field. Among the evaluated architectures, fine-tuned ViT-B-16 achieves the highest mean grain-level classification accuracy (0.954 ± 0.006), under the individual-grain partitioning protocol, significantly outperforming all five CNN-based architectures in paired statistical comparisons (Holm-adjusted ), while achieving a top-3 accuracy of 0.981 ± 0.005. An independently evaluated mixed-mineral mosaic containing 170 reference grains was additionally used to assess heterogeneous-input performance. Of these grains, 154 were retained for classification. Conditional classification accuracy on the retained grains was 0.734 0.032, while the strict end-to-end identification rate relative to all 170 reference grains was 0.665 0.029. These results demonstrate strong classification performance for held-out grains under the controlled acquisition conditions of the present study, while the lower mixed-mosaic end-to-end performance highlights the additional difficulty of heterogeneous-input processing. Broader generalization to independent physical samples remains to be evaluated.