论文信息

Apoorva Arora / Vinay Gautam / Anand Muni Mishra 等 6 人

Discover Computing

论文解读

AI 辅助整理
方法
FGVC7数据集,UNet/PSPNet/UNet++分割,VGG16等CNN与
发现
UNet++分割最准,融合模型准确率达98.85%,优于单个CNN模型。
机会点
可探索轻量化分割-分类联合模型在田间移动端的实时部署与多作物泛化。

论文摘要

目前,农业中的生物和非生物因素估计约占作物生产总损失的22%。因此,农民尽早识别这些限制因素非常重要,但同时也非常困难。计算机视觉的最新发展使得在初级水平上识别和分类植物病变成为可能。各种深度学习技术使得以极高准确度检测苹果植株叶片的生物胁迫成为可能。因此,患病叶片图像的自动分割已成为世界范围内的前沿研究主题。本文使用来自FGVC7的数据集来衡量所提出模型的性能,该数据集是一个开放源数据集,包含苹果作物的四类不同叶片病害。进行了三步图像预处理,包括图像增强、背景噪声去除以及通过多种方法进行目标识别。使用UNet、PSPNet和UNet++识别病害区域,其中UNet++提供了最精确的目标分割。然后将分割后的图像块数据作为输入馈入基于融合的分类模型。图像块分割使得能够分离不同的病害区域,从而提高分类准确率。所提出的框架结合了多种CNN架构,即VGG16、InceptionV3、AlexNet和GoogleNet,以利用它们互补的优势,然后使用视觉Transformer(ViT)通过早期特征融合来识别不同的局部特征。此后,将所提出模型的效率与各个预训练CNN模型进行比较。与所有其他模型相比,所提出的模型显示出最高阶的准确率,即98.85%,明显优于各个单独的CNN模型。

全文

Discover Computing

Discover ComputingArora et al. Discover Computing (2026) 29:731
https://doi.org/10.1007/s10791-026-10573-4
RESEARCH Open Access
An empirical performance comparison
of deep learning models for apple leaf disease
recognition
Apoorva Arora1, Vinay Gautam1, Anand Muni Mishra2, Santar Pal Singh3, Yadvendra Pratap Singh4* and
Mukund Pratap Singh5

  • C o r r e s p o n d e n c e :
    Yadvendra Pratap Singh
    yadvendra.singh@jaipur.manipal.
    edu; yadvendra.mnnit@gmal.com
    1Chitkara Institute of Engineering
    and Technology, Chitkara University,
    Rajpura, Punjab, India
    2Department of Information
    Technology, GL Bajaj Institute of
    Technology and Management,
    Greater Noida, Uttar Pradesh, India
    3Department of Computer Science
    and Engineering, Rashtrakavi
    Ramdhari Singh Dinkar College of
    Engineering, Begusarai, Bihar, India
    4Department of Artificial
    Intelligence and Machine Learning,
    Manipal University Jaipur, Jaipur,
    Rajasthan, India
    5School of Computer Science
    Engineering and Technology,
    Bennett University, Greater Noida,
    India
    © The Author(s) 2026. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International
    License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate
    credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material.
    You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party
    material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material
    is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted
    use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit h t t p : / / c r e a t i v e c o m m o n s . o r g / l i c e n s
    e s / b y - n c - n d / 4 . 0 / .
    Abstract
    Currently, Biotic and abiotic factors, in agriculture, are estimated to be responsible
    for around 22% of the total losses in crop production. It is therefore very important,
    but at the same time very difficult for farmers to identify these constraints at the
    earliest possible stage. The most recent developments in computer vision have made
    it possible to identify as well as classify plant lesions at a primary level. Various deep
    learning techniques have made it possible to detect biotic stress in apple plant
    leaves with a very high degree of accuracy. Hence, automated segmentation of
    images of diseased leaves has become a leading research theme all over the world.
    In this paper, a dataset from FGVC7, which is an open, source dataset and contains
    four different classes of leaf diseases of the apple crop is used to measure the
    performance of the proposed model. A three, step image preprocessing procedure
    is conducted, which involves image enhancement, removal of background noise,
    and object identification through a variety of approaches. Using UNet, PSPNet,
    and UNet++, disease areas are identified. UNet + + delivering the most precise
    object segmentation. The segmented patch data are then fed into a fusion, based
    classification model as input. Patch segmentation makes it possible to separate
    the various disease areas, thus increasing the classification accuracy. The proposed
    framework combines several CNN architectures, namely, VGG16, InceptionV3, AlexNet,
    and GoogleNet, in order to take advantage of their complementary strengths, then
    a Vision Transformer (ViT) is used to identify distinct local features via early feature
    fusion. After this, the efficiency of the proposed model is check in comparison with
    the pre-trained CNN models individually. Comparing with all other models the
    proposed model has shown the accuracy of highest order i.e. 98.85%, clearly out
    performing individual CNN models.
    Clinical trial number
    Not applicable.
    Keywords Apple leaf disease, Segmentation, Convolutional neural networks, Deep
    learning, Vision Transformer (ViT), Feature extraction

Page 2 of 26
Arora et al. Discover Computing (2026) 29:731
1 Introduction
Agriculture and related sectors are economy holders for almost all nations in the world.
The maintenance and security of agricultural resources are among the fundamental and
essential requirements of a country. In developing nations like “India” , malnutrition is a
persistent issue that is strongly related to security of the nation [ 1]. The quality of goods
as well as its quantity of goods, majorly crops is the result of agriculture in any coun -
try. Plant leaf diseases are the main reason behind degrading productivity of agriculture,
generating social, environmental, and financial losses as well as hindering harvest prog -
ress. Due to frequent viral attacks on the plants, which significantly reduce apple output,
apples appear to be a challenging crop to grow. Controlling contaminated crops is there-
fore essential before they negatively impact the product yield and quality [ 2]. The major-
ity of diseases are diagnosed by human inspections; however, this process is hindered
by a number of drawbacks, such as time, cost, availability, and the necessity for a lot of
work. The surface of the leaf and fruit areas is where many bacterial and fungal lesions
first appear. Similar to pests, lesions have intricate patterns that make them challenging
to comprehend. In contrast, bacteria have a simpler life cycle and flourish as single cells.
Binary fusion is the process by which they divide a single cell into two in order to repro -
duce. Viruses are tiny particles without membrane proteins yet have fiber and genes
[1]. Because they include critical elements, vitamins and fiber, fruits are vital to human
health. However, fruit diseases account for a considerable portion of the annual financial
losses in large fruit farms. Reducing the impact of these disorders requires precise clas -
sification and prompt disease detection [ 3]. It is crucial to identify various fruit diseases
since farmers wish to expand their crop diversification beyond the native varieties cul -
tivated on their properties. Every region has its own distinct native fruit harvests that
are consumed daily, however some fruits, such as grapes, apples, and citrus, are grown
everywhere.
Majorly plant leaf diseases are either bacterial or fungal. Rust Disease, seen in pear,
plum, and apple trees, is identified by orange to reddish-brown pustules on the leaves
due to fungal spores. Apple Scab affects apple and pear trees, causing olive-green to
blackish spots, curled leaves, and premature leaf shedding as a result of fungal infection
[4, 5]. Mango, peach, and plum trees are vulnerable to Bacterial Leaf Blight, which cre -
ates water-soaked brown lesions and leads to wilting due to bacterial pathogens. Black
Sigatoka, affecting banana plants, causes dark streaks, yellowing, and leaf loss. Cherry
Leaf Spot occurs in cherry and plum trees, showing as purple-brown circular marks and
early leaf fall. Grapevines suffer from Grape Downy Mildew, which appears as yellowish,
oily patches on the upper leaf surface with white fungal growth underneath. Lastly, Fig
Rust, a fungal disease in fig trees, manifests as small reddish-brown spots followed by
leaf drop. Traditionally, leaf diseases are recognized by visually observing symptoms and
spots, and then identifying the disease kind based on experience. However, due to the
limitations of human perception, manual identification is not feasible, costly, or practi -
cal for large-scale disease surveillance on fruit plantations [ 6]. In past few years, a large
number of scholars have studied autonomous plant leaf disease diagnostic techniques
based on image processing+- in detail. There are various fields in which an automated
computer technology can prove to be use. A few example are illness categorization, clas-
sification of vegetable quality, illness prediction and many more. The area of computer

