You need to agree to share your Hugging Face information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

LeafBench

LeafBench is a multiple-choice visual question answering benchmark for plant disease recognition from leaf images. It is built from held-out images of LeafNet and evaluates vision-language models on six recognition tasks.

Paper: LeafNet and LeafBench · Collection: LeafSight · Code: github.com/EnalisUs/LeafBench

Contents

Images Questions
Full benchmark (data/test-*) 2,901 15,606
Tiny subset (leafbench_tiny.csv) 563 969
Task Abbreviation Questions Options
Healthy-diseased classification HDC 2,901 2
Disease classification DC 2,901 4
Crop species identification CSI 2,901 4
Pathogen scientific name classification SNC 2,301 4
Pathogen type classification PC 2,301 4
Symptom identification SI 2,301 4

Healthy images have no pathogen or symptom question. The benchmark covers all 97 crop-health classes of LeafNet (22 crop species).

Data fields

image (leaf image), question_id, question_type (HDC, DC, CSI, SNC, PC, SI), question, A, B, C, D (answer options; C and D are empty for HDC), answer (letter of the correct option).

from datasets import load_dataset
ds = load_dataset("enalis/LeafBench", split="test")

How the benchmark was built

  • Images. Up to 30 images per class were sampled from the held-out partitions of the 7:2:1 train/validation/test split of LeafNet: 2,798 images from the test partition and 103 from the validation partition (classes with fewer than 30 test images).
  • Questions. Questions follow one template per task, and the answer options are drawn from the class-level metadata of LeafNet (crop species, disease, pathogen type, pathogen scientific name, primary symptom).
  • Labels. The class-level metadata and captions were verified by three plant pathologists. Image labels are inherited from the source datasets; images were screened with filtering rules and were not individually reviewed by experts or confirmed by laboratory diagnosis.

Acquisition environments

Acquisition environment is attributed at the level of the source dataset.

Acquisition category Sources Images
Controlled background PlantVillage, Grape, Sugarcane, MangoLeafBD, Black Pepper 1,672
Field, in situ Crop Pest and Disease (Ghana), Maize (Tanzania), Tea, Cucumber, PlantDoc 810
Background removed Rice 240
Field-captured, cropped to leaf Coffee (JMuBEN) 150
Unverified Corn compilation (Kaggle) 29

Image-level manifest

leafbench_image_manifest.csv lists every image with its source dataset and DOI or URL, source file name, country, acquisition category, LeafNet partition, MD5, perceptual hash, task labels, Tiny membership, source licence, and duplicate information. Several source datasets are distributed with augmented copies, so 467 LeafBench images have a byte-identical or rotated/flipped copy in the LeafNet training release (shares_cluster_with_released_train). For models trained on LeafNet, please also report results on the 2,434 images without such copies (in_train_disjoint_subset).

Evaluation

Accuracy per task is the evaluation metric; Mean is the unweighted mean over the six tasks. Zero-shot results from the paper (15,606 questions; an output without a valid option letter counts as incorrect):

Model HDC DC CSI SNC PC SI Mean
GPT-4o 91.24 85.25 86.18 63.80 56.63 51.72 72.47
Qwen2.5-VL 85.45 71.73 76.77 49.89 62.36 47.81 65.67
InternVL3.5 75.77 50.84 47.71 31.68 58.76 43.68 51.41
LLaVA-NeXT 84.66 31.30 38.09 28.42 71.71 31.59 47.63
LLaVA-1.5 79.32 33.78 50.57 25.21 64.41 28.73 47.00
BLIP-2 9.13 23.65 20.96 21.77 19.08 23.34 19.65
SigLIP 80.11 85.25 83.97 45.07 23.38 40.59 59.73
CLIP 78.90 73.22 70.94 38.11 34.55 35.25 55.16
ALIGN 79.32 63.01 60.84 33.68 29.03 40.07 50.99
BioCLIP 36.16 63.74 65.87 43.94 17.17 26.51 42.23
SigLIP2 78.04 41.12 38.78 37.90 7.30 37.42 40.09
SCOLD (pretrained on LeafNet) 75.01 98.21 94.11 38.68 34.72 83.92 70.77
Chance level 50.00 25.00 25.00 25.00 25.00 25.00 29.17

BLIP-2 returned no option letter for 27.0% of the questions. The prompt, the text templates of the CLIP-style models and the per-question predictions are given in the paper and the code repository.

SCOLD was pretrained on the LeafNet training partition, so its scores measure question answering on unseen images of previously seen classes.

Scope

LeafBench measures recognition of class labels and associated knowledge from RGB leaf images. It does not establish diagnostic accuracy or generalization to independent sites, seasons or sensors.

Changelog

  • 2026-11 (current, tag v1.2). The benchmark now covers all 97 LeafNet classes: 330 images and 1,710 questions were added for eleven classes that had no questions, and the Tiny subset was extended accordingly (969 questions). Four mistyped answer-option strings were corrected (226 distractor slots and the label Cold temperatures); no correct answer changed.
  • 2026-11 (tag v1.1). Nine images of one class (54 questions) that could not be assigned to a held-out LeafNet partition were excluded; they are listed in leafbench_v1.1_removed_questions.csv. The previous release is available with load_dataset("enalis/LeafBench", revision="v1.0").

Licence

The questions, metadata and compilation are released under CC BY-NC 4.0 for non-commercial research and educational use. The images remain under the licences of their source datasets, which are listed per image in the manifest; please cite the source datasets together with this work.

Citation

@article{leafnet2026,
  title     = {LeafNet: A Large-Scale Dataset and Comprehensive Benchmark for 
               Foundational Vision-Language Understanding of Plant Diseases},
  author    = {Khang Nguyen Quoc and Phuong D. Dao and Luyl-Da Quach},
  journal   = {arXiv preprint arXiv:2602.13662},
  year      = {2026}
}

Contact

Please open an issue on GitHub or contact the corresponding authors of the paper.

Downloads last month
3,287

Collection including enalis/LeafBench

Paper for enalis/LeafBench