Tropical Decision Boundaries for Neural Networks Are Robust Against Adversarial Attacks
Kurt Pasque, Christopher Teska, Ruriko Yoshida, Keiji Miura, Jefferson Huang
TL;DR
Neural networks remain vulnerable to adversarial perturbations, motivating defenses that preserve accuracy without excessive computation. The authors propose a tropical CNN that embeds inputs in the tropical projective torus and uses a tropical last-layer decision boundary, where each class is represented by a Fermat-Weber point and scores are $d_{tr}$ distances followed by a softmin. They provide a geometric analysis showing the decision boundary of the tropical network lies on tropical balls and their intersections, and validate robustness across MNIST, SVHN, and CIFAR-10 against attacks such as PGD, CW, and SPSA, while maintaining competitive accuracy and training efficiency. Overall, the approach offers a principled, low-overhead path to adversarial robustness by leveraging max-plus algebra and tropical geometry to shape decision regions.
Abstract
We introduce a simple, easy to implement, and computationally efficient tropical convolutional neural network architecture that is robust against adversarial attacks. We exploit the tropical nature of piece-wise linear neural networks by embedding the data in the tropical projective torus in a single hidden layer which can be added to any model. We study the geometry of its decision boundary theoretically and show its robustness against adversarial attacks on image datasets using computational experiments.
