Context-Gated Neural Network Training for Catastrophic Forgetting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Artificial neural networks (ANNs) suffer from catastrophic forgetting when trained for multiple tasks sequentially, leading to degradation of performance on earlier-trained tasks due to changes in connection weights during subsequent trainings.

Innovation Solution

Implementing context-dependent gating and weight stabilization techniques, where different subsets of neurons are activated for different tasks, and weight adjustments are biased based on importance scores to maintain previous knowledge.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If an ANN is trained sequentially for multiple tasks by adjusting all connection weights, then the ANN can learn new tasks with high accuracy, but performance on earlier-trained tasks degrades due to catastrophic forgetting

Engineering Contradiction:
Improveability to learn multiple tasksVSAvoidperformance retention on earlier tasks
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent segments the ANN into multiple context-specific sub-networks, where each sub-network is responsible for a particular task or context. During training, only the relevant sub-network is activated and its weights are adjusted, while other sub-networks remain frozen. This segmentation prevents weight changes in one task from affecting performance on other tasks, thereby resolving catastrophic forgetting while maintaining the ability to learn multiple tasks.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements dynamic context-dependent gating that selectively activates specific neurons or sub-networks based on the current task context. The gating mechanism dynamically routes inputs and outputs through appropriate task-specific pathways, allowing the ANN to adapt its structure during operation. This dynamic activation ensures that weight adjustments during training of one task do not propagate to other tasks, preserving performance across multiple tasks.

Inventive Principle:
Principle #15Dynamics

2Reliability

If an ANN uses context-dependent gating to activate different neuron subsets for different tasks, then catastrophic forgetting is reduced, but the device complexity increases

Engineering Contradiction:
Improveperformance retention on earlier tasksVSAvoidgating mechanism complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces context-dependent gating mechanisms as intermediary components that mediate between the input and the neuron subsets, and between neuron subsets and outputs. These gating mechanisms act as selective switches that route information flow based on task context without requiring complex reconfiguration of the underlying neural network structure. The gating mechanisms are implemented as simple multiplicative operations or binary switches, keeping the added complexity minimal while effectively managing context-specific activation.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If weight stabilization is applied to maintain important weights during training, then catastrophic forgetting is reduced, but the training complexity increases

Engineering Contradiction:
Improveperformance retention on earlier tasksVSAvoidtraining process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements weight stabilization through feedback mechanisms that monitor the importance of weights for previously learned tasks and adjust the training process accordingly. During training of a new task, the system provides feedback signals to preserve weights that are critical for earlier tasks, either by selectively preventing their update or by applying smaller learning rates. This feedback-based approach integrates seamlessly into standard training procedures, adding minimal complexity while effectively preventing catastrophic forgetting.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12579440B2Training artificial neural networks using context-dependent gating with weight stabilization
Publication Date: 2026.03.17 UNIVERSITY OF CHICAGO
  • US12579440B2 patent drawing
  • US12579440B2 patent drawing
  • US12579440B2 patent drawing

AI summary

A computing device may receive a first set of training data for training an ANN to predict output data for a first task, and may train the ANN with the first set of training data by only adjusting values of weights associated with a first subset of neurons, the first subset selected based on an identity of the first task. The computing device may receive a second, different set of training data for training the ANN to predict output data for a second task, and may train the ANN with the second set of training data by only adjusting values of weights associated with a second subset of neurons, the second subset selected based on an identity of the second task. During training, adjusting of the value of any weight may entail weight stabilization that depends on whether there has been any training for one or more previous tasks.