Channel-Adaptive Typical-Set Elastic Scaling for Out-of-Distribution Detection
Abstract
Heterogeneous channel responses and uncontrolled elastic scaling can make out-of-distribution (OOD) scores unreliable: channels deviate from in-distribution (ID) statistics in different ways, and multiplicative normalization may reorder rather than improve the resulting scores. We address these problems with Channel-Adaptive Typical-Set Elastic Scaling (CTES). CTES estimates per-channel ID location and scale from final pre-global-average-pooling feature maps, constructs asymmetric typical sets, applies smooth spatial attenuation, and fuses the attenuation with a standardized channel-mean deviation. The resulting sample-dependent factor modulates the energy score according to channel-specific departures from the ID typical sets. Standard-deviation and maximum variants use ID-estimated affine normalization and clipping, while the mean variant retains the raw factor. The accompanying analysis explains how rescaling, affine intercepts, and clipping affect score rankings. Experiments on CIFAR-10 and CIFAR-100 with ResNet-18 and DenseNet-101, and on ImageNet-1K with ResNet-34, ResNet-50, MobileNet-v2, and DenseNet-121, show that CTES consistently improves both FPR95 and AUROC relative to ITP, DICE, and other post-hoc baselines in the majority of backbone and dataset configurations, while requiring no retraining and only a small additional inference cost. The remaining configurations expose architecture-dependent limits, which we analyze together with the interplay between elastic scaling and activation truncation.
Related articles
Related articles are currently not available for this article.