Memory Augmented Neural Networks Reducing Overfitting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Deep neural networks suffer from overfitting and lack of generalization due to their large capacity, as they tend to learn from both predictive and non-predictive features during training, making it difficult to focus on relevant information.

Innovation Solution

Memory augmented neural networks utilize a memory module with a fixed or dynamically determined number of slots to store distributed representations, allowing for few-shot learning and reducing redundancy by identifying and aging redundant memories, thereby improving data storage efficiency and reducing overfitting.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If deep neural networks use large model capacity with millions of parameters, then they can learn from large amounts of data and extract hierarchies of features, but they suffer from overfitting and lack of generalization

Engineering Contradiction:
Improvelearning capabilityVSAvoidgeneralization performance
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments the neural network into an encoder component and a memory component. The encoder extracts features from input data, while the memory stores distributed representations separately. This segmentation allows the model to capacity (encoder) without proportionally increasing overfitting risk, as the memory stores learned representations that can be reused across different inputs.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a memory module as an intermediary between the encoder and the output layer. The memory stores distributed representations of input data and provides a buffer that decouples the encoding process from the prediction process. This intermediary allows the model to generalize better by separating feature extraction from pattern recognition.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If deep neural networks maximize conditional probability of output given input features, then they can make accurate predictions, but they learn from both predictive and non-predictive features instead of focusing on predictive features only

Engineering Contradiction:
Improveprediction accuracyVSAvoidfeature selection capability
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent extracts and isolates the memory component that stores distributed representations, separating it from the conditional probability maximization process. By taking out the memory storage function, the model can focus on storing relevant feature representations without being constrained by the need to maximize conditional probability for every possible feature combination, thereby improving adaptability.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If memory modules store all training examples, then they can provide comprehensive learning, but they become inefficient due to redundancy and excessive storage requirements

Engineering Contradiction:
Improvelearning completenessVSAvoidmemory storage capacity
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent uses distributed representations as compressed copies of the original input data. Instead of storing complete training examples, the memory stores distributed vector representations that capture the essential features. These compressed copies retain the necessary information for learning while significantly reducing storage requirements and redundancy.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent transforms the raw input data into a different parameter space through the encoder, creating distributed representations with different dimensional characteristics. This parameter transformation allows the memory to store information more efficiently by representing data in a compact, continuous vector space rather than raw input format.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12045711B2Response generation using memory augmented deep neural networks
Publication Date: 2024.07.23 CAPITAL ONE SERVICES LLC
  • US12045711B2 patent drawing
  • US12045711B2 patent drawing
  • US12045711B2 patent drawing

AI summary

Memory augmented neural networks may use one or more neural encoders to transform input data into distributed representations and a memory module to store the representations with individual addresses. Memory augmented neural networks allow for few-shot learning capabilities because latent representations are persistent between training examples and gradient-based updates affect only certain memory locations via content-based lookups. When a query vector is not found in memory and the memory is full, existing memories that are positively associated with a particular representation may be identified, redundant memories may be aged, and updated memories may be generated. These updated memories retain relevant information acquired during training and reduce redundancy in the memories stored using the memory module, thereby improving the efficiency of data storage and reducing overfitting of data typically encountered with existing neural networks using memory modules.