Abstract
AI-guided classification of ecological families, genera, and species underpins global sustainability efforts such as biodiversity monitoring, conservation planning, and policy-making. Progress toward this goal is hindered by long-tailed taxonomic distributions from class imbalance, along with fine-grained taxonomic variations, test-time spatiotemporal domain shifts, and closed-set assumptions that can only recognize previously seen taxa. We introduce the Open-World Ecological Taxonomy Classification, a unified framework that captures the co-occurrence of these challenges in realistic ecological settings. To address them, we propose TaxoNet, an embedding-based encoder with a dual-margin penalization loss that strengthens learning signals from rare underrepresented taxa while mitigating the dominance of overrepresented ones, directly confronting interrelated challenges. We evaluate our method on diverse ecological domains: Google Auto-Arborist, iNat-Plantae, and NAFlora-Mini. Our model consistently outperforms baselines, particularly for rare taxa, establishing a strong foundation for open-world plant taxonomic monitoring.
Introduction: The Open-World Challenge
Automated biodiversity monitoring is critical for conservation, yet AI models struggle in the wild. Most existing systems operate under a "closed-set" assumption—they assume every plant they see belongs to a category they were trained on. In reality, nature is "open-set": new or undocumented taxa appear constantly.
Furthermore, ecological data is "long-tailed." A few common species (the "head") provide thousands of images, while thousands of rare or endangered species (the "tail") might only have a handful of examples. Standard AI models tend to ignore the "tail" to maximize overall accuracy on the "head." Finally, plants exhibit "fine-grained" differences—two species might look identical to a general model but have subtle differences in leaf venation or bark texture that only a specialist would notice.
Methodology: TaxoNet
To address these interrelated challenges, we propose TaxoNet, which moves away from simple classification toward a more robust embedding-based approach. The core innovations include:
- Dual-Margin Penalization Loss: Standard loss functions allow dominant "head" classes to "push" rare "tail" classes out of the feature space, a phenomenon termed prototype misalignment. TaxoNet uses a class-relative margin adjustment that strengthens the learning signal for rare taxa while suppressing the dominance of common ones.
- Power-Based Margin Scaling: Instead of using static weights, the model adaptively reshapes margins during training using a learnable power-based term, allowing it to respond to the latent geometry of the data.
- Norm-Guided Sample Selection: Rather than oversampling rare classes randomly, TaxoNet prioritizes "low-norm" examples. In margin-based learning, low-norm embeddings often represent the most informative and challenging samples—either rare taxa or common ones with high seasonal/phenotypic variation.
Experimental Setup
The model was evaluated across three distinct ecological domains to test its versatility:
- Google Auto-Arborist (AA): A massive dataset of urban street trees across North America, used specifically to test domain generalization across spatial and temporal shifts.
- iNat-Plantae: A subset of the iNaturalist-2019 dataset containing citizen-science observations from global ecosystems.
- NAFlora-Mini: A curated collection of herbarium specimens, representing a taxonomically rigorous data source.
Key Results and Insights
- The "Prototype Misalignment" Trap: The paper demonstrates that in long-tailed data, gradients from common classes dominate training, physically displacing the mathematical representations (prototypes) of rare classes. TaxoNet's dual-margin approach effectively mitigates this displacement.
- Superior Recall: TaxoNet achieved significant gains in macro-averaged recall, which weights rare species as heavily as common ones. It outperformed the strongest baseline (LDAM) by 6% on Google AA and 3% on iNat-Plantae.
- Open-Set Mastery: In tests to identify "unknown" taxa, TaxoNet achieved over a 90% True Negative Rate, proving it can effectively flag novel species for human expert review rather than making incorrect closed-set guesses.
- Foundation Model Constraints: General-purpose Multimodal Large Language Models (MLLMs) like GPT-4o and Gemini struggle significantly with species-level plant identification, often being outperformed by domain-specific models like TaxoNet.
Conclusion and Future Work
While TaxoNet establishes a strong foundation for open-world monitoring, some species remain visually ambiguous in "leaf-only" views. Future work suggests moving toward multi-view and multimodal reasoning. Integrating bark, fruit, and overall tree structure—much like a human botanist—while leveraging the reasoning capabilities of MLLMs alongside TaxoNet's taxonomic precision is the next frontier for AI in biodiversity conservation.
Summary updated