Stuck At Zero

A hidden unit computes

h=max⁡(0,  w⊤x+b)h = \max(0,; w^\top x + b)

Partway through training the bias has drifted to b=−6b = -6, and across the whole current minibatch w⊤xw^\top x falls in [−2,2][-2, 2].

What happens to ww and bb for this unit on the next gradient step?

A

The unit outputs a small negative value rather than exactly 0, and that value carries the gradient that lets it recover.

B

Nothing: the pre-activation is negative for every example, so ∂h/∂(w⊤x+b)=0\partial h / \partial(w^\top x + b) = 0, the gradient reaching ww and bb is exactly zero, and the unit stays dead unless another path changes its inputs.

C

They move a little: the gradient is small but nonzero on the flat side, so the unit recovers slowly over many steps.

D

They receive the full upstream gradient, because the rectifier passes gradient through unchanged and only scales the forward value.