论文信息

Tania Sarkar / Pranav Kumar Singh / Parag Bhuyan 等 4 人

Discover Artificial Intelligence

论文解读

AI 辅助整理
方法
动态核选择、区域自适应特征路由、超轻上下文编码与熵引导池化。
发现
分类准确率达90.69%,参数量和FLOPs显著降低,适合边缘部署。
机会点
可探索复杂自然场景下轻量模型在低资源边缘设备的实时植物识别与保护应用。

论文摘要

博多兰领土区域(BTR)的野生食用蔬菜是自然生长并被土著社区普遍作为食物食用的植物物种。这些植物是营养和治疗特性的重要来源,对农村社区的粮食安全和社会经济发展至关重要。因此,对这些独特植物资源的可持续保护和利用具有重要意义。开发高效准确的自动识别系统是保护这些植物资源的重要策略。当前的植物识别方法主要基于经典机器学习(ML)方法和深度卷积神经网络(CNN)架构进行识别和分类。这些方法对于在受控或原始条件下拍摄的图像是有效的,但在野生食用植物所处的森林和草地复杂自然环境中,其性能往往远不理想。本文提出了一种熵引导的动态轻量级深度学习架构,用于自动检测BTR中的野生食用蔬菜。所提出的模型采用动态核选择(DKS)、区域自适应特征路由(RAFR)、超轻量上下文编码(ULCE)和熵引导全局池化(EGGP)的自适应计算,以高效捕捉多尺度植物特征并减少冗余计算。我们所提出框架的新颖性在于这些模块的协同集成,旨在在不影响性能的情况下降低计算开销。实验结果表明,所提出的模型达到了90.69%的优异分类准确率,同时显著降低了参数复杂度和浮点运算量(FLOPs),非常适合实时精准农业和低资源边缘部署应用。

全文

Discover Artificial Intelligence

Discover Artificial IntelligenceSarkar et al. Discover Artificial Intelligence (2026) 6:1539
https://doi.org/10.1007/s44163-026-02528-x
RESEARCH Open Access
An entropy-guided dynamic lightweight
network for identification of wild edible
vegetables of BTR
Tania Sarkar1, Pranav Kumar Singh1, Parag Bhuyan2 and Anshuman Kalla3*

  • C o r r e s p o n d e n c e :
    Anshuman Kalla
    anshuman.kalla@sitpune.edu.in
    1Department of Computer Science
    and Engineering, Central Institute
    of Technology Kokrajhar, Kokrajhar,
    Assam 783370, India
    2Faculty of Computer Technology,
    Assam Down Town University,
    Guwahati, Assam 781026, India
    3Symbiosis Institute of Technology,
    Pune Campus, Symbiosis
    International (Deemed University),
    Pune, India, Pune,
    Maharashtra 412115, 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
    Wild edible vegetables of Bodoland Territorial Region (BTR) are the species of
    plants that grow naturally and are commonly consumed as food by the indigenous
    communities. These plants are important sources of nutritional and therapeutic
    properties and are essential for food security and socio-economic development
    of rural communities. Therefore, sustainable conservation and utilization of these
    unique plant resources are of great significance. Developing an efficient and accurate
    automatic identification system is an essential conservation strategy for them. Current
    plant identification methods are mainly based on classical machine learning (ML)
    methods and deep convolutional neural network (CNN) architectures for recognition
    and classification. These methods are effective for images taken under controlled or
    pristine conditions, but the performance is often far from ideal in the complex and
    natural environments of forest and grassland, where wild edible plants are found. This
    paper proposes an entropy-guided dynamic lightweight deep learning architecture
    for automatic detection of wild edible vegetables in BTR. The proposed model
    employs adaptive computation with Dynamic Kernel Selection (DKS), Region-wise
    Adaptive Feature Routing (RAFR), Ultra-Light Context Encoding (ULCE), and Entropy-
    Guided Global Pooling (EGGP) to capture multi-scale plant characteristics efficiently
    and reduce redundant computations. The novelty of our proposed framework
    lies in its coordinated integration of these modules that is designed to reduce
    computational overhead without compromising with performance. Experimental
    results show that the proposed model achieves excellent classification accuracy
    of 90.69% with significantly reduced parameter complexity and floating-point
    operations (FLOPs), which is well-suited for real-time precision agriculture and low-
    resource edge deployment applications.
    Keywords Deep learning, Entropy guided attention, Dynamic Kernel selection, Image
    classification, BTR Assam
    1 Introduction
    Bodoland Territorial Region, also known as BTR, is an autonomous sixth schedule
    region in Assam, North East India. Comprising 5 districts, this place is inhabited pre -
    dominantly by Bodo and other indigenous communities. BTR has forests and designated

Page 2 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
reserve forests that cover approximately 30% to 35% of the total geographical area and
has three national parks. Its climate made it an ideal place for various plants and ani -
mals. Villagers and indigenous communities of these people are mainly dependent on
these natural resources for their livelihood. Wild edible vegetables are a part of their
regular diet due to their availability and various nutritional benefits [ 1]. Not only used
as food, but these vegetables are also often used as sources of medicine among the rural
community. Even though these plants are so beneficial among the rural people, they are
losing their popularity gradually due to the lack of knowledge among the young genera -
tion. However, even though some people know their benefits, they often face difficulty in
recognizing them properly, which stops them from using these plants. Manual identifi -
cation is difficult and may be wrong at times. Thus, it is necessary to have an automatic
identification system that can help someone identify these plants easily and use them
confidently.
The rapid ongoing developments in AI and computer vision have enabled automated
classification across various sectors such as agriculture, industry, and healthcare [ 2–4].
Plant classification involves collecting plant images, processing them, extracting fea -
tures, and classifying them using supervised ML algorithms. ML for plant identification
has become very popular, but it comes with the cost of manual feature extraction. This
process is time-consuming and may affect the classification results.
The deep learning (DL) algorithms use neural networks to overcome the difficulty of
manual feature extraction and help researchers to fully automate the entire identification
task. Deep convolution neural networks, especially CNNs, have become the most popu -
lar deep learning models for image classification tasks [ 5–7]. Many variants of CNN [ 8,
9] have been introduced, and gradually, plant classification has become more accurate
and easier than before. However, to achieve accurate results, both voluminous data and
substantial computational infrastructure are required by deep learning algorithms. So
transfer learning came to the rescue [ 10]. Transfer learning enables pre-trained models
to classify images accurately even with less amount of data [ 11]. Models that are previ -
ously trained on large datasets can be fine-tuned on smaller datasets and achieve per -
formance equivalent to a traditional CNN model. Convolutional neural network (CNN)
models, including transfer learning, have been extremely popular but still fail to capture
the complex patterns in images taken in a complex background or lighting conditions.
Existing state-of-the-art pre-trained deep CNN models are found to be effective for
images taken under controlled or pristine conditions. However, their performance suf -
fers in terms of accuracy in complex and natural environments of forest and grassland,
where wild edible plants are found. The computational requirements of these techniques
are another big challenge, which needs to be minimized without compromising the
accuracy of detection. Motivated by this, we propose a deep CNN-based novel frame -
work that can address the above-mentioned challenges and meet the objective of auto -
matic detection of wild edible vegetables in BTR. Our major contributions in this work
are listed as follows:
• We build a dataset for wild edible vegetables containing 2310 images. In particular,
we considered 21 species and collected 110 images per species. Various districts of
BTR are the genesis of these images.
• We propose an entropy-guided dynamic lightweight deep learning architecture for
automatic detection of wild edible vegetables in BTR.