Page 3 of 26
Arora et al. Discover Computing (2026) 29:731
science that focuses on using visual techniques, such taking and analysing photos, is
called computer vision [7].
Among the many methods, “Convolutional Neural Network (CNN)” based strategies
performed well in image identification tests. A method that helps in automated identi -
fication as well as pest’s categorization, lesions and illness identification is mainly CNN.
However, in such identification and classification can present various hurdles and dif -
ficulties. One of the major concern is background’s complexity of an image, which fur -
ther corresponds to adjusting brightness and the angle at which the images were clicked.
Furthermore, the equipment used for clicking images and building database is also of
concern. As real world images have high level of noise, the classifier’s ability to catego -
rize illnesses suffers when it shows the image directly [ 8]. Various techniques help in
solving such issues. The segmentation techniques helped identify the “Region of Interest
(ROI)” . The segmentation technique makes it easier to recall aberrant regions by making
the input content simpler [9].
Researchers have suggested several approaches to enhance the precision of disease
diagnosis, especially when dealing with restricted sample sizes. Conventional CNN
models have demonstrated robust performance; however, they frequently require sub -
stantial datasets. When resources are scarce, the models tend to be less useful [ 10].
Recently, attention mechanisms have become more popular as a way to get around the
problems that CNNs have. Additionally, a significant portion of current research has
concentrated on isolated CNN models, with minimal attention given to the prospec -
tive advantages of fusion modeling methodologies. A fusion framework has been intro -
duced that combines several deep learning architectures with vision transformers (ViT)
to improve deep feature extraction. The main objective of this research paper is to show
empirical comparison among multiple deep learning models under similar conditions.
Following are contributions of this work:
• The FGVC7 apple leaf dataset was expanded through augmentation to increase data
diversity and address class imbalance. The dataset initially contained 3,642 images,
including Healthy (800), Rust (842), Scab (630), and Combined Rust–Scab (1,370).
Augmentation doubled each category, producing 7,284 leaf images for robust model
training.
• This work has propose a Multi-Scale Early Fusion (MSEF) model that integrates deep
features extracted from four pre-trained CNN architectures—VGG16, InceptionV3,
AlexNet, and GoogleNet—through feature-level concatenation. The fused
representation is subsequently processed by a Vision Transformer (ViT), combining
CNN-based local feature extraction with transformer-based global contextual
modeling for robust apple leaf disease classification.
• A disease-specific segmentation framework using U-Net and U-Net + + has
developed to isolate Rust, Scab, and Mixed (Rust + Scab) lesions from apple leaves
using expert-annotated masks created with ViT. The extracted regions are further
divided into 16 × 16 patches and processed through ViT, reducing background
interference while capturing local lesion characteristics and global contextual
relationships for reliable disease classification.
• The proposed MSEF model contributes a quantitative apple leaf disease severity
estimation framework by calculating the ratio of infected pixels to the total leaf area.
The resulting continuous severity score enables classification into mild, moderate,

Page 4 of 26
Arora et al. Discover Computing (2026) 29:731
severe, and very severe categories, providing an interpretable assessment of disease
progression and supporting more precise, severity-based agricultural management
decisions.
Further in this research paper, the other sections include the recent works that have
been published recently related to the subject area, discussed in Sect.  2. Section  3 gives
an extensive explanation the materials and methods of the work. The results of the work
are given in Sect.  4. Section  5 as well as Sect.  6 include discussion and inclusion part of
the paper.
2 Related work
To reduce crop loss and increase productivity, efficient methods differentiating between
unhealthy and healthy leaves must be employed. Rahman et al. [ 11] introduce a deep
learning-based plant stress detection system that uses models like MobileNet and Incep-
tionV3 to achieve up to 97.28% accuracy in leaf classification and 98–100% accuracy
for certain crops. Aboelenin A. et al. [ 12] presented a thorough experiment on a hybrid
CNN-ViT architecture for plant leaf disease detection that combines VGG16, Inception-
V3, DenseNet201, and Vision Transformer. The model outperformed both solo and
ensemble CNN models, demonstrating its efficacy in multi-class illness classification
providing a precision on apple dataset of 99.24% and 98% on the dataset of maize crop.
Durjoy Durjoy et al. [ 13] emphasize the need for a reliable dataset to improve hog plum
leaf disease detection and classification.
Chavan P . et al. [ 14] propose a novel two-stage approach combining an improved
U-Net with DenseNet-77 for precise segmentation of pest-infested regions, achieving
99.52% accuracy and 99.1% IoU. For classification, a new “Convolutional Slice-Atten -
tion based Gated Recurrent Unit (CS-AGRU)” model is introduced, attaining 99.35%
F1-score, 98.88% precision, and 99.53% recall. Huang et al. [ 15] presented a thorough
experiment on the hybrid ConvNeXt-ViT model EConv-ViT, which combines DropKey
and ECA. The model achieved 79.3% accuracy in natural situations and 99.2% accuracy
in lab conditions. It demonstrated great generalisation, enhanced recall, and increased
F1 scores, outperforming current models by as much as 37.8%. Doutoum et al. [ 16]
stress the value of cultivating apples and the challenges posed by leaf diseases, which
reduce quality and productivity and create financial losses. The study looks at 45 studies
between 2016 and 2024 in order to assess advancements in this area.
Banjar et al. [17] presented research on E-AppleNet, a model based on EfficientNetV2
that has been improved with dense layers and attention processes for precise detection
leaf disease of apple crop. The results gave 99% accuracy on the PlantVillage dataset by
addressing class imbalance through transfer learning and focal loss. Its usage in preci -
sion agriculture was supported by heatmap visualisations, which demonstrated its resil -
ience to various image distortions. Doutoum et al. [18] presented a thorough experiment
that reviewed 45 studies on the detection of apple leaf disease and shown that deep
learning techniques perform better than conventional methods. For improved accuracy
and model reliability in the actual world, the study emphasises the necessity of strong,
varied datasets like Plant Village. After the manuscript was reviewed, a few points were
found because different leaf diseases have not been able to identify the early stages of
disease. Another is that it can be difficult to identify and detect several diseases in leaves.
The Table 1 has shown the recent literature study in this field.

Page 5 of 26
Arora et al. Discover Computing (2026) 29:731
2.1 Comparing proposed method with recent hybrid CNN-ViT
Mehdipour et al. [ 25] CNN ViT hybrid: apple 99. 24%, corn 98% Combining global fea -
tures from CNN with local features learned by ViT, a hybrid CNN ViT model (apart
from mere CNNs) accurately achieves (99. 24% and 98% for apples and corn respec -
tively). Still, the model complexity and training cost are really high. Mehdipour et al.
[26] Lightweight CNN ViT for maize leaf disease A light-weighted CNN ViT adaptively
mixes CNN local and ViT global branches, attaining 99. 90% maize disease classification
accuracy and remaining efficient; Still, it still needs relatively large datasets and tuning
compared with compact CNN fusion schemes. Ramadan et al. [ 27] CNN ResNet18 ViT
hybrid for rice leaf disease Integrating ResNet18 and ViT into a single hybrid model does
not only improve image with GAN and segmentation for severity grades but also pre -
dicts higher severity more effectively than the use of CNNs alone although the pipeline
and training time become longer. Section  3 presents methods and data preparation.
3 Materials and methods
Plant leaf disease is one of the significant challenges that directly impacts plant growth
and crop yield. To address the issue of classifying multiple and overlapping plant leaf dis-
eases, several methods have been proposed, including image segmentation and feature
fusion techniques. The approach discussed in this study enables the detection and dif -
ferentiation of four classes of leaves, including unhealthy as well as healthy leaves. How -
ever, this method faces limitations in delivering accurate and real-time predictions for
leaf diseases. The paper workflow is illustrated in Fig. 1.
Table 1 Comparative literature review of deep learning-based crop disease detection methods
Ref
No
Authors & Year Model/Method Key Features Crop Ac-
cu-
racy
(%)
F1
Score
(%)
Remarks
[19] Ahmed I. &
Yadav P .K., 2023
CNN based system CNN for feature
extraction
Apple 98.21 97.8 Improved over
previous methods
[20] Acharya et al.,
2023
Modified Capsule
Neural Network
(CapsNet)
CapsNet for multi
disease classification
Apple 91.37 90 Outperformed
previous by 3.67%
[21] Kumar K. et al.,
2023
DL based web
application
Web app for early
diagnosis
Apple 93.2 92 Practical farmer
tool
[22] Arshad F. et al.,
2024
PLDPNet Fusion deep learn-
ing network
Potato 98.66 96.3 High perfor-
mance on potato
[23] Khan et al., 2024 Two stage deep
learning system
Early diagnosis with
9000 images
Apple 88 89 Effective on small
spots
[24] Zhong et al.,
2023
DenseNet 121 with
regression & focal
loss
Multlabel + focus
loss
Apple 93.71 92 Handles unbal-
anced datasets
Fig. 1 Workflow of the present study

Page 6 of 26
Arora et al. Discover Computing (2026) 29:731
3.1 Dataset gathering
The information was obtained from Plant Pathology, FGVC7 [ 28]. Each shot was cap -
tured in an actual environment with a lot of background noise, little regions of disease,
and uneven lighting. As Fig.  2 shows different kinds of apple disease leaf photos in addi -
tion to one kind of apple healthy leaf image. The Alternation botch, gray patch, and
mosaic were produced by Baidu AI Studio, while the healthy leaf, scab, and rust were
contributed by FGVC 7.
Figure 2, you can see the real class distribution before augmentation. After the aug -
mentation, the dataset doubled from 3642 to 7284. The count for each disease class
is shown in the figure above as Rust (1,680), Scab (1,260), Healthy (1,600), and Mixed
(2,744). The individual disease class wise counts are shown in the above figure as Rust
(1,680), Scab (1,260), Healthy (1,600), and Mixed (2,744). In this study, appropriate tech-
niques were used in order to avoid over fitting. Figure 3 presents sample images from the
dataset illustrating various symptoms.
Figure 3 presents representative apple leaf images from the FGVC7 dataset, includ -
ing four categories: Rust, Scab, Multi-disease (Rust and Scab), and Healthy leaves. The
images illustrate variations in disease symptoms, lesion patterns, discoloration, and
healthy foliage, providing diverse samples for model training and evaluation.
3.2 Data pre-processing
The dataset FGVC7(Plant Pathology) contains many images that are distorted, damages
as well as fuzzy. In order to get best results from this data set, it is required to put it
through various pre-processing techniques like resizing, normalization and augmenta -
tion. The size of all images was brought to 224 × 224 × 3 pixels. This resizing enhances
compatibility with the model and promotes uniformity. Further noise is removed from
images and predictor for impulse density helps improve as well as preserve the image
quality.
3.2.1 Resizing image and data augumentation
Images of apple leaves are collected from the FGVC7 dataset. In order to improve the
image quality of the data set some pre-processing techniques are applied. A 224 × 224 × 3
pixel scale was applied to each leaf image for consistency and model compatibility. Scal -
ing must be minimized to guarantee consistency and uniformity of input data [ 29]. The
Fig. 2 Class-wise distribution of the dataset

Page 7 of 26
Arora et al. Discover Computing (2026) 29:731
image augmentation and resizing applied to an apple leaf image. The original image
dimensions of 512 × 512 × 3 resized and augmented to 224 × 224 × 3 to meet the
input requirements of the deep learning model. The annotation files for the original pho-
tos were created by first saving the annotation files and then converting them into gray
scale, 8-bit depth PNG images. The min-max technique was then used to normalize the
data setting binary values 0 and 1.
T o improve the robustness and capability of the proposed deep learning model, several
data augmentation techniques were applied to the apple leaf disease dataset during the
training phase. Initially, all images were resized to 224 × 224 pixels and normalized to the
[0,1] pixel intensity range to ensure uniformity and accelerate model convergence. The
Table 2 has shown the complete augmentation parameter used for data distribution.
In Table 2 random rotations within ± 30° were performed to make the model invariant
to different leaf orientations. Scaling (zooming) has applied in the range of 0.80–1.20 to
simulate variations in leaf size and camera distance. T o address brightness and contrast
jittering within ± 20% (0.8–1.2) were introduced, enabling the model to learn under dif -
ferent illumination levels. Additionally, Gaussian noise with a mean of 0 and a standard
deviation of 0.01–0.05 has added to mimic noise commonly encountered during image
acquisition. Horizontal and vertical flipping, each with a probability of 0.5, increased ori-
entation diversity and reduced directional bias. Furthermore, translation up to ± 10% and
shear transformation within ± 15° has applied to simulate slight camera movements and
geometric distortions. These augmentation techniques effectively expanded the diversity
of the training dataset, minimized overfitting, and significantly improved the classifica -
tion performance and robustness of the deep learning model for accurate apple leaf dis -
ease identification under FGVC7 dataset. Due to the high similarity among the images,
distinguishing and classifying them accurately becomes challenging. T o minimize the
influence of minor pixel-level variations on the classification outcomes, all images were
Fig. 3 Sample images of apple leaf disease from FGVC7dataset

Page 8 of 26
Arora et al. Discover Computing (2026) 29:731
resized uniformly from 512 × 512 to 224 × 224 pixels. T o improve dataset diversity and
mitigate class imbalance, comprehensive data augmentation was applied. This included
random rotations at various angles and scaling transformations ranging from 80% to
90%. Besides, RGB color augmentations were performed by individually and randomly
adding or subtracting a value between 15 and 95 to each of the pixel channels (R G B).
There are 3642 images are collected from dataset. As a result of these techniques, the
original dataset was significantly expanded, generating a total of 7,284 images after aug -
mentation. There are some augmented images are given in Fig.  4. All the augmentation
techniques are performed after test splitting, using only the straining set of images.
3.3 Object segmentation and patch generation
Segmentation of diseased object as rust, scab, and mix disease are identified using UNet,
and UNet + + segmentation technique. The rust, Scab, and mix disease are segmented as
32 × 32 mask size. The segmentation performance is measured using a number of com -
monly accepted measures, and the results are impressive [ 30]. The extracted lesion loca-
tions are then represented using colour and texture properties. The item is eliminated
from the picture using the segmentation approach. There is nine different images are
shown for object detection. The Fig.  3 has shown segmenting of different leaf disease as
Rust image, Scab Image and Mix Disease (Rust + Scab). Manually creating ground truth
masks for the segmentations was realized through drawing with the help of VGG Image
Table 2 Augmentation parameter used in apple leaf image
Augmentation
Technique
Parameter Value Used Purpose
Rotation Rotation Range ± 30° Improves rotational invariance of leaf images.
Scaling (Zoom) Scale Range 0.80–1.20 Simulates variations in camera distance and leaf size.
Brightness Adjustment Brightness Jitter ± 20%
(0.8–1.2)
Handles varying illumination conditions in field
images.
Contrast Adjustment Contrast Jitter ± 20%
(0.8–1.2)
Enhances robustness to different lighting and
image contrast.
Gaussian Noise Mean (µ) 0 Simulates sensor noise during image acquisition.
Gaussian Noise Standard Devia-
tion (σ)
0.01–0.05 Improves model robustness against noisy images.
Horizontal Flip Flip Probability 0.50 Accounts for left-right leaf orientation variations.
Vertical Flip Flip Probability 0.50 Introduces additional orientation diversity.
Translation Horizontal &
Vertical Shift
± 10% Simulates slight camera movement during image
capture.
Shear Transformation Shear Range ± 15° Introduces geometric distortions for better
generalization.
Image Resize Input Size 224 × 224
pixels
Standard input size for pretrained CNN
architectures.
Normalization Pixel Range [0,1] Accelerates convergence during model training.
Fig. 4 Sample image of data augmentation

Page 9 of 26
Arora et al. Discover Computing (2026) 29:731
Annotator (VIA) software. A small batch of 1,200 images was annotated by a couple of
experts who drew the line of the lesion for rust, scab, and mixed disease. These masks
served as training samples for UNet, UNet++, and PSPNet.
3.3.1 Improved UNet and UNet + + network
The UNet architecture [29] serves as the core framework for apple leaf disease segmen -
tation in this research. The network consists of two primary components: reconstruc -
tion and feature extraction. The feature extraction component progressively diminishes
the spatial dimensions of the input image through a series of convolutional and down
sampling layers, enabling the extraction of hierarchical features. Conversely, the recon -
struction component produces the segmentation output by up sampling and linking the
layers to restore the original image dimensions. UNet has become widely utilized in sce -
narios with limited data. Nevertheless, despite its significant strengths in performance
and design, UNet has several limitations. Firstly, the extensive number of parameters
in UNet requires considerable computational resources, making it challenging to use in
environments with constrained resources, such as embedded systems or mobile devices.
Secondly, traditional convolutional methods have difficulty is detecting long-range
dependencies, that is essential for tasks like disease segmentation that require precise
detection of subtle changes in leaves. Finally, UNet’s method of feature fusion is based
on simple concatenation, that results in subpar segmentation outcomes and the poten -
tial loss of crucial information. In order to take care of these drawbacks, this research
introduces UNet++, an upgraded model that refines angle disparities all stages of feature
identification and classification. Further, Fig.  5 are shown the simple and mixed disease
segmentation.
Fig. 5 Simple and mixed disease segmentation using UNet segmentation. Models trained from scratch, varied
input images are shown depending on design as per the disease type

Page 10 of 26
Arora et al. Discover Computing (2026) 29:731
Further, these segmented image has taken as input for patch generation using as ViT
model. In Fig. 5, panel(d) demostrates a different input image in comparison to the input
image used in panel (e) and (f). further the models are trained from scratch and varied
inputs are shown depending on design as per the disease type. The Fig.  3 showed the
instance segmented image for normal and mixed disease segmentation. Furthermore,
the disease region extraction use ViT model. These segmented object are generating the
patches using ViT CNN model. Patch-based classification, on the other hand, assigns
a specific class to discrete picture patches, which are subsequently used to classify the
entire image. Additionally, the patch segmentation procedure is depicted in Fig. 6.
Furthermore, Patches that overlapped and multi disease has used ‘p×p’ pixel size,
which are created using the supplied leaf disease photos. In this study, they constructed
overlapping patches for the training dataset. Figure  7 illustrates the ViT block’s typical
operation.
The ViT design included the original transformer encoder, which successfully solved
problems with natural language processing [ 30]. The ViT is composed of Multi-Head
Self-Attention (MHA) blocks, networks of Multilayer Perceptron along with a positional
embedding technique. The input of ViT model is categorised into patches that non-over-
lapping as well as of a particular size. After compression, these patches take on lower-
dimensional shapes. The vector undergoes further processing in a transformer block
following linear projection and embedding. Using ViT CNN model, take as input where
I has input image and S is segmented disease region image show in Eq. 1.
Fig. 7 The segmented patch generation block diagram of ViT for patch generation

Fig. 6 Flow of patch segmentation process

Page 11 of 26
Arora et al. Discover Computing (2026) 29:731
𝑆𝑆 𝑆 𝑆𝑆𝑆𝑆𝑆𝑆 (𝐼𝐼) (1)
Furthermore patch embedding using
𝑍𝑍0 = {𝑥𝑥𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 ;𝑥𝑥 1𝑝𝑝 𝐸𝐸; 𝑥𝑥2𝑝𝑝 𝐸𝐸; 𝐸𝐸𝐸𝐸𝐸; 𝑥𝑥 𝑁𝑁𝑝𝑝 𝐸𝐸} (2)
Further calculate the multi head attention in Eq. 3.

𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴 (𝑄𝑄𝑄 𝑄𝑄𝑄 𝑄𝑄) = 𝑆𝑆 𝐴𝐴𝑆𝑆𝐴𝐴𝑆𝑆𝐴𝐴𝑆𝑆 ( 𝑄𝑄𝑄𝑄𝑇𝑇√𝐷𝐷𝑘𝑘 ) 𝑄𝑄 (3)
Finally classify the image
̂𝑦𝑦 𝑦 𝑦𝑦𝑦𝑦𝑦𝑦𝑦𝑦𝑦𝑦𝑦𝑦𝑦𝑦 (𝑉𝑉𝑉𝑉𝑉𝑉 ( 𝑦𝑦 )) (4)
Initially, the input apple leaf image I is segmented using a segmentation network to iso -
late the diseased region, represented as (I). The segmented image is then divided into
fixed-size patches and transformed into embedded tokens with a class token, forming
with 𝑍𝑍0 Furthermore, Multi-Head Self-Attention computes contextual relationships
among patches using Attention(Q, K,V). Finally, the Vision Transformer predicts the
apple leaf disease class as classifying the segmented leaf into categories such as Healthy,
Apple Scab, Rust, or Mixed disease. The image using proposed and existing model. For
checking precision of model, it’s imperative that the images in the test data are divided to
create overlapping patches with a pixel size 𝑝𝑝𝑝 𝑝𝑝 . Furthermore, segmentation is done
on images from the dataset. It’s a popular practice to save patches as a different picture
file, in order to use it as an input while model training. The patch size were set to 16 × 16
per picture and the stride was fixed at 16 per flattened. As per the image the consoli -
dated number of tokens are 256. The Table  3 has shown the ViT hyper parameters layer
description used in this work.
The Vision Transformer configuration uses an input image size of 224 × 224, which
is divided into 16 × 16 patches, resulting in 196 patches that are embedded into a
768-dimensional feature space for processing. The model consists of 12 transformer
encoder layers with 12 attention heads, enabling effective multi-head self-attention to
capture global relationships within the image. The GELU activation function introduces
non-linearity, improving learning capability, while dropout (0.1) and attention drop -
out (0.1) are applied to reduce overfitting. Overall, this configuration ensures a balance
between computational efficiency and strong feature representation, making it suitable
for image classification and segmentation tasks. The task of bifurcating the pre-pro -
cessed images with diseased leaves into small patches is tagged as patch extraction. This
Table 3 ViT hyper parameters layer description
Parameter Value Description
Input Image Size 224 × 224 Standard input resolution
Patch Size 16 × 16 Image divided into fixed-size patches
Number of Patches 196 (224/16)² patches
Embedding Dimension 768 Size of patch embedding vector
Number of Transformer Layers 12 Depth of transformer encoder
Number of Attention Heads 12 Multi-head self-attention
Activation Function GELU Non-linear activation
Dropout Rate 0.1 Regularization to prevent overfitting
Attention Dropout 0.1 Dropout applied to attention weights

Page 12 of 26
Arora et al. Discover Computing (2026) 29:731
stage minimises the cost for the model training. It further helps in collecting informa -
tion from the small portions of the image consisting tiny characteristics. Every patch is
normally a standard size picture of the lesion area. The sixe is normally 16*16 pixels of
rectangular or square size shape. The selection of the patch size depends on computing
resources being used. Patches provide coverage depending on their size, for instance,
large size patches capture global features while small size patches cover local features.
The overlapping technique makes sure that disease area is not left uncovered. Every
lesion area has a minimum of two patches overlapping it, as the overlap is generally 50%
of the patch size. Once the patches are selected the data is fed to deep learning models
for early fusion and classification.
3.4 Proposed Multi-Scale Early Fusion model (MSEF)
According to recent studies, the Fusion procedure also referred to as a meta-algorithm
which is among the most dependable and successful methods. It could be used, among
other things, to improve predictions, reduce bias, and lower a model’s variance. The
Fusion technique is used to create a new model by combining the data gathered from
the several prediction models. It should be mentioned that the general form allows for
the similar merging of more than two layers when four layers are fused. A ViT block fin -
ishes the system, which starts with four CNNs that have already been trained: VGG16,
InceptionV3, AlexNet, and Google Net. The model’s main contribution is a ViT that uses
self-attention and Multilayer Perceptron (MLP) techniques to get accurate identification
and classification results, along with pre-trained CNN architectures to quickly extract
deep features. CNN models can look at how these pixels are related to each other in
space. Figure 8 shows the proposed architecture for the deep fusion learning model. In
the given framework the ViT is used to capture the information achieved globally while
CNN focuses more on the local details.
In this framework, the Vision Transformer is specifically utilized to capture global
contextual relationships from the segmented and fused feature representations, comple -
menting the local feature extraction capability of CNN models.
Figure 8 illustrates how the Fusion model’s suggested architecture performs better than
the uni-models due to its peaceful nature. The Fusion model, which has an accuracy of
over 90%, was developed using a number of pre-trained CNN models, such as VGG16,
InceptionV3, AlexNet, and Google Net [ 31]. The algorithm offers a comprehensive
Fig. 8 Proposed Multi-Scale Early Fusion (MSEF) model

Page 13 of 26
Arora et al. Discover Computing (2026) 29:731
defines of the recommended strategy. Let DA = {VGG16, InceptionV3, AlexNet, and
Google Net} represent the set of models that have already been trained. The accuracy of
visual recognition tasks is improved by recent developments in transformers based on
attention processes, which are more reliable and efficient in taking into account the spa -
tial correlation and distance relationships between pixels. Furthermore, Fig. 9 has shown
the Multi-Scale Early Fusion strategy. The internal architecture of a hybrid deep learning
model designed for apple leaf disease classification. The process begins with an input
diseased apple leaf image, which is simultaneously fed into four pre-trained CNN back -
bones in parallel: VGG16, Inception V3, AlexNet, and GoogleNet. Each model extracts
deep features, which are then flattened into four separate feature vectors (Flattened
Deep Feature-1 to Feature-4). These extracted features are concatenated in the “Fusion
of CNN Feature Concatenation” module to create a rich, multi-model feature represen -
tation. The fused feature vector is subsequently passed to a Vision Transformer network,
which effectively captures global dependencies and contextual information. Finally,
the Vision Transformer produces the classified output, identifying the specific disease
class of the apple leaf. This architecture effectively combines the strengths of multiple
CNNs through feature-level fusion and leverages the power of Vision Transformers for
improved classification accuracy. Further, the Fig.  9 has shown the Multi-Scale Early
Fusion strategy.
Further, on the data set various data augmentation techniques have been applied to
increase its size. The next step helps in extracting deep learning features. This is exe -
cuted with the help of feature fusion of CNN models. After that the collection of features
identified from the previous step are given as input to ViT. The self-attention mechanism
is responsible here to process patches as well identifying features from the segmented
images. Here MHA- a multi-head attention mechanism is used.
3.4.1 Mathematical formulation for MSEF
The segmented leaf image I is represented as a three-dimensional tensor with height H,
width W, and color channels C. The segmented leaf image can be denoted as:
𝐼𝐼 ∈ 𝑅𝑅𝐻𝐻𝐻 𝐻𝐻𝐻 𝐻𝐻 (5)
Where H, W and C are image’s height, width and channels number. Furthermore, fea -
ture extraction generates meaningful representations from the input image using mul -
tiple feature extraction functions. The represent visual feature ( 𝐹𝐹𝑉𝑉 ), intensity ( 𝐹𝐹𝐼𝐼 ),
gradient ( 𝐹𝐹𝐺𝐺 ), and attention-based features ( 𝐹𝐹𝐴𝐴) extracted from image I, respectively.
Fig. 9 Multi-scale early fusion strategy

Page 14 of 26
Arora et al. Discover Computing (2026) 29:731
The 𝐹𝐹𝑉𝑉 = 𝜑𝜑 𝑉𝑉 (I), 𝐹𝐹𝐼𝐼 = 𝜑𝜑 𝐼𝐼 (I), 𝐹𝐹𝐺𝐺 = 𝜑𝜑 𝐺𝐺 (I), 𝐹𝐹𝐴𝐴 = 𝜑𝜑 𝐴𝐴 (I), where 𝜑𝜑 𝑉𝑉 (I) , 𝜑𝜑 𝐼𝐼 (I) , 𝜑𝜑 𝐺𝐺 (I) ,
and 𝜑𝜑 𝐴𝐴 (I). Indicates the feature extraction functions of VGG16 InceptionV3
GoogLeNet, and AlexNet, respectively. Furthermore, Multi-Scale Early Feature Fusion
has denoted as in Eq. 6.
𝐹𝐹𝑀𝑀𝑀𝑀𝑀𝑀𝑀𝑀 = [𝐹𝐹𝑉𝑉 ;𝐹𝐹 𝐼𝐼 ;𝐹𝐹 𝐺𝐺 ;𝐹𝐹 𝐴𝐴] (6)
where [·] stands for feature concatenation. Further, the transformer token projection is
calculated as in Eq. 7.
𝑍𝑍𝑍𝑍𝑍 𝑀𝑀𝑀𝑀𝑀𝑀𝑀𝑀 𝑊𝑊𝑒𝑒 +𝑏𝑏 𝑒𝑒 (7)
where 𝑊𝑊𝑒𝑒 ∈ 𝑅𝑅(𝑑𝑑𝑑 𝑑𝑑 ) and 𝑏𝑏𝑒𝑒 ∈ 𝑅𝑅𝐷𝐷 and D denotes the transformer embedding dimen -
sion. Then find the Positional Encoding given in Eq. 8.
𝑋𝑋 𝑋𝑋𝑋𝑋𝑋𝑋 (8)
where P is the learnable positional embedding. Finally Multi-Head Self-Attention are
calculated as Q, K, and V where Q = XWQ, K = XWK, V = XWV

