At a setting of a two-knob machine the gradient of the loss is . Four arrows are offered as the next move: A , B , C , D . Which arrow is a descent direction?
Worked solution
The test from section 17.1 is the inner product . Compute it for each arrow: Only A scores below zero, so only A is a descent direction. The other three make an acute angle with the gradient and increase the loss to first order. The size of the score is not the step: A says the loss falls at rate 1 per unit of travel, and the step length is chosen separately. B, C and D are not downhill at this setting even though D is the longest arrow; length does not decide direction.