Manuscript Offprint

arXiv:2609.08683

Neither Adversarial Training Nor Purification: Emergent Adversarial Robustness from Oscillatory Predictive Learning

Mohammed-Yassine Habibi, Klea Ziu, Martin Takáč, Makoto Yamada

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Adversarial robustness in computer vision is still largely achieved through adversarial training or test-time adversarial purification, both of which introduce significant computational overhead by generating adversarial examples during training or performing iterative denoising at test time. We study whether empirical robustness can instead emerge from architectural and representation-learning inductive biases. We introduce Oscillatory Predictive Learning (OPL), a two-stage framework that combines Artificial Kuramoto Oscillatory Neurons (AKOrN) with predictive self-supervised pretraining using X-PhiNet. Because our default checkpoint uses randomized initial oscillator states, we compare it with other randomized adversarial defense methods that provide precise, reproducible, and strong attack protocols. Experiments on CIFAR-10 and CIFAR-100, with additional corruption evaluation on CIFAR-10-C, demonstrate that our method achieves competitive results under the AutoAttack-rand evaluation protocol. On CIFAR-10 and CIFAR-100, OPL attains 76.63±0.76%76.63 \pm 0.76\% and 50.44%50.44\% robust accuracy, respectively, under ℓ∞\ell_\infty, ϵ=8/255\epsilon = 8/255, AutoAttack-rand with EoT K=20K = 20. In addition, we conduct several diagnostics for attack failure and gradient masking via black-box attacks, transfer attacks, and attack-strength sweeps. Ablation studies show that oscillatory dynamics provide a key robustness-inducing inductive bias, which is significantly amplified by predictive pretraining. We further find that robustness is concentrated in a narrow dynamical regime, with changes in oscillator dimension sharply reducing robust accuracy despite improving clean accuracy. Our results suggest that architectural and self-supervised predictive biases can offer an efficient and complementary pathway to empirical adversarial robustness, challenging the view that high robustness necessarily requires adversarial-example generation during training or iterative purification at test time.

1 Introduction

Deep vision models remain vulnerable to small adversarial perturbations [24, 5], and the strongest widely adopted robustness results are still dominated by adversarial training [1, 5, 19] and adversarial purification [23, 11]. Indeed, there are no strong baselines for vision models that rely on neither adversarial training nor adversarial purifying [10, 11]. Although effective, those methods substantially increase training costs because they require generating adversarial examples throughout optimization or performing iterative denoising at test time, often at scale. This computational burden is not merely

∗^{*}Equal contribution

†^{\dagger}Correspondence to: Mohammed-Yassine Habibi mohammed-yassine.habibi@inria.fr and Klea Ziu klea.ziu@mbzuai.ac.ae

Preprint.

an engineering inconvenience: recent scaling analyses argue that, under current adversarial-training paradigms, simply increasing compute is unlikely to close the gap to human-level robustness, and that meaningful progress will require more efficient training algorithms and improved architectures rather than scale alone [5]. This motivates the question explored: can adversarial robustness emerge from architectural and representation-learning inductive biases rather than from repeated exposure to adversarial examples?

In this paper, we test a concrete hypothesis: a predictive self-supervised objective combined with oscillatory encoder dynamics can yield strong robustness under standardized adversarial evaluation, without adversarial training. We study this hypothesis through Oscillatory Predictive Learning, a framework that combines an Artificial Kuramoto Oscillatory Neurons (AKOrN) encoder [22] with predictive self-supervised learning via X-PhiNet [18]. Oscillatory coupling imposes structured consensus dynamics that can reduce sensitivity to local perturbations, while predictive pretraining encourages stable and globally consistent representations in this dynamical setting. The biological analogy motivates this design, but the contribution we evaluate is algorithmic: the robustness arises from this interaction, and the combination of AKOrN and X-PhiNet substantially outperforms either component alone under standardized attacks.

