Convex Bounds on the SoftMax Function with Applications to Robustness Verification
Abstract
The softmax function is a ubiquitous component at the output of neural networks and increasingly in intermediate layers as well. This paper provides convex lower bounds and concave upper bounds on the softmax function, which are compatible with convex optimization formulations for characterizing neural networks and other ML models. We derive bounds using both a natural exponential-reciprocal decomposition of the softmax as well as an alternative decomposition in terms of the log-sum-exp function. The new bounds are provably and/or numerically tighter than linear bounds obtained in previous work on robustness verification of transformers. As illustrations of the utility of the bounds, we apply them to verification of transformers as well as of the robustness of predictive uncertainty estimates of deep ensembles.
Cite
Text
Wei et al. "Convex Bounds on the SoftMax Function with Applications to Robustness Verification." Artificial Intelligence and Statistics, 2023.Markdown
[Wei et al. "Convex Bounds on the SoftMax Function with Applications to Robustness Verification." Artificial Intelligence and Statistics, 2023.](https://mlanthology.org/aistats/2023/wei2023aistats-convex/)BibTeX
@inproceedings{wei2023aistats-convex,
title = {{Convex Bounds on the SoftMax Function with Applications to Robustness Verification}},
author = {Wei, Dennis and Wu, Haoze and Wu, Min and Chen, Pin-Yu and Barrett, Clark and Farchi, Eitan},
booktitle = {Artificial Intelligence and Statistics},
year = {2023},
pages = {6853-6878},
volume = {206},
url = {https://mlanthology.org/aistats/2023/wei2023aistats-convex/}
}