← Latest papers
💻 computer science

Learning Prompt with Distribution-Based Feature Replay for Few-Shot Class-Incremental Learning

This paper introduces LP-DiF, a few-shot class-incremental learning framework that leverages pretrained vision-language models with prompt tuning and a distribution-based pseudo-feature replay strategy to achieve state-of-the-art performance by effectively balancing new concept acquisition with the mitigation of catastrophic forgetting.

Original authors: Zitong Huang, Ze Chen, Zhixing Chen, Erjin Zhou, Xinxing Xu, Rick Siow Mong Goh, Yong Liu, Wangmeng Zuo, Chun-Mei Feng

Published 2026-11-17
📖 5 min read🧠 Deep dive

Original authors: Zitong Huang, Ze Chen, Zhixing Chen, Erjin Zhou, Xinxing Xu, Rick Siow Mong Goh, Yong Liu, Wangmeng Zuo, Chun-Mei Feng

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the world of artificial intelligence, computers are becoming remarkably good at recognizing objects in photographs. They can identify a dog, a chair, or a specific breed of bird with startling accuracy. However, these systems face a significant hurdle when they try to learn in the way humans do: continuously. A human can see a new type of bird today, learn its name, and still remember the thousands of other animals they learned yesterday. An artificial intelligence, by contrast, often suffers from a phenomenon known as "catastrophic forgetting." When it is forced to learn new categories from a handful of examples, the process of updating its internal rules to accommodate the new information often overwrites the old rules, causing it to forget everything it previously knew. This challenge is particularly acute in "few-shot" scenarios, where the system must learn a new concept from only a few images, rather than the thousands of examples typically required for training.

Researchers have long sought a way to build machines that can learn new things without losing the old, a field known as continual learning. The goal is to create systems that can adapt to new environments, such as a smart photo album that learns to recognize a new family member or a security system that identifies a new type of vehicle, without needing to be completely retrained from scratch. The difficulty lies in balancing two competing needs: the ability to be flexible enough to learn new patterns, and the stability required to hold onto established knowledge. For years, the standard approach involved building complex visual networks that tried to memorize every detail of every image, a method that often struggled when data was scarce.

A team of researchers has now proposed a different path, one that shifts the focus from memorizing images to understanding the relationship between what is seen and what is named. Instead of relying solely on visual patterns, they utilized a pre-trained model that had already learned to connect images with text descriptions. This model, which had been trained on a vast collection of image-text pairs, possessed a natural ability to generalize, meaning it could recognize concepts it had never seen before simply by understanding the words associated with them. The researchers discovered that by using this existing knowledge as a foundation, they could teach the system new classes with very few examples, achieving results that far surpassed previous methods.

The core of their new framework involves a technique called "prompt tuning." In simple terms, instead of retraining the entire massive brain of the computer, the researchers taught it to adjust a small, flexible set of instructions, or "prompts," that guide how it interprets new information. Imagine the system as a highly knowledgeable librarian who already knows the entire history of art. To teach this librarian about a new, obscure painting style, you do not need to re-educate them on the history of art; you simply give them a specific note or a new keyword that helps them categorize the new style correctly. The researchers found that by learning these small, adjustable notes for each new session of learning, the system could adapt quickly. However, they also realized that if the system only focused on the new notes, it would eventually lose the context of the old ones.

To solve this, the team developed a method to preserve the memory of old classes without storing the actual images. They observed that the way the computer "saw" a specific object, such as a dog or a car, followed a predictable statistical pattern, much like how the heights of people in a crowd cluster around an average. Instead of saving thousands of pictures of dogs to remember what a dog looks like, the system calculated the mathematical average and the spread of these visual patterns. They then used a specialized tool to generate new, synthetic examples based on these patterns. These synthetic examples were not real photographs but rather mathematical representations that captured the essence of the old classes. When the system learned a new class, it would briefly review these synthetic examples alongside the new data, ensuring that the new lessons did not erase the old ones.

The results of this approach were striking. When tested on standard benchmarks used to measure how well computers learn new categories, the new method achieved a level of accuracy that had not been reached before. On a dataset containing 100 different categories, the system maintained an average accuracy of over 93 percent, a significant leap from the previous best methods. It performed so well that its results were nearly indistinguishable from a theoretical ideal where the system was allowed to see all the old data and the new data at the same time, a scenario that is impossible in real-world applications where data arrives sequentially. Furthermore, the system required very little storage space. While other methods needed to save hundreds of megabytes of actual images to remember old classes, this new approach stored only a tiny fraction of that data, using just a few numbers to represent the memory of each category.

The researchers also tested their method on more difficult challenges, including datasets with hundreds of categories and scenarios where there was no initial large training set to begin with. In these demanding situations, the system continued to outperform existing solutions, proving that its ability to learn from limited data while retaining past knowledge was robust. The study suggests that the key to solving the problem of forgetting in artificial intelligence may not be in building larger, more complex visual networks, but in leveraging the deep, pre-existing understanding of language and vision that modern models already possess. By combining this broad knowledge with a clever way of remembering the past through statistical patterns rather than raw images, the researchers have demonstrated a new way for machines to learn continuously, bringing them one step closer to the flexible, enduring intelligence of the human mind.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →