Certified Robustness: An Enquiry
Bhaskar Mukhoty
IIT Delhi
Adversarial Attacks
Image Courtesy: Goodfellow, Ian J., Jonathon Shlens, and Christian Szegedy. "Explaining and harnessing adversarial examples." arXiv preprint arXiv:1412.6572 (2014).
Formulating Adversarial Attacks
Generating Adversarial Attacks
step length
Standard vs. Robust Accuracy
Std. | GN | FGSM | PGD |
92.15 | 90.62 | 10.68 | 0.1 |
Robustness Verification
Soundness:
Probabilistic:
Robustness Verification: Complete vs. Incomplete
Completeness:
Incompleteness:
Lipschitzness Implies Robustness
Jerry Li. Lecture 14: Certified defenses iii: Randomized smoothing. https://jerryzli. github.io/robust-ml-fall19/lec14.pdf, 2019
Image Courtesy: Wikipedia
Lipschitzness Implies Robustness
An Example: Spiking Neurons
ANN
SNN, any T
SNN, T=1
Binary Activation
Temporal Dimension
Binary Input
Reset
Exp. Avg.
Efficient Accumulation
Robustness (at Test) and Input Encoding
0
1
1
1
0.7
0.7
0.7
0.7
0.7
0
1
1
1
0.75
0.75
0.75
0.75
0.75
Rate Encoding, T=4
Constant Encoding, T=4
Robust
Not Robust
Adv. Perturbation
Randomized Smoothing via Bernoulli Noise
Bhaskar Mukhoty*, Hilal AlQuabeh*, Giulia De Masi, Huan Xiong, and Bin Gu, Certified adversarial robustness for rate encoded spiking neural networks, ICLR 2024 [*first co-author]
Certified Accuracy
Adversarial Robustness in Rate-encoded SNN
| Standard | GN | FGSM | PGD |
Constant Enc. | 92.15 | 90.62 | 10.68 | 0.1 |
Rate Enc. | 79.55 | 78.62 | 43.69 | 37.37 |
SEA: Sparse Encoding Attack
Bhaskar Mukhoty, Hilal AlQuabeh, Bin Gu, Improving Generalization and Robustness in SNNs Through Signed Rate Encoding and Sparse Encoding Attacks, ICLR 2025
Accuracy | Standard | FGSM | PGD | SEA, k=10 | SEA, k=20 |
CIFAR-10 | 82.05 | 44.3 | 36.88 | 39.61 | 29.06 |
SVHN | 89.44 | 43.37 | 35.46 | 34.62 | 23.55 |
Incomplete Verification: Interval Bound Propagation
Mao, Yuhao, Mark Niklas Mueller, Marc Fischer, and Martin Vechev. "Understanding Certified Training with Interval Bound Propagation." In The Twelfth International Conference on Learning Representations.
Certified Training vs. Adversarial Training
Mao, Yuhao, Mark Niklas Mueller, Marc Fischer, and Martin Vechev. "Understanding Certified Training with Interval Bound Propagation." In The Twelfth International Conference on Learning Representations.
Adversarial Training under approximates the inner maximization by finding adversarial example.
Open Problems
Questions �& �Discussions��
Spiking Neurons : Brief Introduction
Blouw, Peter, et al. "Benchmarking keyword spotting efficiency on neuromorphic hardware." Proceedings of the 7th annual neuro-inspired computational elements workshop. 2019.
Why Spiking Neural Networks are Helpful?
Intel’s Loihi
IBM’s TrueNorth
LIF Neuron Dynamics : Euler Discretization
soft-reset
Heaviside
LIF Neuron Dynamics : Unrolled
Randomized Smoothing via Bernoulli Noise
Experimental Results: Certified Accuracy and Robust Accuracy
Proof Sketch
Randomized Smoothing
Cohen, Jeremy, Elan Rosenfeld, and Zico Kolter. "Certified adversarial robustness via randomized smoothing." international conference on machine learning. PMLR, 2019.
Randomized Smoothing
Cohen, Jeremy, Elan Rosenfeld, and Zico Kolter. "Certified adversarial robustness via randomized smoothing." international conference on machine learning. PMLR, 2019.
Randomized Smoothing via Bernoulli Noise
Bhaskar Mukhoty*, Hilal AlQuabeh*, Giulia De Masi, Huan Xiong, and Bin Gu, Certified adversarial robustness for rate encoded spiking neural networks, in The Twelfth International Conference on Learning Representations 2024 [*first co-author]