Datasets:

Modalities:
Image
Text
Formats:
csv
Languages:
English
ArXiv:
DOI:
Libraries:
Datasets
pandas
License:
fileNameAsDelivered
stringlengths
22
46
scientificName
stringclasses
188 values
Black_Footed_Albatross_0046_18.jpg
Phoebastria nigripes
Black_Footed_Albatross_0009_34.jpg
Phoebastria nigripes
Black_Footed_Albatross_0002_55.jpg
Phoebastria nigripes
Black_Footed_Albatross_0074_59.jpg
Phoebastria nigripes
Black_Footed_Albatross_0014_89.jpg
Phoebastria nigripes
Black_Footed_Albatross_0085_92.jpg
Phoebastria nigripes
Black_Footed_Albatross_0031_100.jpg
Phoebastria nigripes
Black_Footed_Albatross_0051_796103.jpg
Phoebastria nigripes
Black_Footed_Albatross_0010_796097.jpg
Phoebastria nigripes
Black_Footed_Albatross_0025_796057.jpg
Phoebastria nigripes
Black_Footed_Albatross_0023_796059.jpg
Phoebastria nigripes
Black_Footed_Albatross_0086_796062.jpg
Phoebastria nigripes
Black_Footed_Albatross_0049_796063.jpg
Phoebastria nigripes
Black_Footed_Albatross_0006_796065.jpg
Phoebastria nigripes
Black_Footed_Albatross_0040_796066.jpg
Phoebastria nigripes
Black_Footed_Albatross_0016_796067.jpg
Phoebastria nigripes
Black_Footed_Albatross_0065_796068.jpg
Phoebastria nigripes
Black_Footed_Albatross_0089_796069.jpg
Phoebastria nigripes
Black_Footed_Albatross_0042_796071.jpg
Phoebastria nigripes
Black_Footed_Albatross_0067_170.jpg
Phoebastria nigripes
Black_Footed_Albatross_0060_796076.jpg
Phoebastria nigripes
Black_Footed_Albatross_0090_796077.jpg
Phoebastria nigripes
Black_Footed_Albatross_0056_796078.jpg
Phoebastria nigripes
Black_Footed_Albatross_0061_796082.jpg
Phoebastria nigripes
Black_Footed_Albatross_0008_796083.jpg
Phoebastria nigripes
Black_Footed_Albatross_0033_796086.jpg
Phoebastria nigripes
Black_Footed_Albatross_0024_796089.jpg
Phoebastria nigripes
Black_Footed_Albatross_0005_796090.jpg
Phoebastria nigripes
Black_Footed_Albatross_0026_796095.jpg
Phoebastria nigripes
Black_Footed_Albatross_0080_796096.jpg
Phoebastria nigripes
Black_Footed_Albatross_0047_796064.jpg
Phoebastria nigripes
Black_Footed_Albatross_0017_796098.jpg
Phoebastria nigripes
Black_Footed_Albatross_0064_796101.jpg
Phoebastria nigripes
Black_Footed_Albatross_0076_417.jpg
Phoebastria nigripes
Black_Footed_Albatross_0019_796104.jpg
Phoebastria nigripes
Black_Footed_Albatross_0057_796106.jpg
Phoebastria nigripes
Black_Footed_Albatross_0041_796108.jpg
Phoebastria nigripes
Black_Footed_Albatross_0053_796109.jpg
Phoebastria nigripes
Black_Footed_Albatross_0001_796111.jpg
Phoebastria nigripes
Black_Footed_Albatross_0071_796113.jpg
Phoebastria nigripes
Black_Footed_Albatross_0077_796114.jpg
Phoebastria nigripes
Black_Footed_Albatross_0032_796115.jpg
Phoebastria nigripes
Black_Footed_Albatross_0038_212.jpg
Phoebastria nigripes
Black_Footed_Albatross_0037_796120.jpg
Phoebastria nigripes
Black_Footed_Albatross_0082_796121.jpg
Phoebastria nigripes
Black_Footed_Albatross_0079_796122.jpg
Phoebastria nigripes
Black_Footed_Albatross_0050_796125.jpg
Phoebastria nigripes
Black_Footed_Albatross_0078_796126.jpg
Phoebastria nigripes
Black_Footed_Albatross_0036_796127.jpg
Phoebastria nigripes
Black_Footed_Albatross_0045_796129.jpg
Phoebastria nigripes
Black_Footed_Albatross_0039_796132.jpg
Phoebastria nigripes
Black_Footed_Albatross_0088_796133.jpg
Phoebastria nigripes
Black_Footed_Albatross_0068_796135.jpg
Phoebastria nigripes
Black_Footed_Albatross_0003_796136.jpg
Phoebastria nigripes
Black_Footed_Albatross_0007_796138.jpg
Phoebastria nigripes
Black_Footed_Albatross_0069_796139.jpg
Phoebastria nigripes
Black_Footed_Albatross_0035_796140.jpg
Phoebastria nigripes
Black_Footed_Albatross_0063_796141.jpg
Phoebastria nigripes
Black_Footed_Albatross_0058_796074.jpg
Phoebastria nigripes
Black_Footed_Albatross_0081_426.jpg
Phoebastria nigripes
Laysan_Albatross_0002_1027.jpg
Phoebastria immutabilis
Laysan_Albatross_0003_1033.jpg
Phoebastria immutabilis
Laysan_Albatross_0082_524.jpg
Phoebastria immutabilis
Laysan_Albatross_0044_784.jpg
Phoebastria immutabilis
Laysan_Albatross_0070_788.jpg
Phoebastria immutabilis
Laysan_Albatross_0050_870.jpg
Phoebastria immutabilis
Laysan_Albatross_0071_792.jpg
Phoebastria immutabilis
Laysan_Albatross_0053_543.jpg
Phoebastria immutabilis
Laysan_Albatross_0081_800.jpg
Phoebastria immutabilis
Laysan_Albatross_0001_545.jpg
Phoebastria immutabilis
Laysan_Albatross_0023_1059.jpg
Phoebastria immutabilis
Laysan_Albatross_0065_809.jpg
Phoebastria immutabilis
Laysan_Albatross_0061_563.jpg
Phoebastria immutabilis
Laysan_Albatross_0085_564.jpg
Phoebastria immutabilis
Laysan_Albatross_0005_565.jpg
Phoebastria immutabilis
Laysan_Albatross_0060_777.jpg
Phoebastria immutabilis
Laysan_Albatross_0055_570.jpg
Phoebastria immutabilis
Laysan_Albatross_0025_571.jpg
Phoebastria immutabilis
Laysan_Albatross_0080_821.jpg
Phoebastria immutabilis
Laysan_Albatross_0092_834.jpg
Phoebastria immutabilis
Laysan_Albatross_0013_910.jpg
Phoebastria immutabilis
Laysan_Albatross_0091_602.jpg
Phoebastria immutabilis
Laysan_Albatross_0102_611.jpg
Phoebastria immutabilis
Laysan_Albatross_0099_869.jpg
Phoebastria immutabilis
Laysan_Albatross_0017_614.jpg
Phoebastria immutabilis
Laysan_Albatross_0047_619.jpg
Phoebastria immutabilis
Laysan_Albatross_0035_876.jpg
Phoebastria immutabilis
Laysan_Albatross_0098_621.jpg
Phoebastria immutabilis
Laysan_Albatross_0088_883.jpg
Phoebastria immutabilis
Laysan_Albatross_0034_628.jpg
Phoebastria immutabilis
Laysan_Albatross_0104_630.jpg
Phoebastria immutabilis
Laysan_Albatross_0058_637.jpg
Phoebastria immutabilis
Laysan_Albatross_0028_643.jpg
Phoebastria immutabilis
Laysan_Albatross_0033_658.jpg
Phoebastria immutabilis
Laysan_Albatross_0075_668.jpg
Phoebastria immutabilis
Laysan_Albatross_0076_671.jpg
Phoebastria immutabilis
Laysan_Albatross_0096_673.jpg
Phoebastria immutabilis
Laysan_Albatross_0064_674.jpg
Phoebastria immutabilis
Laysan_Albatross_0039_924.jpg
Phoebastria immutabilis
Laysan_Albatross_0049_918.jpg
Phoebastria immutabilis

