## 1. Introduction

In this tutorial, we’ll go through the maxout, a widely used extension of the ReLU activation function employed in deep learning. We’ll present its mathematical methodology, illustrate it with a concrete example, and discuss its primary advantages and constraints.

## 2. What Is Maxout?

In an effort to develop a more reliable activation function than ReLU that improves the neural network‘s performance, Ian Goodfellow first proposed the maxout activation function in the paper “Maxout Networks” in 2013. **The authors of the study develop an activation that utilizes multiple ReLu activation functions over the input and take the maximum values among them as the output**.

The mathematical approach of the Maxout is defined as:

(1)

where is the input, , and are the weights and biases of the ReLU activation functions.

It should be noted that the network learns the weight and bias values throughout the training phase by employing a method termed backpropagation. **A hyperparameter called must also be learned and set before the training process can start**. The choice of is crucial in the architecture of the neural network since it determines the complexity of the network as well. Also, a model with a higher is able to acquire more input data features, but there is always the risk of overfitting.

## 3. Example of Maxout Algorithm

Let’s say we have an input vector . We’ll apply ReLU activation functions. Also, suppose that

, and , .

The ReLU function replaces any negative values of the above dot product:

and

To take the maxout output, we apply the max function over and .

.

Note that in real-world applications, the size of , , and are of larger dimensions and mainly depend on the complexity of the problem and the deep learning architecture.

## 4. Advantages and Disadvantages

Maxout activation comes with some benefits and some limitations as well. **First of all, the addition of maxout as the activation function allows the network to learn multiple features of the input, and therefore the overall efficiency is improved**. Moreover, maxout provides more robustness and generalization on the model, while its complexity can be controlled with the hyperparameter.

On the other hand, maxout is computationally expensive due to the application of multiple ReLU activation functions. Another limitation is the hyperparameter tuning of the network. **The selection of is time and computationally demanding**. Lastly, the interpretability of the network is reduced. As the complexity of the model increased, it became difficult to debug and understand how deeper variables of the network work and make predictions.

## 5. Conclusion

The choice of the activation function relies on the task and the design of the particular problem, despite the fact that maxing out has a number of benefits.

In this tutorial, we introduced the maxout activation function, discussed an example, and analyzed its main advantages and disadvantages.