Small-Sample Ctenopharyngodon idella Disease Recognition via Dual-Stream Data Augmentation and Supervised Contrastive Learning

Addressing the challenges of extreme sample scarcity, complex underwater optical environments, and significant variations in lesion scales in real-world aquaculture, this paper proposes a small-sample grass carp disease recognition method, namely Swin Transformer with Supervised Contrastive Learning (ST-SCL), integrating dual-stream data augmentation and supervised contrastive learning. First, a frequency-spatial dual-stream augmentation strategy is constructed. In the frequency domain, the Amplitude-Mix technique is introduced to simulate diverse lighting and turbidity styles by mixing background amplitude spectra, thereby enhancing environmental generalization. In the spatial domain, a pathology-mask-guided instance-level Copy-Paste strategy is employed to directionally expand scarce lesion samples and address data imbalance. Second, the Swin Transformer is adopted as the backbone network, leveraging its hierarchical shifted window attention mechanism to effectively capture multi-scale features, balancing the detection of tiny parasites and extensive superficial ulcerations. Finally, supervised contrastive learning is incorporated to maximize intra-class compactness and minimize inter-class separability within the feature space, effectively reducing overfitting inherent to small-sample learning. Experimental results demonstrate that the proposed method achieves a macro-average F1-score of 95.86% across six disease categories. Compared with mainstream models such as ResNet and ConvNeXt, the ST-SCL exhibits notable performance improvements and enhanced robustness in small-sample scenarios, offering a promising technical path for precise fish disease diagnosis in complex aquatic environments.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-05-02
DOI
https://doi.org/10.3390/app16094460
Primary Topic
Water Quality Monitoring Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Small-Sample Ctenopharyngodon idella Disease Recognition via Dual-Stream Data Augmentation and Supervised Contrastive Learning

Dexing Wang, Yuzhu Wang
Applied Sciences
Water Quality Monitoring Technologies
article

Small-Sample Ctenopharyngodon idella Disease Recognition via Dual-Stream Data Augmentation and Supervised Contrastive Learning

Dexing Wang, Yuzhu Wang
article en

Abstract

Addressing the challenges of extreme sample scarcity, complex underwater optical environments, and significant variations in lesion scales in real-world aquaculture, this paper proposes a small-sample grass carp disease recognition method, namely Swin Transformer with Supervised Contrastive Learning (ST-SCL), integrating dual-stream data augmentation and supervised contrastive learning. First, a frequency-spatial dual-stream augmentation strategy is constructed. In the frequency domain, the Amplitude-Mix technique is introduced to simulate diverse lighting and turbidity styles by mixing background amplitude spectra, thereby enhancing environmental generalization. In the spatial domain, a pathology-mask-guided instance-level Copy-Paste strategy is employed to directionally expand scarce lesion samples and address data imbalance. Second, the Swin Transformer is adopted as the backbone network, leveraging its hierarchical shifted window attention mechanism to effectively capture multi-scale features, balancing the detection of tiny parasites and extensive superficial ulcerations. Finally, supervised contrastive learning is incorporated to maximize intra-class compactness and minimize inter-class separability within the feature space, effectively reducing overfitting inherent to small-sample learning. Experimental results demonstrate that the proposed method achieves a macro-average F1-score of 95.86% across six disease categories. Compared with mainstream models such as ResNet and ConvNeXt, the ST-SCL exhibits notable performance improvements and enhanced robustness in small-sample scenarios, offering a promising technical path for precise fish disease diagnosis in complex aquatic environments.

Applied SciencesVol. 16(9)
Shanghai Ocean University (CN)
Life below water
Openalex Percentile: Top 14%
Water Quality Monitoring Technologies
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.