Manuscript Offprint

arXiv:2608.25539

CropCop: An Auditable 120-Class Plant-Health Model from Benchmark Reconstruction to a Quantised Runtime Artifact

Rana Muhammad Ahmed, Sabahat Abbas

Abstract

A plant-health score can appear precise while resting on duplicated image families, a long-tailed label space, or a runtime file that was never evaluated. We present CropCop, a closed-set recognition system spanning 120 operational plant-health classes and an evidence chain from corpus reconstruction to direct execution of the final quantised artifact. Starting from 117,546 audited images, we rejected the inherited partition after confirming 3,233 duplicate relationships across split boundaries and froze a 109,107-image benchmark with zero crossings among the audited trusted leakage groups and a 151.7× largest-to-smallest class ratio. A fully fine-tuned DINOv3 ConvNeXt-Tiny reference achieved 98.51% accuracy and 96.87% macro-F1 on the locked internal test. A compact MobileNetV4 Conv-Medium derivative achieved 98.46% accuracy and 96.27% macro-F1 without being presented as evidence for a new distillation method. Validation-only post-training quantisation selected dynamic activations with per-channel weights, and the final 22.60 MiB ExecuTorch/XNNPACK PTE achieved 98.46% accuracy and 96.23% macro-F1 when executed directly. Only six of 16,363 top-1 decisions changed between the converted INT8 graph and the PTE, while paired analysis showed a modest class-balanced loss; an exploratory post hoc fruit-label slice localized a larger recall decline than aggregate accuracy revealed. CropCop establishes strong leakage-controlled internal recognition and software-runtime fidelity; it does not establish performance on unseen farms, camera pipelines, or physical Android hardware.

109,107

frozen images

120

operational classes

22.60 MiB

executed PTE

6 / 16,363

changed top-1 decisions

Keywords plant-health recognition; dataset leakage; duplicate forensics; long-tailed classification; DINOv3; MobileNetV4; post-training quantisation; ExecuTorch; XNNPACK; runtime fidelity

1 Introduction

The impressive number in a plant-disease paper is usually the accuracy. The consequential numbers are often elsewhere: how many test images have relatives in training, how many classes have only a handful of examples, and how many predictions change after export. Plant-health recognition is attractive because cameras are inexpensive and already embedded in agricultural workflows, but a defensible result requires more than fitting a classifier. The benchmark must have a stable identity, the evaluation must resist selection leakage, and the file intended for inference must be shown to behave like the model described in the paper.

Plant-image collections make these requirements difficult. Public corpora are assembled from controlled repositories, internet searches, extension websites, derivative datasets, and field photographs. The resulting images vary in background, framing, compression, resolution, plant organ, cultivar, disease severity, and diagnostic specificity. Byte-identical copies are only the simplest source of contamination. Crops, recompressions, colour transformations, and burst-like views can cross nominal train and test boundaries, while label-correlated borders, dimensions, and acquisition styles can remain predictive after duplicate removal. PlantVillage demonstrated that deep networks could classify controlled imagery with striking internal accuracy, yet its external-image experiment also revealed how sharply performance can change across acquisition domains [1, 2]. PlantDoc, PlantWild, PlantWild_v2, PlantSeg, and Deep-Plant-Disease have since broadened the field toward natural imagery and larger taxonomies [3–7].

Compact inference creates a second identity problem. A fine-tuned checkpoint, a selected float student, a quantised graph, a backend-lowered program, and a serialised runtime file are different computational objects. A changed class map, preprocessing contract, unsupported operator, backend rewrite, or quantisation decision can alter predictions without changing the project name. Reporting the checkpoint score beside an unevaluated deployment claim conceals where the result was preserved or lost. CropCop therefore treats model conversion as a sequence of paired evaluations. Every state is tied to the same class order and locked rows, and the final runtime claim applies to one exact PTE identified by its bytes and SHA-256 digest.

The project began with 117,546 audited images and 121 candidate labels. The inherited folders were abandoned after 3,233 confirmed duplicate relationships crossed historical train, validation, and test boundaries. Global reconstruction produced CropCop Final v1: 109,107 images across 120 operational classes, divided into 76,376 training, 16,368 validation, and 16,363 test rows, with zero crossings among the audited trusted leakage groups. The dataset remains difficult. Its largest class is 151.7 times the size of its smallest; its labels mix specific diseases with broader condition categories; and its images range from isolated leaves and fruits to whole plants and field scenes.

CropCop asks three research questions. RQ1 – benchmark validity: can a heterogeneous plant-image aggregate be reconstructed so that confirmed duplicate families do not cross the final partitions? RQ2 – model retention: how much class-balanced performance remains when a strong DINOv3 reference is carried into a compact MobileNetV4 lineage? RQ3 – runtime fidelity: does the selected quantised graph survive serialisation into an ExecuTorch/XNNPACK PTE without materially changing its decisions or ground-truth performance? The questions are deliberately narrower than “does the model work in the field?” That claim requires a source-independent cohort and is outside the completed evidence. Figure 1 summarises the connected evidence chain.

BENCHMARK IDENTITY

117,546

audited images

8,672

confirmed duplicate relationships

3,233 historical split crossings

109,107

frozen benchmark

group-safe freeze

EVIDENCE BINDINGS

MODEL RETENTION

fingerprints + split manifest

96.87%

reference macro-F1

96.27%

float compact macro-F1

validation-only PTQ

configuration + paired rows

RUNTIME IDENTITY

96.25%

converted INT8 macro-F1

96.23%

executed PTE macro-F1

six changed decisions

artifact bytes + SHA-256

Figure 1: CropCop audit-to-runtime evidence chain.

Note. Each transition is tied to a persisted manifest, prediction record, configuration fingerprint, or artifact identifier.

The completed system answers the three questions with a connected result. The DINOv3 ConvNeXt-Tiny reference reached 98.51% accuracy and 96.87% macro-F1 on the locked internal test. The MobileNetV4 float state retained 98.46% accuracy and 96.27% macro-F1. The final PTE reached 98.46% accuracy and 96.23% macro-F1; only six top-1 decisions differed from the converted INT8 graph. The contribution is not a new backbone, loss, or quantiser. It is an auditable

CropCop — arXiv preprint model study that connects benchmark repair, class-balanced evaluation, compact transfer, validation-only PTQ selection, and direct runtime execution while preserving the boundary between internal evidence and external validity.

References (26)