Neural Network Training via Spectral Norm Regularization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Deep learning neural networks are vulnerable to adversarial attacks, particularly due to imperceptible perturbations that can deceive the models into making incorrect decisions, and existing solutions are often computationally infeasible, non-scalable, and negatively impact generalizability.

Innovation Solution

A Lyapunov-based method for training neural networks that regularizes the spectral norm of weight matrices at each layer, ensuring stability and robustness by bounding the changes in outputs due to adversarial perturbations, using techniques such as incremental finite-gain Lp-stability and passivity indices.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If training is performed on synthetically generated attack datasets, then adversarial robustness is improved, but generalizability deteriorates and accuracy becomes considerably worse

Engineering Contradiction:
Improveadversarial robustnessVSAvoidgeneralizability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent changes the training parameter from fixed synthetic adversarial examples to dynamically generated perturbations with varying magnitudes. By sampling different perturbation magnitudes (epsilon values) during training and applying magnitude-aware regularization, the model learns to generalize across different attack strengths rather than memorizing specific synthetic attack patterns.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The training process becomes dynamic by continuously varying the perturbation magnitude parameter during training. Instead of using static synthetic attack datasets, the system dynamically adjusts the strength of adversarial perturbations applied to training examples, allowing the model to adapt to a range of attack scenarios and improve generalizability.

Inventive Principle:
Principle #15Dynamics

2Stability of the object's composition

If deep learning models are trained to be robust against adversarial attacks, then stability is improved, but computational complexity increases

Engineering Contradiction:
Improvemodel stabilityVSAvoidcomputational complexity
Core Design Contradiction:
Stability of the object's compositionVSDevice complexity

Solution Approach 1:

The patent extracts and regularizes only the critical component - the spectral norm of weight matrices - rather than attempting to optimize the entire neural network for robustness. By focusing computational efforts on bounding the spectral norm of individual layer weight matrices, the method achieves stability with reduced computational overhead compared to full-network adversarial training.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of applying full adversarial training to all layers and parameters, the patent applies partial action by focusing regularization only on the spectral norm of weight matrices. This selective approach provides sufficient stability for adversarial robustness while avoiding the excessive computational complexity of comprehensive adversarial training.

Inventive Principle:
Principle #16Partial or excessive action

3Object-affected harmful factors

If small perturbations are applied to input data, then adversarial attacks succeed in deceiving the model, but the perturbations remain imperceptible to human eye

Engineering Contradiction:
Improveadversarial attack effectivenessVSAvoidperturbation detectability
Core Design Contradiction:
Object-affected harmful factorsVSMeasurement precision

Solution Approach 1:

The patent applies preliminary action by pre-training the model with magnitude-aware regularization that anticipates future adversarial attacks with varying magnitudes. This preliminary robustness training ensures that when small imperceptible perturbations are applied during deployment, the model has already learned to handle such variations, maintaining both security against undetectable attacks and natural performance on clean data.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11164085B2System and method for training a neural network system
Publication Date: 2021.11.02 BOOZ ALLEN HAMILTON INC
  • US11164085B2 patent drawing
  • US11164085B2 patent drawing
  • US11164085B2 patent drawing

AI summary

A computer-implemented method for training a neural network system. The method includes receiving at least a first data vector at a first layer of the neural network system; applying a function to the first data vector to generate at least a second data vector, wherein the function is based on a layer parameter of the first layer that includes at least a weight matrix of the first layer; comparing at least the first data vector and the second data vector to obtain a loss value that represents a difference between the first data vector and the second data vector; updating the layer parameter based on the loss value; and adjusting the layer parameter based on a comparison of the updated layer parameter with a threshold value of the first layer.