Diverse Neural Network Ensembles for Adversarial Attack Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Deep neural networks are vulnerable to adversarial attacks, which can misclassify inputs with subtle modifications that evade human detection.

Innovation Solution

Trains a diverse set of neural networks with node-to-node regularization and adversarial training to enhance robustness against adversarial attacks, using a canary network and a base robust network, along with diagnostic networks to detect such attacks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a single neural network is used for classification, then the device complexity is low, but the reliability against adversarial attacks deteriorates

Engineering Contradiction:
Improverobustness against adversarial attacksVSAvoidnumber of neural networks
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system divides the classification task into multiple specialized neural networks, each trained to detect specific types of adversarial attacks or perform specific classification functions. This segmentation allows each network to be optimized for particular attack patterns while collectively providing comprehensive defense against diverse adversarial threats.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system varies key parameters among multiple neural networks including architecture configurations, training data distributions, and regularization strengths. By creating diversity in network parameters and training conditions, the system ensures that no single adversarial example can exploit identical vulnerabilities across all networks, thereby improving overall robustness.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If adversarial training is applied to enhance robustness, then the reliability against adversarial attacks improves, but the manufacturing precision of classification results deteriorates

Engineering Contradiction:
Improverobustness against adversarial attacksVSAvoidclassification accuracy
Core Design Contradiction:
ReliabilityVSManufacturing precision

Solution Approach 1:

The system performs preliminary adversarial training by exposing neural networks to synthesized adversarial examples during the training phase. This preliminary action allows the networks to learn robust decision boundaries before deployment, enabling them to maintain high classification accuracy on legitimate inputs while developing resistance to adversarial perturbations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system converts harmful adversarial examples into beneficial training data by using them to augment the training set. Adversarial examples that would normally cause misclassification are used to teach networks how to correctly handle such inputs, transforming security threats into opportunities for improving model robustness and maintaining classification precision.

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

3Reliability

If diverse neural networks are trained to detect adversarial attacks, then the reliability improves, but the ease of operation deteriorates

Engineering Contradiction:
Improvedetection capabilityVSAvoidsystem operation complexity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system merges the outputs of multiple diverse neural networks through an ensemble mechanism that aggregates their predictions and confidence scores. This merging process simplifies operation by providing a unified decision output while leveraging the diverse detection capabilities of individual networks, maintaining high reliability without requiring complex manual coordination of multiple systems.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS12450339B2Diversity for detection and correction of adversarial attacks
Publication Date: 2025.10.21 D5AI LLC
  • US12450339B2 patent drawing
  • US12450339B2 patent drawing
  • US12450339B2 patent drawing

AI summary

A diverse set of neural networks are trained to be individually robust against adversarial attacks and diverse in a manner that decreases the ability of an adversarial example to fool the full diverse set. The systems/methods use a diversity criterion that is specialized for measuring diversity in response to adversarial attacks rather than diversity in the classification results. Also, one or more networks can be trained that are less robust to adversarial attacks to use as a diagnostic to detect the presence of an adversarial attack. Also, node-to-node relation regularization links can be used to train diverse networks that are randomly selected from a family of diverse networks with exponentially many members.