paper-with-me

Papers

Convex Bounds on the Softmax Function with Applications to Robustness Verification

2023-03-03 · Dennis Wei, Haoze Wu, Min Wu, Pin-Yu Chen, Clark Barrett, Eitan Farchi

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.

📄 PDF Abstract BibTeX arXiv:2303.01713

Code (1)

neuralnetworkverification/bounding-softmax 공식 구현 tf

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Box-Constrained Softmax Function and Its Application for Post-Hoc Calibration

2025-06-12 · Kyohei Atarashi, Satoshi Oyama, Hiromi Arai, Hisashi Kashima

Controlling the output probabilities of softmax-based models is a common problem in modern machine learning. Although the $\mathrm{Softmax}$ function provides soft control via its temperature parameter, it lacks the abil…

Decision Making

Cross-Entropy Loss Functions: Theoretical Analysis and Applications

2023-04-14 · Anqi Mao, Mehryar Mohri, Yutao Zhong

Cross-entropy is a widely used loss function in applications. It coincides with the logistic loss applied to the outputs of a neural network, when the softmax is used. But, what guarantees can we rely on when using cross…

Adversarial Robustness

A frequency-domain analysis of inexact gradient methods

2019-12-31 · Oran Gannot

We study robustness properties of some iterative gradient-based methods for strongly convex functions, as well as for the larger class of functions with sector-bounded gradients, under a relative error model. Proofs of t…

Vertex-Softmax: Tight Transformer Verification via Exact Softmax Optimization

2026-05-08 · Navid Rezazadeh, Arash Gholami Davoodi arxiv

Certified verification of transformer attention requires bounding the softmax function over interval constraints on the pre-softmax scores. Existing verifiers relax softmax ndependently of the downstream objective, leavi…

Efficient and Accurate Estimation of Lipschitz Constants for Deep Neural Networks

2019-06-12 · NeurIPS 2019 12 · Mahyar Fazlyab, Alexander Robey, Hamed Hassani, Manfred Morari 외

Tight estimation of the Lipschitz constant for deep neural networks (DNNs) is useful in many applications ranging from robustness certification of classifiers to stability analysis of closed-loop systems with reinforceme…

Reinforcement Learning