Page 3 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
• We employ adaptive computation with Dynamic Kernel Selection (DKS), Region-
wise Adaptive Feature Routing (RAFR), Ultra-Light Context Encoding (ULCE), and
Entropy-Guided Global Pooling (EGGP) to capture multi-scale plant characteristics
efficiently and reduce redundant computations. The novelty of the proposed
architecture is in its coordinated integration of these models within a unified
lightweight architecture. This integrated design facilitates the model to adapt its
computational focus to plant regions that are informative and feature scales, which is
particularly important to identification of plant under complex natural backgrounds.
• We leverage multiple optimizers, including Adagrad, AdamW, and Stochastic
Gradient Descent, to fine-tune the identification of wild species in our proposed
architecture.
• We evaluate the performance of the proposed architecture by conducting
experiments and comparing the results against the four different popular pre-trained
models, viz., AlexNet, ResNet50, DenseNet121, and InceptionV3. The metrics
considered are accuracy, sensitivity, specificity, precision, and F1-score.
The outline of the paper is as follows. Section  2 discusses related works to distinguish
our work from them. Section 3 discusses the dataset we collected in BTR and then pres -
ents the proposed architecture to address the problem. Section  4 provides details of the
experimental setup and also presents the obtained results, which is followed by its dis -
cussion in Sect. 5. Section 6 finally concludes the paper.
2 Related work
BTR is a hotspot of rich natural resources that include a diverse variety of valuable
plants and rare animal resources. Over the past few years, there have been many efforts
to save these natural resources. Regarding the conservation of plant resources of BTR,
many researchers have come up with articles highlighting the variety of plants available
in this region, along with their uses. An interesting study of the edible plants found in
the Kokrajhar district is presented in [12]. In this survey, the authors have identified and
documented 52 wild edible plants consumed by the Bodo Tribe of Kokrajhar district.
Similar articles describing wild edible vegetables found and consumed by the locals of
Udalguri and Baksa districts are presented in [13] and [14].
Although the above works are helpful to the research community, they are seldom
referred to by the general public. As a first step towards conservation and sustainable
utilization of these plant resources, it is necessary to identify them correctly. Manual
identification of these plants can be time-consuming and may also be incorrect. Thus, an
automatic identification tool would be helpful, not only to the common people but also
to the experts.
With the growing popularity of artificial intelligence (AI), automatic identification
systems have become popular in almost every sector, such as healthcare, industry, and
agriculture. Plant identification systems using AI leverage machine learning and com -
puter vision to identify plants from their images. ML techniques such as SVM, KNN,
and RF, after getting trained on labeled plant images, are able to infer the underlying
patterns that help in recognizing the various plant species. Leaf characteristics are gen -
erally considered the primary morphological features to distinguish among different
plants. Leaf features such as shapes, textures, colors, and venation patterns are extracted
and analyzed to classify these plant species. Lightweight deep-learning frameworks for

Page 4 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
agricultural image assessment are gaining popularity, especially for complicated and
resource-constrained contexts. DDM-YOLO [15] is a lightweight object-detection model
for ripe daylily fruits in complicated situations. Another work, a novel YOLOv5n-based
[16] and transfer learning-based method for pepper blossom detection, demonstrating
the growing applicability of lightweight detection frameworks in agriculture. DS-YOLO
[17] was intensively explored for lightweight object identification to localize mature day-
lily fruits and stems in unstructured situations. These approaches are based on object
detection and localization. They do not address the problem of fine-grained classifica -
tion of wild edible vegetable species, which is caused by the visual similarities among
classes and subtle morphological differences.
One of the primary and most popular works focusing on identifying plants based on
the curvature of leaf shapes is presented in [ 18]. The authors here developed the first
mobile app for automatic plant identification and also created one of the largest datas -
ets, named Leafsnap. A leaf recognition approach using texture features is presented in
[19]. Leaf textures serve as a dominant feature for classifying leaves with similar shapes.
Sometimes, features are also combined to achieve better results.
In [20], the authors used a combination of shape, texture, and color features to identify
different species. While these features may seem similar for most leaves and may change
with age or environment, vein morphological patterns can provide a better and more
consistent feature for leaf categorization[21]. Analysis of leaf venation network has been
carried out at different scales in [22] to classify legume varieties.
Traditional machine learning (ML) algorithms require manual feature extraction,
which is time-consuming and requires domain expertise. On the other hand, deep learn-
ing algorithms, especially Convolutional Neural Networks (CNNs), can automatically
learn features from raw plant images [ 23]. In addition to automating feature extraction,
research suggests that CNNs also provide better feature representations than hand -
crafted features [ 24] used in traditional ML algorithms. But how CNN makes its deci -
sions is often not interpretable to the users. Authors in [ 25] focused on this issue and
developed a Deconvolutional Network (DN) to gain insight into the internal working of
the CNN architecture.
Authors in [ 26] suggested that depth is an important factor in a CNN model, which
generally increases the overall performance of the model. But training a deep CNN
requires a large amount of data and is computationally intensive. This led to the concept
of transfer learning.
Transfer learning involves using pretrained models, such as ResNet, AlexNet, VGG -
Net, and EfficientNet, already trained on large image datasets, directly for feature extrac-
tion or fine-tuning on smaller datasets. Using transfer learning, models can achieve
performances similar to or sometimes better than deep CNNs trained from scratch. In
[27], we have studied some of the popular pretrained CNN models for classifying wild
edible vegetables in BTR.
CNN models, including the pretrained ones, excel at local feature extraction and often
struggle to capture the global dependencies or the global context of an image. This limi -
tation makes CNNs hard to recognize images with long-range dependencies or complex
backgrounds. Transformers, on the other hand, use a self-attention mechanism to cap -
ture the global context, thereby making them suitable for identifying images with natu -
ral and complex backgrounds. The Vision Transformer(ViT)[ 28], developed by Google,

Page 5 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
is often considered the first transformer architecture for image classification. Few
researchers are considering this architecture for the classification of plants as described
in [ 29] and [ 30]. Authors in [ 29] presented a self-supervised ViT for large-scale plant
identification, whereas ViT is used in [ 30] for automatic classification of plant seedlings.
ViT performs global attention calculation, which makes it heavy and computationally
inefficient, especially for images with higher resolution.
Chen et al. [ 31] proposed a novel architecture that increases the model complexity
without increasing the depth and width of the network. Dynamic convolution, in con -
trast to a single kernel, is based on several convolution kernels working in parallel in
each layer and then fusing them through an attention mechanism. The combination
increases the capacity for representation because the kernels are combined non linearly
through the attention mechanisms. However, the method requires attention computa -
tion for all kernels, even though it is effective. MixNet [ 32] introduced a novel mixed
depthwise convolution that efficiently fuses different kernel sizes into a single convolu -
tion. MixConv is a simple alternative to conventional depthwise convolution that pro -
vides gains in accuracy and efficiency. However, the kernel selection was static during
the inference process. Context Encoding Networks [ 33] explore the effect of global con -
textual information on semantic segmentation, and selectively highlight class-dependent
feature maps from scenes. It boosts the semantic segmentation results significantly with
no additional computational cost. ContextNet [34] is a novel deep neural network archi-
tecture that efficiently integrates contextual information for real-time applications. It
performs competitive semantic segmentation in real-time with minimum memory con -
sumption by using factorized convolution, network compression and pyramid represen -
tation. ContextNet has a deep branch that operates at low resolution to capture global
contextual information and a shallow branch to focus on high resolution segmentation
features. Filus and Domańska [ 35] proposed a new Global Entropy Pooling layer for
Convolutional Neural Networks. The novelty of the method is that the Entropy value is
directly applied to the pooling, without any weighting scheme for the feature maps pro -
duced by the convolution. This approach uses the amount of information as measured
by Entropy to determine the feature maps.
Similarly works by Sindhi et al. [ 36–39] adopted different approaches such as Opti -
mized deep learning framework mechanism, mix-architecture CNN framework using
an enhanced optimizer, a synthetic-augmented attention and an xxplainable AI-driven
hybrid model for plants disease detection. Kuang et al. in their works [ 15, 16, 40] pro-
posed enhancements to YOLO and transformer-based models to achieve better accu -
racy for objects detection.
Most of the existing solutions from CNN to transfer learning models to transformer
models face problems when dealing with real images, which are captured in complex
and natural environments. In addition, there is a tradeoff between performance and
computational power requirements. To achieve higher accuracy, the computing require-
ments are found to be higher. Thus, the aim of this work is to develop a lightweight
automatic plant identification system that addresses this gap for the classification of real-
world images of wild edible vegetables captured from different districts in BTR. Existing
dynamic convolution methods mainly apply the kernels uniformly on the spatial feature
map by adjusting kernel combinations based on the global feature responses or channel-
level representations. Therefore, these approaches do not explicitly distinguish between

