NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adaptive Soft Thresholding in Deep Neural Networks

41 concepts31 papers1 proposal

Deep neural networks are remarkably expressive, but they possess a fundamental vulnerability: they are highly prone to propagating and compounding noise. In standard architectures, the primary tool for introducing non-linearity is the Rectified Linear Unit (ReLU). While ReLU successfully zeroes out negative values, it allows any positive signal—including random fluctuations, background clutter, and high-frequency noise—to pass through entirely unattenuated.

In real-world applications like acoustic fault diagnosis, radar imaging, or bio-signal processing, this pass-through behavior causes noise to accumulate across successive layers, degrading the model's performance. To combat this, a powerful paradigm has emerged: Adaptive Soft Thresholding. Instead of relying on static activation cutoffs, networks can integrate learnable, data-dependent "noise gates" directly into their architectures to purify features as they flow through the model.

The Core Mechanism: Soft Thresholding vs. ReLU

To understand why adaptive soft thresholding works, it is helpful to compare it directly to standard rectified activations. A standard ReLU function operates as:

$$\text{ReLU}(x) = \max(0, x)$$

If an input feature contains a mix of true signal and low-amplitude background noise, ReLU blindly preserves the noise as long as it is positive.

In contrast, soft thresholding introduces a threshold parameter, $\tau$. The operator shrinks the input toward zero by the value of $\tau$, completely eliminating any signal that falls within the $[-\tau, \tau]$ window:

$$\text{SoftThreshold}(x) = \text{sgn}(x) \cdot \max(0, |x| - \tau)$$

    Standard ReLU                   Soft Thresholding
        ^                                 ^
        |   /                             |     /
        |  /                              |    /
        | /                               |   /
--------+------>                  --------+--+--->
        |                         -\tau   |  \tau
        |                                 |

This mathematical formulation provides two critical advantages for deep networks:

  1. Symmetric Noise Suppression: Unlike ReLU, which only suppresses negative values, soft thresholding filters out low-amplitude noise regardless of its sign. As noted by Hamdan et al. and Qin et al., preserving both positive and negative components is vital when features carry critical structural or frequency information that standard ReLUs would inadvertently discard.
  2. Differentiability: Soft thresholding is continuous and differentiable, allowing the network to optimize the threshold $\tau$ directly via backpropagation. Nfissi et al. demonstrate that embedding this operator as an activation function allows the network to treat signal denoising as an internal optimization problem during end-to-end training.

The foundational utility of this mechanism is supported by theoretical analysis. Risteski et al. demonstrated that shallow ReLU networks naturally configure themselves as soft-thresholding estimators when optimizing for sparse regression tasks, prioritizing the suppression of non-relevant features over precise boundary approximation. Similarly, in optimization frameworks like Non-negative Matrix Factorization (NMF), Li et al. showed that incorporating a thresholding step serves as a purification mechanism, zeroing out small decoded weights to prevent noise from corrupting subsequent feature refinements.

Learning the Noise Gate Dynamically

In classical signal processing, thresholds were fixed or calculated using rigid statistical heuristics (such as Donoho's universal threshold). The core innovation of modern adaptive thresholding is that the threshold $\tau$ is predicted dynamically by the network itself, adapting in real-time to the noise level of the current input.

This is frequently achieved by combining soft thresholding with attention mechanisms or residual networks, a configuration known as a Deep Residual Shrinkage Network (DRSN).

Input Feature Map ---> [ Global Average Pooling ] ---> [ FC Layer ] ---> [ Sigmoid ] ---> Threshold (\tau)
         |                                                                                  |
         +-----------------------------> [ Soft Thresholding Operator ] <-------------------+
                                                        |
                                                        v
                                              Purified Feature Map

In this pipeline, an internal sub-network examines the incoming feature map, computes its global context, and outputs a specific threshold $\tau$ for each channel or feature.

  • Zhao et al. show that this architecture acts as an automated noise gate, allowing models to dynamically adjust their denoising strategy based on the specific environmental noise present in the input data.
  • Chen et al. and Liu demonstrate that scaling and shrinking feature maps in this manner prevents models from overfitting to volatile background fluctuations, making them highly robust in low signal-to-noise ratio (SNR) environments.
  • Feng et al. and Zhang et al. utilize attention-based modules to automatically learn channel-specific thresholds, ensuring that highly corrupted channels receive aggressive thresholding while clean channels remain untouched.

Thresholding in Transform Domains

While soft thresholding can be applied directly to raw spatial or temporal features, it becomes exceptionally powerful when paired with transform domains (such as the Discrete Cosine Transform (DCT) or Wavelet Transforms).

In the spatial domain, noise and signal are often tangled together. However, when transformed into frequency or wavelet coefficients, the true signal tends to concentrate into a few high-amplitude coefficients, while random noise spreads out as a sea of low-amplitude coefficients.

Spatial Domain (Noisy)       Transform Domain (Sparse)       After Soft Thresholding
       |   |                         ^                               ^
     | | | | |                       |   |                           |   |
     | | | | |                       |   |                           |   |
   | | | | | | |               . . . | . | . . . (\tau)        . . . | . | . . .
   | | | | | | |               | | | | | | | | |                     |   |

By inserting learnable thresholding functions into these transform domains, networks achieve highly efficient filtering:

  • DCT-Domain Filtering: Badawi et al. apply learned soft-thresholding to the DCT coefficients of feature maps to attenuate low-amplitude components, effectively smoothing out sensor drift while preserving underlying trends.
  • Wavelet and Superlet Transforms: Frusque pairs learnable activation thresholds with a wavelet packet transform to adaptively determine noise floors, pruning insignificant coefficients to yield sparse representations. Nfissi et al. expand on this by using an asymmetric thresholding module to sharpen time-frequency representations, filtering out transient noise while preserving critical semantic events.

Architectural Integration and Interpretability

Beyond standalone activation functions, adaptive thresholding principles are being integrated across diverse network components to improve both robustness and interpretability.

Hybrid Activations and Early Layers

Instead of completely replacing standard architectures, some approaches embed thresholding into existing pipelines. For instance, Li et al. introduce a hybrid activation function (LST-Net) that blends soft thresholding with a standard ReLU to automatically suppress low-amplitude noise during the forward pass. This internal clipping behavior mirrors natural adversarial defense mechanisms; an architectural analysis in Adversarial Robustness through the Lens of Convolutional Filters reveals that robustly trained models naturally develop initial layer filters that clip low-magnitude perturbations before they can propagate deeper into the network.

Attention and Feature Purification

In complex spatial data, noise manifests as background clutter. Shao demonstrates that integrating soft thresholding directly into attention modules allows a network to shrink low-magnitude background features toward zero, filtering out heavy electromagnetic clutter while preserving the salient boundaries of target objects. Similarly, Ng et al. achieve noise suppression by applying an element-wise mask to internal representations, using the Hadamard product of static and adaptive filter outputs to selectively attenuate irrelevant features.

Interpretability and Explainability

By forcing the network to explicitly separate signal from noise, adaptive thresholding inherently makes models more interpretable. For example, Jacovi et al. demonstrate that per-filter thresholding behaviors allow text-classification CNNs to discard a large percentage of accidental activations without impacting predictive accuracy.

Furthermore, this explicit filtering can be leveraged to generate cleaner visual explanations. Hu applies an adaptive threshold based on a specific percentile of gradient values to zero out low-magnitude signals before generating Class Activation Maps (CAMs). This suppresses background noise and isolates the exact features driving the network's decisions, proving that selective noise filtering is just as vital as feature extraction.

Key Foundational Work

Representational Power of ReLU Networks and Polynomial Kernels: Beyond Worst-Case Analysis. (2018) — contributed 1 concept elements to this direction.
Recovery Guarantee of Non-negative Matrix Factorization via Alternating Updates (2016) — contributed 1 concept elements to this direction.
Understanding Convolutional Neural Networks for Text Classification (2018) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_adaptive_soft_thresholding_ee4a19ab,
  title = {adaptive soft thresholding},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/adaptive-soft-thresholding/rdr_ee4a19abbdf54cbfb7f3e425f037a4c8},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_adaptive_soft_thresholding_ee4a19ab_v1,
  title = {adaptive soft thresholding},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/adaptive-soft-thresholding/rdr_ee4a19abbdf54cbfb7f3e425f037a4c8/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake