Why does relu train faster than sigmoid? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Why does relu train faster than sigmoid?

6th May 2020, 3:26 AM
Moses Odhiambo
Moses Odhiambo - avatar
2 Answers
+ 2
Efficiency:Ā ReLu is fasterĀ to computeĀ thanĀ theĀ sigmoidĀ function, and its derivativeĀ is fasterĀ to compute. This makes a significant difference toĀ trainingĀ and inference time for neural networks: only a constant factor, but constantsĀ canĀ matter.
6th May 2020, 6:31 AM
SITHU Nyein
SITHU Nyein - avatar
0
SITHU Nyein does it also have to do with the fact that relu has less noise (deactivates neurons below zero completely, unlike sigmoid)?
6th May 2020, 6:36 AM
Moses Odhiambo
Moses Odhiambo - avatar