NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

If You Want to Be Robust, Be Wary of Initialization

Sofiane Ennadir, Johannes F. Lutzeyer, Michalis Vazirgiannis, El Houcine Bergou · DOI

Adversarial robustness in Graph Neural Networks (GNNs) is typically associated with complex architectural defenses. However, recent research suggests that resilience starts much earlier—at the initialization phase. This study reveals that weight initialization and training duration are critical, often overlooked factors that can create a significant gap in a model's resilience to adversarial perturbations.

The Problem: Brittle GNNs

Deep learning models, particularly GNNs, are notoriously susceptible to small, malicious perturbations. An attacker can add a few fake edges or modify node features to cause a model's accuracy to plummet. While sophisticated defenses like edge-pruning or specialized message-passing schemes exist, they often incur high computational costs or degrade performance on clean data.

The authors investigate whether the fundamental components of the training process—initialization and the number of epochs—dictate a model's vulnerability. Traditionally, these parameters are tuned for convergence speed, leaving their impact on security largely unexplored.

Theoretical Framework

The researchers bridge optimization theory and adversarial security by deriving a general upper bound for "adversarial risk" (the probability of model failure under attack). Their framework proves that this risk is mathematically tied to two primary variables:

  1. The norm (size) of the initial weights ($W_0$).
  2. The number of training steps ($t$).

This theory applies not only to Graph Convolutional Networks (GCNs) and Graph Isomorphism Networks (GINs) but also extends to standard Deep Neural Networks (DNNs).

The Robustness Inflection Point

A key discovery is the "Robustness Inflection Point." While a model's accuracy on clean data typically plateaus after initial training, its performance under attack often reaches a peak and then declines as training continues.

Figure 4: Impact of training epochs on clean accuracy and adversarial success rate across Cora and Citeseer datasets.

As shown in the figure above, there is a "sweet spot" where the model maintains high clean accuracy while remaining relatively robust. Training beyond this point increases vulnerability, as evidenced by the rising success rates of adversarial attacks in panels (b) and (d).

Initialization: Small Weights as Shields

The study finds that lower-variance initializations (e.g., Gaussian distributions with smaller $\sigma$) yield significantly more robust models without sacrificing clean-data performance. Theoretically, minimizing the initial weight norm reduces the adversarial risk bound.

Figure 2: Adversarial success rate as a function of initialization variance ($\sigma$) for PGD and Mettack attacks.

Empirical results validate this theory: larger initial weight norms consistently lead to higher success rates for attackers. In experiments on DNNs, the gap between the best and worst initialization methods reached up to 60% under the same attack budget. For GNNs, selecting the right initialization variance improved robustness by 5% to 15% against high-budget attacks.

Key Insights

  • The "Almost-Free" Defense: Unlike architectural modifications, optimizing initialization or stopping training earlier requires virtually no additional computational overhead.
  • Structural vs. Feature Attacks: Initialization has a more pronounced impact when attackers manipulate graph structure (edges) rather than just node features.
  • Validation of Theory: The empirical correlation between weight norms and attack success rates closely matches the derived mathematical bounds.

Conclusion and Future Work

This research serves as a guide for more secure model training. While it does not propose a single "optimal" initialization, it highlights the importance of carefully selecting existing methods (like Xavier or Kaiming) and monitoring training logs. Future work may involve extending these findings to non-Lipschitz activation functions and further exploring the ultimate trade-off between clean-data learning and adversarial robustness.

Summary updated

BibTeX
@inproceedings{ennadir2024if,
  author = {Sofiane Ennadir and Johannes F. Lutzeyer and Michalis Vazirgiannis and El Houcine Bergou},
  title = {{If You Want to Be Robust, Be Wary of Initialization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=nxumYwxJPB},
}
Figure