--- license: cc-by-4.0 task_categories: - visual-question-answering - image-text-to-text tags: - agriculture - plant-pathology - vqa - vision-language pretty_name: PlantMicro configs: - config_name: train data_files: - split: train path: train-0000-of-0001.parquet dataset_info: config_name: train splits: - name: train num_examples: 9718 size_categories: - 1K95% for the best model) but struggle badly on fine-grained biological recognition: pathogen classification tops out at 34.93% (GPT-5), only modestly above a 24.95% random-guessing baseline, and host identification averages ~30% across models, also close to chance. Closed-source models outperform open-source ones by 10+ percentage points on average. Error analysis attributes most failures to knowledge deficiency rather than perception error — models can see the relevant structures but don't know what they mean. ## Dataset Size | Config | Rows (QA pairs) | Unique Images | Image Data | |---|---|---|---| | train | 9,718 | 5,369 | 0.54GB (1 shard) | The source dataset has 5,410 images, each with one or more associated questions (9,718 VQA pairs total). Standardization flattens each (image, question) pair into its own row, so the row count here (9,718) is higher than the source image count (5,410) — it matches the VQA pair count, not the image count. The 5,369 unique images (vs. 5,410 source entries) reflects a small number of images that are byte-identical duplicates, deduplicated via SHA256 hash. ## Question Types | Question type | Mechanism | Count | |---|---|---| | modality, class, domain, specie, stain, organell, resin, organ | multiple-choice (`options`) | 8,030 | | count_c | multiple-choice (`choices` + `correct_choice_idx`) | 605 | | detection | open-ended bounding-box coordinates | 1,083 | ## Layout ``` train-0000-of-0001.parquet # 9,718 rows images/ image-train-000-of-001.zip # image shard (ZIP_STORED, uncompressed) path_to_shard.parquet # maps image SHA256 hash -> shard_file ``` Images are content-addressed by SHA256 hash rather than by their original file path, and are stored uncompressed in zip shards for random access via `zipfile`. Each image shard stays under 5GB. ## Schema | Column | Type | Description | |---|---|---| | `images` | `list>` | `bytes` is `null`; `path` is the SHA256 hash used to look up the image in `images/path_to_shard.parquet` | | `id` | `string` | `plantmicro_train_` | | `messages` | chat-style list | user turn: image + question (multiple-choice questions include lettered options inline); assistant turn: the answer, letter-prefixed for multiple-choice questions | | `raw_metadata` | JSON string | `dataset`, `question_type`, `options`, `choices`, `correct_choice_idx`, `image_path` (original source path) | Each row is one (image, question) pair; a single source image can appear across multiple rows since PlantMicro asks multiple questions per image. ## Usage Recommended, via the AgML python library: ```python from agml import loadImageTextToTextDataset ds = loadImageTextToTextDataset("Project-AgML/PlantMicro") ``` ## Citation ```bibtex @article{wei2026plantmicro, title={Benchmarking Vision-Language Models for Microscopic Plant Image Understanding}, author={Wei, Tianqi and Yu, Xin and Chen, Zhi and Chapman, Scott and Huang, Zi}, journal={arXiv preprint arXiv:2606.22497}, year={2026} } ``` --- This dataset is indexed and structured on https://project-agml.github.io/ as part of the AgML python library. This dataset was reformatted from its original format to match HuggingFace's Imagefolder standards but requires an external module (agml) that processes and returns a HF Dataset object faster than HF module functions.