How does adding Gaussian noise to model inputs during training act as a regularizer?

Quick Overview

Asks why injecting Gaussian noise into training inputs regularizes a model. Tests the derivation for linear regression, the Taylor-expansion argument for nonlinear models, and practical choices such as feature scaling, noise level and training-only use.

How does adding Gaussian noise to model inputs during training act as a regularizer?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

How does adding Gaussian noise to model inputs during training act as a regularizer? ```hint Expand the loss Write the expected squared error of a linear model when each input gets zero-mean noise, and see which terms survive the expectation. ``` ```hint Beyond linear models For a nonlinear model, a Taylor expansion of the output around the clean input shows which property of the learned function the noise penalizes. ``` ### What a Strong Answer Covers - The intuition for why training on perturbed inputs pushes the model toward a smoother function. - The exact result for linear regression and how the noise variance maps to a penalty strength. - The approximate result for nonlinear models and the assumptions behind it. - Practical points: feature scaling, choosing the noise level, applying it only during training, and inputs where Gaussian noise is a poor fit. ### Follow-up Questions - How does the equivalent ridge strength change when the loss is summed over samples instead of averaged? - Why is isotropic Gaussian noise a poor choice for one-hot or count features, and what would you do instead? - How does input noise relate to dropout and to adversarial training? - How would you choose the noise standard deviation?

Overview: Asks why injecting Gaussian noise into training inputs regularizes a model. Tests the derivation for linear regression, the Taylor-expansion argument for nonlinear models, and practical choices such as feature scaling, noise level and training-only use.

Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

How does adding Gaussian noise to model inputs during training act as a regularizer?

What a Strong Answer Covers Guidance

  • The intuition for why training on perturbed inputs pushes the model toward a smoother function.
  • The exact result for linear regression and how the noise variance maps to a penalty strength.
  • The approximate result for nonlinear models and the assumptions behind it.
  • Practical points: feature scaling, choosing the noise level, applying it only during training, and inputs where Gaussian noise is a poor fit.

Follow-up Questions Guidance

  • How does the equivalent ridge strength change when the loss is summed over samples instead of averaged?
  • Why is isotropic Gaussian noise a poor choice for one-hot or count features, and what would you do instead?
  • How does input noise relate to dropout and to adversarial training?
  • How would you choose the noise standard deviation?