Manuscript Offprint

arXiv:2608.24935

A Lightweight Multimodal Vision-Language Framework for Early-Stage Anatomical Green Fruit Classification in Commercial Orchards

Ranjan Sapkota, William Bu, Chen Chen, Yunjun Xu, Manoj Karkee

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Ranjan Sapkota 1∗^{1*}, William Bu 2^{2}, Chen Chen 3^{3}, Yunjun Xu 4^{4}, Manoj Karkee 1∗^{1*}

Abstract—Accurate identification of early-stage apple fruitlet anatomical structures, calyx, fruitlet body, and peduncle, is essential for robotic thinning, crop-load management, and other precision management operations in orchards. This study presents a lightweight, multimodal vision-language framework that adapts TinyCLIP for fine-grained fruitlet anatomy classification in complex orchard environments. A dataset of 600 high-resolution RGB images collected from Scilate and Scifresh orchards was converted into 224×224224 \times 224 image patches and annotated for three anatomical classes. Domain-specific language prompts (“a photo of a {class}”) were used to guide multimodal alignment between orchard imagery and horticultural structures. A sliding-window inference strategy (stride = 112) aggregates patch-level predictions into spatial heatmaps, enabling interpretable whole-image localization of fruitlet components relevant for robotic thinning. Patch-level evaluation on an NVIDIA T4 GPU achieved F1-scores of 0.95 for calyx, 0.98 for fruitlet, and 0.85 for peduncle (macro-F1 = 0.93). Deployment-oriented optimization using ONNX and TensorRT enabled efficient inference on NVIDIA Jetson hardware, preserving accuracy under INT8 quantization while supporting ∼\sim127–137 MB model size and millisecond-level patch inference. These results demonstrate that lightweight vision-language models can provide interpretable, edge-deployable perception for automated fruitlet analysis and future robotic thinning systems. The source code and implementation details are publicly available in the project’s GitHub repository at: (Source Link)

Index Terms—Agricultural Automation, Greenfruit Thinning, Fruitlet Thinning, Patch-based Image Analysis, Multi-label Greenfruit Classification

1 INTRODUCTION

Early-stage fruitlet thinning is a critical, but labor-intensive operation in commercial apple orchards, which directly influences crop load management, fruit size, and fruit quality [1]–[3]. Apple trees often overproduce fruitlets [4], and inadequate thinning leads to overcrowded clusters, reduced fruit size, diminished pack-out quality, and long-term impacts on return bloom [5]–[7]. In current practice, thinning is predominantly manual, requiring workers to repeatedly inspect and selectively remove immature fruitlets from dense

Figure

(a)

(b)

Fig. 1: (a) Manual thinning of immature green fruitlets in a commercial apple orchard in Washington State. (b) Complex orchard scene with camouflaged early-stage fruitlets and their anatomical components (calyx, fruitlet, peduncle).

canopies. As illustrated in Fig. 1a, manual thinning is time-consuming and physically demanding, contributing to high labor costs and operational bottlenecks. These challenges are further intensified by global agricultural labor shortages [8], [9] and the physical strain associated with repetitive overhead work, which is linked to musculoskeletal disorders and occupational injuries among farm workers [10], [11].

1^{1} Cornell University, Department of Environmental and Biological Engineering, USA

2^{2} Department of Computer Science, University of Central Florida, USA

3^{3}Institute of Artificial Intelligence (IAI) & Department of Computer Science, University of Central Florida, USA

Automating early-stage thinning requires reliable perception of fruitlet anatomical structures in highly unstructured orchard environments. Early-stage fruitlets are small, green, and often partially occluded by leaves and branches, while their color and texture closely resemble surround-

4^{4}UCF Department of Mechanical and Aerospace Engineering, University of Central Florida, USA

