Practice free →
HomeClaudeaifoundationsmlp_and_activations › Why has ReLU largely replaced sigmoid in hidden …

Why has ReLU largely replaced sigmoid in hidden layers?

AReLU runs faster on specialised TPU hardware
BReLU has better behaved gradients during training
CReLU is provably mathematically more expressive
DReLU is required by most modern frameworks
Answer & Solution
Correct answer: B. ReLU has better behaved gradients during training
ReLU's derivative is 0 or 1, mitigating the vanishing gradients that plagued sigmoid networks. Sigmoid's gradient peaks at 0.25 and dies as inputs move from zero.
Solve this in the app — Claude practice & 24k+ MCQs →
Related questions