Skip to main content
QUICK REVIEW

[Paper Review] Error-Correcting Neural Network.

Yang Song, Qiyu Kang|arXiv (Cornell University)|Nov 30, 2019
Adversarial Robustness in Machine LearningComputer Science35 references3 citations
TL;DR

This paper proposes an error-correcting neural network (ECNN) that enhances robustness against adversarial examples by jointly maximizing Hamming distance between codewords and shared information distance between classifier partitions. Through end-to-end training, ECNN improves binary classifier diversity and achieves state-of-the-art defense performance against white-box attacks while preserving accuracy on clean data.

ABSTRACT

Though deep learning has been applied successfully in many scenarios, malicious inputs with human-imperceptible perturbations can make it vulnerable in real applications. This paper proposes an error-correcting neural network (ECNN) that combines a set of binary classifiers to combat adversarial examples in the multi class classification problem. To build an ECNN, we propose to design a code matrix so that the minimum Hamming distance between any two rows (i.e., two codewords) and the minimum shared information distance between any two columns (i.e., two partitions of class labels) are simultaneously maximized. Maximizing row distances can increase the system fault tolerance while maximizing column distances helps increase the diversity between binary classifiers. We propose an end-to-end training method for our ECNN, which allows further improvement of the diversity between binary classifiers. The end-to-end training renders our proposed ECNN different from the traditional error-correcting output code (ECOC) based methods that train binary classifiers independently. We empirically demonstrate that our proposed ECNN is effective against the state-of-the-art white-box attacks while maintaining good classification accuracy on normal examples.

Motivation & Objective

  • To address the vulnerability of deep neural networks to adversarial examples with human-imperceptible perturbations.
  • To improve robustness in multi-class classification by enhancing fault tolerance and diversity among binary classifiers.
  • To design a code matrix that simultaneously maximizes minimum Hamming distance between codewords and minimum shared information distance between classifier partitions.
  • To develop an end-to-end training framework that jointly optimizes the code matrix and classifier parameters, unlike traditional ECOC methods.
  • To maintain high classification accuracy on normal inputs while achieving strong defense against state-of-the-art white-box adversarial attacks.

Proposed method

  • Design a code matrix where each row represents a codeword (class label assignment) and each column represents a binary classifier partitioning the class space.
  • Optimize the code matrix to maximize the minimum Hamming distance between any two codewords to improve fault tolerance.
  • Simultaneously maximize the minimum shared information distance between any two columns to increase diversity among binary classifiers.
  • Introduce an end-to-end training procedure that jointly learns the code matrix and the parameters of the binary classifiers using backpropagation.
  • Use the trained ECNN to classify inputs by aggregating predictions from all binary classifiers and selecting the codeword with the closest Hamming distance to the prediction vector.
  • Leverage the error-correcting capability of the code matrix to correct mispredictions caused by adversarial perturbations.

Experimental results

Research questions

  • RQ1Can jointly optimizing Hamming distance between codewords and shared information distance between classifier partitions improve adversarial robustness in multi-class classification?
  • RQ2Does end-to-end training of the ECNN architecture lead to better diversity and robustness compared to independently trained binary classifiers in traditional ECOC?
  • RQ3To what extent can the proposed ECNN defend against state-of-the-art white-box adversarial attacks without degrading performance on clean examples?
  • RQ4How does the trade-off between fault tolerance (via Hamming distance) and classifier diversity (via shared information distance) affect overall robustness?
  • RQ5Can the ECNN maintain high accuracy on standard, non-adversarial inputs while significantly improving robustness against adversarial examples?

Key findings

  • The proposed ECNN achieves state-of-the-art defense performance against white-box adversarial attacks, outperforming existing ECOC-based and non-ECOC methods.
  • End-to-end training significantly improves the diversity between binary classifiers compared to independently trained counterparts, enhancing error correction capability.
  • The joint optimization of Hamming distance and shared information distance leads to higher fault tolerance and better generalization under adversarial perturbations.
  • The ECNN maintains high classification accuracy on clean, non-adversarial examples, demonstrating a favorable trade-off between robustness and standard accuracy.
  • Empirical results confirm that maximizing both row and column distances in the code matrix is crucial for achieving robustness without sacrificing performance.
  • The ECNN framework is effective in correcting mispredictions caused by adversarial inputs due to its inherent error-correcting structure.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.