Skip to content
nonconvexcard

Why exactly one factor starts at zero

ProofIntermediate⏱ 30 minFine-Tuninginitialisationgradientstationary point

Problem

For W=W0+αrBAW = W_0 + \frac{\alpha}{r}BA:

  1. Derive ∂L/∂A\partial\mathcal L/\partial A and ∂L/∂B\partial\mathcal L/\partial B in terms of G=∂L/∂WG = \partial\mathcal L/\partial W.
  2. Show A=B=0A = B = 0 is a stationary point of the adapter parameters, and that it is not a local minimum in general.
  3. Show that B=0B=0 with AA random is not stationary, and that the first update makes both gradients non-zero.

Write a complete argument. Every inequality you use should be one you could state precisely.

Solution

Opening this before you have a real attempt on paper is the fastest way to feel like you understand something you cannot reproduce.

Related problems

All problems
SolvedProblemFieldTypeDifficultyTime
Adapter parameter countsFine-TuningNumericalFoundation15 min
The cross-entropy gradient is the prediction errorLLMsProofBeginner15 min
Gradient magnitude through a deep chainDeep LearningProofIntermediate30 min
Non-convex gradient descent reaches an approximate stationary pointOptimizationProofIntermediate30 min
The softmax Jacobian as a variance, and saturationDeep LearningProofIntermediate30 min