Convex Bounds on the Softmax Function with Applications to Robustness Verification. Wei, D., Wu, H., Wu, M., Chen, P., Barrett, C., & Farchi, E. In Ruiz, F., Dy, J., & van de Meent, J., editors, Proceedings of The $26^{th}$ International Conference on Artificial Intelligence and Statistics (AISTATS '23), volume 206, of Proceedings of Machine Learning Research, pages 6853–6878, April, 2023. PMLR. Valencia, Spain
Convex Bounds on the Softmax Function with Applications to Robustness Verification [link]Paper  abstract   bibtex   
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.
@InProceedings{WWW+23,
  url       = "https://proceedings.mlr.press/v206/wei23c.html",
  author    = "Wei, Dennis and Wu, Haoze and Wu, Min and Chen, Pin-Yu and Barrett, Clark and Farchi, Eitan",
  title     = "Convex Bounds on the Softmax Function with Applications to Robustness Verification",
  booktitle = "Proceedings of The $26^{th}$ International Conference on Artificial Intelligence and Statistics (AISTATS '23)",
  volume    = "206",
  series    = "Proceedings of Machine Learning Research",
  publisher = "PMLR",
  editor    = "Ruiz, Francisco and Dy, Jennifer and van de Meent, Jan-Willem",
  month     = apr,
  pages     = "6853--6878",
  year      = "2023",
  note      = "Valencia, Spain",
  category  = "Conference Publications",
  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."
}

Downloads: 0