Attention (Q, K, V) = Softmax ( QKT
√dk
) V (9)
MHA (X) = Concat (head1,… , headh) WO (10)
Classification Layer
̂y = 𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆 (𝑊𝑊𝑐𝑐 𝐻𝐻𝐻𝐻𝐻 𝑐𝑐 ) (11)
Class = argmax ( ̂y) (12)
Summary Equation
̂y = 𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆 (𝑉𝑉𝑉𝑉𝑉𝑉 ([𝐹𝐹𝑉𝑉 ;𝐹𝐹 𝐼𝐼 ;𝐹𝐹 𝐺𝐺 ;𝐹𝐹𝐴𝐴])) (13)
This formulation enables the proposed MSEF–ViT system to utilize the complementary
local representations learned by multiple CNN architectures while including the mod -
eling of global dependencies using self-attention of the transformers. Furthermore, in
Sect.  4 has discussed the result of these models.
4 Results of the models
The techniques which were applied on the apple leaf disease dataset, were based on
these process circumstances. The training images comprised of 80% of the dataset, and
testing images included 20% of the dataset images. Make sure that no test set images
were used as training images. The input photographs were also subjected to a number of
pre-processing techniques, including noise removal, scaling, color space transformation,
and picture enhancement.
4.1 Experimental platform
Each image in the dataset was expanded to 224 × 224 pixels using 32 as the batch size
while epochs used were 50. Adam’s optimization makes advantage of a 0.0001 learning
rate, Kernel Size = 3 × 3, Stride = 1 Batch size 2, embedded Dimension 64, attention head

Page 15 of 26
Arora et al. Discover Computing (2026) 29:731
number 8, and MLP layer number 256 are the ViT parameters that are employed. In
feature fusion and single learning models, a final dense layer is updated to create ten
distinct classes. The results are demonstrated as the mean standard deviation of 5-folds
stratified cross-validation.
4.2 Evaluation assessment
In the current study, the performance of the feature fusion learning model is analysed
and compared with separate pre-trained models using a total of five assessment criteria
as given in following Eqs. 14–22 [31].

Precision =
Truepos
Truepos + Falsepos (14)

Recall =
Truepos
Truepos + Falseneg (15)
F1− Score =2× ( Precision × RecallPrecision + Recall ) (16)

Accuracy =
∑ 𝑇𝑇𝑝𝑝 + ∑ 𝑇𝑇𝑛𝑛
∑ 𝑇𝑇𝑝𝑝 + ∑ 𝑇𝑇𝑛𝑛 + ∑ 𝐹𝐹𝑝𝑝 + ∑ 𝐹𝐹𝑛𝑛
× 100 (17)

Specificity = Tn
Tn + F𝑝𝑝 (18)
Mean Square Error (MSE): MSE is referred as the measure of the mean squared differ -
ence among the predicted values as well as actual values. If no error is present, the value
of MSE is Zero. It demonstrated in the following Eq. 19 [32].
𝑀𝑀𝑆𝑆𝑆𝑆 = 1𝑚𝑚 ∑ 𝑚𝑚𝑗𝑗𝑗𝑗 (𝑄𝑄𝑖𝑖 − ˆ𝑄𝑄𝑖𝑖 )2 (19)
Here, 𝑄𝑄𝑖𝑖 represents the observed values, ̂ˆ𝑄𝑄𝑖𝑖 denotes the predicted values and m
denotes the total number of observations.
Root Mean Square Error (RMSE): RMSE is referred as the square root of mean
squared difference among the predicted values and observed values. It is expressed in
the following Eq. 20 [33].

𝑅𝑅𝑀𝑀𝑀𝑀𝑀𝑀 = √ 1𝑚𝑚 ∑ 𝑚𝑚𝑗𝑗𝑗𝑗 (𝑄𝑄𝑖𝑖 − ˆ𝑄𝑄𝑖𝑖 )2 (20)
Mean Absolute Error (MAE): Mean Absolute Error is defined as the average total of
absolute errors. It is expressed mathematically in the following Eq. 21.
𝑀𝑀𝐴𝐴𝐴𝐴 = ∑ 𝑚𝑚𝑗𝑗𝑗𝑗 ||𝑄𝑄𝑖𝑖 − ˆ𝑄𝑄𝑖𝑖 || (21)
Intersection Over Union (mIoU): It effectively reflects the accuracy of lesion segmenta -
tion, as shown in Eq. 11.

T = 1𝑙𝑙𝑙1 ∑𝑙𝑙𝑖𝑖𝑖𝑖 𝑞𝑞𝑖𝑖𝑖𝑖∑𝑙𝑙𝑗𝑗𝑖𝑖 𝑞𝑞𝑖𝑖𝑗𝑗 𝑙 ∑𝑙𝑙𝑗𝑗𝑖𝑖 (𝑞𝑞𝑖𝑖𝑗𝑗 −𝑞𝑞 𝑖𝑖𝑖𝑖 ) (22)

Page 16 of 26
Arora et al. Discover Computing (2026) 29:731
4.3 Segmentation results
Segmentation method’s results are tested using 3642 images from the database of 840
Cedar Rust, 630 Apple Scab, 800 healthy, and 1370 blended shots. After data augmenta -
tion, the total number of photos increments to 7284. The paper presents ablation experi-
ments to demonstrate that each component of the upgraded UNet model is capable. For
the start, we experimented with the standard UNet model and noted its performance.
The PSP , UNet model, on the other hand, was trained using UNet + + architecture. The
IoU and mIoU of each segmentation method improved, reaching 91.73% and 90.80%,
respectively, at the same time the parameters were increased to 11.34 M and FLOPs to
28.42 G. It points out that UNet + + not only improves segmentation precision and pixel,
level classification effectiveness but also reduces model complexity. Being with 89.33%,
92.96%, and a mIoU of 92.30%, UNet + + beats the baseline while the parameter num -
bers and computational expenses are practically the same, thus, proving the efficiency
of the EMA module in raising model with the addition of very few computational costs.
In conclusion, the UNet + + model is capable of achieving the maximum mIoU of 93.27%
while at the same time it is the most efficient configuration with 9.26 M parameters and
21.55 G FLOPs. The Performance measure based on no of parameter, FLOP , Absolute
Error and IoU are shown in Fig. 10.
This paper compared three methods. Random experiments compared to segmented
effects from ground truth are photos as rest, rest, and scab (mixed), and healthy. The
segmentation accuracy was 0.1655, 0.0454, 0.1379, 0.1974, 0.0745, and 0.8954 in that
order. Figure 11 displays the outcomes of the random testing where the segmented out -
puts are matched with the ground truth photos.
The Fig.  11 illustrates the performance of three deep learning models — UNet,
UNet++, and PSPNet for spot detection and segmentation on apple leaf images affected
by diseases. The original RGB images (column a) are processed to generate grey-scale
images (column b), background-removed segmented images (column c), and final dis -
ease-masked outputs (column d). UNet effectively segments the diseased spots but
shows moderate boundary precision. UNet + + delivers improved segmentation with
better edge detection and fewer false positives compared to standard UNet. PSPNet
demonstrates strong capability in capturing multi-scale contextual information, result -
ing in more accurate disease region isolation, especially in complex backgrounds. While
exact numerical results are not mentioned in the figure, visual comparison indicates that
PSPNet produces the cleanest and most accurate disease masks, followed by UNet++,
Fig. 10 Performance measure based on no of parameter, FLOP , absolute error and IoU

Page 17 of 26
Arora et al. Discover Computing (2026) 29:731
with standard UNet showing relatively more noise in the segmented output. These
segmentation models play a crucial role in precise disease localization, enabling better
quantitative analysis of infected areas for early diagnosis and severity grading in apple
leaf disease detection systems [34].
4.4 Performance analysis of pre-trained models
The feature fusion method has been utilized in this study for data classification. The
authors used VGG, 16, InceptionV3, AlexNet, and GoogleNet in this work. A (381) vec -
tor layer from the pre, trained CNN model has been used to replace the final layers in
each model in the proposed “Multi, Scale Early Fusion (MSEF)” technique. VGG16 pre,
trained model has 16 total layers and 138, 423, 208 trainable parameters. Accuracy for
training and testing respectively increased to 96.18% and 94.01% over epochs 0 to 40.
The InceptionV3 accuracy graph was derived from the training set and rises rapidly to
91.68%. The InceptionV3 model consists of 48 deep layers with 311, 420, 524 parameters.
Epochs 11 through 40 appear to be the phase when training accuracy stabilizes around
the value 95.27%. At epoch 40, the accuracy drops slightly to 97.23%. With regard to the
accuracy, Figs. 11 and 12 on the one hand, display the curve rising until epoch 40, where
the last point of accuracy reaches up to 94.53%.
AlexNet model, with 62, 378, 344 trainable parameters, and an accuracy of 93.93%
between 0 and 10 epochs, is made up of five convolutional layers and three fully con -
nected layers. Besides this, the accuracy of the training data is increasing very quickly.
As can be seen in Figs. 13 and 14, the accuracy steadily increases and gets close to
95% at epoch 40. Thereafter, the accuracy goes down twice and finally goes up again to
96.25%.
The testing data illustrates a sharp increase to 92.97% from epoch 0 to 9; after 40
epochs, the value remains constant at around 95%. The pre, trained GoogleNet model
consists of 22 layers and 32, 324, 155 trainable parameters. The suggested MSEF model
contains 51.2  million parameters for dataset training. Figure  14 shows the GoogleNet
Fig. 11 Spot detection and segmentation by UNet, UNet + + and PSPNet. Segmentation models trained from
scratch. Same input image used for all 3 models in each row

