Hold me tight! Influence of discriminative features on deep network boundaries

Guillermo Ortiz-Jiménez, Apostolos Modas, Seyed-Mohsen Moosavi-Dezfooli, Pascal Frossard

TL;DR: Deep neural networks only build decision boundaries in directions where they find discriminative features; in all other directions, they are naturally invariant. This paper reveals that these boundaries are "elastic" and highly sensitive—small changes to training samples in one direction can cause the boundary to radically shift in orthogonal directions. This mechanism explains how adversarial training builds robustness.

The Fragility of Decision Boundaries

Despite their massive success, deep neural networks (DNNs) are notoriously fragile. Tiny, imperceptible "adversarial perturbations" can easily flip a model's prediction, suggesting that the "decision boundary"—the high-dimensional line separating classes—is alarmingly close to almost every data point.

The authors seek to understand why these boundaries form where they do. Is the network's vulnerability caused by the architecture itself, or is it a direct reflection of the features present in the training data? By investigating the geometry of these boundaries, the researchers aim to bridge the gap between dataset features and model interpretability.

Methodology: Probing the Boundary

To measure the distance from a sample to the decision boundary (the margin) along specific directions, the researchers propose a novel framework:

  1. Adversarial Proxies: They use a subspace-constrained version of DeepFool, an efficient algorithm for finding the smallest perturbation needed to change a class label, to calculate the margin.
  2. Frequency Analysis: For image data, they analyze margins within specific frequency bands using the Discrete Cosine Transform (DCT). This reveals whether a network is more robust to high-frequency noise versus low-frequency changes.
  3. Data Manipulation: To prove causation, they manipulated the training data. They created "flipped" datasets where low-frequency and high-frequency information were swapped to see if the network's decision boundary followed the features.
  4. Synthetic Probes: Controlled, synthetic datasets were used to isolate how specific discriminative features influence the boundary's orientation and "tightness."

Key Insights: Elastic Boundaries and Orthogonal Sensitivity

The investigation revealed several intriguing properties of CNN decision boundaries:

  • Boundaries are "Held Together" by Features: A network only creates a decision boundary if it finds a feature that helps it distinguish between classes. If a feature is removed from the training set, the network becomes "invariant" in that direction, effectively pushing the margin to infinity.
  • The "Invariance Bias": CNNs are naturally biased toward being invariant to non-discriminative information. For standard datasets, this translates to huge margins in high-frequency directions (which they largely ignore) and small margins in low-frequency directions (where the semantic "content" resides).
  • Orthogonal Sensitivity: Surprisingly, changing a training sample slightly in one direction (e.g., a low-frequency shift) can cause the decision boundary to move or disappear in a completely different, orthogonal direction (e.g., high-frequency).
  • Adversarial Training as a Geometric Tweak: Adversarial training works by slightly perturbing training samples. These tiny movements exploit orthogonal sensitivity, triggering the network to become invariant in directions that were previously vulnerable.

Key Results

Margin Distribution and the "Flip Test"

On ImageNet and MNIST, standard networks show a clear trend: small margins in low frequencies and large margins in high frequencies. When trained on a "flipped" ImageNet (where high frequencies contain the objects), the margin plot perfectly reversed. This proves the boundary geometry is a result of the data, not just the CNN architecture.

The Impact of Adversarial Training

Adversarial training significantly increases the margin across the entire frequency spectrum. However, the most dramatic increases happen in the high frequencies—even though the adversarial perturbations themselves are mostly low-frequency.

Standard Training Margins
Adversarial Training Margins

Local Sensitivity

The authors demonstrated that modifying just 100 training samples (out of thousands) is enough to locally reshape the decision boundary and introduce significant invariance in a specific region of the input space.

Limitations and Future Directions

While the DCT subspaces provided excellent insights for images, the "true" discriminative features might not perfectly align with standard frequency bands. Finding these "network-agnostic" features remains an open challenge. Additionally, some theoretical explanations rely on linear classifier properties, which may not capture the full complexity of deep, non-linear models.

Ultimately, this framework opens exciting doors for Active Learning—identifying which samples would most effectively "push" the boundary—and for designing more efficient adversarial attacks. It also provides a new lens through which to study phenomena like catastrophic forgetting based on boundary elasticity.

Summary updated

BibTeX
@inproceedings{ortizjimenez2020hold,
  author = {Guillermo Ortiz-Jiménez and Apostolos Modas and Seyed-Mohsen Moosavi-Dezfooli and Pascal Frossard},
  title = {{Hold me tight! Influence of discriminative features on deep network boundaries}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=j3OVY155EJh},
}

Loading related content...

Figure