arXiv:2608.23636cs.CVAug 2026

Manuscript Offprint

arXiv:2608.23636

Cross-Generation Optimization of YOLOv26, YOLOv11, and YOLOv8 for Fine-Grained Small-Object Detection and Instance Segmentation in Complex Orchards

Ranjan Sapkota, Manoj Karkee

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

Abstract

Fine-grained detection and instance segmentation of early-stage fruit anatomy remain challenging in complex orchard environments because small anatomical structures exhibit limited pixel footprints, strong green-on-green background similarity, frequent occlusion, and substantial scale variation. This study systematically compares three successive Ultralytics YOLO generations: YOLOv8, YOLOv11, and YOLOv26 for fine-grained orchard perception. Five model scales: nano (n), small (s), medium (m), large (l), and extra-large (x) were evaluated within each generation for simultaneous detection and instance segmentation of fruitlet, calyx, and peduncle. Each of the resulting 15 architecture-scale combinations was trained under two complementary configurations: a conventional 640×640640 \times 640-pixel setting and a small-object-focused 960×960960 \times 960-pixel setting incorporating higher spatial resolution together with targeted scale and mosaic-related training controls, yielding 30 model-configuration experiments. Final performance was evaluated on an independent 48-image test set, while a separate 49-image validation set was used exclusively for convergence monitoring, early stopping, and checkpoint selection. Results showed that increasing model capacity did not consistently translate into improved detection or segmentation accuracy. Instead, the small-object-focused 960×960960 \times 960 configuration generally produced stronger stringent localization and segmentation metrics, although the magnitude and direction of the gains depended on YOLO generation and model scale. YOLOv11s-960 achieved the highest observed aggregate mask mAP 50:95_{50:95} of 0.402 and box mAP 50:95_{50:95} of 0.426, while YOLOv26s-960 achieved closely comparable values of 0.397 and 0.425, respectively, with 10.37 M parameters and 34.1 GFLOPs. Because each configuration was evaluated from a single training run, these numerical differences are interpreted as observed benchmark outcomes rather than evidence of statistical superiority. Class-wise analysis identified peduncle as the most challenging anatomical structure, whereas fruitlet generally achieved the strongest detection and segmentation performance. Computational analysis further revealed diminishing returns with increasing model capacity; for example, YOLOv26x-960 required 62.73 M parameters, 313 GFLOPs, and 12.8 ms inference time without exceeding the aggregate segmentation performance of substantially smaller configurations. Overall, the findings indicate that small-object-focused training, combining increased spatial resolution with targeted augmentation controls, can provide favorable accuracy–efficiency trade-offs when paired with compact-to-moderate YOLO architectures. The resulting cross-generation benchmark provides practical guidance for selecting efficient model-training configurations for fine-grained robotic orchard perception. The implementation, trained models, and experimental configurations are publicly available through our GitHub repository.

Keywords: YOLOv26, YOLOv11 and YOLOv8, Ultralytics YOLO models, Small-object detection, Instance segmentation

arXiv:2608.2366v1

1. Introduction

Real-time object detection and instance segmentation have become fundamental components of modern computer vision systems, providing the perceptual foundation for robotics, autonomous systems, environmental monitoring, industrial inspection, and precision agriculture [1, 2]. Object detection determines the location and semantic identity of targets within an image, whereas instance segmentation extends this capability by delineating the pixel-level spatial extent of individual objects. The latter is particularly important in applications where subsequent decisions depend not only on recognizing an object but also on understanding its geometry, boundaries, orientation, or interaction with surrounding structures. Among single-stage detection frameworks, the You Only Look Once (YOLO) family, originating from the formulation introduced by Redmon et al. [3], has played a central role in advancing real-time machine vision by integrating object localization and classification within a unified forward-pass architecture. This design philosophy has enabled YOLO models to maintain a favorable balance between predictive accuracy and computational efficiency, contributing to their widespread adoption in both research and deployment-oriented applications [4, 5].

The YOLO family has undergone substantial architectural evolution since its early generations. YOLOv3 [6] strengthened multi-scale prediction and became an influential reference architecture for real-time object detection, while YOLOv5 (Source Link) contributed to the practical accessibility and deployment of YOLO-based pipelines. Subsequent architec-

*Corresponding Authors: Manoj Karkee and Ranjan Sapkota Email addresses: mk2684@cornell.edu (Manoj Karkee), rs2672@cornell.edu (Manoj Karkee) tures, including YOLOv7 [7], YOLOv8 (Source Link), and YOLOv11 (Source Link), progressively incorporated improvements in feature extraction, feature aggregation, prediction heads, optimization, and computational efficiency [4]. Collectively, these developments reflect a broader transition from conventional single-stage detectors toward increasingly efficient multi-task perception architectures capable of supporting object detection, instance segmentation, pose estimation, and other visual-recognition tasks while remaining suitable for real-time and edge-oriented deployment [8].

