Dynamic Prototype Self-Attention for Rehearsal-Free Continual Learning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing continual learning methods suffer from performance deterioration due to small buffer sizes and data privacy concerns, and lack effective utilization of backbone features, leading to excessive overwriting and forgetting of previous knowledge.

Innovation Solution

A method for rehearsal-free continual learning using dynamic prototypes and self-attention, which computes class-wise prototypes after each task, integrates them with a PSAB module, and applies regularization and Gini losses to optimize parameter updates, ensuring efficient knowledge retention and adaptation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a rehearsal buffer is used to store past data for experience replay, then the model can retain previous knowledge, but storage requirements increase and data privacy concerns arise

Engineering Contradiction:
Improveknowledge retentionVSAvoidstorage requirements
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts only the essential features of past data by computing class-wise prototypes (mean feature representations) instead of storing entire data samples. This extraction approach retains the core knowledge needed for previous tasks while dramatically reducing storage requirements from storing complete datasets to storing only compact prototype vectors.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent transforms the storage representation from raw data samples to compressed prototype parameters (mean feature vectors). By changing the parameter representation from full data to condensed statistical summaries, the system maintains knowledge retention capability while minimizing storage footprint and eliminating privacy risks associated with storing actual data samples.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If existing prompting-based methods are used without backbone feature utilization, then the model can adapt to new tasks, but previous knowledge is excessively overwritten or forgotten

Engineering Contradiction:
Improvenew task adaptationVSAvoidprevious knowledge forgetting
Core Design Contradiction:
Adaptability or versatilityVSLoss of information

Solution Approach 1:

The patent merges the utilization of backbone features with prompting-based continual learning by integrating prototype information (extracted from backbone features of previous tasks) into the prompt pool. This combination allows the model to leverage both the adaptability of prompting mechanisms and the knowledge retention capability of backbone feature utilization, preventing excessive forgetting of previous tasks.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent performs preliminary computation of class-wise prototypes from backbone features after each task training stage. By pre-computing and storing these prototype representations before new tasks arrive, the system prepares knowledge retention mechanisms in advance, ensuring that when new tasks are learned, the model has preserved essential information from previous tasks through the prompt pool.

Inventive Principle:
Principle #10Preliminary action

3Quantity of substance

If rehearsal-based methods are used with small buffer sizes, then storage requirements are reduced, but performance deterioration occurs

Engineering Contradiction:
Improvebuffer sizeVSAvoidperformance
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent creates a compressed copy of past knowledge in the form of prototype vectors (mean feature representations) and stores these in the prompt pool. This copying approach captures the essential characteristics of previous tasks in a compact form, enabling effective knowledge retention with minimal storage requirements and avoiding the performance deterioration associated with small rehearsal buffers.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20250329151A1Method and apparatus for prompting-based rehearsal-free continual learning with dynamic prototypes-involved self-attention
Publication Date: 2025.10.23 HONG KONG APPLIED SCI & TECH RES INST
  • US20250329151A1 patent drawing
  • US20250329151A1 patent drawing
  • US20250329151A1 patent drawing

AI summary

A method and apparatus for prompting-based rehearsal-free continual learning with dynamic prototypes-involved self-attention. A machine learning model with a base training set accepts continual new data inputs and use them to compute a prototype self-attention block which updates the model for the task associated with the new data without excessive or undesired overwriting of the existing model. Gini penalties are applied to the results of such computation to prevent excessive or undesired overwriting of the existing model.