Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Principle:Tensorflow Tfjs Noise Regularization

From Leeroopedia


Knowledge Sources
Domains Deep_Learning, Regularization
Last Updated 2026-02-10 06:00 GMT

Overview

Regularization technique that adds random noise to layer activations during training to prevent overfitting and improve model robustness.

Description

Noise layers inject stochasticity into the forward pass during training, forcing the network to learn more robust representations that are invariant to small perturbations. TensorFlow.js implements:

  • GaussianNoise: Adds zero-mean Gaussian noise with configurable standard deviation
  • GaussianDropout: Multiplies activations by random values drawn from a Gaussian with mean 1
  • AlphaDropout: Specialized dropout for SELU-activated networks that maintains self-normalizing properties

All noise layers are active only during training and pass data through unchanged during inference.

Usage

Use noise layers as an alternative or complement to standard Dropout for regularization. GaussianNoise is effective when inputs are continuous-valued. AlphaDropout should be used specifically with SELU activations to maintain the self-normalizing property.

Theoretical Basis

y=x+ϵ,ϵ𝒩(0,σ2)(GaussianNoise)

y=xϵ,ϵ𝒩(1,p1p)(GaussianDropout)

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment