cs.CVOct 21, 2026

Stochastic Nonlinearities Improve Uncertainty Estimation

Authors: Mohammad Sarhangzadeh, Amirreza M. Shebly, Doruk Oner

Organizations: NeuraVision Lab, Bilkent University Ankara, Turkey

Abstract

Reliable uncertainty estimation is important across visual recognition tasks, providing information about the confidence and reliability of model predictions. Many uncertainty estimation methods obtain predictive diversity through mechanisms that can suppress intermediate features, perturb the input, or require substantial additional computation. Stochastic activation functions, where network units randomly select between multiple nonlinearities during a forward pass, have previously been used to improve optimization behavior, mitigate limitations of fixed ReLU activations, and increase output diversity. In this work, we reframe stochastic activation switching as a lightweight mechanism for uncertainty estimation. The proposed method samples between nonlinear activation functions, inducing predictive diversity while keeping intermediate feature pathways active. This enables uncertainty estimation from a single trained model without the training cost of ensembles, task-specific uncertainty heads, or architectural redesign. We evaluate the proposed approach across classification, semantic segmentation, and out-of-distribution detection using convolutional and transformer-based architectures on diverse datasets. Across these settings, stochastic activation switching improves uncertainty quality while preserving competitive primary-task performance, showing that stochastic nonlinearities provide an effective and information-preserving source of predictive variation for visual recognition.

Figures & tables

Explore similar work

CardsList
  1. Activation-Space Uncertainty Quantification for Pretrained Networks

    Feb 16, 2026Richard Bergna, Stefan Depeweg, Sergio Calvo-Ordoñez +3Uncertainty QuantificationUncertainty Calibration

  2. U-SEG: Uncertainty in SEGmentation -- A systematic multi-variable exploration

    May 14, 2026Michael Smith, Frank P. FerrieImage SegmentationPanoptic Segmentation

  3. Revisiting Neural Activation Coverage for Uncertainty Estimation

    Apr 24, 2026Benedikt Franke, Nils Förster, Frank Köster +3Uncertainty Quantification