Skip to content
aiqbench takeMachine Learning

aiqbench analysis

The SDM activation function enhances standard softmax by incorporating similarity and distance metrics to improve robustness against covariate shifts and out-of-distribution inputs in selective classification tasks. By enabling interpretability through dense matching and data-driven partitioning of empirical CDFs, this approach offers a more reliable calibration method for pre-trained language models. This research provides a practical advancement for handling distributional changes in real-world deployment scenarios without sacrificing performance on in-distribution data.
Source coveringarXiv
What this isA model's reading of the article and related coverage, written for aiqbench. Not the publisher's words.

Similarity-Distance-Magnitude Activations

arXiv2 min read

arXiv:2509.12760v5 Announce Type: replace Abstract: We introduce the Similarity-Distance-Magnitude (SDM) activation function, a more robust and interpretable formulation of the standard softmax activation function, adding Similarity (i.e., correctly predicted depth-matches into training) awareness and Distance-to-training-distribution awareness to the existing output Magnitude (i.e., decision-boundary) awareness, and enabling interpretability-by-exemplar via dense matching. We further introduce the SDM estimator, based on a data-driven partitioning of the class-wise empirical CDFs via the SDM activation, to control the class- and prediction-conditional accuracy among selective classifications. When used as the final-layer activation over pre-trained language models for selective classification, the SDM estimator is more robust to covariate shifts and out-of-distribution inputs than existing calibration methods using softmax activations, while remaining informative over in-distribution data.

Abstract:We introduce the Similarity-Distance-Magnitude (SDM) activation function, a more robust and interpretable formulation of the standard softmax activation function, adding Similarity (i.e., correctly predicted depth-matches into training) awareness and Distance-to-training-distribution awareness to the existing output Magnitude (i.e., decision-boundary) awareness, and enabling interpretability-by-exemplar via dense matching. We further introduce the SDM estimator, based on a data-driven partitioning of the class-wise empirical CDFs via the SDM activation, to control the class- and prediction-conditional accuracy among selective classifications. When used as the final-layer activation over pre-trained language models for selective classification, the SDM estimator is more robust to covariate shifts and out-of-distribution inputs than existing calibration methods using softmax activations, while remaining informative over in-distribution data.

Accepted to Findings of the Association for Computational Linguistics: ACL 2026. 21 pages, 8 tables, 1 algorithm. arXiv admin note: substantial text overlap with arXiv:2502.20167

Machine Learning (cs.LG); Computation and Language (cs.CL)

arXiv:2509.12760 [cs.LG]

(or arXiv:2509.12760v5 [cs.LG] for this version)

Full text under the publisher's open licence · 153 words

Related coverage