Fine Tuning Swin Transformer Based Pretrained Model for Microscopic Fungi Images Classification

Accurate image classification of microscopic pathogenic fungi is a challenge in the field of mycology. This study proposes a Swin Transformer-based approach to automate the identification process. The Swin Transformer model, known for its ability to capture complex spatial interactions, is adapted from ImageNet’s pre-trained model. The adaptation process is focused on fine-tuning the final classification layer to match the 5 classes of fungi present in the dataset. This classification layer is replaced by a new fully-connected layer that has the number of output according to the number of fungal classes. The weights on these layers are randomly initialized and trained in conjunction with several final convolutional layers. In addition, regularization techniques such as dropouts are applied to prevent overfitting. Adaptation using 5-fold cross-validation was carried out to find the best fold with hyperparameters including AdamW optimizer with a learning rate of 10<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">−3</sup>, StepLR scheduler, batch size of 128 images, and a total of 9 epochs / iterations. After that, fine-tuning is carried out on the best fold with hyperparameters including AdamW optimizer with a learning rate of 10<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">−5</sup>, StepLR scheduler, batch size of 32 images, and a total of 100 epochs / iterations. The final result showed excellent performance, with accuracy, precision, recall and an average F1-score of 95%. These results show the potential of the Swin Transformer in becoming an effective tool for mycologists.

Authors

Institutions

Publication Details

Published
2024-10-09
DOI
https://doi.org/10.1109/ic3ina64086.2024.10732255
Citations
3
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.71
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fine Tuning Swin Transformer Based Pretrained Model for Microscopic Fungi Images Classification

Arya Adhyaksa Waskita, Achmad Hindasyah Achmad Hindasyah, Julfa Muhammad Amda, Muchamad Galih Anggara
3 citations
Spectroscopy and Chemometric Analyses
0.71
article

Fine Tuning Swin Transformer Based Pretrained Model for Microscopic Fungi Images Classification

Arya Adhyaksa Waskita, Achmad Hindasyah Achmad Hindasyah, Julfa Muhammad Amda, Muchamad Galih Anggara
article en
3 citations

Abstract

Accurate image classification of microscopic pathogenic fungi is a challenge in the field of mycology. This study proposes a Swin Transformer-based approach to automate the identification process. The Swin Transformer model, known for its ability to capture complex spatial interactions, is adapted from ImageNet’s pre-trained model. The adaptation process is focused on fine-tuning the final classification layer to match the 5 classes of fungi present in the dataset. This classification layer is replaced by a new fully-connected layer that has the number of output according to the number of fungal classes. The weights on these layers are randomly initialized and trained in conjunction with several final convolutional layers. In addition, regularization techniques such as dropouts are applied to prevent overfitting. Adaptation using 5-fold cross-validation was carried out to find the best fold with hyperparameters including AdamW optimizer with a learning rate of 10<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">−3</sup>, StepLR scheduler, batch size of 128 images, and a total of 9 epochs / iterations. After that, fine-tuning is carried out on the best fold with hyperparameters including AdamW optimizer with a learning rate of 10<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">−5</sup>, StepLR scheduler, batch size of 32 images, and a total of 100 epochs / iterations. The final result showed excellent performance, with accuracy, precision, recall and an average F1-score of 95%. These results show the potential of the Swin Transformer in becoming an effective tool for mycologists.

Universitas Pamulang (ID), National Research and Innovation Agency (ID)
Zero hunger
Openalex Percentile: Top 34%
Spectroscopy and Chemometric Analyses
0.71
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.

Fine Tuning Swin Transformer Based Pretrained Model for Microscopic Fungi Images Classification — Arya Adhyaksa Waskita, Achmad Hindasyah Achmad Hindasyah, et al. · (2024) | TGRS Research Map | TGRS