Skip to content
ml-recall

#gradient-noise

2 questions from Optimization & Calculus

Timed test

2 questions · 2 min · score and explanations at the end

Take a test
Q 1 / 2Score 0 / 0

Question 1: Short answer

mediumAI-checkedOptimization & Calculus

For f(x)=x12+2x22f(\mathbf{x}) = x_1^2 + 2x_2^2, take the per-example loss f(x,w)=(x1−w1)2+2(x2−w2)2f(\mathbf{x}, \mathbf{w}) = (x_1 - w_1)^2 + 2(x_2 - w_2)^2 with w∼N(0,I)\mathbf{w} \sim \mathcal{N}(\mathbf{0}, I). Its gradient ∇xf(x,w)\nabla_{\mathbf{x}} f(\mathbf{x}, \mathbf{w}) is ∇f(x)\nabla f(\mathbf{x}) plus zero-mean Gaussian noise, and Ew[f(x,w)]=x12+2x22+cE_{\mathbf{w}}[f(\mathbf{x}, \mathbf{w})] = x_1^2 + 2x_2^2 + c. What is cc?

a number