Neural Network Training with Well-Conditioned Weight Matrices

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Neural networks are susceptible to adversarial attacks, where attackers add noise to inputs, causing misclassification, which can lead to fatal errors in applications like image classification and self-driving cars.

Innovation Solution

Training neural networks with well-conditioned weight matrices by optimizing a loss function that includes penalties for ill-conditioned matrices, thereby constraining the effect of perturbations and enhancing robustness against adversarial attacks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional training approaches are used to train neural networks, then the networks achieve high accuracy on non-adversarial inputs, but they become susceptible to adversarial attacks where small perturbations cause misclassification

Engineering Contradiction:
Improverobustness against adversarial attacksVSAvoidsensitivity to input perturbations
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent applies preliminary anti-action by training the neural network with adversarial examples during the training phase. The system generates perturbed training data by adding calculated noise to input images, then trains the network to correctly classify these adversarial examples. This preliminary exposure to attacks creates resistance against future adversarial inputs, directly resolving the contradiction between high accuracy and robustness.

Inventive Principle:
Principle #9Preliminary anti-action

Solution Approach 2:

The system performs preliminary action by pre-processing training data to include adversarial examples before the actual training process. The training data generator creates perturbed versions of training images by adding noise in the direction of the gradient of the loss function. This preliminary preparation ensures the network learns to handle adversarial inputs from the start, improving reliability without sacrificing accuracy.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If calculated noise is added to input images to create adversarial examples, then the neural network misclassifies the adversarial input, but the human eye cannot perceive any difference between the original and adversarial images

Engineering Contradiction:
Improveclassification accuracyVSAvoidcomplexity of training process
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements feedback by using the neural network's own predictions and loss function gradients to generate adversarial examples. The system calculates the gradient of the loss function with respect to the input image, then adds noise in that direction to create adversarial examples that maximize misclassification. This feedback loop allows the network to learn from its own errors, improving classification accuracy while maintaining a manageable training process through automated gradient-based perturbation.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11734565B2Systems and methods of training neural networks against adversarial attacks
Publication Date: 2023.08.22 ADOBE INC
  • US11734565B2 patent drawing
  • US11734565B2 patent drawing
  • US11734565B2 patent drawing

AI summary

Embodiments disclosed herein describe systems, methods, and products that generate trained neural networks that are robust against adversarial attacks. During a training phase, an illustrative computer may iteratively optimize a loss function that may include a penalty for ill-conditioned weight matrices in addition to a penalty for classification errors. Therefore, after the training phase, the trained neural network may include one or more well-conditioned weight matrices. The one or more well-conditioned weight matrices may minimize the effect of perturbations within an adversarial input thereby increasing the accuracy of classification of the adversarial input. By contrast, conventional training approaches may merely reduce the classification errors using backpropagation, and, as a result, any perturbation in an input is prone to generate a large effect on the output.