Across successive generations, improvements in backbone design, multi-scale feature aggregation, anchor-free detection, decoupled prediction mechanisms, and task-specific segmentation components have substantially increased the representational capacity of YOLO models [9, 10]. These architectural changes are particularly relevant to instance segmentation because successful prediction requires simultaneous recognition of object identity, accurate spatial localization, and preservation of sufficiently detailed representations for pixel-level mask reconstruction. However, improvements between YOLO generations are not necessarily uniform across object sizes or application domains. A model that performs strongly on conventional benchmark objects may not provide equivalent improvements when the targets are extremely small, elongated, partially occluded, densely clustered, or weakly contrasted against their backgrounds. Consequently, evaluating successive YOLO generations under the same application-specific dataset and training conditions is important for distinguishing improvements attributable to architectural evolution from those associated with model capacity, input representation, or training strategy.

YOLOv26 (Source Link) represents a recent stage in this architectural evolution and places particular emphasis on deployment-oriented efficiency and streamlined end-to-end prediction [11]. Its design prioritizes simplified inference, reduced post-processing dependence, and efficient transfer from model development to practical deployment. These characteristics are relevant to robotic and autonomous systems in which perception latency, computational resource requirements, and predictable inference behavior can be as important as absolute accuracy. Compared with earlier high-performing generations such as YOLO11 (Source Link), YOLOv12 [12], and YOLOv13 [13], which have emphasized advances in feature extraction and multi-scale representation [4], YOLOv26 further emphasizes end-to-end efficiency, simplified prediction mechanisms, and reduced post-processing overhead [5, 11]. These developments make YOLOv26 an important contemporary architecture to evaluate; however, meaningful assessment of a new YOLO generation also requires comparison with established predecessors on an identical dataset rather than evaluation in isolation.

This need for cross-generation comparison is particularly important for small-object perception. Despite substantial architectural advances, reliable detection and segmentation of extremely small targets remain difficult because repeated resizing and spatial downsampling can progressively reduce the pixel-level representation of fine visual structures [14, 15, 16]. When an object occupies only a limited region of the original image, resizing the complete scene to a fixed neural-network input resolution can reduce the target to relatively few pixels. Subsequent feature extraction further decreases spatial resolution as information propagates through the network. Fine edges, narrow structures, subtle textures, and weak object-background differences can therefore become progressively less distinguishable. For instance segmentation, the problem is particularly consequential because insufficient spatial representation affects not only whether an object is recognized but also whether its boundary can be reconstructed accurately.

A wide range of approaches has consequently been developed to improve small-object perception. Architectural strategies such as Feature Pyramid Networks (FPN) and Path Aggregation Networks (PANet) enhance information exchange among multiple feature-map resolutions, enabling high-resolution spatial information to be combined with deeper semantic representations [17, 18, 19]. Training-oriented approaches such as multi-scale training expose models to objects represented at different effective scales [20, 21], while data augmentation increases variability in object appearance, location, scale, and imaging conditions [22, 23, 24]. Test-time augmentation (TTA) has similarly been investigated as a means of improving robustness by aggregating predictions from transformed representations of the same input image [25, 26]. Attention mechanisms [27, 28, 29] and transformer-inspired modules have further expanded the ability of detection architectures to incorporate contextual relationships and long-range information, with potential benefits for small, partially occluded, or visually ambiguous objects [30, 31]. Nevertheless, increasingly elaborate architectural modifications can introduce additional parameters, computational operations, memory requirements, or training complexity, which may limit their suitability for resource-constrained or real-time systems.

Small-object detection and fine-grained instance segmentation remain strongly dependent on the spatial information preserved throughout the perception pipeline. Limited feature-map resolution [32, 33, 34] and progressive spatial downsampling [15, 35] can substantially degrade representations when targets occupy only a small fraction of an image, particularly under occlusion, low foreground–background contrast, irregular geometry, and dense clustering. Consequently, increasing network capacity alone may provide limited benefit when discriminative spatial information has already been lost, motivating approaches that improve the effective representation of small targets.

Slicing-Aided Hyper Inference (SAHI) illustrates this broader principle by processing overlapping image regions so that small targets occupy a greater proportion of the model input [36]. Its reported effectiveness with Faster R-CNN and YOLO-based detectors [37, 38, 39, 40] further demonstrates the importance of effective target resolution. Similar resolution-oriented benefits have been reported for small vehicles in remote sensing [41, 42, 43], micro-lesions in medical imaging [44, 45], agricultural pests and diseases [46, 47, 48], distant pedestrians and traffic signs [49, 50], marine vessels [51, 52], UAV-based wildlife monitoring [53, 54], and small industrial defects [55, 56, 57]. Related challenges also occur in wildfire monitor-ing [58, 59], illegal-logging detection [60, 61], and large-area surveillance [62, 63].

Motivated by this general principle rather than by slicing-based inference itself, the present study investigates spatial-resolution optimization directly during model training. Specifically, conventional 640×640640 \times 640-pixel training is compared with a small-object-focused 960×960960 \times 960-pixel configuration across the n, s, m, l, and x variants of YOLOv8, YOLOv11, and YOLOv26. This controlled design enables the effects of YOLO generation, model capacity, and training resolution to be disentangled on the same fine-grained orchard dataset, while determining whether higher spatial resolution provides greater benefit than simply increasing network capacity.

References (100)

Couldn't load all references. Reload the page to try again.