Page 18 of 26
Arora et al. Discover Computing (2026) 29:731
model’s accuracy curve. Based on the performance of each pre, trained model, the accu -
racy, recall, specificity, and F1, score of each model are calculated.
4.5 Performance OF Multi-Scale Early Fusion (MSEF) model
Deep learning models, which have been through various rounds of tuning, were used
for the research. Since the two, layer feature fusion model has low performance with
InceptionV3, GoogleNet, and AlexNet, the VGG16 indicates better accuracy when it is
compared to other trained prototypes. At 79.45 s, InceptionV3, and GoogleNet achieve
Fig. 14 GoogleNet accuracy graph

Fig. 13 AlexNet accuracy graph

Fig. 12 VGG16 and inceptionV3 accuracy graph

Page 19 of 26
Arora et al. Discover Computing (2026) 29:731
higher accuracy than other feature fusion learning models. The fusion model including
InceptionV3, VGG16, AlexNet, and GoogleNet consequently outperforms other models
in Fig.  15 in terms of accuracy with a time of 5001.14 s. The classification result accu -
rately illustrates the outcomes when these models are stacked singly. The ultimate fea -
ture fusion model among four has a precision value of 99.12% and an accuracy of 98.25%.
Multiple quality evaluations are performed to measure the performance. Feature
fusion learning is used to demonstrate a method’s effectiveness, not a single model.
Along with feature fusion models, the significance of one metric, F1, score, also
increases. The feature fusion deep learning model with an F1, score of 96.41% beats the
Inception V3, VGG16, and GoogleNet models. The major issue of current feature fusion
methods is that users cannot understand the information extracted from feature fusions
without their help. o ensure the reliability capability of the model, 5-fold cross-validation
was employed during experimentation. In Table  4. shown the 5 fold cross validation of
dataset.
The dataset was divided into five equal subsets, where four folds were used for train -
ing and one fold for testing in each iteration. The average cross-validation accuracy of
the proposed MSFF model has 98.25% ± 0.42, indicating low variance and stable perfor -
mance across different data partitions. In comparison, VGG16, AlexNet, Google Net,
and InceptionV3 achieved average cross-validation accuracies of 95.8% ± 1.2, 94.7% ±
1.5, 95.2% ± 1.3, and 96.4% ± 1.1, respectively.
Table 4 Fivefold cross validation of dataset
Fold Accuracy (%) Precision (%) Recall (%) F1-score (%)
Fold 1 97.82 97.45 97.60 97.52
Fold 2 98.14 97.80 98.01 97.90
Fold 3 98.32 98.05 98.20 98.12
Fold 4 98.05 97.72 97.94 97.83
Fold 5 98.92 98.25 98.16 98.28
Mean 98.25 97.25 97.98 98.20
Std. Dev. 0.42 0.31 0.23 0.28
Fig. 15 Evaluation of different feature fusion models

Page 20 of 26
Arora et al. Discover Computing (2026) 29:731
4.6 Ablation study of Multi-Scale Early Fusion (MSEF) model
Table 5 summarizes the ablation study using lesion segmentation, CNN feature fusion,
and Vision Transformer (ViT) modules to analyze their individual contribution to the
proposed Multi-Scale Early Fusion (MSEF) structure. UNet + + replaces its encoder with
one or more CNN backbones. Single models (UNet++ + VGG16 or + InceptionV3) use
that network’s hierarchical features directly.Multi-backbone versions extract parallel fea-
ture maps from VGG16, InceptionV3, GoogLeNet and AlexNet at matching resolutions.
These maps are concatenated (or attention-fused) channel-wise, then fed into UNet++’s
nested dense skip pathways. The decoder receives richer multi-architecture, multi-scale
representations, improving segmentation accuracy through complementary induc -
tive biases while keeping the same nested U-Net + + topology. The results show clearly
that each component integrated sequentially into the disease classification pipeline was
responsible for the performance improvements.
At the beginning, isolated CNN architectures like VGG16 and InceptionV3 were
tested without segmentation and feature fusion. In standalone models, InceptionV3
outperformed VGG16 because it could extract multi-scale features through the use of
inception modules. Yet, the two methods had problems with correct disease location
identification since the complete leaf image, including the background, was directly used
in the classification task. Change to the added UNet + + segmentation module brought
about a huge leap in results by focusing on diseased areas and removing non-informative
background. This gave the classifiers the opportunity to explore lesion-related character-
istics which resulted in good improvements in both accuracy and F1-score. The findings
support the view that correct disease mapping is a very important factor in boosting
classification performance.
Later, the effect of feature fusion of several CNN models was analysed. The mixture
of VGG16 and InceptionV3 resulted in a much higher performance compared to single
models, suggesting that the features extracted by the two networks were not completely
overlapping but instead complementary. Adding GoogLeNet and AlexNet progressively
resulted in even better performance. Although all these networks belong to the CNN
type, their differences in depth of architecture, receptive fields, and ways of extracting
features gave the fusion module the possibility to produce a more informative and dis -
tinguishing representation of disease spots. At last, ESG was used and caused a further
escalation in classification accuracy. Even though the ViT had to fuse features carved
Table 5 An ablation study to understand how lesion segmentation, multi-scale CNN feature fusion,
and Vision Transformer modules individually and collectively contributed to our proposed MSEF-ViT
system Also showing the performance increases that came from the successive addition of each
element
Configuration Segmentation CNN
Fusion
ViT Ac-
curacy
(%)
F1-
Score
(%)
Baseline VGG16 ✗ ✗ ✗ 93.20 92.90
InceptionV3 ✗ ✗ ✗ 94.10 93.70
UNet++ + VGG16 ✓ ✗ ✗ 95.26 94.88
UNet++ + InceptionV3 ✓ ✗ ✗ 95.94 95.30
UNet++ + VGG16 + InceptionV3 ✓ ✓ ✗ 96.82 96.41
UNet++ + VGG16 + InceptionV3 + GoogLeNet ✓ ✓ ✗ 97.43 97.02
UNet++ +
VGG16 + InceptionV3 + GoogLeNet + AlexNet
✓ ✓ ✗ 97.91 97.50
Proposed MSEF ✓ ✓ ✓ 98.25 98.20

Page 21 of 26
Arora et al. Discover Computing (2026) 29:731
out by CNNs, it still supplemented the CNNs’ local feature extraction with its ability to
keep track of long-range dependencies and capture global contexts through the fused
features. MSEF-ViT managed to present the highest overall performance with a 98. 85%
accuracy and an F1-score of 97. 52%. The highest-performing of the proposed archi -
tectures was the result of lesion segmentation, multi-model feature fusion, and trans -
former-based global feature learning each contributing synergistically instead of any of
the components individually.
4.7 Severity analysis of apple plant leaf disease
Apple leaf disease severity was assessed using the CNN -based Multi-Scale Early Fusion
(MSEF) model. The predicted class was determined by the index of the highest value in
the output vector, which corresponded to specific apple leaf diseases such as black rot
and mosaic. For one test case, the model assigned a severity score of 99.54%, which was
classified as “better” because it exceeded the 92% threshold. The severity score has cal -
culated using Eq. 23.

𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆 (%) = 𝐼𝐼𝐴𝐴
𝐿𝐿𝐴𝐴
× 100 (23)
Where, 𝐼𝐼𝐴𝐴 is infected area in pixel and 𝐿𝐿𝐴𝐴 is total leaf area. In contrast, apple leaf disease
was described as “Severity of Bacterial Pustule in this leaf is better, ” indicating a similar
high-severity classification. So, it has calculated as score ≤ 5 − 10%, is Mild, 10 − 25%
is Moderate , 25 − 50% is severe , > 50% means very Severe. The Severity estimation of
leaf disease is shown in Fig. 16.
However, for an apple leaf infected with scab, the model produced a severity score of
only 97.33%, which was interpreted as a relatively lower severity level. This demonstrates
that the MSEF model not only classifies apple leaf diseases but also estimates their sever-
ity on a continuous scale, enabling more precise grading and differentiated manage -
ment decisions for different crops and disease types. An apple leaf disease also shown
with high severity classification for Bacterial Pustule. The right side displays a color-
coded severity scale from 0% to 100%, clearly highlighting the threshold of 92% for high
Fig. 16 Severity estimation of leaf disease

