Trusted answers to developer questions

Muhammad Nabeel

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

**Rectified Linear Unit (ReLU)** is an activation function in neural networks. It is a popular choice among developers and researchers because it tackles the ** **dead. Therefore, using ReLU may lead to a significant portion of the neural network doing nothing.

Note:You can learn more about this behavior of ReLU here.

Researchers have proposed multiple solutions to this problem. Some of them are mentioned below:

- Leaky ReLU
- Parametric ReLU
- ELU
- SELU

In this Answer, we discuss **Parametric ReLU**.

The mathematical representation of Parametric ReLU is as follows:

Here,

Note:When$\alpha_i$ is equal to zero, the function$f$ behaves like ReLU. Whereas, when$\alpha_i$ is equal to a small number (such as 0.01), the function$f$ behaves like Leaky ReLU.

The above equation can also be represented as follows:

Using Parametric ReLU does not burden the learning of the neural network. This is because the number of extra parameters to learn is equal to the number of channels. This is relatively small compared to the number of weights the model needs to learn. Parametric ReLU gives a considerable rise in the accuracy of a model, unlike Leaky ReLU.

If the coefficient

In this section, we compare Parametric ReLU with the performance of Leaky ReLU.

Leaky ReLU vs Parametric ReLU

Here, we plot Leaky ReLU with

RELATED TAGS

adaptive learning

relu

parametric relu

CONTRIBUTOR

Muhammad Nabeel

Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring

Related Courses