What is a max-norm constraint on weight vectors?

Quick Overview

Asks what a max-norm constraint on a neural network's weight vectors is and how it is applied during training. Tests whether you understand per-unit norm projection, how a hard cap differs from an L2 penalty or weight decay, and why it pairs with dropout and large learning rates.

What is a max-norm constraint on weight vectors?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What is a max-norm constraint on weight vectors? Explain how it is enforced while a neural network trains and how it differs from an L2 penalty. ```hint Picture the allowed region Think of the allowed weight vectors as a ball of fixed radius, and ask what should happen to a vector that a gradient step pushes outside it. ``` ### What a Strong Answer Covers - Which quantity is capped, and at what granularity within a layer. - How the constraint is enforced during training. - How it differs from an L2 penalty or weight decay. - Why it helps, including its pairing with dropout and large learning rates. - How to choose the cap and what happens when it is set badly. ### Follow-up Questions - Which axis would you constrain for a dense layer, and for a convolution kernel? - Why does a max-norm constraint let you train with a larger learning rate than you otherwise could? - Would you still add max-norm to a layer whose output goes straight into batch normalization? - How does a max-norm constraint differ from gradient clipping?

Overview: Asks what a max-norm constraint on a neural network's weight vectors is and how it is applied during training. Tests whether you understand per-unit norm projection, how a hard cap differs from an L2 penalty or weight decay, and why it pairs with dropout and large learning rates.

General logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

What is a max-norm constraint on weight vectors? Explain how it is enforced while a neural network trains and how it differs from an L2 penalty.

What a Strong Answer Covers Guidance

  • Which quantity is capped, and at what granularity within a layer.
  • How the constraint is enforced during training.
  • How it differs from an L2 penalty or weight decay.
  • Why it helps, including its pairing with dropout and large learning rates.
  • How to choose the cap and what happens when it is set badly.

Follow-up Questions Guidance

  • Which axis would you constrain for a dense layer, and for a convolution kernel?
  • Why does a max-norm constraint let you train with a larger learning rate than you otherwise could?
  • Would you still add max-norm to a layer whose output goes straight into batch normalization?
  • How does a max-norm constraint differ from gradient clipping?