March 26, 2024, 3:07 p.m. | /u/1nyouendo

Deep Learning www.reddit.com

Hi,

At the risk of groans of "not another ReLu activation function variant", I thought I'd share a simple trick to make the (Leaky)ReLu better behaved, in particular to address criticism about the (Leaky)ReLu not being zero-centred.

The simple trick is to offset the (Leaky)ReLu unit by the expectation of the output under a zero-mean normally distributed input:

Zero Mean Leaky ReLu:

y(x) = max(x, a\*x) - k

k=((1 - a)\*s)/sqrt(2\*pi)

y' = a, for y<-k, 1 otherwise

The resulting …

deeplearning function mean normally relu risk simple thought trick

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US