Neural Network Parameter Segmentation for Continual Learning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional neural networks face challenges in continual learning, particularly the issue of catastrophic forgetting, where knowledge learned for earlier tasks is forgotten as new tasks are introduced, leading to increased memory and processing costs.

Innovation Solution

The method involves decomposing model parameters into a shared parameter and an adaptive parameter, where the shared parameter is updated minimally during training of new tasks, and the adaptive parameter is made sparse, using vector-wise multiplication and regularization to maintain performance across tasks without expanding the network structure.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional neural networks are trained for multiple tasks sequentially, then new tasks can be learned, but catastrophic forgetting occurs where knowledge of previous tasks is lost

Engineering Contradiction:
Improveability to learn new tasksVSAvoidretention of previous task knowledge
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The model parameters are segmented into two distinct components: shared parameters that are common across all tasks and adaptive parameters that are specific to each task. This segmentation allows the network to retain general knowledge in the shared parameters while adapting to specific tasks through adaptive parameters, thereby preventing catastrophic forgetting.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different parameter components serve different functional qualities: shared parameters maintain stable, generalizable knowledge across tasks, while adaptive parameters provide task-specific customization. This local differentiation in parameter quality enables simultaneous retention of previous knowledge and adaptation to new tasks.

Inventive Principle:
Principle #3Local quality

2Measurement precision

If model parameters are updated for each new task, then task performance improves, but memory and processing costs increase

Engineering Contradiction:
Improvetask learning performanceVSAvoidmemory and processing resources
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

Multiple task-specific parameters are merged into a single shared parameter set that captures common patterns across tasks. This consolidation reduces the total parameter count and memory requirements while maintaining performance through the additive adaptation mechanism.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The shared parameters serve multiple functions across different tasks, acting as a universal foundation that can be adapted to various tasks through the adaptive parameter component. This multi-functionality reduces redundancy and optimizes resource utilization.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Adaptability or versatility

If the neural network structure is expanded to handle more tasks, then task capacity increases, but device complexity increases

Engineering Contradiction:
Improvenumber of tasks that can be learnedVSAvoidnetwork structure complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The network structure remains static while the parameter composition dynamically adapts to different tasks. The adaptive parameters are selectively activated or updated based on the current task, allowing the network to handle multiple tasks without physically expanding its structural complexity.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

Instead of changing the network structure to accommodate new tasks, the system changes the parameter values and compositions. The adaptive parameters are modified for each task while the shared parameters remain relatively stable, enabling task versatility without structural complexity increases.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20210256374A1Method and apparatus with neural network and training
Publication Date: 2021.08.19 SAMSUNG ELECTRONICS CO LTD
  • US20210256374A1 patent drawing
  • US20210256374A1 patent drawing
  • US20210256374A1 patent drawing

AI summary

A processor-implemented neural network method includes: determining an adaptive parameter and an adaptive mask of a current task to be learned among a plurality of tasks of a neural network; determining a model parameter of the current task based on the adaptive parameter, the adaptive mask, and a shared parameter of the plurality of tasks; and training the model parameter and an adaptive parameter of a previous task with respect to the current task, wherein the adaptive parameter of the previous task and the shared parameter are trained with respect to the previous task.