Neural Ninjas ยท Deep Learning Lab

Weight Initialization: Field, Forest, Jungle, Barren Land

Same soil, same seed count โ€” the only thing that changes is the initialization formula. Watch what actually grows.

๐ŸŒพ Xavier / Glorot โ€” the wheat field
Even spacing, uniform height โ€” variance balanced for tanh/sigmoid
std = โˆš(2 / (fan_in + fan_out)) = โˆš(2/128) โ‰ˆ 0.125
โ€”
Why it matters

Every stalk lands in a tight, similar range. Signal variance stays roughly constant layer to layer โ€” nothing explodes, nothing vanishes.