Multi-Label Plant Species Prediction with Metadata-Enhanced Multi-Head Vision Transformers

Hanna Herasimchyk, Robin Labryga, Tomislav Prusina
8/14/2025
cs.CVcs.IRcs.LG

Official code: geranium12/plant-clef-2025 (1 star, MIT, last commit 2026-02-10).

Abstract

We present a multi-head vision transformer approach for multi-label plant species prediction in vegetation plot images, addressing the PlantCLEF 2025 challenge. The task involves training models on single-species plant images while testing on multi-species quadrat images, creating a drastic domain shift. Our methodology leverages a pre-trained DINOv2 Vision Transformer Base (ViT-B/14) backbone with multiple classification heads for species, genus, and family prediction, utilizing taxonomic hierarchies. Key contributions include multi-scale tiling to capture plants at different scales, dynamic threshold optimization based on mean prediction length, and ensemble strategies through bagging and Hydra model architectures. The approach incorporates various inference techniques including image cropping to remove non-plant artifacts, top-n filtering for prediction constraints, and logit thresholding strategies. Experiments were conducted on approximately 1.4 million training images covering 7,806 plant species. Results demonstrate strong performance, making our submission 3rd best on the private leaderboard. Our code is available at https://github.com/geranium12/plant-clef-2025/tree/v1.0.0.

View on arXivView PDF

Code Implementations(1)

MIT

https://www.kaggle.com/competitions/plantclef-2025/overview

10Python, Jupyter NotebookMar 31, 20258 months agoMIT

Similar Papers

Cite this paper

@article{herasimchyk2025multilabel,
  title  = {Multi-Label Plant Species Prediction with Metadata-Enhanced Multi-Head Vision Transformers},
  author = {Hanna Herasimchyk and Robin Labryga and Tomislav Prusina},
  year   = {2025},
  eprint = {2508.10457},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.10457v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.10457.svg)](https://codeofpaper.com/paper/2508.10457)

Discussion