Hugo commited on
Commit
e8f11cf
·
1 Parent(s): df36123

Rebrand to HUGO-Bench: Hierarchical Unsupervised Grouping of Organisms Benchmark

Browse files
Files changed (1) hide show
  1. README.md +62 -62
README.md CHANGED
@@ -1,4 +1,4 @@
1
- ---
2
  license: mit
3
  task_categories:
4
  - image-classification
@@ -9,20 +9,34 @@ tags:
9
  - camera-trap
10
  - animals
11
  - vision
 
 
 
 
12
  size_categories:
13
  - 100K<n<1M
14
  ---
15
- # ViT Animal Dataset
16
 
17
- This dataset contains 139,111 cropped images of 60 animal species organized Aves and Mammalia.
18
- The raw image data was derived from 23 different projects across LILA BC, filtered and cropped to only include the detected species.
19
- The data has been used to benchmark different ViT models, combined with dimension reduction & clustering methods.
 
 
 
 
 
 
20
 
21
  ## Dataset Details
22
- - **Format**: Parquet (optimized for streaming)
23
- - **Total Images**: 139,111
24
- - **Species Count**: 60 species (30 birds, 30 mammals)
25
- - **License**: MIT
 
 
 
 
 
26
 
27
  ### Splits
28
  - `aves`: 73,528 images of 30 bird species
@@ -45,7 +59,7 @@ Filenames follow the pattern: `{species-name}_{number}.jpg` or `uncertain_{speci
45
  from datasets import load_dataset
46
 
47
  # Load with streaming enabled
48
- dataset = load_dataset("AI-EcoNet/ViT_animal_data", split="aves", streaming=True)
49
 
50
  # Iterate through samples
51
  for sample in dataset:
@@ -60,7 +74,7 @@ for sample in dataset:
60
  from datasets import load_dataset
61
 
62
  # Stream and filter for specific species
63
- ds = load_dataset("AI-EcoNet/ViT_animal_data", split="aves", streaming=True)
64
  crows_only = ds.filter(lambda x: x['filename'].startswith('american-crow'))
65
 
66
  for sample in crows_only:
@@ -72,46 +86,10 @@ for sample in crows_only:
72
  from datasets import load_dataset
73
 
74
  # Load only first 1000 images from aves
75
- dataset = load_dataset("AI-EcoNet/ViT_animal_data", split="aves[:1000]")
76
 
77
  # Load 10% of mammals
78
- dataset = load_dataset("AI-EcoNet/ViT_animal_data", split="mammals[:10%]")
79
- ```
80
-
81
- ### Load exactly 200 images per species (validated only)
82
- ```python
83
- from datasets import load_dataset
84
- from collections import defaultdict
85
-
86
- # Load with streaming
87
- ds = load_dataset("AI-EcoNet/ViT_animal_data", split="aves", streaming=True)
88
-
89
- # Collect 200 validated images per species
90
- species_list = ['american-crow', 'australian-magpie', 'kea']
91
- species_counts = defaultdict(int)
92
- species_samples = defaultdict(list)
93
-
94
- for sample in ds:
95
- filename = sample['filename']
96
-
97
- # Skip uncertain images
98
- if filename.startswith('uncertain_'):
99
- continue
100
-
101
- # Extract species name
102
- species = filename.rsplit('_', 1)[0]
103
-
104
- # Collect if we need more
105
- if species in species_list and species_counts[species] < 200:
106
- species_samples[species].append(sample)
107
- species_counts[species] += 1
108
-
109
- # Stop when we have 200 of each
110
- if all(species_counts[s] >= 200 for s in species_list):
111
- break
112
-
113
- print(f"Collected: {dict(species_counts)}")
114
- # Output: {'american-crow': 200, 'australian-magpie': 200, 'kea': 200}
115
  ```
116
 
117
  ### Full download
@@ -119,16 +97,16 @@ print(f"Collected: {dict(species_counts)}")
119
  from datasets import load_dataset
120
 
121
  # Download full dataset
122
- dataset = load_dataset("AI-EcoNet/ViT_animal_data")
123
 
124
  # Access by split
125
  aves_data = dataset['aves']
126
  mammals_data = dataset['mammals']
