Conditional Noise Layers for Adversarial Robustness

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Machine learning models are vulnerable to adversarial attacks and data privacy breaches, especially in federated learning scenarios where sensitive data is distributed across untrusted devices, leading to potential exposure of proprietary information.

Innovation Solution

The implementation of conditional noise layers, specifically stochastic conditional noise layers, during training and inference to obfuscate training data and enhance model robustness against adversarial attacks by generating adversarial attack training data sets and quasi-synthetic data, thereby protecting sensitive information.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If machine learning models process input data from distributed data sources, then the model can perform intelligent services and predictions, but the model becomes vulnerable to adversarial attacks and data privacy breaches

Engineering Contradiction:
Improvemodel functionalityVSAvoidmodel robustness
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent applies conditional noise layers that intentionally introduce controlled noise and adversarial examples during training to convert the harmful vulnerability to adversarial attacks into a benefit by making the model robust against such attacks. The noise layers generate adversarial training data that teaches the model to resist malicious inputs while maintaining its predictive capabilities.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

Solution Approach 2:

The conditional noise layers act as an intermediary component between the input data and the main model processing. These layers conditionally add noise based on specific conditions, serving as a protective mediator that filters and prepares data before it reaches the vulnerable model components, thereby reducing direct exposure to adversarial threats.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If training data is distributed across untrusted devices in federated learning, then data privacy is potentially improved, but the risk of proprietary information exposure increases

Engineering Contradiction:
Improvedata privacy protectionVSAvoiddata exposure risk
Core Design Contradiction:
Loss of informationVSObject-affected harmful factors

Solution Approach 1:

The patent converts the distributed nature of federated learning, which creates vulnerability to attacks, into a benefit by training conditional noise layers on diverse distributed data. These layers learn to generate adversarial examples specific to each device's data distribution, turning the distributed architecture's weakness into a strength for generating comprehensive adversarial training data.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

Solution Approach 2:

The conditional noise layers dynamically change noise parameters based on input conditions and device-specific characteristics. This allows the same federated learning framework to adapt noise injection strategies to different data distributions across untrusted devices, maintaining privacy while protecting against device-specific attacks.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If conditional noise layers are applied to obfuscate training data, then model robustness to adversarial attacks is enhanced, but the complexity of the training process increases

Engineering Contradiction:
Improvemodel robustnessVSAvoidtraining process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the training process into distinct phases: training the conditional noise layers separately from training the main model. This segmentation allows the complex noise layer training to be performed independently using adversarial training data, while the main model training remains relatively simple, thereby managing overall training complexity while achieving robustness.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The conditional noise layers are trained in advance on adversarial training data before being applied to the main model training. This preliminary action prepares the noise layers to automatically generate appropriate noise during inference, eliminating the need for complex real-time noise optimization during deployment and simplifying the overall process.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20230267337A1Conditional noise layers for generating adversarial examples
Publication Date: 2023.08.24 PROTOPIA AI INC
  • US20230267337A1 patent drawing
  • US20230267337A1 patent drawing
  • US20230267337A1 patent drawing

AI summary

Provided is a process including: obtaining, with a computer system, a data set having labeled members with labels designating corresponding members as belonging to corresponding classes; training, with the computer system, a machine learning model having deterministic layers and a parallel set of conditional layers each corresponding to a different class among the corresponding classes, wherein training includes adjusting parameters of the machine learning model according to an objective function that is differentiable; and storing, with the computer system, the trained machine learning model in memory.