Optimizing Contrastive Learning with Semi-Online Triplet Mining

Contrastive learning is a machine learning technique in which models learn by contrasting similar and dissimilar data points. Its goal is to learn a representation of data in such a way that similar instances are close together in the representation space, while dissimilar instances are far apart. Our industrial use case focuses on a special case of contrastive learning called triplet learning. Building triplets with adequate difficulty is crucial to effective training convergence in such a setup. By combining online and offline mining techniques, we propose a method of mining hard triplets that is both performant and memory-inexpensive. Our experiments demonstrate that the method leads to improved identity pairing (which is the specific case of clustering) both on a real-life industry shoe dataset and on a generated benchmark one.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2025-07-14
DOI
https://doi.org/10.3390/app15147865
Primary Topic
Domain Adaptation and Few-Shot Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing Contrastive Learning with Semi-Online Triplet Mining

Przemysław Buczkowski, Piotr Brzeziński, Marek Kozłowski
Applied Sciences
Domain Adaptation and Few-Shot Learning
article

Optimizing Contrastive Learning with Semi-Online Triplet Mining

Przemysław Buczkowski, Piotr Brzeziński, Marek Kozłowski
article en

Abstract

Contrastive learning is a machine learning technique in which models learn by contrasting similar and dissimilar data points. Its goal is to learn a representation of data in such a way that similar instances are close together in the representation space, while dissimilar instances are far apart. Our industrial use case focuses on a special case of contrastive learning called triplet learning. Building triplets with adequate difficulty is crucial to effective training convergence in such a setup. By combining online and offline mining techniques, we propose a method of mining hard triplets that is both performant and memory-inexpensive. Our experiments demonstrate that the method leads to improved identity pairing (which is the specific case of clustering) both on a real-life industry shoe dataset and on a generated benchmark one.

Applied SciencesVol. 15(14)
Łukasiewicz Research Network - Textile Research Institute (PL), National Information Processing Institute (PL)
Industry, innovation and infrastructure
Openalex Percentile: Top 90%
Domain Adaptation and Few-Shot Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Optimizing Contrastive Learning with Semi-Online Triplet Mining — Przemysław Buczkowski, Piotr Brzeziński, et al. · Applied Sciences (2025) | TGRS Research Map | TGRS