Neural Network Denoising Layer for Adversarial Robustness

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Neural networks used for image analysis are vulnerable to adversarial examples, which are crafted to deceive the networks into incorrect analyses by applying noise, and existing defense methods are not sufficient to ensure robustness against such attacks.

Innovation Solution

A new denoising layer is designed within the neural network architecture that uses a constrained optimization problem to filter out adversarial perturbations, with thresholds controlling the denoising process, and employs a first-order primal-dual algorithm for efficient computation, allowing the network to maintain robustness against adversarial examples.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a denoising layer is applied to remove adversarial noise, then the robustness against adversarial examples is improved, but the computational complexity and processing time increase

Engineering Contradiction:
Improverobustness against adversarial examplesVSAvoidcomputational complexity of denoising layer
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies parameter changes by introducing a threshold parameter λ that controls the balance between denoising strength and fidelity to the original input. By adjusting this parameter, the system can adaptively control the denoising process to achieve robustness while managing computational complexity. The constrained optimization problem uses this parameter to regulate the trade-off between removing adversarial noise and preserving legitimate image features.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The denoising layer employs a dynamic constrained optimization approach where the threshold parameter λ can be adjusted based on the specific adversarial attack detected. The system dynamically adapts the denoising strength according to the detected attack characteristics, allowing the network to respond flexibly to different types and severities of adversarial perturbations while optimizing computational resources.

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If a constrained optimization problem is solved to denoise the input, then the accuracy of image analysis is improved, but the processing time increases

Engineering Contradiction:
Improveaccuracy of image analysisVSAvoidprocessing time of denoising layer
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies partial action by implementing a constrained optimization that performs denoising only to the extent necessary to remove adversarial perturbations while maintaining computational efficiency. The threshold parameter λ controls the degree of denoising applied, preventing excessive computation time while still achieving sufficient accuracy improvement. This partial denoising approach removes only the harmful components rather than completely reconstructing the image.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent replaces traditional iterative denoising mechanisms with a constrained optimization formulation that can be solved more efficiently. Instead of using computationally intensive iterative methods, the system formulates the denoising as a constrained optimization problem that can be solved with more efficient algorithms, substituting the mechanical iterative process with a more streamlined mathematical approach.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentEP4141808A1Denoising layer for neural networks for image analysis
Publication Date: 2023.03.01 ROBERT BOSCH GMBH
  • EP4141808A1 patent drawingFigure 1
  • EP4141808A1 patent drawingFigure 2
  • EP4141808A1 patent drawingFigure 3

AI summary

Neural network (60) configured for determining an output signal (y) characterizing an analysis of an image (x), wherein determining the output signal (y) is based on an output determined by a denoising layer of the neural network (60), wherein the output is determined for an input of the denoising layer, wherein the input is based on the image (x), and wherein magnitudes of local gradients of the output do not exceed a predefined first threshold and a distance from the output to the input of the layer does not exceed a predefined second threshold.