Logo do repositório

Contrastive Loss Based on Contextual Similarity for Image Classification

dc.contributor.authorValem, Lucas Pascotti [UNESP]
dc.contributor.authorPedronette, Daniel Carlos Guimarães [UNESP]
dc.contributor.authorAllili, Mohand Said
dc.contributor.institutionUniversidade Estadual Paulista (UNESP)
dc.contributor.institutionUniversité du Quebec en Outaouais
dc.date.accessioned2025-04-29T20:13:55Z
dc.date.issued2025-01-01
dc.description.abstractContrastive learning has been extensively exploited in self-supervised and supervised learning due to its effectiveness in learning representations that distinguish between similar and dissimilar images. It offers a robust alternative to cross-entropy by yielding more semantically meaningful image embeddings. However, most contrastive losses rely on pairwise measures to assess the similarity between elements, ignoring more general neighborhood information that can be leveraged to enhance model robustness and generalization. In this paper, we propose the Contextual Contrastive Loss (CCL) to replace pairwise image comparison by introducing a new contextual similarity measure using neighboring elements. The CCL yields a more semantically meaningful image embedding ensuring better separability of classes in the latent space. Experimental evaluation on three datasets (Food101, MiniImageNet, and CIFAR-100) has shown that CCL yields superior results by achieving up to 10.76% relative gains in classification accuracy, particularly for fewer training epochs and limited training data. This demonstrates the potential of our approach, especially in resource-constrained scenarios.en
dc.description.affiliationSão Paulo State University (UNESP), SP
dc.description.affiliationUniversité du Quebec en Outaouais
dc.description.affiliationUnespSão Paulo State University (UNESP), SP
dc.description.sponsorshipPetrobras
dc.format.extent58-69
dc.identifierhttp://dx.doi.org/10.1007/978-3-031-77392-1_5
dc.identifier.citationLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), v. 15046 LNCS, p. 58-69.
dc.identifier.doi10.1007/978-3-031-77392-1_5
dc.identifier.issn1611-3349
dc.identifier.issn0302-9743
dc.identifier.scopus2-s2.0-85218461565
dc.identifier.urihttps://hdl.handle.net/11449/308911
dc.language.isoeng
dc.relation.ispartofLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
dc.sourceScopus
dc.subjectContrastive Learning
dc.subjectImage Classification
dc.titleContrastive Loss Based on Contextual Similarity for Image Classificationen
dc.typeTrabalho apresentado em eventopt
dspace.entity.typePublication
unesp.author.orcid0000-0002-3833-9072[1]
unesp.author.orcid0000-0002-2867-4838[2]
unesp.author.orcid0000-0001-8736-6600[3]

Arquivos

Coleções