Page 6 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
the informative regions of objects and the uninformative regions of the background
during computation. We try to capture multi-scale plant characteristics efficiently,
maximize accuracy, and minimize computational requirements. This, existing dynamic
convolution-based and hybrid-based approaches primarily emphasize on aggregation of
adaptive kernel, while other methods utilizing conditional-computation focus on activa -
tion of spatial regions in a very selective way. The approaches based context encoding
helps to improve feature representations by adding contextual dependencies, whereas
methods which are based on information-aware pooling try to preserve discriminative
responses in global aggregation. Our proposed approach DynaLiteNet complements
these techniques by comining them in a sequential lightweight pipeline.
3 Material and methods
In this section, first, we provide descriptions of the data that we have collected and pre -
processed, then we provide the details of the proposed architecture, which is trained,
tested, and validated on this dataset.
3.1 Dataset description
This section presents the details of the data collection mechanism, its size, splitting, and
preprocessing techniques used.
3.1.1 Data collection
The dataset used here contains 2310 images from 21 species, with 110 images per spe -
cies, collected across various districts of BTR. Images are mostly collected from village
marketplaces and surrounding forest areas. A regular camera-equipped mobile phone
device has been used to gather these images. To ensure the correct identification and
usefulness of the collected (image) samples, local villagers and vendors were consulted.
The images of the plants were captured against their natural backgrounds from vari -
ous angles under different lighting conditions. We considered plants at different growth
stages and at different seasons. Some images have cluttered backgrounds and partial
occlusions as well. Images were collected throughout the year to capture the seasonal
variations and changes in environmental conditions. Most images are acquired during
daylight hours. These images were collected from different locations across the four dis -
tricts of BTR, thereby incorporating the region’s geographical diversity. The sites visited
included rural areas, associated forests, and local marketplaces.
The images were manually organized into different folders, with the folder names
representing the class labels of the corresponding images. A separate metadata file is
maintained, which contains additional information for all species, such as their scientific
name, family, local name, edible part, and method of cooking.
The identification of the plants was verified using information obtained from the local
vendors and the villagers familiar with available plant species of the region. For cross-
verification, we have referred to the relevant research papers published in the literature.
The dataset mainly consists of plant images collected from their natural habitats and
local marketplaces. Only a few images, particularly for the classes with insufficient field
images, were taken from the internet to address class imbalance. Thus, no fixed fraction
is maintained across the classes.

Page 7 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
Moreover, various departments and offices, viz., the District Agriculture Office, Kokra-
jhar, the Department of Botany, Bodoland University, and the Department of Botany,
Gauhati University, were visited to collect preserved samples of rare species. Further -
more, a few images are taken from the Internet to enrich the variety of the samples in
the dataset. The majority of the images in our dataset are taken against natural back -
grounds and exhibit wild vegetables in their natural habitats. So we believe our dataset is
suitable for developing identification models that are more robust and better capture the
complexity of images with natural backgrounds.
3.1.2 Preprocessing
The input images used in this experiment are mostly taken using mobile phone cameras
across various locations in different lighting conditions. These raw images with varied
and complex backgrounds present numerous problems and are not suitable for further
analysis. The primary objective of image preprocessing is to transform raw input images
into a standardized format to make them suitable for deep learning models.
At first, our dataset, containing 2310 images from 21 classes, is manually split into
training and testing sets. In particular, training comprises 80% of the dataset, and testing
comprises the remaining 20%. The validation set was 20% of the training data to prevent
overfitting. The classes are balanced, with 100 images per species in the training set and
10 images per species in the test set.
The training set and the validation set are required for training the model and assess -
ing the model’s performance on new unseen data during training, respectively. The test
set, on the other hand, is used to evaluate the model after the training is completed. As
the standard preprocessing steps, we have used resizing, normalization, and data aug -
mentation. Resizing of images involves scaling an image to a standard size to fit it to
the neural network architecture. The most common image size used for standard CNN
models and transformer-based models is 224x224.
Normalization is a technique that transforms the image pixel intensity values to a
standard range. It helps in increasing training stability and improving generalization
efficiency. Usually, transformer models use the z-score normalization technique to
transform the image pixel values. It is done in such a way that the distribution has a
mean value 0 and a standard deviation value 1. This ensures that the inputs fed to the
architecture have a consistent distribution, necessary for stabilizing the training process,
thereby ensuring faster convergence.
Data augmentation is a technique used primarily on the training set to increase the
number and diversity of images. Here, we have used flipping, rotation, cropping, and
zooming as the primary augmentation steps. The data augmentation techniques help the
model learn the required invariance. Horizontal flipping exposes the model to mirrored
images and makes it learn reflection invariance. On the other hand, small rotations help
the model learn the rotation-invariant features and make it robust to recognize images
that are not perfectly aligned. Randomly cropping the image and zooming it helps the
model to learn images at different scales, thereby ensuring translation invariance and
scale invariance, respectively.

Page 8 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
3.2 Method
This paper presents a novel, lightweight, and dynamic-adaptable deep learning archi -
tecture, DynaLiteNet, for automatic plant classification. The model is different from
traditional lightweight convolutional neural networks (CNNs) that rely on fixed kernel
operations and pre-designed computation routes. Instead, it adaptively adjusts its com -
putation according to the complexity and information of the input feature maps. The
architecture is optimized for real-world applications in agriculture, where wild edible
vegetables images typically have large variations in illumination, occlusion, background
noise, and texture diversity. The proposed method targets a trade-off between classifica -
tion accuracy, computational efficiency, and deployment feasibility on low-resource edge
devices such as mobile phones, agricultural drones, and embedded systems. DynaLite -
Net neither deepens the network nor utilizes expensive transformer-based attention
mechanisms. It uses entropy-driven adaptive computing and region-aware processing
instead. The general architecture of the proposed DynaLiteNet architecture is shown
in Fig.  1. The details of the layer-wise parameters of the proposed model are shown in
Table 1. It employs dynamic receptive field adaptation, entropy-based feature selection,
and low parameter complexity for effective global context modeling to improve the plant
recognition performance. This novel method enhances the accuracy of plant identifica -
tion and simultaneously guarantees the usability of the model in resource-poor environ -
ments. This, therefore, has a great potential to improve agricultural technologies and
make them more accessible.
The proposed model constitutes dynamic kernel selection (DKS), Region-wise Adap -
tive Feature Routing (RAFR), Ultra-Light Context Encoding (ULCE) and Entropy-
Guided Global Pooling (EGGP). The existing lightweight CNN models are mainly based
on fixed convolution operations and also uniform processing of features. In contrast,
the proposed model uses an entropy guided dynamic processing mechanism in which
the DKS module is responsible for adaptive receptive selection of the field, the RAFR
module enables conditional feature processing at the region level, ULCE targets con -
textual dependencies with lightweight computation, and EGPP enables feature aggre -
gation, which is information aware by using weights derived from entropy. The novelty
of the proposed framework lies in its coordinated integration of these modules that is
designed to reduce computational overhead without compromising with performance.
It is designed to identify the plants in a complex natural background and is suitable for
resource-constrained devices for computer vision applications.
3.2.1 Stem convolution layer
In DynaLiteNet’s first stage, the input image is passed through a lightweight stem convo-
lution layer to extract basic spatial information. Stem layer extracts edge details, texture
transitions, color gradients, and structural patterns from images of plants to initialize
features. Given an input RGB image:
𝐼𝐼 ∈ ℝ𝐻𝐻𝐻𝐻𝐻𝐻𝐻 (1)
where H and W represent the image height and width, respectively, the stem convolution
operation is expressed as:
𝐹𝐹𝑠𝑠 = 𝜎𝜎𝜎𝜎𝜎𝑠𝑠 ∗𝐼𝐼𝐼𝐼𝐼 𝑠𝑠 ) (2)

Page 9 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
where: 𝐹𝐹𝑠𝑠 denotes the generated feature map, 𝑊𝑊𝑠𝑠 represents the learnable convolution
kernel, 𝑏𝑏𝑠𝑠 is the bias term, ∗ denotes convolution operation, and 𝜎𝜎 represents the nonlin-
ear activation function. It uses small convolutional kernels and batch normalization to
reduce the computational cost while retaining important low-level features.
3.2.2 Dynamic Kernel selection block (DKS)
One of the major constraints of traditional CNN architectures is that the convolutional
kernels are fixed throughout the inference process. Symptoms of a plant may vary greatly
in size, texture, distribution of lesions, and irregularity of shape. To mitigate these issues,
the proposed Dynamic Kernel Selection (DKS) module employs adaptive multi-scale
convolution. The DKS module takes the input feature map and passes it through three
convolution branches in parallel with kernel sizes of 1×1, 3×3, and 5×5. The kernels cap-
ture different levels of spatial information. A 1 ×1 kernel focuses on detailed texture fea -
tures, a 3 ×3 kernel is used to recognize intermediate spatial structures. A kernel size
Fig. 1 Proposed model architecture

