Three-branch supervised contrastive learning with cross-time memory and Mises-Fisher regularization

Abstract

Supervised Contrastive Learning (SupCon) has recently demonstrated significant effectiveness by explicitly leveraging label information to improve feature discriminability. However, existing SupCon methods generally require large mini-batch sizes to obtain sufficient negative samples, resulting in substantial computational and memory overhead. Recent multi-branch frameworks, such as Self-Con, partially alleviate this issue but suffer from limited cross-branch interactions and redundant representations. Meanwhile, recent approaches such as CS-SupCon partially mitigate intra-class variations through deep feature decoupling but remain constrained by heavy reliance on multi-view data augmentation and insufficient compactness of intra-class features. To address these limitations, we propose a novel three-branch supervised contrastive learning framework called Cross-branch and Cross-time Memory Bank with t-vMF similarity (BvMF). BvMF uniformly caches historical features from multiple network branches, significantly enriching contrastive pairs without enlarging the batch size. Additionally, BvMF introduces t-von Mises–Fisher (t-vMF) similarity to impose compact angular constraints, effectively enhancing intra-class consistency. Extensive experiments conducted on benchmark datasets demonstrate that BvMF consistently outperforms state-of-the-art methods, including SupCon, Self-Con, and CS-SupCon. Notably, on the Stanford Dogs dataset, BvMF achieves a remarkable accuracy improvement of 3.1% over Self-Con with the ResNet-18 backbone. When deploying only the backbone branch at inference time, BvMF incurs no additional computational cost compared to single-branch methods, while the optional ensemble mode provides further accuracy gains at moderate overhead. We further demonstrate through matched-resource comparisons that the improvements stem from the principled integration of t -vMF similarity and the cross-branch memory mechanism, rather than from a mere enlargement of the contrastive sample pool.

Publication
Expert Systems with Applications
Bin Wang
Bin Wang
PhD Student

My research focuses on deep metric learning for computer vision.

Fadi Dornaika
Fadi Dornaika
Ikerbasque Research Professor

Ikerbasque Research Professor with expertise in computer vision, machine learning, and pattern recognition.