A Transfer Learning and Data Augmentation Approach for Classifying Field Images of Granite Residual Slope Soils

Granite residual and slope-wash soils are important disaster-prone geological bodies in the hilly and mountainous areas of Hunan Province, China. Their engineering classification has long relied on manual visual inspection and laboratory testing, which is inefficient and subjective. In this study, an automatic classification method based on deep learning image recognition is proposed for granite residual and slope-wash soils in the mountainous areas of Hunan Province. First, a three-class primary classification scheme was established, comprising residual clay (RNC), residual sandy clay (RNSC), and residual gravelly clay (RNGC), based primarily on the gravel content of particles larger than 2 mm (RNC < 5%, RNSC 5–20%, RNGC > 20%). Second, 7678 geotechnical test records from 21 counties in Hunan Province were collected, and classification labels were assigned through a strategy combining manual verification and automatic inference using Random Forest (5-fold cross-validation macro F1 = 0.913). From approximately 10,096 original field images, 3380 pure soil image patches were retained after segmentation and screening. A dataset of 43,940 samples was then generated through two-stage preprocessing (including denoising and illumination correction) and 13-fold data augmentation. A CNN image classification model was constructed based on a ResNet18 backbone network pre-trained on ImageNet. On the independent test set (6591 images), the primary classification accuracy reached 91.46%, with a macro F1-score of 0.9128; the per-class F1-scores for RNC, RNSC, and RNGC were 0.921, 0.885, and 0.933, respectively. Grad-CAM visualization analysis demonstrated that the model’s attention was primarily focused on soil particle distribution regions rather than non-soil background areas, confirming the effective learning of mixed-grain features. The study shows that the combined application of transfer learning and 13-fold data augmentation can significantly improve classification performance under limited sample size conditions (an improvement of 15.33 percentage points compared to the baseline of 76.13%), demonstrating promising potential for engineering applications.

Authors

Institutions

Publication Details

Journal
Algorithms
Published
2026-09-04
DOI
https://doi.org/10.3390/a19090755
Primary Topic
Soil Geostatistics and Mapping
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Transfer Learning and Data Augmentation Approach for Classifying Field Images of Granite Residual Slope Soils

Tengfei Yao, Zhou Xin, Jian Ou, Wei Yin et al.
Algorithms
Soil Geostatistics and Mapping
article

A Transfer Learning and Data Augmentation Approach for Classifying Field Images of Granite Residual Slope Soils

Tengfei Yao, Zhou Xin, Jian Ou, Wei Yin, Zuohui Qin, Huimin Liang, Can Wang
article en

Abstract

Granite residual and slope-wash soils are important disaster-prone geological bodies in the hilly and mountainous areas of Hunan Province, China. Their engineering classification has long relied on manual visual inspection and laboratory testing, which is inefficient and subjective. In this study, an automatic classification method based on deep learning image recognition is proposed for granite residual and slope-wash soils in the mountainous areas of Hunan Province. First, a three-class primary classification scheme was established, comprising residual clay (RNC), residual sandy clay (RNSC), and residual gravelly clay (RNGC), based primarily on the gravel content of particles larger than 2 mm (RNC < 5%, RNSC 5–20%, RNGC > 20%). Second, 7678 geotechnical test records from 21 counties in Hunan Province were collected, and classification labels were assigned through a strategy combining manual verification and automatic inference using Random Forest (5-fold cross-validation macro F1 = 0.913). From approximately 10,096 original field images, 3380 pure soil image patches were retained after segmentation and screening. A dataset of 43,940 samples was then generated through two-stage preprocessing (including denoising and illumination correction) and 13-fold data augmentation. A CNN image classification model was constructed based on a ResNet18 backbone network pre-trained on ImageNet. On the independent test set (6591 images), the primary classification accuracy reached 91.46%, with a macro F1-score of 0.9128; the per-class F1-scores for RNC, RNSC, and RNGC were 0.921, 0.885, and 0.933, respectively. Grad-CAM visualization analysis demonstrated that the model’s attention was primarily focused on soil particle distribution regions rather than non-soil background areas, confirming the effective learning of mixed-grain features. The study shows that the combined application of transfer learning and 13-fold data augmentation can significantly improve classification performance under limited sample size conditions (an improvement of 15.33 percentage points compared to the baseline of 76.13%), demonstrating promising potential for engineering applications.

AlgorithmsVol. 19(9)
Central South University (CN), China Nonferrous Metals Changsha Investigation Design Institute (CN)
Natural Science Foundation of Hainan Province
Climate action
Openalex Percentile: Top 18%
Soil Geostatistics and Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.