Applied Computational Intelligence and Soft Computing

A Parameter‐Free Attention‐Enhanced ResNet‐18 for Statistically Reliable Cashew Leaf Disease Classification

Siddharth Sandeep Huddar, Narendra Khatri, Sarthak V. P.

Key points

From the paper's conclusion
  • This study presents a ResNet‐18 model trained from scratch on cashew leaf imagery, combining data augmentation with the parameter‐free SimAM attention mechanism placed selectively in deeper layers to improve feature discrimination without adding computational cost.

Abstract

Cashew leaf diseases are difficult to classify automatically because field images vary widely in lighting, background, and disease appearance. Most existing models depend on pretrained weights from unrelated datasets, are tested only once without checking whether results hold across runs, and rarely assess whether their confidence scores can be trusted, all of which limit their reliability in real agricultural use. This study presents a ResNet‐18 model trained from scratch on cashew leaf imagery, combining data augmentation with the parameter‐free SimAM attention mechanism placed selectively in deeper layers to improve feature discrimination without adding computational cost. Four ResNet‐18 model configurations were developed and evaluated in a 2 × 2 factorial design: M1 (baseline), M2 (with data augmentation), M3 (the proposed model, with both data augmentation and the parameter‐free SimAM attention mechanism), and M4 (with SimAM attention, no augmentation). The models were evaluated on 7657 real‐world cashew leaf images across five disease classes, with each configuration trained seven times using a fixed set of random seeds to verify performance consistency. The proposed model achieved a mean test accuracy of 94.41% ± 0.66%, F1‐score of 94.41% ± 0.65%, and Cohen’s kappa of 0.930 ± 0.008. Statistical testing confirmed that augmentation ( p = 0.015, d = 1.52) and SimAM ( p = 0.004, d = 1.90) each contributed significant improvements when combined, whereas SimAM alone without augmentation produced no significant gain ( p = 0.917, d = 0.06), indicating that its benefit is conditional on augmented training data; the combined configuration yielded a gain of 2.94% over the baseline ( p < 0.001, d = 3.10). The model requires 11.18 million parameters and 1.187 GFLOPs, with SimAM adding zero trainable parameters. Calibration analysis indicated that the predicted confidence scores aligned closely with the observed classification accuracy, while Grad‐CAM visualizations qualitatively suggested that M3 exhibited more focused activation over visually discriminative regions than the baseline model.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

A Parameter‐Free Attention‐Enhanced ResNet‐18 for Statistically Reliable Cashew Leaf Disease Classification — Science Skim