The automated identification of plant species in high-resolution images represents one of the most complex and fascinating challenges of image processing with artificial intelligence. Recently, a research team demonstrated an approach that combines multiscale vision transformers (ViT), kNN similarity search, and geographic priors to achieve exceptional performance in plant classification in vegetation plots. This article takes an in-depth look at the techniques involved, their practical application, and how companies like Q2BSTUDIO can help implement similar solutions in production environments.
Identifying multiple species in a single plant quadrant image, with resolutions up to 3000x3000 pixels, presents unique challenges: plants can be superimposed, at different scales, and with varying lighting conditions. The winning approach in the PlantCLEF 2026 competition uses a finely tuned DINOv2 ViT-L/14 model over a multiscale tile decomposition. Each tile is classified individually, and then the results are combined through a fusion process that includes a FAISS-based kNN retriever, a temporary merge between repeat visits to the same plot, and a correction according to the expected habitat. The most impactful component turned out to be 'habitat adjustment removal', which injects geographical and altitude knowledge drawn from training data.
This architecture demonstrates that combining state-of-the-art vision models with intelligent post-processing strategies can overcome labeled data limitations. Instead of relying solely on supervised learning, auxiliary sources of information are integrated: the spatial distribution of species, repeated temporal visits, and geographic filters. For companies looking to apply similar technologies, the path is not just to choose the largest model, but to design a holistic pipeline that includes all of these components.
In the business context, the automatic identification of objects in high-resolution images has applications beyond botany. For example, in the inspection of agricultural crops, infrastructure monitoring or quality control in manufacturing. The principles used here—tile decay, scale fusion, similarity search, and context correction—are transferable to any domain where complex images with multiple elements need to be analyzed. Q2BSTUDIO, as a software development company, offers bespoke applications that integrate these AI approaches, tailoring them to each customer's specific needs.
One of the key points of the study is the use of a pre-trained DINOv2 classifier, which has proven to have a very rich visual representation even with little data. Fine-tuning was performed solely with single-label images, and then applied to images of multiple species. To handle the scale variability, a pyramid of tiles with multiple window sizes was used, and the results were aggregated by weighted average. This type of multiscale architecture is especially relevant when objects of interest are of widely disparate sizes, which is common in industrial computer vision.
Another significant contribution was the incorporation of a nearest neighbor recovery (kNN) system using FAISS. Instead of relying only on the model's predictions, a database of training embeddings is queried, and the closest species in the feature space vote to refine the initial prediction. This is similar to how content-based image search systems work, but applied to classification. This hybrid approach between classification and retrieval has gained popularity in few-shot learning tasks.
The temporal fusion between repeated visits to the same plot is another elegant element. If a species appears on one visit but not on another, the system combines the predictions by weighting by confidence at any given time. This mimics how a human botanist would review multiple photographs over time. For companies that perform continuous monitoring, such as in precision agriculture or environmental control, this technique can be easily adapted with AI for companies that Q2BSTUDIO implemented, using temporary data pipelines and cloud services.
However, not all experiments were successful. The study mentions that two training-based directions—a cross-region transformer with noisy-student distillation and a label-as-query decoder on synthetic pseudo-quadrants—did not improve results. Neither did an inference augmentation using instance segmentation cuts. This underscores that sometimes more complex solutions don't always outperform well-designed ones with simple but effective components. The lesson for those developing custom software is that focused experimentation and rigorous ablations are essential to identifying which modules deliver real value.
From a technical perspective, the described pipeline could be integrated into Production systems using cloud services. For example, processing high-resolution images requires considerable computational power, which can scale with AWS and Azure cloud services. Q2BSTUDIO offers consulting and development to migrate AI models to cloud environments, guaranteeing optimized performance and cost. In addition, the security of sensitive data, such as images of plots or crops, is critical; That's why cybersecurity measures can be implemented to protect both data in transit and at rest.
The use of geographic priors and habitat removal also has a parallel in business intelligence. Just as a plant classification model can benefit from knowing that certain species only grow at certain altitudes, a sales prediction model can improve if you know the seasonality or location of customers. Q2BSTUDIO develops business intelligence services with Power BI and other systems, integrating heterogeneous data sources to enrich analytical models. Combining AI with contextual data is a growing trend.
In addition, the automation of the classification pipeline can be achieved by AI agents that orchestrate the different phases: image preprocessing, multiscale inference, kNN search, temporal merging, and application of filters. These agents can be deployed as containerized microservices, making it easy to update models without interrupting service. Q2BSTUDIO has experience in designing modular software architectures that allow for the incorporation of new functionalities, such as the integration of language models or new data sources.
In terms of performance, the solution scored a macro-F1 of 0.439 on the private leaderboard, far exceeding the baseline. Although the approach is not perfect, it demonstrates that the combination of multiscale vision, similarity recovery, and expert knowledge (habitat priors) can approach the precision of a human botanist. In the business environment, even moderate accuracy in automatic identification can lead to significant savings by reducing the need for manual inspection. For example, in the agri-food industry, identifying weeds or diseases in early stages allows localized treatments to be applied, saving costs and reducing environmental impact.
The techniques presented are also applicable to other multi-label classification problems with high-resolution images, such as the detection of defects in electronic circuits, the identification of marine species in underwater photographs or the analysis of satellite images for deforestation monitoring. In all these cases, tile decomposition and scale merging are common strategies, but the addition of a kNN recuperator and spatial priors can make all the difference.
For companies wishing to explore these capabilities, Q2BSTUDIO offers a comprehensive consulting and development service. From the evaluation of technical feasibility to the implementation of a functional MVP, including the optimization of the model and its deployment in production. We specialize in artificial intelligence for companies, combining state-of-the-art models with robust cloud infrastructure and cybersecurity measures. Our team can help design pipelines similar to the one described, tailored to each organization's data and goals.
In conclusion, the identification of plants with multiscale ViT, habitat priors, and kNN is a paradigmatic example of how AI research can generate practical and transferable solutions. The success of the approach lies in the intelligent integration of multiple sources of information and rigorous experimentation to rule out what does not work. Companies seeking competitive advantages by automating complex visual tasks can benefit greatly from these techniques, especially if they are supported by a technology partner like Q2BSTUDIO, who understands both the theory and practice of high-performance software development.


