Skip to content
ml-recall

#square-loss

1 question from Optimization & Calculus

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Short answer

hardAI-checkedOptimization & Calculus

A linear predictor W∈Rdout×dinW \in \mathbb{R}^{d_{\text{out}} \times d_{\text{in}}} is fit with the square loss L(W)=12n∑i=1n1dout∥y(i)−Wx(i)∥22,L(W) = \frac{1}{2n}\sum_{i=1}^{n}\frac{1}{d_{\text{out}}}\lVert y^{(i)} - W x^{(i)} \rVert_2^2, where every input is normalized to ∥x(i)∥2=din\lVert x^{(i)} \rVert_2 = \sqrt{d_{\text{in}}}. The bound L(W+ΔW)≤L(W)+tr⁡(G⊤ΔW)+λ2∥ΔW∥2→22L(W + \Delta W) \le L(W) + \operatorname{tr}(G^\top \Delta W) + \tfrac{\lambda}{2}\lVert \Delta W \rVert_{2 \to 2}^2 holds for every ΔW\Delta W, with GG the gradient and ∥⋅∥2→2\lVert\cdot\rVert_{2 \to 2} the spectral norm (the largest singular value). For din=512d_{\text{in}} = 512 and dout=128d_{\text{out}} = 128, what is the smallest λ\lambda this argument gives?

a number