Page 22 of 26
Arora et al. Discover Computing (2026) 29:731
severity. Overall, the diagram demonstrates that the MSEF model not only classifies the
disease type but also provides a quantitative and interpretable severity score, enabling
more precise and differentiated disease management decisions in agriculture.
5 Discussion
This paper employed pre-trained single models, as well as feature fusion learning models
to investigate the multiclass classification of apple leaf images, and select the architec -
ture that produced the best results based on different performance evaluation criteria.
Since FN and FP are very important, the F1 score is adopted; if TP and TN are more sig -
nificant, then accuracy is used. Accuracy can be employed when the class distribution is
similar, however, if it is not, the F1 score seems to be a more effective metric. The num -
ber of DL used to produce feature fusions does not appear to have a significant effect on
the accuracy of the model. In fact, it is the type of feature fusion utilized that decides
the results. The feature fusion of three models (InceptionV3, VGG16, and GoogleNet)
viz., the feature fusion of three models (InceptionV3, AlexNet, and GoogleNet) with the
latter having AlexNet and GoogleNet as the second and third in Fig.  16. Furthermore,
InceptionV3 outperforms feature fusions. Furthermore, all thse models were trained
from scratch without using ImageNet-pretrained weights. Furthermore, in Table  6 has
cshown the calculation time needed for feature fusion and single models.
The training time comparison demonstrates the computational efficiency of the
proposed Multi-Scale Early Fusion (MSEF) framework. Among the baseline models,
GoogleNet requires the highest training time (32,480 s), followed by AlexNet (28,960 s),
VGG16 (25,840 s), and InceptionV3 (22,760 s). In contrast, the proposed MSEF model
achieves the lowest training time of 19,520 s, indicating faster convergence despite inte -
grating multiple deep learning architectures. This improvement is primarily attributed
to the use of transfer learning, efficient early feature fusion, optimized parameter shar -
ing, and an effective training strategy that reduces redundant computations. The fused
feature representation enables the model to learn discriminative information more effi -
ciently than training individual networks independently. Consequently, the proposed
MSEF framework not only reduces overall training time by approximately 14–40% com -
pared with the baseline CNN models but also maintains superior feature learning capa -
bility and classification performance, making it suitable for practical large-scale plant
leaf disease diagnosis applications. Deep Learning (DL) techniques for F1 score remain
one of the most crucial selection factors. Combining the computation time and F1 score
is still advantageous, though. So, feature fusion (InceptionV3, VGG16, and GoogleNet),
as in our study, is a really good method for categorising low-quality super-resolution
images into four types: Mix Rust, Scab, and Healthful. To perform this study, the FGVC7
dataset composed of leaf images taken under controlled conditions, was used; Yet,
Table 6 Calculation time needed for feature fusion and single models
Model Name Training Time(s)
“GoogleNet” 32,480
“AlexNet” 28,960
“VGG16” 25,840
“InceptionV3” 22,760
“Proposed: MSEF” 19,520

Page 23 of 26
Arora et al. Discover Computing (2026) 29:731
further experiments with field-grabbed images are necessary. The comparisons with pre-
vious studies are presented in Table 7.
The comparative evaluation shows that E-AppleNet [ 16] achieves the best overall
classification performance, obtaining an accuracy of 96.85%, precision of 96.9%, and
recall of 96.8%. Its F1-score is 95.9%, indicating a strong balance between precision and
recall. Among the conventional CNN models, EfficientNetB0 [ 21] demonstrates the
strongest performance, with 95.2% accuracy, 95.0% precision, 94.8% recall, and 94.9%
F1-score, while requiring 25,000 s of training and 4.8 ms/image for inference. ResNet50
[20] achieves 94.8% accuracy, 94.5% precision, 94.2% recall, and 94.3% F1-score, with
28,000  s training time and 5.4 ms/image inference. MobileNetV2 [ 22] records 93.5%
accuracy, 93.2% precision, 93.0% recall, and 93.1% F1-score, with the fastest inference
time of 4.3 ms/image. AlexNet, VGG16, and InceptionV3 achieve accuracies of 90.8%,
93.2%, and 94.1%, respectively. E-AppleNet’s training time is not reported, but its 4.5
ms/image inference time demonstrates competitive computational efficiency. The deep
feature vectors generated by these networks are concatenated in the Feature Fusion
Layer, introducing additional parameters for feature alignment, dimensionality reduc -
tion, and redundancy removal. The fused feature representation is then processed by a
Vision Transformer (ViT), which employs self-attention mechanisms to capture long-
range spatial dependencies and global contextual information, increasing computational
cost but significantly improving feature representation.
This clearly states the importance of selecting appropriate pertained models by con -
sidering the balance between accuracy and computational cost. MSEF-feature fusion
method using models such as InceptionV3 + VGG16+AlexNet+GoogleNet is a very
strong candidate for apple leaf disease classification as it: Achieves a high F1- score
(≈ 98.20%), crucial for minimizing both FN and FP in disease detection,
• Leverages complementary feature representations from multiple pertained model to
improve robustness to low-quality and super-resolution inputs,
• Ensures efficient training and inference (only 19520  s), making it attractive for
deployment on edge devices or cloud-assisted mobile apps,
• Outperforms or closely matches heavier single-model CNNs (ResNet50,
EfficientNetB0, VGG16, GoogleNet) while using much less training time than
any of them, and Remains more practical than lightweight models alone (e.g.,
MobileNetV2), which sacrifice accuracy for speed.
The proposed MSEF-based fusion technique is superior for apple leaf disease classifi -
cation when both performance and efficiency are considered, particularly in scenarios
Table 7 Comparative analysis with existing works
Model Accuracy
(%)
Precision
(%)
Recall
(%)
F1 Score
(%)
Training Time
(sec)
Average In-
ference Time
(ms/image)
AlexNet [17] 90.8 90.2 89.9 90 41,321.87 3.8
VGG16 [18] 93.2 93 92.8 92.9 32,976.83 9.6
InceptionV3 [19] 94.1 93.8 93.5 93.7 30,101.42 6.2
ResNet50 [20] 94.8 94.5 94.2 94.3 28,000.00 5.4
EfficientNetB0 [21] 95.2 95 94.8 94.9 25,000.00 4.8
MobileNetV2 [22] 93.5 93.2 93 93.1 20,000.00 4.3
E-AppleNet [16] 96.85 96.9 96.8 95.9 Not Reported 4.5

Page 24 of 26
Arora et al. Discover Computing (2026) 29:731
involving low-quality, noisy, or super-resolution images where precise, fast, and reliable
detection of Rust, Scab, Mix, and healthy leaves is essential. This makes MSEF a prom -
ising candidate for real- world deployment in precision agriculture and early -warning
monitoring systems.
6 Conclusion
The authors of the present work employ a combination of feature fusion and single
learning models to recognize four classes of apple leaves in images: scab, rust, normal,
and mixed disease. By using the pre, trained VGG16 model, the accuracy obtained was
94.01% during testing and 96.18% during training. The accuracy curve generally allows
to achieve a maximum performance of 98.01% together with an F1, score of 93.58%. The
InceptionV3, VGG16, and GoogleNet deep learning models offer better detection and
classification performances in 19,520 s, combined with a feature fusion model. To dem -
onstrate the effectiveness of the proposed approach, a public dataset from the FGVC 7
repository was chosen. The fusion approach presented here has the capacity to recognize
apple diseases with a wonderful accuracy of 98.25%. Besides that, the proposed method
outperforms many state, of, the, art methods in the diagnosis and classification of plant
leaf diseases. This model is very promising for the future and can be tested with other
plant datasets with the potential to benefit the sector by giving farmers more service
options and preserving livelihoods. The proposed method can be a valuable resource for
many computer vision challenges and applications, including image, based industrial
quality control, cancer detection and classification, and masked face recognition. Also,
it is not clear from the evidence that how much deep learning (DL) is used to make a
feature fusion of DL changes the model’s accuracy. In the future, to come up with a com-
plete system for categorizing apple leaf disease, researchers will combine deep learning
and feature extraction with other methods (such as form, colour, and texture). Some of
the interesting exclusive to tricks speeding new systems up will be working with more
complex feature extraction algorithms, trying different fusion methods, and increasing
the number of datasets.
Author contributions
Apoorva Arora, Vinay Gautam and Anand Muni Mishra performed the data collection, designed the model and
performed the experiments. Santar Pal Singh, Yadvendra Pratap Singh validate the models, write the first draft of the
manuscript, and supervision. Mukund Pratap Singh validate the models, wrote the final draft, critical revision of the
manuscript and supervision.
Funding
None. APC charges are covered by Manipal University Jaipur under the Open Access agreement for the corresponding
author.
Data availability
The data set used in the experiments can be found on: https://www .kaggle.com /c/plant-pa thology- 2020-fgvc7.
Code availability
The entire code for this study will be released on GitHub after acceptance.
Declarations
Ethical approval
The current study was performed according to the ethical standards of research and publication. Further, the authors
certify that the research presented in this article does not involve any human participants or animals.
Consent to participate
Not applicable.
Consent for publication
Not applicable.

