BioCLIP 2: Emergent Properties from Scaling Hierarchical Contrastive Learning

Jianyang Gu, Samuel Stevens, Elizabeth G. Campolongo, Matthew J. Thompson, Net Zhang, Jiaman Wu, Andrei Kopanev, Zheda Mai, Alexander E. White, James P. Balhoff, Wasila M. Dahdul, Daniel I. Rubenstein, Hilmar Lapp, Tanya Y. Berger-Wolf, Wei-Lun Chao, Yu Su · DOI

Introduction

In biological computer vision, the primary objective has traditionally been species identification. However, biological data is inherently multi-faceted, containing information about functional traits, ecological roles, and intra-species variations such as life stage and sex. Standard deep learning models often suffer from "feature collapse," where the pressure to distinguish between species leads the model to discard these fine-grained internal variations. BioCLIP 2 proposes a shift toward "biological foundation models" by scaling hierarchical contrastive learning to a massive new dataset, demonstrating that scale can unlock emergent properties that mirror the functional logic of the natural world.

Methods: Hierarchical Contrastive Learning

The core of BioCLIP 2 is a Vision Transformer (ViT-L/14) backbone trained using a hierarchical contrastive objective. Instead of treating species as flat, independent labels, the model utilizes the full seven-rank Linnaean hierarchy (Kingdom, Phylum, Class, Order, Family, Genus, Species) as text supervision.

To prevent catastrophic forgetting of general visual features, the authors employ an experience replay strategy, interleaving biological data with general-domain imagery from LAION-2B. Furthermore, the paper provides a mathematical framework (Theorem 5.1) demonstrating that contrastive objectives naturally encourage intra-species variations to align in subspaces orthogonal to the primary axes used for species differentiation.

The TREEOFLIFE-200M Dataset

A major contribution of this work is the release of TREEOFLIFE-200M, currently the largest and most taxonomically diverse biological image dataset. It contains 214 million images spanning nearly one million taxonomic classes, curated from sources like GBIF, EOL, and FathomNet.

Comparison of dataset scale (Number of Images and Taxa) and embedding density (Cephalopoda t-SNE) between ToL-10M, BioTrove, and the new ToL-200M.

Emergent Biological Properties

The most significant finding is the emergence of biological "grammar" at scale. Without explicit supervision for traits or life stages, the model's embedding space spontaneously organizes itself in biologically meaningful ways:

  • Ecological Alignment: The model learns to group species by functional traits. For example, Darwin’s finches are arranged in a gradient corresponding to beak size, reflecting their ecological niches.
  • Orthogonal Microstructure: Fine-grained variations such as "male vs. female" or "juvenile vs. adult" are not lost; instead, they fan out along axes that are mathematically perpendicular to the species-distinguishing axes.
Emergent properties in BioCLIP 2: (Left) Spontaneous organization of species by ecological traits like beak size. (Right) Preservation of intra-species variations (sex and life stage) in orthogonal subspaces.

Key Results and Generalization

BioCLIP 2 sets a new state-of-the-art in biological vision:

  • Species Classification: Achieves an 18.0% improvement over the original BioCLIP.
  • Zero-Shot Performance: Shows over 20% improvement on rare species and camera trap benchmarks.
  • Trait and Habitat Prediction: Outperforms general-purpose models like SigLIP and DINOv3 by an average of 10.3% on tasks involving habitat and behavior prediction.

Quantitative analysis confirms that the "explained variance ratio"—the amount of intra-species information preserved—increases significantly as the training set scales from 1M to 214M images.

Limitations and Future Directions

While BioCLIP 2 represents a significant leap forward, it inherits the natural "long-tail" distribution of biological data, where common species are over-represented. Additionally, the current model lacks geospatial metadata, which is often omitted in public datasets to protect endangered species. Future research will focus on integrating multimodal data, such as genomic sequences, to further enrich the model's understanding of the tree of life.

Summary updated

BibTeX
@inproceedings{gu2025bioclip,
  author = {Jianyang Gu and Samuel Stevens and Elizabeth G. Campolongo and Matthew J. Thompson and Net Zhang and Jiaman Wu and Andrei Kopanev and Zheda Mai and Alexander E. White and James P. Balhoff and Wasila M. Dahdul and Daniel I. Rubenstein and Hilmar Lapp and Tanya Y. Berger-Wolf and Wei-Lun Chao and Yu Su},
  title = {{BioCLIP 2: Emergent Properties from Scaling Hierarchical Contrastive Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=yPC9zmkQgG},
}
Figure