biocap-eval
BioCAP: Exploiting Synthetic Captions Beyond Labels in Biological Foundation Models — Ziheng Zhang et al. (arXiv:2510.20095, 2025)
What this evaluates
Evaluates zero-shot species classification and fine-grained text-image retrieval capabilities in biological domains. Probes the model's ability to align visual features with taxonomic labels and descriptive natural language without task-specific fine-tuning.
Datasets
- NABirds — total ?; splits: test (-1)
- Meta-Album (Plankton, Insects, Insects 2) — total ?; splits: test (-1)
- IDLE-OO Camera Traps — total ?; splits: test (-1)
- Rare Species — total ?; splits: test (-1)
- PlantNet — total ?; splits: test (-1)
- Fungi — total ?; splits: test (-1)
- PlantVillage — total ?; splits: test (-1)
- Med. Leaf — total ?; splits: test (-1)
- INQUIRE-Rerank — total ?; splits: test (-1)
- Cornell Bird — total ?; splits: test (-1)
- PlantID — total ?; splits: test (-1)
Metrics
top-1 accuracy (primary) — range: [0, 1]
- Fraction of correctly predicted species labels out of the total number of test instances.
AP@50 — range: [0, 1]
- Average Precision computed over the top 50 ranked documents for each query.
Recall@10 — range: [0, 1]
- Fraction of queries where the ground-truth matching image or text appears in the top 10 retrieved results.
Input / output format
Input: RGB image paired with a species name (for classification) or a natural language query (for retrieval).
Output: Predicted class label (classification) or a ranked list of images/texts (retrieval).
Scoring recipe
def compute_metrics(predictions, golds, k=10, max_docs=50):
# Classification
acc = sum(p == g for p, g in zip(predictions['cls'], golds['cls'])) / len(golds['cls'])
# Retrieval Recall@K
recalls = []
for img, texts, gold_text in zip(predictions['img'], golds['texts'], golds['gold_text']):
scores = model.compute_similarity(img, texts)
ranked = argsort(scores, descending=True)[:k]
recalls.append(any(gold_text == texts[i] for i in ranked))
recall_at_k = sum(recalls) / len(recalls)
# AP@50
aps = []
for query, docs, gold_doc in zip(predictions['query'], golds['docs'], golds['gold_doc']):
scores = model.compute_similarity(query, docs)
ranked = argsort(scores, descending=True)[:max_docs]
relevant = [1 if docs[i] == gold_doc else 0 for i in range(len(ranked))]
precisions = [sum(relevant[:i+1]) / (i+1) for i in range(len(relevant))]
ap = sum(p * r for p, r in zip(precisions, relevant)) / max(sum(relevant), 1)
aps.append(ap)
ap_at_50 = sum(aps) / len(aps)
return acc, recall_at_k, ap_at_50
Common pitfalls
- Zero-shot evaluation prohibits fine-tuning on target benchmarks, making results highly sensitive to pre-training data overlap and domain shift.
- Retrieval performance is asymmetric; I2T and T2I Recall@10 are reported separately and can diverge significantly due to modality mismatch.
- Averaging accuracy across 10 heterogeneous benchmarks (birds, plants, fungi, camera traps) may obscure domain-specific failures or dataset scale imbalances.
Evidence (verbatim from paper)
We evaluate the natural language understanding on INQUIRE-Rerank (AP@50), Cornell Bird and PlantID(Recall@10) in [Table 2].
Citation
@misc{zhang2025biocap,
title={BioCAP: Exploiting Synthetic Captions Beyond Labels in Biological Foundation Models},
author={Ziheng Zhang et al.},
year={2025},
note={arXiv:2510.20095}
}
1---2name: biocap-eval3description: Evaluates zero-shot species classification and fine-grained text-image retrieval capabilities in biological domains. Probes the model's ability to align visual features with taxonomic labels and descriptive natural language without task-specific fine-tuning. Use when the user wants to benchmark on NABirds, Meta-Album (Plankton, Insects, Insects 2), IDLE-OO Camera Traps, Rare Species, PlantNet, Fungi, PlantVillage, Med. Leaf, INQUIRE-Rerank, Cornell Bird, PlantID, or asks about evaluating this task. Reports top-1 accuracy.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/biocap-eval6 skill_kind: dataset_eval7 source_arxiv: 2510.200958 bibtex_key: zhang2025biocap9 confidence: high10---1112# biocap-eval1314> BioCAP: Exploiting Synthetic Captions Beyond Labels in Biological Foundation Models — Ziheng Zhang et al. (arXiv:2510.20095, 2025)1516## What this evaluates1718Evaluates zero-shot species classification and fine-grained text-image retrieval capabilities in biological domains. Probes the model's ability to align visual features with taxonomic labels and descriptive natural language without task-specific fine-tuning.1920## Datasets2122- **NABirds** — total ?; splits: test (-1)23- **Meta-Album (Plankton, Insects, Insects 2)** — total ?; splits: test (-1)24- **IDLE-OO Camera Traps** — total ?; splits: test (-1)25- **Rare Species** — total ?; splits: test (-1)26- **PlantNet** — total ?; splits: test (-1)27- **Fungi** — total ?; splits: test (-1)28- **PlantVillage** — total ?; splits: test (-1)29- **Med. Leaf** — total ?; splits: test (-1)30- **INQUIRE-Rerank** — total ?; splits: test (-1)31- **Cornell Bird** — total ?; splits: test (-1)32- **PlantID** — total ?; splits: test (-1)3334## Metrics3536- `top-1 accuracy` **(primary)** — range: [0, 1]37 - Fraction of correctly predicted species labels out of the total number of test instances.38- `AP@50` — range: [0, 1]39 - Average Precision computed over the top 50 ranked documents for each query.40- `Recall@10` — range: [0, 1]41 - Fraction of queries where the ground-truth matching image or text appears in the top 10 retrieved results.4243## Input / output format4445**Input**: RGB image paired with a species name (for classification) or a natural language query (for retrieval).4647**Output**: Predicted class label (classification) or a ranked list of images/texts (retrieval).4849## Scoring recipe5051```python52def compute_metrics(predictions, golds, k=10, max_docs=50):53 # Classification54 acc = sum(p == g for p, g in zip(predictions['cls'], golds['cls'])) / len(golds['cls'])55 56 # Retrieval Recall@K57 recalls = []58 for img, texts, gold_text in zip(predictions['img'], golds['texts'], golds['gold_text']):59 scores = model.compute_similarity(img, texts)60 ranked = argsort(scores, descending=True)[:k]61 recalls.append(any(gold_text == texts[i] for i in ranked))62 recall_at_k = sum(recalls) / len(recalls)63 64 # AP@5065 aps = []66 for query, docs, gold_doc in zip(predictions['query'], golds['docs'], golds['gold_doc']):67 scores = model.compute_similarity(query, docs)68 ranked = argsort(scores, descending=True)[:max_docs]69 relevant = [1 if docs[i] == gold_doc else 0 for i in range(len(ranked))]70 precisions = [sum(relevant[:i+1]) / (i+1) for i in range(len(relevant))]71 ap = sum(p * r for p, r in zip(precisions, relevant)) / max(sum(relevant), 1)72 aps.append(ap)73 ap_at_50 = sum(aps) / len(aps)74 return acc, recall_at_k, ap_at_5075```7677## Common pitfalls7879- Zero-shot evaluation prohibits fine-tuning on target benchmarks, making results highly sensitive to pre-training data overlap and domain shift.80- Retrieval performance is asymmetric; I2T and T2I Recall@10 are reported separately and can diverge significantly due to modality mismatch.81- Averaging accuracy across 10 heterogeneous benchmarks (birds, plants, fungi, camera traps) may obscure domain-specific failures or dataset scale imbalances.8283## Evidence (verbatim from paper)8485> We evaluate the natural language understanding on INQUIRE-Rerank (AP@50), Cornell Bird and PlantID(Recall@10) in [Table 2].8687## Citation8889```bibtex90@misc{zhang2025biocap,91 title={BioCAP: Exploiting Synthetic Captions Beyond Labels in Biological Foundation Models},92 author={Ziheng Zhang et al.},93 year={2025},94 note={arXiv:2510.20095}95}96```9798- arXiv: 2510.20095