Dataset Card for VLM4Bio

Instructions for downloading the dataset

  • Install Git LFS
  • Git clone the VLM4Bio repository to download all metadata and associated files
    • Run the following commands in a terminal:
git clone https://huggingface.co./datasets/imageomics/VLM4Bio
cd VLM4Bio

Downloading and processing bird images

  • To download the bird images, run the following command:
bash download_bird_images.sh
  • This should download the bird images inside datasets/Bird/images

Processing fish and butterfly images:

  • Run the following command:
bash process_fish_butterfly_images.sh
  • This should process fish and butterfly images inside datasets/Fish/images and datasets/Butterfly/images respectively.

Alt text

Dataset Details

VLM4Bio is a benchmark dataset of scientific question-answer pairs used to evaluate pretrained VLMs for trait discovery from biological images. VLM4Bio consists of images of three taxonomic groups of organisms: fish, birds, and butterflies, each containing around 10k images.

Dataset Description

VLM4Bio is a large, annotated dataset, consisting of 469K question-answer pairs involving around 30K images from three groups of organisms: fish, birds, and butterflies, covering five biologically relevant tasks. The scientifically relevant tasks in organismal biology includes species classification, trait identification, trait grounding, trait referring, and trait counting. These tasks are designed to test different facets of VLM performance in organismal biology, ranging from measuring predictive accuracy to assessing their ability to reason about their predictions using visual cues of known biological traits. For example, the tasks of species classification test the ability of VLMs to discriminate between species, while in trait grounding and referring, we specifically test if VLMs are able to localize morphological traits (e.g., the presence of fins of fish or patterns and colors of birds) within the image. We consider two types of questions in this dataset. First, we consider open-ended questions, where we do not provide any answer choices (or options) to the VLM in the input prompt. The second type is multiple-choice (MC) questions, where we provide four choices of candidate answers for the VLM to choose from (out of which only one is correct while the remaining three are randomly selected from the set of all possible answers).

