kNN-CL: Enhancing Continual Learning with Nearest Neighbor Retrieval

Continual learning aims to learn new tasks sequentially without forgetting previously acquired knowledge. However, catastrophic forgetting remains a significant challenge. In this paper, we introduce kNN-CL, a simple yet effective approach that harnesses k-nearest neighbors (kNN) to mitigate forgetting in continual learning. Specifically, kNN-CL identifies the k most similar instances (key-value pairs) from the previous tasks to refine model predictions, enabling the model to adapt to the relevant task for a given test instance. Notably, kNN-CL can be seamlessly integrated into existing continual learning frameworks in a plug-and-play manner, without any additional training. Modern deep neural networks have achieved remarkable progress on a wide range of tasks. However, they encounter difficulties when processing sequential data streams. As these networks recalibrate their parameters to assimilate new data, they inadvertently compromise on previously acquired knowledge, leading to an issue known as catastrophic forgetting. Experimental results show that kNN-CL substantially improves accuracy in both settings, demonstrating the effectiveness of kNN-CL in mitigating catastrophic forgetting.

Authors

Institutions

Publication Details

Published
2025-03-12
DOI
https://doi.org/10.1109/icassp49660.2025.10889711
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

kNN-CL: Enhancing Continual Learning with Nearest Neighbor Retrieval

Xin Zhou, Qicheng Li, Enzhi Wang, Hao Chen et al.
Domain Adaptation and Few-Shot Learning
article

kNN-CL: Enhancing Continual Learning with Nearest Neighbor Retrieval

Xin Zhou, Qicheng Li, Enzhi Wang, Hao Chen, Ruiqi Sun
article en

Abstract

Continual learning aims to learn new tasks sequentially without forgetting previously acquired knowledge. However, catastrophic forgetting remains a significant challenge. In this paper, we introduce kNN-CL, a simple yet effective approach that harnesses k-nearest neighbors (kNN) to mitigate forgetting in continual learning. Specifically, kNN-CL identifies the k most similar instances (key-value pairs) from the previous tasks to refine model predictions, enabling the model to adapt to the relevant task for a given test instance. Notably, kNN-CL can be seamlessly integrated into existing continual learning frameworks in a plug-and-play manner, without any additional training. Modern deep neural networks have achieved remarkable progress on a wide range of tasks. However, they encounter difficulties when processing sequential data streams. As these networks recalibrate their parameters to assimilate new data, they inadvertently compromise on previously acquired knowledge, leading to an issue known as catastrophic forgetting. Experimental results show that kNN-CL substantially improves accuracy in both settings, demonstrating the effectiveness of kNN-CL in mitigating catastrophic forgetting.

Intel (United States) (US), Nankai University (CN), Lenovo (China) (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.

kNN-CL: Enhancing Continual Learning with Nearest Neighbor Retrieval — Xin Zhou, Qicheng Li, et al. · (2025) | TGRS Research Map | TGRS