Page 10 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
of 5 ×5 has been used to capture wider areas and large lesions. The DKS module used
in the architecture processes the input feature map utilizing three parallel convolution
branches with kernel sizes of 1×1 , 3×3 , and 5×5 . These kernels capture distinct levels
of spatial information, such as a 1×1 kernel, which captures fine-grained texture details,
3×3 kernel extracts intermediate spatial structures, 5×5 kernel captures coarse regions
and larger lesions. The parallel feature extraction process is mathematically represented
as:
𝐹𝐹1 = 𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 1×1(𝐹𝐹𝑠𝑠 ) (3)
𝐹𝐹3 = 𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 3×3(𝐹𝐹𝑠𝑠 ) (4)
𝐹𝐹5 = 𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 5×5(𝐹𝐹𝑠𝑠 ) (5)
T o dynamically select appropriate receptive fields, local entropy of the feature map is
computed as:

𝐸𝐸𝐸𝐸𝐸𝐸 𝐸 𝐸
𝑛𝑛
∑
𝑖𝑖𝑖𝑖
𝑝𝑝𝑖𝑖 log𝐸𝑝𝑝𝑖𝑖 𝐸 (6)
where 𝑝𝑝𝑖𝑖 represents the probability distribution of feature activations, E(F) denotes local
entropy. The entropy value determines the importance weights assigned to each convo -
lution branch.

𝛼𝛼𝑖𝑖 = 𝑒𝑒𝐸𝐸𝑖𝑖
∑
3
𝑘𝑘𝑘𝑘 𝑒𝑒𝐸𝐸𝑘𝑘
(7)
where 𝛼𝛼𝑖𝑖 is the adaptive attention weight for branch i. The final output of DKS is
obtained as:
𝐹𝐹𝐷𝐷𝐷𝐷𝐷𝐷 =𝛼𝛼 1𝐹𝐹1 +𝛼𝛼 2𝐹𝐹3 +𝛼𝛼 3𝐹𝐹5 (8)
This adaptive strategy allows the model to pay attention to the larger receptive field in
complex areas, and meanwhile reduces the superfluous calculations in simple areas.
Table 1 Summary of the layer-wise parameters for the proposed DynaLiteNet
Name of the Layers Activations Number of Trained Parameters
Input Layer 224 x 224 x 3 0
Conv2d_1 224 x 224 x 12 336
BatchNorma 224 x 224 x 12 48
Conv2d_2 224 x 224 x 24 2616
Conv2d_3 224 x 224 x 12 7224
Concatenate_1 224 x 224 x 48 0
EntropyGuidedAtten 224 x 224 x 48 0
SeparableConv2D 224 x 224 x 48 2784
BatchNorma 224 x 224 x 48 192
MaxPooling2D 112 x 112 x 48 0
EntropyGuidedAtten 112 x 112 x 48 0
GlobalAveragePool 48 0
Dense-ReLU (32) 32(FC) 2352
Dropout (0.3) 30% Dropout 0
Dense-Softmax 21 1029

Page 11 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
3.2.3 Region-wise adaptive feature routing (RAFR)
The network is equipped with the RAFR module for spatial conditional computing. In
traditional CNN architectures, all spatial regions are treated equally, regardless of their
information importance. In wild plant images, plant symptoms occur only in some local-
ized areas, and large portions of the image are background information. To improve
computational efficiency, the feature map is partitioned into N ×N spatial regions. In the
RAFR, the importance of each spatial region is indicated by the routing score, and the
threshold T determines whether the corresponding region has the potential for more
feature processing. If a region has a routing score above T, it is considered sufficiently
informative and is passed forward through the adaptive feature-processing stream. If a
region has a score below T, it is suppressed or given lower computational priority. The
threshold thus controls the balance between feature preservation and computational
efficiency.
𝐹𝐹𝐷𝐷𝐷𝐷𝐷𝐷 = {𝑅𝑅1,𝑅𝑅 2,𝑅𝑅 3, ..., 𝑅𝑅𝑛𝑛} (9)
For each region, an importance score is computed using entropy and activation statistics.
𝑆𝑆𝑖𝑖 =𝜆𝜆 1𝐸𝐸𝐸𝐸𝐸𝑖𝑖 )+𝜆𝜆 2𝜇𝜇𝐸𝐸𝐸𝑖𝑖 ) (10)
where 𝑆𝑆𝑖𝑖 is the region importance score, 𝐸𝐸𝐸𝐸𝐸𝑖𝑖 ) denotes regional entropy, 𝜇𝜇𝜇𝜇𝜇𝑖𝑖 ) represents
mean activation, 𝜆𝜆1 and 𝜆𝜆2 are balancing coefficients. The routing decision is performed
using a threshold function.

𝑅𝑅𝑖𝑖 = { 𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝑅𝑅 𝑖𝑖 ), 𝑆𝑆 𝑖𝑖 >𝑇𝑇𝐼𝐼𝐼𝐼𝐼𝐼𝐶𝐶 𝐼𝐼𝐼𝐼𝐼𝐼𝐼𝐼 𝐶𝑅𝑅𝑖𝑖 ), 𝑆𝑆 𝑖𝑖 ≤ 𝑇𝑇 (11)
where T is the routing threshold. Plant lesion regions undergo convolutional processing,
while low information regions escape expensive processes through identity mappings.
This selective routing reduces redundant computation and improves the inference effi -
ciency significantly. Unlike transformer attention modules that incur quadratic compu -
tational costs, RAFR allows for dynamic spatial adaptivity without any overhead.
3.2.4 Ultra-light context encoding layer (ULCE)
To achieve accurate recognition, it is necessary to identify the global contextual relation-
ships, as the plant symptoms often depend on the spatial co-occurrence patterns and the
lesion distribution. Traditional transformer architectures rely on self-attention mecha -
nisms to capture global dependencies. However, they are computationally expensive and
not suitable for lightweight applications [ 41]. To this end, we propose an Ultra-Light
Context Encoding (ULCE) layer, which provides an efficient way to model the global
context with a small number of trainable parameters. The proposed ULCE is inspired by
context encoding algorithms, which can effectively capture global semantic information
with less computation complexity. Moreover, it reduces the parameter complexity by an
optimized context aggregation method [33]. Global context statistics are computed as:

𝐺𝐺𝐺 1𝐻𝐻𝐻𝐻𝐻
𝐻𝐻
∑
𝑖𝑖𝑖𝑖
𝑊𝑊
∑
𝑗𝑗𝑖𝑖
𝐹𝐹𝐹𝐹𝐹𝐹 𝐹𝐹𝐹 (12)