Page 25 of 26
Arora et al. Discover Computing (2026) 29:731
Competing interests
The authors declare no competing interests.
Received: 5 February 2026 / Accepted: 7 September 2026
References

  1. Kaur P , Mishra AM, Goyal N, Gupta SK, Shankar A, Viriyasitavat W. A novel hybrid CNN methodology for automated leaf
    disease detection and classification. Expert Syst. 2024;41(7):e13543. https://doi.org/10.1111/exsy.13543.
  2. Albattah W, Nawaz M, Javed A, Masood M, Albahli S. A novel deep learning method for detection and classification of
    plant diseases. Complex Intell Syst. 2022 Feb 1:1–8. https://doi.org/10.1007/s40747-021-00536-1.
  3. Zeng W, Li M. Crop leaf disease recognition based on Self-Attention convolutional neural network. Comput Electron Agric.
    2020;172:105341. https://doi.org/10.1016/j.compag.2020.105341.
  4. Fu L, Li S, Sun Y, Mu Y, Hu T, Gong H. Lightweight-convolutional neural network for apple leaf disease identification. Front
    Plant Sci. 2022;13:831219. https://doi.org/10.3389/fpls.2022.831219.
  5. Khan AI, Quadri SM, Banday S, Shah JL. Deep diagnosis: A real-time apple leaf disease detection system based on deep
    learning. Comput Electron Agric. 2022;198:107093. https://doi.org/10.2139/ssrn.4019467.
  6. Kaur P , Harnal S, Gautam V, Singh MP , Singh SP . A novel transfer deep learning method for detection and classification of
    plant leaf disease. J Ambient Intell Humaniz Comput. 2023;14(9):12407–24. https://doi.org/10.1007/s12652-022-04331-9.
  7. avhale KR, Gawande U. An overview of the research on plant leaves disease detection using image processing techniques.
    Iosr J Comput Eng (iosr-jce). 2014;16(1):10–6. https://doi.org/10.9790/0661-16151016.
  8. Mishra AM, Kaur P , Singh MP , Singh SP . A self-supervised overlapped multiple weed and crop leaf segmentation approach
    under complex light condition. Multimedia Tools Appl. 2024;83(27):68993–9018. h t t p s : / / d o i . o r g / 1 0 . 1 0 0 7 / s 1 1 0 4 2 - 0 2 4 - 1 8 2 7
    2 - 2 .
  9. Banjar A, Javed A, Nawaz M, Dawood H. E-AppleNet: An Enhanced Deep Learning Approach for Apple Fruit Leaf Disease
    Classification. Appl Fruit Sci. 2025;67(1):1–1. https://doi.org/10.1007/s10341-024-01239-w.
  10. Jiang P , Chen Y, Liu B, He D, Liang C. Real-time detection of apple leaf diseases using deep learning approach based on
    improved convolutional neural networks. Ieee Access. 2019;7:59069–80. https://doi.org/10.3390/sym10010011.
  11. Rahman KN, Banik SC, Islam R, Al Fahim A. A real time monitoring system for accurate plant leaves disease detection using
    deep learning. Crop Des. 2025;4(1):100092. https://doi.org/10.1007/s12559-025-10421-5.
  12. Aboelenin S, Elbasheer FA, Eltoukhy MM, El-Hady WM, Hosny KM. A hybrid Framework for plant leaf disease detection and
    classification using convolutional neural networks and vision transformer. Complex Intell Syst. 2025;11(2):142. h t t p s : / / d o i . o
    r g / 1 0 . 1 0 0 7 / s 4 0 7 4 7 - 0 2 4 - 0 1 7 6 4 - x .
  13. Durjoy SH, Shikder ME, Mojumdar MU. A comprehensive hog plum leaf disease dataset for enhanced detection and clas-
    sification. Data Brief. 2025:111311. https://doi.org/10.1016/j.dib.2025.111311.
  14. Chavan P , Chavan PP , Chavan A. Hybrid architecture for crop detection and leaf disease detection with improved U-Net
    segmentation model and image processing. Crop Prot. 2025;190:107117. https://doi.org/10.1016/j.cropro.2025.107117.
  15. Huang X, Xu D, Chen Y, Zhang Q, Feng P , Ma Y, Dong Q, Yu F. EConv-ViT: a strongly generalized apple leaf disease classifica-
    tion model based on the fusion of ConvNeXt and transformer. Inf Process Agric. 2025. p. 19.
  16. Doutoum AS, Tugrul B. A systematic review of deep learning techniques for apple leaf diseases classification and detec-
    tion. PeerJ Comput Sci. 2025;11:e2655. https://doi.org/10.7717/peerj-cs.2655.
  17. Banjar A, Javed A, Nawaz M, Dawood H. E-AppleNet: An Enhanced Deep Learning Approach for Apple Fruit Leaf Disease
    Classification. Appl Fruit Sci. 2025;67(1):1–1. https://doi.org/10.1007/s10341-024-01239-w.
  18. Doutoum AS, Tugrul B. A systematic review of deep learning techniques for apple leaf diseases classification and detec-
    tion. PeerJ Comput Sci. 2025;11:e2655. https://doi.org/10.7717/peerj-cs.2655.
  19. Ahmed I, Yadav PK. Predicting apple plant diseases in orchards using machine learning and deep learning algorithms. SN
    Comput Sci. 2024;5(6):700. https://doi.org/10.1007/s42979-024-02959-2.
  20. Acharya V, Ravi V. Apple foliar leaf disease detection through improved capsule neural network architecture. Multimedia
    Tools Appl. 2024;83(16):48585–605. https://doi.org/10.1007/s11042-023-17463-7.
  21. Kumar S, Kumar R, Gupta M, Obaid AJ. Deep learning-based web application for real-time apple leaf disease detection and
    classification. In: 2024 International Conference on Advancements in Smart, Secure and Intelligent Computing (ASSIC)
    2024 Jan 27 (pp. 1–6). IEEE.
  22. Arshad F, Mateen M, Hayat S, Wardah M, Al-Huda Z, Gu YH, Al-antari MA, PLDPNet. End-to-end hybrid deep learning
    framework for potato leaf disease prediction. Alexandria Eng J. 2023;78:406–18. https://doi.org/10.1016/j.aej.2023.07.076.
  23. Khan AI, Quadri SM, Banday S, Shah JL. Deep diagnosis: A real-time apple leaf disease detection system based on deep
    learning. Comput Electron Agric. 2022;198:107093. https://doi.org/10.2139/ssrn.4019467.
  24. Zhong Y, Zhao M. Research on deep learning in apple leaf disease recognition. Comput Electron Agric. 2020;168:105146.
    https://doi.org/10.1016/j.compag.2019.105146.
  25. Arora A, Gautam V. Plant leaves disease detection in complex background using automatic segmentation and improved
    multi-scale feature fusion network. Syst Soft Comput. 2026;8:200434. https://doi.org/10.1016/j.sasc.2025.200434.
  26. Mehdipour S, Mirroshandel SA, Seyed Amirhossein Tabatabaei. A novel lightweight hybrid CNN–ViT for maize leaf disease
    classification. Sci Rep. 2026;16(1):10468.
  27. Sennan S, Somula R, Cho Y, Sennan S. A hybrid vision transformer and ResNet18 based model for biotic rice leaf disease
    detection. Front Plant Sci. 2025;16:1711700. https://doi.org/10.3389/fpls.2025.
  28. Thapa R, Zhang K, Snavely N, Belongie S, Khan A. The plant pathology challenge 2020 data set to classify foliar disease of
    apples. Appl Plant Sci. 2020;8(9). https: //w ww.kag gle . com/c /plant-pa th ol ogy-2020-fgvc7.
  29. Albattah W, Nawaz M, Javed A, Masood M, Albahli S. A novel deep learning method for detection and classification of
    plant diseases. Complex Intell Syst 2022 Feb 1:1–8. https://doi.org/10.1007/s40747-021-00536-1.

Page 26 of 26
Arora et al. Discover Computing (2026) 29:731
30. Taji K, Sohail A, Shahzad T, Khan BS, Khan MA, Ouahada K. An ensemble hybrid framework: a comparative analysis of
metaheuristic algorithms for ensemble hybrid CNN features for plants disease classification. IEEE access. 2024 Apr;16. h t t p
s : / / d o i . o r g / 1 0 . 1 1 0 9 / A C C E S S . 2 0 2 4 . 3 3 8 9 6 4 8 .
31. Mohamed M. Agricultural sustainability in the age of deep learning: current trends, challenges, and future trajectories.
Sustainable Mach Intell J. 2023;4:2–1. https://doi.org/10.61185/SMIJ.2023.44102.
32. Hosny KM, El-Hady WM, Samy FM, Vrochidou E, Papakostas GA. Multi-class classification of plant leaf diseases using feature
fusion of deep convolutional neural network and local binary pattern. IEEE Access. 2023;11:62307–17. h t t p s : / / d o i . o r g / 1 0 . 1
1 0 9 / A C C E S S . 2 0 2 3 . 3 2 8 6 7 3 0 .
33. Ahila Priyadharshini R, Arivazhagan S, Arun M, Mirnalini A. Maize leaf disease classification using deep convolutional neural
networks. Neural Comput Appl. 2019;31:8887–95. https://doi.org/10.1007/s00521-019-04228-3.
34. Arora VA, Gautam. Plant leaves disease detection in complex background using automatic segmentation and improved
multi-scale feature fusion network. Syst Soft Comput. 2026;8:200434. ISSN 2772–9419. h t t p s : / / d o i . o r g / 1 0 . 1 0 1 6 / j . s a s c . 2 0 2 5 .
2 0 0 4 3 4 .
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

论文原文与出版信息

Discover Computing
查看论文原文

继续探索