Online Contrastive Continual Learning with Hard Negative Samples

Online continual learning (OCL) is a strict setting of continual learning (CL), where the OCL agent faces a never-ending data stream and encounters each new sample only once. An OCL agent suffers more serious catastrophic forgetting (i.e., forgetting previous knowledge of old classes) than a CL agent. Existing OCL methods leverage the contrastive-based losses to improve the classifier’s ability against forgetting. However, almost all these methods ignore the role of hard negative samples in these losses, and these samples are difficult to distinguish from positive samples, exacerbating catastrophic forgetting. In this paper, we focus on the classification task in the online contrastive continual learning (OCCL) setting and propose a novel contrastive-based OCL method named OCCL with Hard Negative Samples (OHNS) which emphasizes the importance of hard negative samples. Concretely, OHNS designs an adaptive weight to measure the hardness of the negative sample and proposes a new contrastive-based loss function by combining this loss function with the weight to enhance the classification strength on hard negative samples. We conduct extensive experiments on three real-world benchmark datasets, and the results demonstrate the superiority of OHNS over various state-of-the-art OCL methods.

Authors

Institutions

Publication Details

Published
2025-03-12
DOI
https://doi.org/10.1109/icassp49660.2025.10888382
Primary Topic
Domain Adaptation and Few-Shot Learning
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Online Contrastive Continual Learning with Hard Negative Samples

Wenxin Liang, Xianchao Zhang, Linlin Zong, Wentao Yang et al.
Domain Adaptation and Few-Shot Learning
article

Online Contrastive Continual Learning with Hard Negative Samples

Wenxin Liang, Xianchao Zhang, Linlin Zong, Wentao Yang, Guanglu Wang, Xinyue Liu
article en

Abstract

Online continual learning (OCL) is a strict setting of continual learning (CL), where the OCL agent faces a never-ending data stream and encounters each new sample only once. An OCL agent suffers more serious catastrophic forgetting (i.e., forgetting previous knowledge of old classes) than a CL agent. Existing OCL methods leverage the contrastive-based losses to improve the classifier’s ability against forgetting. However, almost all these methods ignore the role of hard negative samples in these losses, and these samples are difficult to distinguish from positive samples, exacerbating catastrophic forgetting. In this paper, we focus on the classification task in the online contrastive continual learning (OCCL) setting and propose a novel contrastive-based OCL method named OCCL with Hard Negative Samples (OHNS) which emphasizes the importance of hard negative samples. Concretely, OHNS designs an adaptive weight to measure the hardness of the negative sample and proposes a new contrastive-based loss function by combining this loss function with the weight to enhance the classification strength on hard negative samples. We conduct extensive experiments on three real-world benchmark datasets, and the results demonstrate the superiority of OHNS over various state-of-the-art OCL methods.

Dalian University of Technology (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 98%
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.

Online Contrastive Continual Learning with Hard Negative Samples — Wenxin Liang, Xianchao Zhang, et al. · (2025) | TGRS Research Map | TGRS