Page 12 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
where G represents the global feature descriptor. The contextual modulation process is
expressed as:
𝐹𝐹𝑈𝑈𝑈𝑈𝑈𝑈𝑈𝑈 =𝐹𝐹 ⊙ ( 1+𝛾𝛾 𝛾𝛾 𝛾 (13)
where ⊙ denotes element-wise multiplication, 𝛾𝛾 is a learnable scaling parameter.
The light-weight modulation allows the network to modulate the global semantic
awareness without a heavy self-attention burden.
3.2.5 Entropy-guided global pooling (EGGP)
Conventional Global Average Pooling (GAP) treats each feature location equally when
aggregating spatial information. In the plant classification task, the plant-related regions
usually only account for small proportions of the whole image. Such averaging, which is
uniform, can mask the unique characteristics of lesions. The recommended entropy-ori -
ented technique forms a direct link between the information density of feature responses
and their role in the final representation. The entropy related to spatial feature responses
is initially evaluated using an intermediate feature map to delineate their information
variability. Places with more information are more important. Places that are more uni -
form or have less information are less important. The relevance values obtained from
entropy are later employed to adaptively modify the weights of the relevant feature
responses in the process of global representation creation. Thus, the network does not
regard all spatial zones with identical weight; instead, it flexibly accentuates feature
regions that offer more information about differentiating visually similar wild edible veg-
etable species. The proposed EGGP is based on entropy driven pooling algorithms to
aggregate features by the information content [ 35]. The entropy-guided weight map is
computed as:

𝑊𝑊𝑊𝑊𝑊𝑊 𝑊𝑊𝑊 𝑊 𝐸𝐸𝑊𝑊𝑊𝑊 𝑊𝑊𝑊∑𝑚𝑚𝑚𝑚𝑚 𝐸𝐸𝑊𝐸𝐸𝑊 𝐸𝐸𝑊 (14)
The pooled feature representation is then calculated as:

𝐹𝐹𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸 =
𝐻𝐻
∑
𝑖𝑖𝑖𝑖
𝑊𝑊
∑
𝑗𝑗𝑖𝑖
𝑊𝑊𝑊𝑊𝑊𝑊 𝑊𝑊𝑊𝐹𝐹𝑊𝑊𝑊𝑊 𝑊𝑊𝑊 (15)
This adaptive pooling method makes sure that the influential parts play a more impor -
tant role in the final feature representation.
3.2.6 Classification layer
The feature vector is fed into a fully connected classification layer with the softmax acti -
vation function for multiclass plant prediction. The softmax probability distribution is
defined as:

𝑃𝑃𝑃𝑃𝑃 𝑃 𝑃𝑃𝑃𝑃𝑃𝑃 𝑃 𝑒𝑒𝑧𝑧𝑘𝑘
∑
𝐶𝐶
𝑖𝑖𝑖𝑖 𝑒𝑒𝑧𝑧𝑖𝑖 (16)
where 𝑧𝑧𝑘𝑘 denotes the logit score for class k, C represents the total number of categories.
The model is trained using categorical cross-entropy loss.

Page 13 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539

ℒ=−
𝐶𝐶
∑
𝑖𝑖𝑖𝑖
𝑦𝑦𝑖𝑖 log( ̂𝑦𝑦𝑖𝑖 ) (17)
where 𝑦𝑦𝑖𝑖 represents ground truth labels, ̂𝑦𝑦𝑖𝑖 denotes predicted probabilities. We tested
three different optimizers and two different learning rates, 0.01 and 0.001. We use the
AdamW optimizer with a learning rate of 0.001 in our approach. AdamW regularizes
better and converges more stably than others, so it is more effective in optimizing the
parameters.
4 Results and discussion
This section first provides the details of the experimental setup used in this work and
then presents the results, which are obtained after the experiments.
4.1 Experimental setup
We conducted the experiment in the Kaggle Notebook environment using Python ver -
sion 3.7.12. We used the TensorFlow framework (version 2.6.0) [42] to develop the model
and perform training using the same Python modules. The computational environment
used was two NVIDIA Tesla T4 GPUs with 16 GB of GPU memory each. The second
computing environment for data preparation and analysis was a Windows system with
an Intel Core i7 processor and 32 GB RAM. We conducted all experiments using the
same preprocessing techniques and input-resolution configuration described for our
proposed framework. To improve learning and promote generalization, we employed
data augmentation methods on the training set. We trained with 3 different optimizers
and 2 learning rates, 0.01 and 0.001. The AdamW optimizer with a learning rate of 0.001
is more effective for parameter optimization, as it provides better regularization and
convergence stability than others. To assess the overall performance of each network,
we have aggregated statistics from 10 different random splits for each model using an
initial stopping criterion. The training sessions of the models were capped at 100 epochs,
with early stopping implemented at 50 epochs. At the point when validation loss does
not improve for 50 epochs, the training is stopped. Till that point, the best weights of the
network is captured and saved.
4.2 Experimental results
The experiment demonstrated that the performance was enhanced by the adaptive com-
putation of DynaLiteNet. The proposed model improved the classification accuracy,
feature discrimination, inference efficiency, and robustness under complex background
conditions. The entropy-guided modules enhanced the important lesion areas and sup -
pressed the useless background features, which facilitated the localization. Dynamic
Kernel Selection (DKS) has greatly improved the ability to capture multi-scale features.
In general, the smaller receptive fields improved the detection, whereas the larger ker -
nels were better at depicting large areas. The feature processing is reduced by skipping
the low information areas with the Region-wise Adaptive Feature Routing (RAFR) mod -
ule. The selective routing strategy reduces the computational overhead and improves the
inference efficiency while maintaining the classification performance. The Ultra-Light
Context Encoding layer (ULCE) captures transmission links in spatial regions with low
parameter requirements to enhance global context awareness. Entropy Guided Global

Page 14 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
Pooling (EGGP) improved the aggregation of discriminative features by focusing on sen-
sitive areas. Table 2 summarizes the performance of the model by using several metrics
such as accuracy, sensitivity (recall), specificity, precision, and F1-score. The confusion
matrix was used to assess the effectiveness of the performed strategy. The results dem -
onstrated the reliability and correctness of the proposed model in detecting the plants.
We perform an extensive ablation study to validate the effectiveness of each of the
proposed components in DynaLiteNet, by progressively adding the proposed modules
to the base network. The base model is the core architecture excluding the proposed
Dynamic Kernel Selection (DKS), Region-wise Adaptive Feature Routing (RAFR), Ultra-
Light Context Encoding (ULCE) and Entropy-Guided Global Pooling (EGGP) mod -
ules. All subsequent experiments use one module with all other training parameters
unchanged for a fair comparison. The assessment was conducted utilizing the iden -
tical training and testing methodology outlined in the experimental findings. All tests
were conducted with uniform hyperparameter configurations, encompassing optimizer,
learning rate, batch size, number of epochs, and data augmentation techniques. The per-
formance was evaluated in terms of accuracy, precision, recall, f1-score, model param -
eters, and FLOPs (Table 3).
DynaLiteNet is more adaptable and more computationally efficient than state-of-the-
art CNN models such as AlexNet, ResNet50, DenseNet121, and InceptionV3. Tradi -
tional CNNs perform fixed convolution operations regardless of the input complexity,
which leads to the waste of processing resources. DynaLiteNet dynamically selects the
receptive fields and spatial processing pathways according to the feature complexity
measured by entropy. The dynamic approach provides better multi-scale feature rep -
resentation, less redundant computations, better localization, better generalization in
complex environments, and less parameter overhead. DynaLiteNet models the context
with lightweight adaptive methods. This framework is best suited for edge and real-time
applications in agriculture. The entropy-guided approach focuses on the relevant spa -
tial regions during feature extraction and pooling, thereby improving interpretability.
Table 4 summarizes the detailed comparison of the proposed model to benchmark CNN
architectures.
Table 2 Performance of the Proposed Model against different optimizers
Optimizer Learning Rate Accuracy (%) Sensitivity (%) Specificity (%) Precision (%) F1-Score (%)
AdamW 0.01 89.56 90.32 89.85 88.65 89.48
0.001 90.69 91.49 90.85 89.70 90.58
SGD 0.01 88.50 86.32 88.43 88.08 87.19
0.001 88.89 87.69 88.18 88.02 87.85
Adagrad 0.01 88.64 88.35 87.86 87.64 87.99
0.001 87.91 87.24 87.81 86.75 86.99
Table 3 Ablation Study of the Proposed Architecture
Configuration Accuracy % Precision % Recall % F1-Score Parameters (K) FLOPs (G)
Base CNN 87.82 86.94 88.11 87.52 14.8 0.164
Base + DKS 88.91 88.16 89.22 88.68 15.4 0.169
Base + DKA + RAFR 89.63 88.92 90.08 89.49 15.8 0.172
Base + DKS + RAFR + ULCE 90.23 89.18 90.96 90.06 16.2 0.176
DynaLiteNet 90.69 89.70 91.49 90.58 16.5 0.180

Page 15 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
To improve the verification of the lightweight features of the proposed DynaLiteNet,
we expanded the experimental comparison to include not only traditional CNN archi -
tectures but also other well-known efficient deep learning models, such as MobileNetV3,
ShuffleNetV2, EfficientNet-Lite, and MobileViT.According to Table 5, DynaLiteNet
attains an accuracy of 90.69% while utilizing merely 16.5K trainable parameters and
0.18 GFLOPs. The results show that the proposed architecture provides a good trade-off
between predictive power and computational complexity.
In an effort to test the robustness and the generalization ability of the proposed
DynaLiteNet architecture, we conducted a five-fold stratified cross-validation study. The
dataset was partitioned into five segments while preserving the class distribution among
the segments. In each iteration, four segments were used for training and the remain -
ing segment for validation. We repeated this procedure five times, each time employing
a different fold as the validation set. As shown in Table 6, DynaLiteNet achieves stable
performance over the five folds with the average accuracy of 90.69% and the standard
deviation of 0.40%. Likewise, the precision, recall and F1-score have a very small fluctua-
tion over the folds, which indicates that the performance of the proposed model is con -
sistently constant regardless of the change in the training and validation subsets.
Apart from the classification performance, the DynaLiteNet architecture was also
evaluated in terms of computational efficiency, more specifically, the number of train -
able parameters and floating-point operations (FLOPs). Computational complexity is
an important aspect for deploying lightweight agricultural intelligence systems on low-
resource edge devices like smartphones, drones, and embedded IoT platforms. The
computational complexity is significantly reduced by entropy-guided adaptive comput -
ing, optimized convolutional operations, and region-specific conditional routing in the
Table 4 Comparative Performance with standard CNNs
Network Accuracy(%) Precision(%) Recall(%) F1-Score(%)
AlexNet 85.19 86.52 85.46 85.99
ResNet50 88.26 86.25 86.32 86.28
DenseNet121 85.39 84.57 84.36 84.47
InceptionV3 89.87 88.39 89.13 88.76
Proposed Model 90.69 89.70 91.49 90.58
Table 5 Comparative Performance with Lightweight CNNs
Network Accuracy (%) Parameters FLOP (G) Single Image Inference time (ms)
MobileNetV3 88.47 2.54 M 0.06 1.18
ShuffleNetV2 87.96 2.28 M 0.15 1.05
EfficientNet-Lite 89.18 4.65 M 0.39 1.74
MobileViT 89.43 1.30 M 0.51 2.08
Proposed Model 90.69 16.5 K 0.18 0.72
Table 6 Results of 5-fold Stratified Cross-Validation
Fold Accuracy(%) Precision(%) Recall(%) F1-Score(%)
Fold 1 90.21 89.35 90.92 90.10
Fold 2 91.03 90.12 91.68 90.88
Fold 3 90.56 89.72 91.24 90.47
Fold 4 91.18 90.31 91.83 91.02
Fold 5 90.47 89.00 91.28 90.28
Mean ± SD 90.69 ± 0.40 89.70 ± 0.49 91.39 ± 0.38 90.55 ± 0.39

Page 16 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
DynaLiteNet architecture. In contrast to the standard CNN structures, which treat all
the spatial regions equally, the proposed framework is able to allocate the computa -
tional resources selectively on the informative regions, thus avoiding redundant oper -
ations. We evaluated the computational complexity of DynaLiteNet on 224 × 224 × 3
sized input image. The estimated number of parameters and FLOPs are shown in Table
7. The proposed model offers a significant reduction in computational cost compared
to conventional deep CNN architectures, such as Alexnet, ResNet50, DenseNet121, and
InceptionV3, while maintaining competitive classification performance. DynaLiteNet
is especially suitable for real-time precision agriculture applications that require low
latency, low memory consumption, and energy-efficient execution.
Compared to deep CNN models and lightweight CNN models, the proposed model
demonstrates substantially lower computational overhead while achieving competitive
classification performance. This makes DynaLiteNet highly suitable for real-time preci -
sion agriculture applications requiring low latency, reduced memory consumption, and
energy-efficient deployment.
Fig. 2 presents confusion matrix. It provides a detailed summary of the classification
accuracy of each class. While the proposed DynaLiteNet achieves better overall classifi -
cation accuracy, the confusion matrix indicates that the misclassification is not uniformly
distributed among all types of vegetables. Some pairs of classes have a much higher con -
fusion rate, which suggests that they are visually more similar to each other than other
classes. Mistakes can occur due to similarities in structure, form, color, texture, vena -
tion patterns, or other diagnostic features. Furthermore, changes in illumination, image
background, occlusion, and placement can reduce the presence of class-specific visual
cues. The root causes of these inaccuracies were studied using Grad-CAM for correctly
and incorrectly classified samples.
We used Grad-CAM to show the discriminative regions that impact the model pre -
diction to assess the interpretability of the proposed DynaLiteNet and understand the
visual evidence used for classification. Samples that were both correctly and incorrectly
identified were analyzed to give a comprehensive assessment of the decision making
processes and limitations of the model. Figure  3 illustrates examples of correctly classi -
fied samples and their corresponding visualizations of Grad-CAM. From the heatmaps,
it can be observed that the proposed model mainly focuses on the important regions of
the vegetable leaves, i.e., unique shape, texture, venation, and morphological features.
Moreover, we also investigated the deficiencies of the proposed model by visualizing the
Table 7 Comparison of Computational Complexity with Standard CNN Models
Model Parameters FLOPs Model Size
(MB)
Inference
Time (ms)
FPS Mem-
ory
Usage
(MB)
AlexNet 61.0 M 0.72 233.1 2.84 352.11 428
ResNet50 25.6 M 4.10 97.8 3.76 265.96 612
DenseNet121 8.0 M 2.90 30.8 4.12 242.72 574
InceptionV3 23.8 M 5.70 91.1 4.68 213.68 684
MobileNetV3 2.54 M 0.06 9.8 1.21 826.45 286
ShuffleNetV2 2.28 M 0.15 8.9 1.09 917.43 274
EfficientNet-Lite 4.65 M 0.39 18.5 1.67 598.80 342
MobileViT 1.30 M 0.51 5.2 2.13 469.48 391
DynaLiteNet 16.5 K 0.18 0.07 0.72 1388.89 248

Page 17 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
misclassified examples using Grad-CAM as shown in Fig.  4. Conversely, many failures
either have widespread activation or are focused on visually confusing areas, unlike the
correctly classified samples. Such errors are most prominent in data with high inter-
class similarity, background noise, change in lighting, partial occlusion or insufficiently
unique physical characteristics.
5 Discussion
In practical agriculture, a plant recognition system must be able to operate reliably
under various environmental conditions. Experimental results demonstrate that DynaL -
iteNet exhibits stable performance under complex natural environments, varying light -
ing conditions, partial plant occlusions, scale variations, noise, and image distortions.
The entropy-guided adaptive computation approach has enabled the model to focus
on specific structures in visually complex environments. This improves robustness and
increases generalization over a range of field conditions. The adaptive receptive field
technology increases the sensitivity to local symptoms and broad infection patterns,
allowing the network to correctly identify the plant. The DynaLiteNet architecture dem -
onstrates that dynamically adaptive lightweight models can be competitive in plant clas -
sification without expensive transformer operations or overly deep CNN architectures.
To this end, we propose an efficient feature learning framework with less superfluous
computation by integrating dynamic kernel selection, region-wise adaptive feature rout -
ing, ultra-light context encoding, and entropy-guided global pooling. This methodology
overcomes major drawbacks of common lightweight CNNs by applying entropy-aware
adaptive computation and dynamic receptive field selection. The properties of DynaLite-
Net make it especially well-suited for precision identification, low-power implementa -
tion, and efficient edge-based inference. The model can be extended to real-time mobile
applications, drone-based crop monitoring, IoT-based smart farming systems, multi -
spectral imaging in agriculture, and federated agricultural intelligence systems. Future
Fig. 2 Confusion matrix of the Proposed Model

Page 18 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
Fig. 3 Grad-CAM visualization for correct classifications

Page 19 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
work can investigate hybrid entropy transformer architectures and self-supervised adap-
tive learning techniques to enhance resilience and scalability in large-scale agricultural
settings.
5.1 Limitations
Despite the promising results and the performance achieved by the proposed model, our
study has several limitations. First, the size of the dataset, which is small in size and com-
prises 2,310 images, and its coverage is limited to 21 wild edible vegetable species. Our
dataset may not entirely represent the diversity and variability of wild edible species that
are needed to be covered under different environmental and geographical conditions.
Identification of plants in their natural habitat presents several challenges that may affect
the performance and reliability of the classification models. Changes in illumination con-
ditions due to varying sunlight, shadows, and weather conditions may change the visual
appearance of the plants. Occlusion due to overlapping leaves and other surrounding
plants may hide the important morphological features necessary for classification. Com -
plex and cluttered backgrounds can also make it difficult for the model to distinguish the
target plant from its surroundings. Variation in distances from the camera to the plant
may also affect the appearance of the plant in terms of size and its distinguishing fea -
tures. Furthermore, plants at their early stages may not exhibit sufficient morphological
characteristics, which makes their identification even more challenging. All these factors
highlight the necessity to have a large dataset consisting of diverse images and a robust
model capable of handling the above challenges for real-world field deployment. Second,
our focus is limited to a particular geography, mainly the Bodoland Territorial Region
(BTR), therefore the model generalizability to other regions species are yet to be estab -
lished. Variations in image qualities, climatic zones, lighting, and plant morphology may
affect model performance. We also acknowledge that a specimen-level or location-level
Fig. 4 Grad-CAM visualization for incorrect classifications

Page 20 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
split would provide stronger evidence of the model’s ability to generalize to completely
unseen specimens and geographical locations. Third, although the images were carefully
collected, annotated, processed, and verified, broader validation, expert verifications,
and performance evaluation on independent and unseen field datasets are required for
its wider adoption and large-scale deployment. Fourth, the proposed DynaLiteNet has a
very compact computational profile, but its direct implementation on dedicated edge-
computing systems was not assessed in this work due to the lack of appropriate embed -
ded hardware. Future work will include the dataset expansion, consideration of different
regions and seasons, conducting extensive real-field validation under diverse conditions,
evaluation on independent and diverse geographic dataset and deploying DynaLiteNet
on Raspberry Pi and NVIDIA Jetson platforms to evaluate the real latency, memory,
energy, and thermal performance.
The effective deployment of a wild edible vegetable classification system might involve
considerable variation in camera specifications, distance at which images were taken,
light intensity, color temperature, shadows, and backdrop parameters. The dataset
at hand has inherent variations in image presentation, but it does not have a separate
external test set that was captured with an autonomous camera apparatus under care -
fully controlled lighting conditions. Therefore, the performance of DynaLiteNet in the
scenario of an unknown camera or a controlled cross-illumination setting cannot be
assessed in this work. This highlights an important caveat for the present study. Future
work will then analyze generalization over many cameras and environments by captur -
ing independent images with multiple camera apparatuses under different lighting con -
ditions and testing the model without any fine-tuning.
6 Conclusions
In this paper, we proposed an entropy-guided dynamic lightweight deep learning archi -
tecture as an alternative to existing CNN approaches for the classification of wild edi -
ble vegetables. Traditional CNN models offer good performance for classifying images
with plain and simple backgrounds, but are usually inefficient for images captured from
a natural scene with a complex background. On the other hand, existing pre-trained
models are computationally intensive and lack the ability to capture global context in
a more efficient way, making them inefficient for analyzing such complex images. After
comparing its results with the deep CNN pre-trained models, we observed that our
model achieves better accuracy with much fewer parameters. As future work, we plan
to develop a mobile application of our model so that it can be used conveniently by a
greater population, especially the rural community of BTR.
Acknowledgements
We gratefully acknowledge the support provided by the Science, Technology and Innovation Hub (STIHub) Central
Institute of Technology Kokrajhar (CITK), established with support from the Department of Science and Technology
(DST), Government of India, under Grant No. DST/SEED/TSP/STI/2021/422 dated 21 August 2023.
Author Contributions
Tania Sarkar - Conceptualization, data collection and curation, methodology, software implementation, experimentation,
formal analysis, visualization, and writing—original draft preparation. Pranav Kumar Singh - Conceptualization,
methodology, supervision, validation, interpretation of results, writing—review and editing, and overall project guidance.
Parag Bhuyan - Dataset preparation and annotation, software support, validation, and experimental evaluation.
Anshuman Kalla - Writing - Validation, report analysis, critical review, and editing.
Funding
No funding was received for conducting this study.

Page 21 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
Data Availability
The data presented in this study are available on request from the corresponding author.
Declarations
Ethical Approval
This study did not involve human participants, human subjects, animals, or identifiable personal data. Therefore, ethical
approval was not required.
Consent to Participate
Not applicable. This study did not involve human participants.
Consent to Publish
Not applicable. This manuscript does not contain any individual person’s data or identifiable information requiring
consent for publication.
Conflict of interest
The authors declare no conflict of interest.
Received: 24 June 2026 / Accepted: 8 October 2026
References

  1. Basumatary S, Narzary H. Nutritional value, phytochemicals and antioxidant property of six wild edible plants consumed
    by the bodos of north-east india. Mediterr J Nutr Metab. 2017;10(3):259–71. https://doi.org/10.3233/MNM-17168.
  2. Bhuyan P , Das SK, Singh PK. Leveraging squeeze aggregation excitation and positional encoding in resnet-50 for rice leaf
    disease classification. Concurrency and Comput Practice and Exp. 2026;38(5):70620. https://doi.org/10.1002/cpe.70620.
  3. Das SK, Bhuyan P , Moparthi NR, Namasudra S. A lightweight shallow convolution neural network for automatic identifica-
    tion of diabetic foot ulcers. Image Vis Comput. 2026;2026:105925. https://doi.org/10.1016/j.imavis.2026.105925.
  4. Bhuyan P , Singh PK, Das SK. Maizevit: detection and classification of maize leaf diseases using convolutional networks and
    vision transformers. In: International conference on modeling, Simulation and optimization. Springer; 2024. pp. 424–441.
    https://doi.org/10.1007/978-981-95-4161-4_26.
  5. Jogin M, Madhulika M, Divya G, Meghana R, Apoorva S et al. Feature extraction using convolution neural networks (cnn)
    and deep learning. In: 2018 3rd IEEE international conference on recent trends in electronics, information & communica-
    tion technology (RTEICT). IEEE; 2018. pp. 2319–2323. https://doi .org/10.110 9/RTEICT429 01.2018. 9012507.
  6. Rathor AS, Choudhury S, Sharma A, Pachauri RK, Shah G, Fatema N. Deep convolutional network for plant monitoring in
    precision agriculture. In: Sustainable computing: informatics and systems. 2026. pp. 101302.
  7. Rathor AS, Choudhury S, Sharma A, Nautiyal P , Shah G. A novel deep convolutional neural network for efficient classifica-
    tion of lettuce diseases. Procedia Comput Sci. 2025;258:755–64. https://doi.org/10.1016/j.procs.2025.04.308.
  8. Rathor AS, Choudhury S, Sharma A, Pachauri RK, Shah G, Fatema N, et al. Deepgreen: a real-time deep learning system for
    smart agriculture monitoring. Sci Rep. 2026. https://doi.org/10.1038/s41598-026-45395-3.
  9. Rathor AS, Choudhury S, Sharma A, Shah G, Nautiyal P . A mathematical modelling-based interpretable deep learning
    approach for lettuce disease detection in extreme environmental conditions. Phys Chem Earth. 2025;Parts A/B/C:104080.
    https://doi.org/10.1016/j.pce.2025.104080.
  10. Weiss K, Khoshgoftaar TM, Wang D. A survey of transfer learning. J Big data. 2016;3(1):9. h t t p s : / / d o i . o r g / 1 0 . 1 1 8 6 / s 4 0 5 3 7 - 0 1
    6 - 0 0 4 3 - 6 .
  11. Yadav KK, Gajanan A. Transfer learning for image processing: a review and practical considerations. Asian J Res Comput
    Sci. 2026;19(2):192–203. https://doi.org/10.9734/ajrcos/2026/v19i2831.
  12. Narzary H, Brahma S, Basumatary S. Wild edible vegetables consumed by bodo tribe of kokrajhar district (assam), north-
    east india. Arch Appl Sci Res. 2013;5(5):182–90.
  13. Boro A, Bhattacharjee K, Sarma G. Wild vegetables used by Bodo tribe in Udalguri district of assam. India: Pleione; 2011.
  14. Baro D, Baruah S, Borthukar S, et al. Documentation on wild vegetables of baksa district, btad (assam). Arch Appl Sci Res.
    2015;7(9):19–27.
  15. Kuang M, Zou X, Xie F, Li X, Chen S, Liu D, et al. Ddm-yolo: a lightweight oriented detection model for mature daylily fruits
    in complex environments. J King Saud Univ Comput Inf Sci. 2026;38(3):91. https://doi.org/10.1007/s44443-026-00559-z.
  16. Kuang M, Xie F, Liu D, Wu B, Chen S, Xiang Y, et al. A refined yolov5n-based method for detecting pepper flower objects
    integrating transfer learning. Appl Soft Comput. 2025;114400. https://doi.org/10.1016/j.asoc.2025.114400.
  17. Kuang M, Xie F, Zou X, Wu B, Liu D, Zou X, et al. Ds-yolo: an improved oriented object detection model for joint localization
    of mature daylily fruits and stems in unstructured environments. Appl Soft Comput. 2026;115541. h t t p s : / / d o i . o r g / 1 0 . 1 0 1 6 /
    j . a s o c . 2 0 2 6 . 1 1 5 5 4 1 .
  18. Kumar N, Belhumeur PN, Biswas A, Jacobs DW, Kress WJ, Lopez IC, Soares JV. Leafsnap: a computer vision system for
    automatic plant species identification. In: Computer vision–ECCV 2012: 12th european conference on computer vision,
    florence, Italy, October 7-13, 2012, proceedings, Part II 12. Springer; 2012. pp. 502–516. h t t p s : / / d o i . o r g / 1 0 . 1 0 0 7 / 9 7 8 - 3 - 6 4
    2 - 3 3 7 0 9 - 3 _ 3 6 .
  19. Ali R, Hardie R, Essa A. A leaf recognition approach to plant classification using machine learning. In: NAECON 2018-IEEE
    national aerospace and electronics conference. IEEE; 2018. pp. 431–434. https://doi.org/10.1109/NAECON.2018.8556785.
  20. Bambil D, Pistori H, Bao F, Weber V, Alves FM, Gonçalves EG, et al. Plant species identification using color learning resources,
    shape, texture, through machine learning and artificial neural networks. Environ Syst Decisions. 2020;40(4):480–4. h t t p s : / /
    d o i . o r g / 1 0 . 1 0 0 7 / s 1 0 6 6 9 - 0 2 0 - 0 9 7 6 9 - w .

Page 22 of 22
Sarkar et al. Discover Artificial Intelligence (2026) 6:1539
21. Park J, Hwang E, Nam Y. Utilizing venation features for efficient leaf image retrieval. J Syst Softw. 2008;81(1):71–82. h t t p s : / / d
o i . o r g / 1 0 . 1 0 1 6 / j . j s s . 2 0 0 7 . 0 5 . 0 0 1 .
22. Larese MG, Bayá AE, Craviotto RM, Arango MR, Gallo C, Granitto PM. Multiscale recognition of legume varieties based on
leaf venation images. Expert Syst Appl. 2014;41(10):4638–47. https://doi.org/10.1016/j.eswa.2014.01.029.
23. Lee SH, Chan CS, Wilkin P , Remagnino P . Deep-plant: plant identification with convolutional neural networks. In: 2015 IEEE
International Conference on Image Processing (ICIP). IEEE; 2015. pp. 452–6.
24. Barré P , Stöver BC, Müller KF, Steinhage V. Leafnet: a computer vision system for automatic plant species identification. Eco
Inform. 2017;40:50–6. https://doi.org/10.1016/j.ecoinf.2017.05.005.
25. Lee SH, Chan CS, Mayo SJ, Remagnino P . How deep learning extracts and learns leaf features for plant classification. Pat-
tern Recogn. 2017;71:1–13. https://doi.org/10.1016/j.patcog.2017.05.015.
26. Grinblat GL, Uzal LC, Larese MG, Granitto PM. Deep learning for plant identification using vein morphological patterns.
Comput Electron Agric. 2016;127:418–24. https://doi.org/10.1016/j.compag.2016.07.003.
27. Sarkar T, Singh PK, Deka KK, Deka U, Deori S. Leveraging transfer learning for identification of wild edible vegetables of
assam’s bodoland region. In: International conference on modeling, simulation and optimization. Springer; 2024. pp.
269–281. https://doi.org/10.1007/978-981-95-4161-4_16.
28. Dosovitskiy A, Beyer L, Kolesnikov A, Weissenborn D, Zhai X, Unterthiner T, et al. An image is worth 16x16 words: trans-
formers for image recognition at scale. 2020. https://doi.org/10.48550/arXiv.2010.11929. arXiv preprint arXiv:2010.11929.
29. Xu M, Yoon S, Jeong Y, Lee J, Park DS. Transfer learning with self-supervised vision transformer for large-scale plant identifi-
cation. In: CLEF (Working Notes). 2022. pp. 2238–52.
30. Patel S. Vision transformer with self-attention for automated plant seedling classification. In: 2024 2nd International confer-
ence on advancement in computation & computer technologies (InCACCT). IEEE; 2024. pp. 707–710. h t t p s : / / d o i . o r g / 1 0 . 1 1
0 9 / I n C A C C T 6 1 5 9 8 . 2 0 2 4 . 1 0 5 5 1 1 4 4 .
31. Chen Y, Dai X, Liu M, Chen D, Yuan L, Liu Z. Dynamic convolution: attention over convolution kernels. In: Proceedings of
the IEEE/CVF conference on computer vision and pattern recognition. 2020. pp. 11030–11039. h t t p s : / / d o i . o r g / 1 0 . 1 1 0 9 / C V
P R 4 2 6 0 0 . 2 0 2 0 . 0 1 1 0 4 .
32. Tan M, Le QV. Mixconv: mixed depthwise convolutional kernels. 2019. arXiv preprint arXiv:1907.09595.
33. Zhang H, Dana K, Shi J, Zhang Z, Wang X, Tyagi A, Agrawal A. Context encoding for semantic segmentation. In: Proceed-
ings of the IEEE conference on computer vision and pattern recognition. 2018. pp. 7151–7160. h t t p s : / / d o i . o r g / 1 0 . 1 1 0 9 / C V
P R . 2 0 1 8 . 0 0 7 4 7 .
34. Poudel RP , Bonde U, Liwicki S, Zach C. Contextnet: exploring context and detail for semantic segmentation in real-time.
2018. https://doi.org/10.48550/arXiv.1805.04554. arXiv preprint arXiv:1805.04554.
35. Filus K, Domańska J. Global entropy pooling layer for convolutional neural networks. Neurocomputing. 2023;555:126615.
https://doi.org/10.1016/j.neucom.2023.126615.
36. Sandhi A, Kumar R, Bhardwaj R, Kumar D, Rana AK, Ajala O, et al. Optimized deep learning framework for pomegranate
disease detection using nature-inspired algorithms. Plant Methods. 2025;21(1):124.
37. Sandhi A, Kumar R, Kumar D, Bhardwaj R. Multi-architecture cnn framework with mbconv-se optimization for fruit disease
classification. Appl Fruit Sci. 2025;67(4):277.
38. Sandhi A, Kumar R, Bhardwaj R, Kumar D. Saaeffnet: a synthetic-augmented attention efficientnet model for mango
disease classification. Appl Fruit Sci. 2026;68(2):93.
39. Kumar R, Sandhi A, Bhardwaj R, Gandhi S, Singh M, Kumra D. An explainable artificial intelligence-driven hybrid model
with a modified attention mechanism for efficient guava disease recognition. Appl Fruit Sci. 2026;68(4):213.
40. Kuang M, Li X, Wu B, Liu D, Xiang Y, Liu F, et al. Cf-detr: a robust transformer-based framework for small-scale chili flower
detection in industrial chili production systems. Front Plant Sci. 2026;17:1824412.
41. Choi SR, Lee M. Transformer architecture and attention mechanisms in genome data analysis: a comprehensive review.
Biol. 2023;12(7):1033. https://doi.org/10.3390/biology12071033.
42. Dillon JV, Langmore I, Tran D, Brevdo E, Vasudevan S, Moore D, et al. Tensorflow distributions. 2017. h t t p s : / / d o i . o r g / 1 0 . 4 8 5 5
0 / a r X i v . 1 7 1 1 . 1 0 6 0 4 . arXiv preprint arXiv:1711.10604.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

论文原文与出版信息

Discover Artificial Intelligence
查看论文原文

继续探索