Corresponding author:mk2684@cornell.edu ing foliage. Illumination conditions also vary significantly due to shadows, sunflecks, and canopy geometry. Fig. 1b illustrates a representative orchard scene where fruitlet anatomical components—calyx, fruitlet, and peduncle—are camouflaged within dense foliage. Within a single fruit cluster, fruitlets may also appear at different developmental stages, further complicating detection and classification. Consequently, perception systems for robotic thinning must accurately localize fine-grained anatomical structures while maintaining computationally efficiency for deployment in field robotics.

Object detection and localization are fundamental problems in computer vision with applications across robotics, surveillance, medical imaging, autonomous systems, and precision agriculture [12]–[17]. Early approaches relied on hand-crafted features and classical machine learning models, including Haar-like features, Histogram of Oriented Gradients (HOG), and Support Vector Machine classifiers [18]–[21]. Although effective in controlled environments, these methods were sensitive to variations in illumination, scale, and occlusion [22], [23], which are common in orchard scenes.

Deep learning significantly improved visual perception through convolutional neural networks (CNNs), beginning with large-scale image recognition advances demonstrated by AlexNet [24]. Region-based detectors such as R-CNN and Faster R-CNN introduced learnable region proposals and end-to-end training [25], [26], while single-stage detectors including YOLO and SSD enabled real-time object detection suitable for embedded systems [27], [28]. Continued development of detection architectures—including CenterNet, EfficientDet, RetinaNet, Cascade R-CNN, and modern YOLO variants—has further refined the tradeoff between speed and accuracy for real-time applications [29]–[34]. Transformer-based detectors such as DETR and Deformable DETR have further advanced object localization through attention-based modeling, offering improved global-context representation and long-range dependency modeling compared with the predominantly local feature extraction of CNN-based detectors [35], [36]. Despite these advantages, purely visual models—including both CNN- and transformer-based detectors—can still struggle when target structures exhibit similar appearances or severe occlusion, as frequently encountered in dense orchard environments [37], [38].

Vision-language models (VLMs) have recently emerged as a promising approach for addressing such limitations by aligning visual representations with natural language descriptions [39], [40]. CLIP demonstrated that large-scale contrastive training on image-text pairs enables strong cross-domain generalization and zero-shot recognition capabilities [41]. Subsequent multimodal models such as OpenCLIP, BLIP, and FLAVA further expanded this paradigm by integrating multimodal representation learning and language-guided reasoning [42]–[44]. Grounded VLM frameworks including GLIP and Grounding DINO extended multimodal alignment to object-level localization using language prompts [45]–[47]. These approaches demonstrate that incorporating semantic information through language can improve perception in visually ambiguous scenes.

However, most high-capacity VLMs are computationally intensive and difficult to deploy on embedded hardware commonly used in agricultural robotics [48]–[53]. This limitation motivates the development of lightweight vision-language models capable of preserving multimodal reasoning while reducing computational requirements. TinyCLIP addresses this challenge by compressing large CLIP models into compact student architectures through distillation techniques while maintaining multimodal alignment [54]. Additional lightweight multimodal frameworks, including MobileCLIP, EVA-CLIP, and Q-CLIP, have further demonstrated the feasibility of deploying vision-language models in resource-constrained environments [55]–[57].

Such lightweight multimodal perception systems are particularly promising for precision agriculture and orchard robotics. Early-stage fruitlet thinning must be performed within a limited seasonal window and under highly variable environmental conditions. A practical perception system must therefore detect anatomical structures at fine spatial resolution, handle occlusion and canopy clutter, and operate in real time on embedded hardware. Lightweight vision-language models provide a promising compromise by combining semantic understanding with efficient inference.

In this study, we address the problem of early-stage apple fruitlet anatomical classification in commercial orchards by adapting TinyCLIP for a patch-based multimodal perception framework. Each orchard image is decomposed into overlapping 224×224224 \times 224 patches, and TinyCLIP jointly encodes each patch together with class-specific language prompts representing calyx, fruitlet, and peduncle. Patch-prompt similarities in the shared embedding space produce multi-label predictions that indicate the presence of each anatomical component. These predictions are aggregated into class-specific heatmaps that provide interpretable whole-image localization. By combining multimodal semantic grounding with lightweight inference, the proposed framework enables accurate fruitlet anatomy recognition while remaining suitable for deployment in real-world robotic thinning systems.

