Adversarial Robustness in Parameter-Space Classifiers

Tamir Shor, Ethan Fetaya, Chaim Baskin, Alexander M. Bronstein · DOI

Abstract

Weight-space classifiers categorize data by analyzing the parameters of an Implicit Neural Representation (INR) rather than raw input pixels. This study demonstrates that such classifiers exhibit significant inherent adversarial robustness. This defense is primarily attributed to the INR optimization process, which functions as a "scrubber," filtering high-frequency adversarial noise before it reaches the downstream classifier.

Introduction

Deep learning models are notoriously susceptible to adversarial perturbations—small, often imperceptible changes to input data that can lead to incorrect classifications. While defenses like adversarial training exist, they frequently involve significant computational overhead or compromises in accuracy on clean data.

Implicit Neural Representations (INRs) offer a different approach. Instead of representing an image as a grid of pixels, an INR uses a neural network to map coordinates to signal values. Downstream tasks are then performed on the weights (or modulations) of these networks. This research investigates whether these parameter-space classifiers are inherently more robust than traditional pixel-based models.

Methodology

The study examines a pipeline where an input signal is converted into an INR through an optimization loop. The resulting parameter vector is then processed by a "meta-network" classifier.

Pipeline of weight-space classification and adversarial attack.

To evaluate robustness, the authors developed several white-box attacks:

  • Full PGD: A gradient-based attack requiring backpropagation through the entire INR optimization process.
  • TMO & BOTTOM: Truncated versions designed to approximate gradients and reduce computational cost.
  • Implicit Differentiation (ID): A method using the implicit function theorem to compute gradients without unrolling the optimization loop.
  • BVA (Binary Voxel Attack): A specialized bit-flipping attack for 3D voxel data.

The framework was tested on three benchmarks: MNIST (2D digits), Fashion-MNIST (2D clothing), and ModelNet10 (3D CAD models converted to voxel grids).

Key Insights: The "Scrubber" Effect

The core finding is the "Scrubber" Effect. INRs possess a spectral bias toward low-frequency components. Consequently, they effectively reconstruct the global structure of a signal while failing to fit high-frequency adversarial noise. This noise is essentially filtered out during the fitting process.

Furthermore, the optimization loop induces gradient obfuscation. It is difficult for an attacker to find a consistent direction in the input space to trigger misclassification, as gradients become "shattered" during backpropagation through the loop. This also creates a computational barrier; attacking these models can be up to 100x slower than attacking standard CNNs.

Experimental Results

t-SNE visualizations of clean vs. perturbed modulations and latents. Source, p. 2

t-SNE visualizations of clean vs. perturbed modulations and latents.
  • Superior Robustness: On Fashion-MNIST, while standard models (ResNet, ViT) failed completely under moderate attacks, weight-space classifiers maintained significantly higher accuracy (40-80% improvement).
  • 3D Stability: Robustness extended to 3D data. Under the BVA attack, weight-space classifiers remained stable even as more bits were flipped, unlike standard 3D classifiers.
  • Adaptive Attacks: Using BPDA (Backward Pass Differentiable Approximation) reduced robustness, confirming that the defense relies heavily on gradient masking.

Conclusion and Future Work

While promising, scaling these methods to high-resolution datasets like ImageNet remains a challenge. Additionally, the reliance on gradient obfuscation suggests potential vulnerability to gradient-free or black-box attacks. Future research may explore hybrid defenses combining weight-space robustness with traditional adversarial training.

Summary updated

BibTeX
@article{shor2025adversarial,
  author = {Tamir Shor and Ethan Fetaya and Chaim Baskin and Alexander M. Bronstein},
  title = {{Adversarial Robustness in Parameter-Space Classifiers}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=eOLybAlili},
}
Figure