Master's Thesis
Multimodal contrastive learning to improve stinkbug and beetle species classification
— 2025
Key information
Authors:
Supervisors:
Published in
December 2, 2025
Abstract
The classification of insects is a crucial task, serving, for instance, as an important decision-making tool for the development of strategies for pest management, crop protection, and, consequently, sus- tainable economic development. This task is particularly critical when the insect species to be classified are fine-grained (i.e., species that are hard to distinguish between other closely resembling species). However, despite the importance of this task and an improvement in the classification techniques, most lack the usage of different modalities of insect related data, focusing mostly in the usage of images. In this thesis, a new approach using Multimodal Contrastive Learning was created with the objective of improving the classification of fine-grained stinkbug and beetles species. In this new approach, the CLIP foundational model had its loss function redesigned, by incorporating both the InfoNCE and Supervised Contrastive Loss, to allow its application with a newly conceived stinkbug and beetle image-text pair dataset. In this new dataset each image forms a pair with a detailed textual description of the species represented in that image. The proposed approach outperformed every unimodal baseline and was found to have the same performance statistically, across multiple performance metrics, as BioCLIP. In the objective of distinguishing fine-grained stinkbug and beetles species, the approach from this thesis outperformed BioCLIP in the two hardest species pairs.
Publication details
Authors in the community:
Rodrigo Jorge Antunes Amorim
ist1100702
Supervisors of this institution:
Gonçalo José Monteiro Marques
ist31270
Susana Margarida da Silva Vieira
ist45346
Fields of Science and Technology (FOS)
mechanical-engineering - Mechanical engineering
Publication language (ISO code)
por - Portuguese
Rights type:
Embargo lifted
Date available:
October 15, 2026
Institution name
Instituto Superior Técnico