Maxout Networks

The paper introduced maxout units: learnable piecewise-linear activation blocks that take the maximum over multiple affine responses and pair naturally with dropout.

Metadata

FieldValue
PaperMaxout Networks
AuthorsIan J. Goodfellow, David Warde-Farley, Mehdi Mirza, Aaron Courville, Yoshua Bengio
Year2013
VenueICML 2013
arXiv1302.4389
PMLRProceedings page
Statusfull note started

Question

Dropout randomly masks hidden units during training and can be interpreted as approximate model averaging. But not every activation function is equally suited to that training regime.

The paper asks:

Instead of fixing a scalar nonlinearity such as sigmoid, tanh, or ReLU, maxout lets the model choose the maximum among several learned affine pieces.

Main Claim

A maxout unit computes:

where each piece is affine:

So one unit is:

The architecture claim is:

The training claim is:

Architecture Contract

ItemContract
Inputvector, patch, or feature activation
Unit computationmaximum over affine projections
Outputone scalar per maxout unit
Hyperparameternumber of pieces
Nonlinearitylearned piecewise-linear convex function
Pairingdesigned to work well with dropout
Main costmore affine projections than a standard ReLU unit

In tensor form, a linear layer that would normally produce:

instead produces:

and reduces over the piece axis:

This is why maxout is both an activation and a small architectural block.

Relation To ReLU

ReLU is:

This can be viewed as a max over two fixed affine functions:

Maxout generalizes this:

UnitPiecesLearned Pieces?Shape
ReLU and partly fixedconvex piecewise-linear
absolute value and fixedconvex piecewise-linear
maxout affine functionsyeslearned convex piecewise-linear

This means maxout can implement ReLU-like behavior, absolute-value-like behavior, or a richer learned convex activation.

Piecewise-Linear View

For one-dimensional intuition:

The active piece is:

The gradient follows the selected piece:

except at boundaries where multiple pieces tie.

For high-dimensional inputs, each maxout unit partitions input space into regions where different affine pieces are active. This makes the unit behave like a learned local expert selector.

Relation To Dropout

Dropout masks activations during training:

Maxout was designed as a companion to this procedure. The paper argues that the max over affine pieces works well with dropout’s approximate model averaging because the unit remains a simple piecewise-linear function under many masked subnetworks.

The useful reading distinction:

ComponentRole
dropoutregularizes by sampling subnetworks during training
maxoutprovides flexible learned activation units
maxout + dropoutcombines flexible units with strong regularized model averaging

So maxout should not be read as just “another activation.” It was proposed together with a training/regularization story.

Relation To Network In Network

Network In Network replaces local linear convolutional filters with local micro-networks. Maxout is another way to make local units more expressive:

DirectionMechanism
Maxoutone unit chooses among multiple affine pieces
Network In Networkeach local patch is processed by an MLP-like micro-network
Inceptionmultiple local transformations are computed in parallel branches

All three ask how to make local transformations richer than one linear filter plus one fixed nonlinearity.

Capacity And Cost

A standard dense layer with output width uses:

A maxout layer with pieces uses:

Parameter and compute cost scale roughly with before the max reduction.

The output width after maxout is still :

So maxout trades more candidate affine pieces for a fixed number of output units.

Evidence To Read Carefully

The paper reports state-of-the-art classification performance at the time on MNIST, CIFAR-10, CIFAR-100, and SVHN using maxout with dropout.

For architecture reading, split the claims:

ClaimEvidence TypeCaution
Maxout works well with dropoutbenchmark results with dropout-trained maxout networksimprovement depends on the regularization recipe
Learned activations are expressivemax over affine pieces can represent convex piecewise-linear functionsone maxout unit alone represents convex functions; richer functions require combinations
Maxout can compete with rectifier unitscomparisons to rectifier-style networksparameter count and hyperparameter tuning must be compared carefully

The durable lesson is that activation choice can be an architectural capacity decision, not merely a scalar function choice.

Failure Modes

Failure ModeMechanismPractical Check
Parameter inflation affine pieces per unitcompare matched parameter budgets
Over-crediting activationgains may come from dropout, preprocessing, or model sizeseparate ablations
Non-sparse representationmaxout outputs are not inherently sparse like ReLU activationsinspect activation distributions
Piece collapsesome affine pieces may rarely winmonitor active-piece frequencies
Hardware inefficiencyextra projection dimension and max reduction may be less convenient than ReLU/GELUcheck kernel and tensor layout

Where It Fits

AxisPlacement
Architecture familyfeed-forward activation/block
Core primitivemax over learned affine pieces
Main conceptActivation function
Regularization partnerDropout concept, Dropout paper
Related local modelingNetwork In Network
Later common alternativesGELU, GLU variants

Practical Checks

When reading a paper that changes the activation or local block, ask:

QuestionWhy It Matters
Is the activation fixed or learned?learned activations add parameters and capacity
Does the comparison match parameter count?maxout multiplies affine projections by
Is the result tied to dropout or another regularizer?activation and training recipe can be inseparable
What is the active path selection rule?maxout chooses a winning affine piece
Does the implementation report kernel cost?simple equations can hide hardware cost