journal article·2026-04-22Open access

A SMOTE–ViT Framework for Advanced Soil Classification on a Self-Generated Geotechnical Image Database

Atousa Zohouri Rad, Ahmet Topal, Burcu Tunga, Müge Balkaya

Applied Sciences· Volume 16· Issue 9

Abstract

Accurate soil type classification is fundamental to geotechnical engineering, yet traditional laboratory methods are often time consuming and labor intensive. This study investigates the potential of a Transformer-based deep learning framework for the automated classification of complex soil compositions. An image database for geotechnical analysis is constructed using six distinct geotechnical samples comprising gravel, sand, silt, and clay systematically blended into 80 ternary mixtures. To address the inherent class imbalances in the multi-component dataset, the Synthetic Minority Oversampling Technique (SMOTE) is employed, ensuring robust representation across all categories. The proposed framework utilizes a Vision Transformer (ViT) architecture, leveraging its self-attention mechanism to capture both intricate textural patterns and long-range structural dependencies within the soil matrices. Experimental results demonstrate that the SMOTE–ViT pipeline achieved an overall accuracy of 95.83%, with high precision and recall across diverse ternary compositions. This interdisciplinary approach provides a scalable and high-precision alternative for soil characterization, offering significant potential for real-time decision-making in geotechnical investigation workflows.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Soil Geostatistics and Mapping · Mineral Processing and Grinding · Electrokinetic Soil Remediation Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Mathematics Engineering, Faculty of Science and Letters, İstanbul Technical University, 34469 Maslak, İstanbul, Türkiye

Department of Civil Engineering, Faculty of Civil Engineering, İstanbul Technical University, 34469 Maslak, İstanbul, Türkiye

Funding

İstanbul Technical University

References (28)

Show source-provided references
1. Artificial intelligence transformations in geotechnics: Progress, challenges and future enablers10.1016/j.compgeo.2025.107604 ↗
2. Zhao, Y., Liu, Y., and Mu, E. (2024). A review of intelligent subway tunnels based on digital twin technology. Buildings, 14.10.3390/buildings14082452 ↗
3. Classification and total carbon determination of the soils using RGB digital images combined with machine learning10.1080/00103624.2022.2110891 ↗
4. Machine learning and computer vision technology to analyze and discriminate soil samples10.1038/s41598-024-69464-7 ↗
5. Soil texture classification using multi-class support vector machine10.1016/j.inpa.2019.08.001 ↗
6. Chala, A.T., and Ray, R. (2023). Assessing the performance of machine learning algorithms for soil classification using cone penetration test data. Appl. Sci., 13.10.3390/app13095758 ↗
7. On the Variants of SVM Method for the Estimation of Soil Elastic Modulus from Tsd Model: Numerical Parametric Study10.1016/j.treng.2023.100187 ↗
8. Visual Classification of Mixtures Composed of Different Soil Types: An SVM-Based Approach
9. Applying a novel slime mould algorithm-based artificial neural network to predict the settlement of a single footing on a soft soil reinforced by rigid inclusions10.1080/15376494.2022.2114048 ↗
10. Chatterjee, K., Obaidat, M.S., Samanta, D., Sadoun, B., Islam, S.H., and Chatterjee, R. (2021). Classification of soil images using convolution neural networks. 2021 International Conference on Communications, Computing, Cybersecurity, and Informatics (CCCI), IEEE.10.1109/CCCI52664.2021.9583192 ↗
11. Simonyan, K., and Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv.
12. Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., and Wojna, Z. (2016). Rethinking the inception architecture for computer vision. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), IEEE.10.1109/CVPR.2016.308 ↗
13. A survey on transfer learning10.1109/TKDE.2009.191 ↗
14. Classification of Soil Images Using Convolutional Neural Network
15. A survey on image data augmentation for deep learning10.1186/s40537-019-0197-0 ↗
16. Fast non-parametric simulation of 2D multi-layer cone penetration test (CPT) Data without pre-stratification using markov chain Monte Carlo simulation10.1016/j.enggeo.2020.105670 ↗
17. Jagetia, A., Goenka, U., Kumari, P., and Samuel, M. (2022). Visual transformer for soil classification. 2022 IEEE Students Conference on Engineering and Systems (SCES), IEEE.10.1109/SCES55490.2022.9887636 ↗
18. Wu, H., Xiao, B., Codella, N., Liu, M., Dai, X., Yuan, L., and Zhang, L. (2021). CvT: Introducing convolutions to vision transformers. IEEE/CVF International Conference on Computer Vision (ICCV), IEEE.10.1109/ICCV48922.2021.00009 ↗
19. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2020). An image is worth 16x16 words: Transformers for image recognition at scale. arXiv.
20. Bagman, M. (2026, April 05). Soil Classification Project. GitHub Repository, 2026. Available online: https://github.com/mirabagman/Soil-Classification-Project.
21. SMOTE: Synthetic minority over-sampling technique10.1613/jair.953 ↗
22. Attention is all you need
23. (2015). Standard Test Method for Sieve Analysis of Fine and Coarse Aggregates (Standard No. ASTM C136/C136M).
24. (2023). Standard Test Method for Materials Finer than 75-μm (No. 200) Sieve in Mineral Aggregates by Washing (Standard No. ASTM C117).
25. (2018). Standard Test Methods for Liquid Limit, Plastic Limit, and Plasticity Index of Soils (Standard No. ASTM D4318).
26. (2023). Standard Test Methods for Specific Gravity of Soil Solids by the Water Displacement Method (Standard No. ASTM D854).
27. (2025). Standard Practice for Classification of Soils for Engineering Purposes (Unified Soil Classification System) (Standard No. ASTM D2487-17).
28. Topal, A., and Amasyali, M.F. (2021). When does synthetic data generation work?. 2021 29th Signal Processing and Communications Applications Conference (SIU), IEEE.10.1109/SIU53274.2021.9477956 ↗