Denoiser Module for Robust Pre-trained Classifiers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Deep learning models are vulnerable to adversarial attacks, and existing defense mechanisms often sacrifice clean image accuracy, making them impractical for deployment. Additionally, these defenses are not directly effective on pre-trained classifiers, especially when subjected to Gaussian noise.

Innovation Solution

The proposed solution involves using a denoiser as a preprocessing step to remove Gaussian noise from inputs, thereby robustifying pre-trained classifiers without altering their weights. This is achieved by training a denoiser using objectives like mean-squared-error and stability loss, and then integrating it with a pre-trained classifier and a rejector module to form a (K+1)-class classifier.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If existing defense mechanisms are applied to protect against adversarial attacks, then robustness against adversarial attacks is improved, but clean image accuracy deteriorates

Engineering Contradiction:
Improverobustness against adversarial attacksVSAvoidclean image accuracy
Core Design Contradiction:
ReliabilityVSMeasurement precision

Solution Approach 1:

A denoiser module is introduced as an intermediary component between the input image and the pre-trained classifier. The denoiser processes the input image to remove Gaussian noise before passing it to the classifier, thereby protecting the classifier from adversarial perturbations while maintaining high accuracy on clean images. This intermediary structure allows the system to achieve both robustness and accuracy without retraining the classifier.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If randomized smoothing is applied to provide robustness guarantees, then provable robustness is improved, but clean accuracy deteriorates

Engineering Contradiction:
Improveprovable robustnessVSAvoidclean accuracy
Core Design Contradiction:
ReliabilityVSMeasurement precision

Solution Approach 1:

Instead of retraining the entire classifier with expensive and time-consuming procedures, the invention uses a lightweight denoiser module that can be trained independently and applied to the pre-trained classifier. This disposable-like approach allows achieving robustness guarantees without the high cost of retraining, maintaining both provable robustness and clean accuracy.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

3Reliability

If a denoiser is trained with stability loss to robustify the classifier, then robustness against Gaussian noise is improved, but training time and complexity increase

Engineering Contradiction:
Improverobustness against Gaussian noiseVSAvoidtraining time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The training process is segmented into two independent stages: first training the denoiser module separately using stability loss, and then applying it to the pre-trained classifier without requiring joint training. This segmentation reduces the overall training time and complexity compared to training the entire system together, while still achieving robustness against Gaussian noise.

Inventive Principle:
Principle #1Segmentation

4Productivity

If pre-trained classifiers are used directly, then deployment speed is improved, but vulnerability to adversarial attacks increases

Engineering Contradiction:
Improvedeployment speedVSAvoidvulnerability to adversarial attacks
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The denoiser module is trained in advance on clean images and adversarial examples to learn how to remove Gaussian noise and adversarial perturbations. This preliminary training action allows the denoiser to be applied to the pre-trained classifier without requiring retraining of the classifier itself, thus maintaining fast deployment speed while reducing vulnerability to adversarial attacks.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12205349B2System and method for improving robustness of pretrained systems in deep neural networks utilizing randomization and sample rejection
Publication Date: 2025.01.21 ROBERT BOSCH GMBH
  • US12205349B2 patent drawing
  • US12205349B2 patent drawing
  • US12205349B2 patent drawing

AI summary

A system includes a machine-learning network. The network includes an input interface configured to receive input data from a sensor. The processor is programmed to receive the input data, generate a perturbed input data set utilize the input data, wherein the perturbed input data set includes perturbations of the input data, denoise the perturbed input data set utilizing a denoiser, wherein the denoiser is configured to generate a denoised data set, send the denoised data set to both a pre-trained classifier and a rejector, wherein the pre-trained classifier is configured to classify the denoised data set and the rejector is configured to reject a classification of the denoised data set, train, utilizing the denoised input data set, the a rejector to achieve a trained rejector, and in response to obtaining the trained rejector, output an abstain classification associated with the input data, wherein the abstain classification is ignored for classification.