To assess whether the robustness gain is specific to X-PhiNet or reflects a broader benefit of predictive non-contrastive pretraining, we compare several SSL objectives on the same AKOrN backbone in Appendix D. In these preliminary experiments, X-PhiNet gives the strongest robust accuracy among the tested methods, while SimSiam [7] achieves a similar but slightly lower result, and BYOL [15] is less stable. We therefore use X-PhiNet as the main pretraining objective in the rest of the paper. We do not claim that the effect automatically transfers to all predictive SSL frameworks; evaluating JEPA-style [14, 3] objectives and larger predictive architectures remains future work.

Empirically, this is what we observe. On CIFAR-10, our method, Oscillatory Predictive Learning, achieves 76.63±0.76%76.63 \pm 0.76\% robust accuracy under ℓ∞\ell_\infty, ϵ=8/255\epsilon = 8/255, AutoAttack-rand with EoT K=20K = 20 [13, 11], outperforming prior stochastic defenses evaluated under the same AutoAttack-rand protocol that has been recommended by [11, 21] (DiffPure: 71.29%, [23]). In the same evaluation, AKOrN alone reaches 64.98% AutoAttack-rand robustness, while X-PhiNet alone and a standard ResNet baseline remain almost entirely non-robust. This pattern supports a complementary view of the two components: oscillatory encoder dynamics provide a robustness-supporting inductive bias, and predictive pretraining substantially amplifies it.

A central outcome of this discovery is computational. Because our method does not rely on adversarial training, it avoids the dominant source of cost in current robust-learning pipelines. As a result, it offers a substantially lower-compute route to robustness and a more promising starting point for scaling than methods whose training procedure already embeds adversarial-example generation at every iteration. In our current experiments, the robustness is achieved at the cost of lower clean accuracy compared to high-capacity adversarially trained models. Beyond aggregate performance, we find a sharp sensitivity to oscillator dimension. In our sweep, robustness is concentrated in the N=2N = 2 family, while increasing the oscillator dimension to N=4N = 4 substantially reduces robust accuracy despite improving clean accuracy. Increasing encoder flexibility or optimizing for clean accuracy does not monotonically improve adversarial robustness; in several settings, it actively degrades it. This suggests that robustness in oscillatory models is not simply a byproduct of larger capacity or better standard representations, but depends on maintaining specific dynamical constraints.

Together, these findings point to a complementary route to adversarial robustness: instead of explicitly fitting adversarial perturbations during training, one can induce robustness through the interaction between structured encoder dynamics and predictive learning. We therefore propose Oscillatory Predictive Learning as a framework for studying robustness from inductive bias, and we evaluate it through standardized attacks, controlled ablations, and dynamical hyperparameter sweeps that expose a reproducible robust regime.

Contributions In summary, our work provides a highly efficient alternative to adversarial optimization through the following principal contributions:

  • We propose Oscillatory Predictive Learning, a framework combining AKOrN encoders with X-PhiNet predictive pretraining, achieving 76.63% and 50.44% AutoAttack-rand robustness on CIFAR-10 and CIFAR-100, respectively, entirely without adversarial training or adversarial purification.

  • We report OPL in a substantially lower measured training-FLOP regime than representative adversarially trained CIFAR models. Because the compared systems differ in architecture, data, training procedure, and evaluation protocol, we treat these results as contextual rather than as a protocol-matched efficiency comparison.

  • We provide controlled evidence that oscillatory dynamics and predictive pretraining play complementary roles: X-PhiNet provides a substantial +11.65 percentage point robustness amplification when applied to AKOrN (from 64.98% to 76.63%), whereas applying X-PhiNet to a standard ResNet yields near-zero robustness.

  • We identify a sharp sensitivity to oscillator dimensionality driven by dynamical hyperparameters, demonstrating that robustness collapses near-discontinuously when increasing oscillator dimensionality (e.g., from N=2N = 2 to N=4N = 4), revealing that clean and robust accuracy are not monotonically aligned.

References (22)