Back to search

Iowa State University

Attention based contrastive learning with non-Siamese architecture

Abstract

dc:description.abstract

Learning compressed representations of higher-dimensional data for exploratory analysis and discovery of semantically meaningful information is a long-standing problem in computer vision. Self-supervised methods such as contrastive learning have been employed for model pre-training with good results, while clustering with the embeddings has been less impressive. Without a labeled dataset supporting supervised learning on the desired categories, other strong assumptions such as the number of clusters are often made prior to training, with no guarantees the clusters are biased towards semantically meaningful categories. In this paper, we present a learning paradigm that employs an auxiliary loss with contrastive learning that injects an inductive bias into the training process via a conveniently known and understood characteristic while avoiding strong assumptions such as the number of clusters in the data during training. This results in the ability to use the resulting embeddings for cluster discovery that isn't predicated on the strong assumption of the number of clusters prior to training. This is especially useful in most real-world datasets where the number of clusters is not known ahead of time such as in the domain of computational agriculture. In addition, a hard attention mask was explored on the embeddings, and was found to help further disperse and separate the clusters for easier identification. Outliers were also easily identified from the subsequent embeddings. We compare results between our method and a contrastive learning-only approach on a real-world dataset containing 227,060 in-field images consisting of 11 different crop classes and show the clear value in injecting an inductive bias via auxiliary loss, as well as the value of hard masking.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
thesis
Discipline thesis:degree_discipline
Computer science
Department dc:contributor.department
Department of Computer Science
Grantor
Iowa State University
Year dc:date.issued
2023

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Herrera, Jansel Emmanuel
Advisors dc:contributor.advisor
  • Jannesari, Ali
  • Darr, Matthew
  • Li, Qi
ORCID dc:identifier.orcid

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://dr.lib.iastate.edu/handle/20.500.12876/dvmqeB3v

Chain of custody

source
Harvested from
Iowa State University
Base URL
dr.lib.iastate.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Herrera, Jansel Emmanuel. Attention based contrastive learning with non-Siamese architecture. thesis thesis, Iowa State University, 2023. https://dr.lib.iastate.edu/handle/20.500.12876/dvmqeB3v