References (56)

  • Fruit thinning: Advances and trends
  • Fruit thinning in pome-and stone-fruit: State of the art
  • Fruit thinning with specific reference to citrus species: A review
  • Advances in understanding flowering and pollination in apple trees
  • Economics of fruit thinning: A review focusing on apple and citrus
  • A comparison of 'empire' apple fruit size and anatomy in unthinned and hand-thinned trees
  • Crop load and thinning methods impact yield, nutrient content, fruit quality, and physiological disorders in 'scilate'apples
  • Digital agriculture and labor: A few challenges for social sustainability
  • Sustainable agricultural mechanization for smallholders: what is it and how can we implement it?
  • Occupational illnesses related to physical strains in apple harvesting
  • Musculoskeletal disorders in labor-intensive agriculture
  • Object detection in 20 years: A survey
  • Real-time adaptive object detection and tracking for autonomous vehicles
  • Gaussian yolov3: An accurate and fast object detector using localization uncertainty for autonomous driving
  • Learning-based object detection and localization for a mobile robot manipulator in SME production
  • Advances in object detection and localization techniques for fruit harvesting robots
  • A study on video surveillance system for object detection and tracking
  • Histograms of oriented gradients for human detection
  • Vehicle and pedestrian detection using support vector machine and histogram of oriented gradients features
  • Wood identification based on histogram of oriented gradient (hog) feature and support vector machine (svm) classifier
  • Object tracking with raspberry pi using histogram of oriented gradients (hog) and support vector machine (svm)
  • Object detection with deep learning: A review
  • A review of object detection techniques
  • Imagenet classification with deep convolutional neural networks
  • Fast r-cnn
  • Faster r-cnn: Towards real-time object detection with region proposal networks
  • You only look once: Unified, real-time object detection
  • Ssd: Single shot multibox detector
  • Centernet: Keypoint triplets for object detection
  • Efficientdet: Scalable and efficient object detection
  • Focal loss for dense object detection
  • Cascade r-cnn: Delving into high quality object detection
  • Yolo advances to its genesis: a decadal and comprehensive review of the you only look once (yolo) series
  • A comprehensive review of yolo architectures in computer vision: From yolov1 to yolov8 and yolo-nas
  • End-to-end object detection with transformers
  • Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • Context in object detection: a systematic literature review
  • Trifusenet: Open-vocabulary sign language translation via hierarchical image-text-keypoint fusion
  • Language with vision: A study on grounded word and sentence embeddings
  • Spatialvlm: Endowing vision-language models with spatial reasoning capabilities
  • Learning transferable visual models from natural language supervision
  • Reproducible scaling laws for contrastive language-image learning
  • Blip: Bootstrapping language-image pre-training for unified vision-language understanding and generation
  • Flava: A foundational language and vision alignment model
  • Grounded language-image pre-training
  • Grounding dino 1.5: Advance the (opens arXiv in a new tab)
  • Grounding dino: Marrying dino with grounded pre-training for open-set object detection
  • Learning visual grounding from generative vision and language model
  • Spatialrgpt: Grounded spatial reasoning in vision-language models
  • Exploring grounding abilities in vision-language models through contextual perception
  • Vision-language models for vision tasks: A survey
  • Cheap and quick: Efficient vision-language instruction tuning for large language models
  • Vision-language models in remote sensing: Current progress and future trends
  • Tinyclip: Clip distillation via affinity mimicking and weight inheritance
  • Mobileclip: Fast image-text models through multimodal reinforced training
  • Eva-clip: Improved training techniques for clip at scale (opens arXiv in a new tab)