Skip to main content
QUICK REVIEW

[Paper Review] Understanding Robust Learning through the Lens of Representation Similarities

Christian Cianfarani, Arjun Nitin Bhagoji|arXiv (Cornell University)|Jun 20, 2022
Adversarial Robustness in Machine LearningComputer Science5 citations
TL;DR

This paper investigates how adversarially robust deep neural networks learn representations differently from standard networks by analyzing representation similarity across layers using CKA and other metrics. It reveals that robust networks lack feature specialization, exhibit reduced 'block structure,' and suffer from overfitting in deeper layers—key insights that explain performance degradation and generalization issues in robust models.

ABSTRACT

Representation learning, i.e. the generation of representations useful for downstream applications, is a task of fundamental importance that underlies much of the success of deep neural networks (DNNs). Recently, robustness to adversarial examples has emerged as a desirable property for DNNs, spurring the development of robust training methods that account for adversarial examples. In this paper, we aim to understand how the properties of representations learned by robust training differ from those obtained from standard, non-robust training. This is critical to diagnosing numerous salient pitfalls in robust networks, such as, degradation of performance on benign inputs, poor generalization of robustness, and increase in over-fitting. We utilize a powerful set of tools known as representation similarity metrics, across three vision datasets, to obtain layer-wise comparisons between robust and non-robust DNNs with different training procedures, architectural parameters and adversarial constraints. Our experiments highlight hitherto unseen properties of robust representations that we posit underlie the behavioral differences of robust networks. We discover a lack of specialization in robust networks' representations along with a disappearance of `block structure'. We also find overfitting during robust training largely impacts deeper layers. These, along with other findings, suggest ways forward for the design and training of better robust networks.

Motivation & Objective

  • To understand the fundamental differences in representations learned by robust versus non-robust deep neural networks.
  • To diagnose persistent issues in robust models, such as performance drop on benign inputs and poor generalization of robustness.
  • To investigate how architectural choices (depth, width), threat models, and adversarial budgets affect learned representations.
  • To identify structural and dynamic properties of representations that underlie robust training failures.

Proposed method

  • The authors use representation similarity metrics, particularly Centered Kernel Alignment (CKA), to compare activations across all layers of deep neural networks.
  • They train both standard and robust models on CIFAR-10, ImageNet-Subset (Imagenette/Imagewoof), and evaluate representations using benign and adversarial inputs.
  • The analysis includes layer-wise comparisons across different architectures (e.g., Wide ResNet), adversarial budgets (ε), and threat models (ℓ∞, ℓ2, Gabor, JPEG, Snow).
  • They track representation similarity through training epochs to detect overfitting and instability in deeper layers.
  • They perform ablation studies on cross-threat model similarity to evaluate alignment across different adversarial attacks.
  • They use visualization and statistical analysis to correlate representation dynamics with training loss and accuracy.

Experimental results

Research questions

  • RQ1How do the representation structures of robust and non-robust networks differ across layers?
  • RQ2To what extent does adversarial robustness reduce feature specialization and block structure in deep representations?
  • RQ3How do architectural hyperparameters (width, depth) and adversarial budget affect representation similarity and model capacity?
  • RQ4Why do robust models overfit more in deeper layers, and how does this impact generalization?
  • RQ5How similar are representations learned under different threat models, and can joint robustness be achieved via representation alignment?

Key findings

  • Robust networks exhibit significantly higher cross-layer similarity across spatially distant layers, indicating a lack of feature specialization compared to non-robust models.
  • The absence of 'block structure' in robust representations suggests a more uniform, less hierarchical feature learning process.
  • Overfitting during robust training is most pronounced in deeper layers, where representations vary drastically over training despite stable early layers.
  • Increasing the adversarial budget or reducing network width increases long-range representation similarity, implying reduced relative capacity.
  • Even visually dissimilar threat models like Snow and Gabor produce highly similar representations, suggesting shared inductive biases across attack types.
  • Joint robustness across diverse threat models is challenging due to poor representation alignment, especially at deeper layers and under high budgets.

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.