English

Why the Maximum Second Derivative of Activations Matters for Adversarial Robustness

Machine Learning 2026-03-26 v1 Artificial Intelligence

Abstract

This work investigates the critical role of activation function curvature -- quantified by the maximum second derivative maxσ\max|\sigma''| -- in adversarial robustness. Using the Recursive Curvature-Tunable Activation Family (RCT-AF), which enables precise control over curvature through parameters α\alpha and β\beta, we systematically analyze this relationship. Our study reveals a fundamental trade-off: insufficient curvature limits model expressivity, while excessive curvature amplifies the normalized Hessian diagonal norm of the loss, leading to sharper minima that hinder robust generalization. This results in a non-monotonic relationship where optimal adversarial robustness consistently occurs when maxσ\max|\sigma''| falls within 4 to 10, a finding that holds across diverse network architectures, datasets, and adversarial training methods. We provide theoretical insights into how activation curvature affects the diagonal elements of the hessian matrix of the loss, and experimentally demonstrate that the normalized Hessian diagonal norm exhibits a U-shaped dependence on maxσ\max|\sigma''|, with its minimum within the optimal robustness range, thereby validating the proposed mechanism.

Cite

@article{arxiv.2603.23860,
  title  = {Why the Maximum Second Derivative of Activations Matters for Adversarial Robustness},
  author = {Yunrui Yu and Hang Su and Jun Zhu},
  journal= {arXiv preprint arXiv:2603.23860},
  year   = {2026}
}
R2 v1 2026-07-01T11:36:35.913Z