BotaCLIP: Contrastive Learning for Botany-Aware Representation of Earth Observation Data
Selene Cerna, Sara Si-Moussi, Wilfried Thuiller, Hadrien Hendrikx, Vincent Miele
TL;DR
BotaCLIP tackles the problem of adapting Earth Observation foundation models to ecology by injecting domain-specific knowledge without full retraining. It aligns high-resolution EO image embeddings from a pretrained backbone with vegetation relevé embeddings using a sigmoid contrastive loss $\mathcal{L}_{\text{SCL}}$, augmented by a regularization term $\mathcal{R}$ that preserves local structure to avoid catastrophic forgetting. The approach demonstrates substantial gains across three ecological tasks—plant presence prediction, butterfly occurrence modeling, and soil trophic-group abundance—outperforming raw DOFA embeddings and supervised baselines, with notable improvements in TSS, BI, and Spearman's $\rho$. Embedding-space analyses show that BotaCLIP sharpens ecological structure while retaining global geometry, suggesting that domain-aware alignment can yield transferable representations in data-scarce ecological settings with low computational overhead. This lightweight, modular pipeline enables scalable biodiversity modeling and has potential applicability to agriculture and forestry through frugal, ecologically informed representations.
Abstract
Foundation models have demonstrated a remarkable ability to learn rich, transferable representations across diverse modalities such as images, text, and audio. In modern machine learning pipelines, these representations often replace raw data as the primary input for downstream tasks. In this paper, we address the challenge of adapting a pre-trained foundation model to inject domain-specific knowledge, without retraining from scratch or incurring significant computational costs. To this end, we introduce BotaCLIP, a lightweight multimodal contrastive framework that adapts a pre-trained Earth Observation foundation model (DOFA) by aligning high-resolution aerial imagery with botanical relevés. Unlike generic embeddings, BotaCLIP internalizes ecological structure through contrastive learning with a regularization strategy that mitigates catastrophic forgetting. Once trained, the resulting embeddings serve as transferable representations for downstream predictors. Motivated by real-world applications in biodiversity modeling, we evaluated BotaCLIP representations in three ecological tasks: plant presence prediction, butterfly occurrence modeling, and soil trophic group abundance estimation. The results showed consistent improvements over those derived from DOFA and supervised baselines. More broadly, this work illustrates how domain-aware adaptation of foundation models can inject expert knowledge into data-scarce settings, enabling frugal representation learning.