Supported Tasks and Leaderboards

The following figure illustrates VLM4Bio tasks with different question types. Alt text

The following table demonstrates the leaderboard of the VLM baselines in terms of zero-shot accuracy. Alt text

Languages

English, Latin

Dataset Structure

After downloading and processing the dataset, VLM4Bio should have the following structure:

VLM4Bio/
    └── datasets/
        β”œβ”€β”€ Fish/
        β”‚   β”œβ”€β”€ images/
        β”‚   β”‚   β”œβ”€β”€ INHS_FISH_58870.jpg
        β”‚   β”‚   β”œβ”€β”€ INHS_FISH_58819.jpg
        β”‚   β”‚   └── ...
        β”‚   └── metadata/
        β”‚       β”œβ”€β”€ metadata_10k.csv
        β”‚       β”œβ”€β”€ metadata_500.csv
        β”‚       └── ...
        β”œβ”€β”€ Bird/
        β”‚   β”œβ”€β”€ images/
        β”‚   β”‚   β”œβ”€β”€ Ivory_Gull_0117_49227.jpg
        β”‚   β”‚   β”œβ”€β”€ Yellow_Warbler_0026_176337.jpg
        β”‚   β”‚   └── ...
        β”‚   └── metadata/
        β”‚       β”œβ”€β”€ bird_metadata_10k.csv
        β”‚       β”œβ”€β”€ identification.csv
        β”‚       └── ...
        └── Butterfly/
            β”œβ”€β”€ images/
            β”‚   β”œβ”€β”€ butterfly_train_heliconius_sara_0007.jpg
            β”‚   β”œβ”€β”€ butterfly_val_pyrrhogyra_cramen_0001.jpg
            β”‚   └── ...
            └── metadata/
                β”œβ”€β”€ metadata.csv
                └── imagelist.csv

Data Instances

Data Fields

Fish Files:

  • identification_imagelist_10k.txt:
  • identification_matrix.csv:
  • imagelist_10k.txt: List of image filenames for species classification and trait identification.
  • imagelist_500.txt: 500 image subset of imagelist_10k.txt for trait detection and counting.
  • metadata_10k.csv: Image filenames (fileNameAsDelivered, unique identifier) paired with their respective scientific names (scientificName).
  • metadata_500.csv: 500 image subset of metadata_10k.csv for trait detection and counting. ARKID is unique identifier from Fish-AIR, links to full metadata information in full_fish_metadata.csv.
  • processed_identification_imagelist_10k.txt: List of images included in the processed_identification_matrix.csv.
  • processed_identification_matrix.csv: Presence/Absence indicator for 10 external (visible) traits: eye, head, mouth, barbel, dorsal fin, two dorsal fins, adipose fin, pectoral fin, pelvic fin, anal fin. Unique identifier is the fileNameAsDelivered, and scientific name is indicated (scientificName).

Bird Files:

  • bird_imagelist_10k.txt: List of image filenames for species classification and trait identification.
  • bird_metadata_10k.csv: Image filenames (fileNameAsDelivered, unique identifier) paired with their respective scientific names (scientificName).
  • identification.csv:
  • processed_identification.csv:
  • trait_category_map.pkl:

Butterfly Files:

  • imagelist.txt: List of image filenames for species classification.
  • metadata.csv: Image filenames (fileNameAsDelivered, unique identifier) paired with their respective scientific names (scientificName).

VLM Prompts are determined through code available in the GitHub Repository; they are summarized in the task diagram above.

Data Splits

These images were all used for benchmarking current state-of-the-art VLMs on biological tasks.

Curation Rationale

Source Data

We collected images of three taxonomic groups of organisms: fish, birds, and butterflies, each containing around 10k images.

Fish

Images for fish (Fish-10k) were curated from the larger image collection, Fish-AIR, which contains images from the Great Lakes Invasives Network (GLIN).

These images originate from various museum collections, including the following:

Phenoscape and FishBase were used to obtain the information on traits.

  • Data Processing:

    We created the Fish-10k dataset by randomly sampling 10K images and preprocessing the images to crop and remove the background. For consistency, we leverage GroundingDINO to crop the fish body from the background and Segment Anything Model (SAM) to remove the background. This is the same processing done in Fish-Vista, more details and the code is available here.

Bird

We create the Bird-10k dataset from the CUB-200-2011 dataset. We obtain the scientific names from the iNatLoc dataset.

  • Data Processing:

    For Bird-10k, we take 190 species for which the common name to scientific name mapping is available. This results in a fairly balanced dataset. Please download the images following the directions under Dataset Structure.

Butterflies

We created the Butterfly-10k dataset from the Heliconius Collection (Cambridege Butterfly) dataset.

  • Data Processing:

    For the Butterfly-10k, we carefully sampled 10K images from the Heliconius Collection dataset to ensure the images capture unique specimens and represent a diverse set of species. We adopt the following steps:

    • We filter out images with more than one image from the same view (i.e., dorsal or ventral).
    • We ensure each species has a minimum of 20 images and no more than 2,000 images.

Annotations

Scientific Names

The scientific names for the images of Fish-10k and Butterfly-10k were obtained directly from their respective sources.

For Bird-10k, we obtained the scientific names from the iNatLoc dataset.

In total, we curated around 31K question-answer pairs in both open and multiple-choice (MC) question-formats for evaluating species classification tasks.

Trait information

The species-level trait presence/absence matrix for Fish-10k was manually curated with the help of biological experts co-authored in this paper. We leveraged the Phenoscape knowledge base and FishBase along with manual annotations to procure the presence-absence trait information. We constructed approximately xK question-answer pairs for Fish-10k

For Bird-10k, we obtained the trait matrix from the attribute annotations provided along with CUB-200-2011.

In total, we constructed approximately 380K question-answer pairs for trait identification tasks.

Grounding and referring

For grounding and referring VQA tasks, the ground truths were manually annotated with the help of expert biologists on our team. We manually annotated bounding boxes corresponding to the traits of 500 fish specimens and 500 bird specimens, which are subsets of the larger Fish-10k and Bird-10k datasets, respectively. We used the CVAT tool for annotation.

Personal and Sensitive Information

None

Considerations for Using the Data

The fish-10 K and Butterfly-10K datasets are not balanced for the species classification task, while the bird-10 K dataset is balanced. Since the fish images are collected from different museums, they may inherit a small bias.

Licensing Information

This dataset (the compilation) has been licensed under CC BY 4.0. However, images may be licensed under different terms (as noted above). For license and citation information by image, see our license file.

  • The fish images are from GLIN, whose metadata and source URLs were accessed through Fish-AIR. The GLIN images are all either CC BY-NC or in the public domain (CC0).
  • All the bird images are sourced from the CUB-200-2011 dataset; CalTech states that they do not own the copyrights to these images, and that their use is restricted to non-commercial research and educational purposes.
  • All butterfly images are from the Butterfly Genetics Group at University of Cambridge and are licensed under Creative Commons Attribution 4.0 International.

Each image in this dataset is provided under the least restrictive terms allowed by its licensing requirements as provided to us (i.e., we impose no additional restrictions past those specified by licenses in the license file).

We provide licensing information for every individual image within the fish and butterfly images in license-metadata/fish-licenses.csv and license-metadata/butterfly-licenses.csv respectively. The source_link and citation for each of the butterfly images can be obtained by matching the record_number field to the record numbers in license-metadata/butterfly-licenses.json.

Citation

Please cite our work as follows:

@misc{maruf2024vlm4bio,
      title={VLM4Bio: A Benchmark Dataset to Evaluate Pretrained Vision-Language Models for Trait Discovery from Biological Images}, 
      author={M. Maruf and Arka Daw and Kazi Sajeed Mehrab and Harish Babu Manogaran and Abhilash Neog and Medha Sawhney and Mridul Khurana and James P. Balhoff and Yasin Bakis and Bahadir Altintas and Matthew J. Thompson and Elizabeth G. Campolongo and Josef C. Uyeda and Hilmar Lapp and Henry L. Bart and Paula M. Mabee and Yu Su and Wei-Lun Chao and Charles Stewart and Tanya Berger-Wolf and Wasila Dahdul and Anuj Karpatne},
      year={2024},
      eprint={2408.16176},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2408.16176}, 
}

Please be sure to also cite the original data sources using all of the citations provided in the following:

Acknowledgements

This work was supported by the Imageomics Institute, which is funded by the US National Science Foundation's Harnessing the Data Revolution (HDR) program under Award #2118240 (Imageomics: A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning). Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

Dataset Card Authors

M. Maruf, Kazi Sajeed Mehrab and Elizabeth G. Campolongo

Dataset Card Contact

[email protected], [email protected]

Downloads last month
148