cs.CVAug 20, 2026

Multi-Scale Fruit Capsules: Dilated Convolutions and Dynamic Routing for In-the-Wild Explainable Fruit Recognition

Authors: Subhankar Chattoraj, Sawon Pratiher, Samiran Das, Hubert Konik

Organizations: Dept. of Information Systems, University of Maryland Baltimore County, Baltimore, MD 21250, USA · Dept. of Electrical Engineering, Indian Institute of Technology Kharagpur, West Bengal 721302, India · Dept of Data Science and Engineering, Indian Institute of Science Education and Research Bhopal 462066, India · UJM-Saint-Etienne, CNRS, Institut d’Optique Graduate School, Laboratoire Hubert Curien, Saint-Etienne, France

Abstract

The same fruit appears in a bunch, unpicked, peeled, bagged in plastic, or sliced on a dish, so automated fruit classification in the wild (AFCW) must absorb wide intra- class and narrow inter-class variability in shape, size, colour and texture. Convolutional networks route information through pooling, which discards the pose and location of the region of interest and therefore generalises poorly across these presentations. We propose FruitCapsNet, a capsule network whose Fruit Capsules replace the standard convolutional front end with dilated convolutions: the receptive field grows exponentially at constant parameter cost, so each capsule encodes multi-scale context before dynamic routing resolves part whole spatial agreement. Hyper-parameters, including the dilation factor, are selected by Bayesian optimisation rather than grid search. On three public datasets (SMP, FruitsGB, Fruits-360) and a new 19-class, 10,639-image in-the-wild dataset (PD-19), FruitCapsNet exceeds ten fine-tuned transfer-learning backbones at one-third the depth, with the largest margin (+2.7% over the nearest competitor) on the hardest set. Grad-CAM saliency propagated from the DigitCaps layer shows that the improvement comes from attributing decisions to whole-fruit regions rather than to object edges, giving post-hoc evidence that the gain is not a dataset artefact.

Figures & tables

Explore similar work

CardsList
  1. Fruit-HSNet: A Machine Learning Approach for Hyperspectral Image-Based Fruit Ripeness Prediction

    Aug 2, 2026Ahmed Baha Ben Jmaa, Faten Chaieb, Anna FabijańskaFruitHyperspectral Image

  2. FruitEnsemble: MLLM-Guided Arbitration for Heterogeneous ensemble in Fine-Grained Fruit Recognition

    May 20, 2026Enhui Yu, Junhui Li, Ruitong Lu +2FruitFine-Grained Perception

  3. Learn&Drop: Fast Learning of CNNs based on Layer Dropping

    Apr 25, 2026Giorgio Cruciata, Luca Cruciata, Liliana Lo Presti +2Convolutional Neural NetworksResidual Networks