127
  ```
128
 
129
- ### Complete Species List
130
 
131
- #### Aves (Birds) - 30 Species, 73,528 Images
132
 
133
  | Species | Total | Validated | Uncertain |
134
  |---------|-------|-----------|-----------|
@@ -139,7 +117,7 @@ mammals_data = dataset['mammals']
139
  | Blue whistling thrush | 2,157 | 2,128 | 29 |
140
  | Brown quail | 2,662 | 2,652 | 10 |
141
  | Chicken | 1,647 | 1,629 | 18 |
142
- | Common chafflinch | 2,384 | 2,370 | 14 |
143
  | Common myna | 2,707 | 2,704 | 3 |
144
  | Dunnock | 2,066 | 2,055 | 11 |
145
  | European starling | 1,876 | 1,867 | 9 |
@@ -164,7 +142,7 @@ mammals_data = dataset['mammals']
164
  | Wild turkey | 2,057 | 2,057 | 0 |
165
  | Yellow-eyed penguin | 2,817 | 2,815 | 2 |
166
 
167
- #### Mammals - 30 Species, 65,583 Images
168
 
169
  | Species | Total | Validated | Uncertain |
170
  |---------|-------|-----------|-----------|
@@ -199,19 +177,41 @@ mammals_data = dataset['mammals']
199
  | White-nosed coati | 1,996 | 1,982 | 14 |
200
  | Wolf | 2,307 | 2,307 | 0 |
201
 
202
- **Note**: "Uncertain" indicates cases where manual validation was uncertain of the intitial label.
 
 
 
 
 
 
 
 
 
 
 
 
203
 
204
  ## Citation
205
 
206
- If you use this dataset, please cite appropriately. Each species folder contains the original image source and datasets from LILA BC, which can be cited seperately.
207
 
208
- ```bibtex
209
- @dataset{markoff_vit_animal_data_2026,
210
  author = {Markoff, Hugo and Bengtson, Stefan Hein and Ørsted, Michael},
211
- title = {ViT animal data: Expert-validated camera-trap cropped detections for zero-shot clustering},
212
  year = {2026},
213
  publisher = {Hugging Face Datasets},
214
- url = {https://huggingface.co/datasets/AI-EcoNet/ViT_animal_data},
215
- note = {Each species folder lists original image sources from LILA BC; please cite those datasets as indicated. "Uncertain" denotes expert-ambiguous labels.}
216
  }
217
- ```
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
  license: mit
3
  task_categories:
4
  - image-classification
 
9
  - camera-trap
10
  - animals
11
  - vision
12
+ - zero-shot
13
+ - clustering
14
+ - benchmark
15
+ - HUGO-Bench
16
  size_categories:
17
  - 100K<n<1M
18
  ---
 
19
 
20
+ # HUGO-Bench
21
+
22
+ **Hierarchical Unsupervised Grouping of Organisms Benchmark**
23
+
24
+ A comprehensive benchmark dataset for evaluating zero-shot clustering of wildlife camera trap images using Vision Transformer embeddings.
25
+
26
+ ## Overview
27
+
28
+ HUGO-Bench contains **139,111 expert-validated cropped images** of 60 animal species (30 birds, 30 mammals), derived from 23 camera trap projects across [LILA BC](https://lila.science/). The dataset enables benchmarking of Vision Transformer models for unsupervised species-level clustering without requiring labeled training data.
29
 
30
  ## Dataset Details
31
+
32
+ | Property | Value |
33
+ |----------|-------|
34
+ | **Format** | Parquet (optimized for streaming) |
35
+ | **Total Images** | 139,111 |
36
+ | **Species Count** | 60 species (30 birds, 30 mammals) |
37
+ | **Validated** | 138,024 (99.2%) |
38
+ | **Uncertain** | 1,087 (0.8%) |
39
+ | **License** | MIT |
40
 
41
  ### Splits
42
  - `aves`: 73,528 images of 30 bird species
 
59
  from datasets import load_dataset
60
 
61
  # Load with streaming enabled
62
+ dataset = load_dataset("AI-EcoNet/HUGO-Bench", split="aves", streaming=True)
63
 
64
  # Iterate through samples
65
  for sample in dataset:
 
74
  from datasets import load_dataset
75
 
76
  # Stream and filter for specific species
77
+ ds = load_dataset("AI-EcoNet/HUGO-Bench", split="aves", streaming=True)
78
  crows_only = ds.filter(lambda x: x['filename'].startswith('american-crow'))
79
 
80
  for sample in crows_only:
 
86
  from datasets import load_dataset
87
 
88
  # Load only first 1000 images from aves
89
+ dataset = load_dataset("AI-EcoNet/HUGO-Bench", split="aves[:1000]")
90
 
91
  # Load 10% of mammals
92
+ dataset = load_dataset("AI-EcoNet/HUGO-Bench", split="mammals[:10%]")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  ```
94
 
95
  ### Full download
 
97
  from datasets import load_dataset
98
 
99
  # Download full dataset
100
+ dataset = load_dataset("AI-EcoNet/HUGO-Bench")
101
 
102
  # Access by split
103
  aves_data = dataset['aves']
104
  mammals_data = dataset['mammals']
105
  ```
106
 
107
+ ## Complete Species List
108
 
109
+ ### Aves (Birds) - 30 Species, 73,528 Images
110
 
111
  | Species | Total | Validated | Uncertain |
112
  |---------|-------|-----------|-----------|
 
117
  | Blue whistling thrush | 2,157 | 2,128 | 29 |
118
  | Brown quail | 2,662 | 2,652 | 10 |
119
  | Chicken | 1,647 | 1,629 | 18 |
120
+ | Common chaffinch | 2,384 | 2,370 | 14 |
121
  | Common myna | 2,707 | 2,704 | 3 |
122
  | Dunnock | 2,066 | 2,055 | 11 |
123
  | European starling | 1,876 | 1,867 | 9 |
 
142
  | Wild turkey | 2,057 | 2,057 | 0 |
143
  | Yellow-eyed penguin | 2,817 | 2,815 | 2 |
144
 
145
+ ### Mammals - 30 Species, 65,583 Images
146
 
147
  | Species | Total | Validated | Uncertain |
148
  |---------|-------|-----------|-----------|
 
177
  | White-nosed coati | 1,996 | 1,982 | 14 |
178
  | Wolf | 2,307 | 2,307 | 0 |
179
 
180
+ **Note**: "Uncertain" indicates cases where manual validation was uncertain of the initial label.
181
+
182
+ ## Benchmark Results
183
+
184
+ Using HUGO-Bench, we evaluated combinations of 5 ViT models 5 dimensionality reduction methods 4 clustering algorithms. Key findings:
185
+
186
+ | Configuration | V-Measure | Notes |
187
+ |---------------|-----------|-------|
188
+ | DINOv3 + t-SNE + Hierarchical (K=30) | **0.958** | Best supervised |
189
+ | DINOv3 + t-SNE + HDBSCAN | **0.943** | Best unsupervised |
190
+ | DINOv3 + t-SNE + HDBSCAN | 33-37 clusters | ~10% overestimate of true species count |
191
+
192
+ For complete benchmarking results, see our paper and the [interactive demo](https://hugomarkoff.github.io/animal_visual_transformer/).
193
 
194
  ## Citation
195
 
196
+ If you use HUGO-Bench, please cite:
197
 
198
+ `ibtex
199
+ @dataset{hugo_bench_2026,
200
  author = {Markoff, Hugo and Bengtson, Stefan Hein and Ørsted, Michael},
201
+ title = {HUGO-Bench: Hierarchical Unsupervised Grouping of Organisms Benchmark},
202
  year = {2026},
203
  publisher = {Hugging Face Datasets},
204
+ url = {https://huggingface.co/datasets/AI-EcoNet/HUGO-Bench},
205
+ note = {Expert-validated camera-trap images for zero-shot clustering. Image sources from LILA BC.}
206
  }
207
+ `
208
+
209
+ ## Links
210
+
211
+ - [Interactive Demo](https://hugomarkoff.github.io/animal_visual_transformer/)
212
+ - [Benchmarking Code](https://github.com/hugomarkoff/animal_visual_transformer)
213
+ - Paper: *Vision Transformers for Zero-Shot Clustering of Animal Images: A Comparative Benchmarking Study*
214
+
215
+ ## Acknowledgments
216
+
217
+ Raw image data derived from 23 projects on [LILA BC](https://lila.science/) (Labeled Information Library of Alexandria: Biology and Conservation). Please cite the original datasets as appropriate.