BGLab commited on
Commit
935d2b4
β€’
1 Parent(s): 20f62b4

added readme

Browse files
Files changed (1) hide show
  1. README.md +142 -3
README.md CHANGED
@@ -1,3 +1,142 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ License: cc0-1.0
3
+ language:
4
+ - en
5
+ pretty_name: BioTrove
6
+ task_categories:
7
+ - image-classification
8
+ - zero-shot-classification
9
+ tags:
10
+ - biology
11
+ - image
12
+ - animals
13
+ - species
14
+ - taxonomy
15
+ - rare species
16
+ - endangered species
17
+ - evolutionary biology
18
+ - balanced
19
+ - CV
20
+ - multimodal
21
+ - CLIP
22
+ - knowledge-guided
23
+ size_categories: 100M<n<1B
24
+ ---
25
+
26
+ # BioTrove: A Large Curated Image Dataset Enabling AI for Biodiversity
27
+
28
+ <!-- Banner links -->
29
+ <div style="text-align:center;">
30
+ <a href="https://baskargroup.github.io/BioTrove/ target="_blank">
31
+ <img src="https://img.shields.io/badge/Project%20Page-Visit-blue" alt="Project Page" style="margin-right:10px;">
32
+ </a>
33
+ <a href="https://github.com/baskargroup/BioTrove" target="_blank">
34
+ <img src="https://img.shields.io/badge/GitHub-Visit-lightgrey" alt="GitHub" style="margin-right:10px;">
35
+ </a>
36
+ <a href="https://pypi.org/project/arbor-process/" target="_blank">
37
+ <img src="https://img.shields.io/badge/PyPI-arbor--process%200.1.0-orange" alt="PyPI biotrove-process 0.1.0">
38
+ </a>
39
+ </div>
40
+
41
+ ## Description
42
+
43
+ [BioTrove](https://baskargroup.github.io/BioTrove/) comprises well-processed metadata with full taxa information and URLs pointing to image files. The metadata can be used to filter specific categories, visualize data distribution, and manage imbalance effectively. We provide a collection of software tools that enable users to easily download, access, and manipulate the dataset.
44
+
45
+
46
+ ## BioTrove Dataset
47
+ `BioTrove` comprises over `161.9M` images across several taxonomic groups- including Reptilia (reptiles), Plantae (plants), Mollusca (mollusks), Mammalia (mammals), Insecta (insects), Fungi (fungi), Aves (birds), Arachnida (arachnids), Animalia (animals), Amphibia (amphibians), and Actinopterygii (ray-finned fish).
48
+ These taxonomic groups were chosen to represent the span of species β€” outside of charismatic megafauna. The images in BioTrove span `366.6K`species.
49
+ Overall, this dataset nearly matches the state-of-the-art curated dataset (TREEOFLIFE-10M) in terms of species diversity, while comfortably exceeding it in terms of scale by a factor of nearly 16.2 times.
50
+
51
+ ## New Benchmark Datasets
52
+ We created three new benchmark datasets for fine-grained image classification. In addition, we provide a new benchmark dataset for species recognition across various developmental Life-stages.
53
+
54
+ ### BioTrove-Balanced
55
+ For balanced species distribution across the 7 categories, we curated `BioTrove-Balanced`. Each category includes up to 500 species, with 50 images per species.
56
+
57
+ ### BioTrove-Unseen
58
+ To provide a robust benchmark for evaluating the generalization capability of models on unseen species, we curated `BioTrove-Unseen`. The test dataset was constructed by identifying species with fewer than 30 instances in BioTrove, ensuring that the dataset contains species that were unseen by BioTrove-CLIP. Each species contained 10 images.
59
+
60
+ ### BioTrove-LifeStages
61
+ To assess the model’s ability to recognize species across various developmental stages, we curated `BioTrove-LifeStages`. This dataset has 20 labels in total and focuses on insects, since these species often exhibit significant visual differences across their lifespan. BioTrove-LifeStages contains five insect species and utilized the observation export feature on the iNaturalist platform to collect data from 2/1/2024 to 5/20/2024 to ensure no overlap with the training dataset. For each species, life stage filters (egg, larva, pupa, or adult) were applied.
62
+
63
+ ## Dataset Information
64
+
65
+ - **Full Taxa Information**: Detailed metadata, including taxonomic hierarchy and image URLs.
66
+ - **Comprehensive Metadata**: Enables filtering, visualization, and effective management of data imbalance.
67
+ - **Software Tools**: Collection of tools for easy dataset access, download, and manipulation.
68
+ - **Balanced Species Distribution**: Up to 500 species per category with 50 images per species.
69
+ - **Unseen Species Benchmark**: Includes species with fewer than 30 instances to evaluate generalization capability.
70
+ - **Life Stages Dataset**: Focuses on insects across various developmental stages.
71
+
72
+
73
+ ## BioTrove-CLIP Models
74
+
75
+ **See the [BioTrove-CLIP](https://huggingface.co/BGLab/BioTrove-CLIP) model card on HuggingFace to download the trained model checkpoints**
76
+
77
+ We released three trained model checkpoints in the [BioTrove-CLIP](https://huggingface.co/BGLab/BioTrove-CLIP) model card on HuggingFace. These CLIP-style models were trained on [BioTrove-40M](https://baskargroup.github.io/BioTrove/) for the following configurations:
78
+
79
+ - **BioTrove-CLIP-O:** Trained a ViT-B/16 backbone initialized from the [OpenCLIP's](https://github.com/mlfoundations/open_clip) checkpoint. The training was conducted for 40 epochs.
80
+ - **BioTrove-CLIP-B:** Trained a ViT-B/16 backbone initialized from the [BioCLIP's](https://github.com/Imageomics/BioCLIP) checkpoint. The training was conducted for 8 epochs.
81
+ - **BioTrove-CLIP-M:** Trained a ViT-L/14 backbone initialized from the [MetaCLIP's](https://github.com/facebookresearch/MetaCLIP) checkpoint. The training was conducted for 12 epochs.
82
+
83
+
84
+
85
+ ## Usage
86
+
87
+ **To start using the BioTrove dataset, follow the instructions provided in the [GitHub](https://github.com/baskargroup/BioTrove). Model checkpoints are shared in the [model_ckpt](#directory) directory.**
88
+
89
+ **Metadata files are included in the [Directory](#directory). Please download the metadata from the [Directory](#directory)** and pre-process the data using the [arbor_process](https://pypi.org/project/arbor-process/) PyPI library. The instructions to use the library can be found in [here](https://github.com/baskargroup/BioTrove/blob/main/Arbor-preprocess/README_arbor_process.md). The Readme file contains the detailed description of data preparation steps.
90
+
91
+ ### Directory
92
+ ```plaintext
93
+ main/
94
+ β”œβ”€β”€ BioTrove/
95
+ β”‚ β”œβ”€β”€ chunk_0.csv
96
+ β”‚ β”œβ”€β”€ chunk_0.parquet
97
+ β”‚ β”œβ”€β”€ chunk_1.parquet
98
+ β”‚ β”œβ”€β”€ .
99
+ β”‚ β”œβ”€β”€ .
100
+ β”‚ β”œβ”€β”€ .
101
+ β”‚ └── chunk_2691.parquet
102
+ β”œβ”€β”€ BioTrove-benchmark/
103
+ β”‚ β”œβ”€β”€ BioTrove-Balanced.csv
104
+ β”‚ β”œβ”€β”€ BioTrove-Balanced.parquet
105
+ β”‚ β”œβ”€β”€ BioTrove-Lifestages.csv
106
+ β”‚ β”œβ”€β”€ BioTrove-Lifestages.parquet
107
+ β”‚ β”œβ”€β”€ BioTrove-Unseen.csv
108
+ β”‚ └──BioTrove-Unseen.parquet
109
+ β”œβ”€β”€README.md
110
+ └──.gitignore
111
+ ```
112
+
113
+ ### Acknowledgements
114
+ This work was supported by the AI Research Institutes program supported by the NSF and USDA-NIFA under [AI Institute: for Resilient Agriculture](https://aiira.iastate.edu/), Award No. 2021-67021-35329. This was also
115
+ partly supported by the NSF under CPS Frontier grant CNS-1954556. Also, we gratefully
116
+ acknowledge the support of NYU IT [High Performance Computing](https://www.nyu.edu/life/information-technology/research-computing-services/high-performance-computing.html) resources, services, and staff
117
+ expertise.
118
+
119
+
120
+ <!--BibTex citation -->
121
+ <section class="section" id="BibTeX">
122
+ <div class="container is-max-widescreen content">
123
+ <h2 class="title">Citation</h2>
124
+ If you find this dataset useful in your research, please consider citing our paper:
125
+ <pre><code>@misc{yang2024BioTrovelargemultimodaldataset,
126
+ title={BioTrove: A Large Multimodal Dataset Enabling AI for Biodiversity},
127
+ author={Chih-Hsuan Yang, Benjamin Feuer, Zaki Jubery, Zi K. Deng, Andre Nakkab,
128
+ Md Zahid Hasan, Shivani Chiranjeevi, Kelly Marshall, Nirmal Baishnab, Asheesh K Singh,
129
+ Arti Singh, Soumik Sarkar, Nirav Merchant, Chinmay Hegde, Baskar Ganapathysubramanian},
130
+ year={2024},
131
+ eprint={2406.17720},
132
+ archivePrefix={arXiv},
133
+ primaryClass={cs.CV},
134
+ url={https://arxiv.org/abs/2406.17720},
135
+ }</code></pre>
136
+ </div>
137
+ </section>
138
+ <!--End BibTex citation -->
139
+
140
+ ---
141
+
142
+ For more details and access to the dataset, please visit the [Project Page](https://baskargroup.github.io/BioTrove/).