liveBook · Manning

Expressive power

As explained in Inside Deep Learning: Math, Algorithms, Models

The set of functions or behaviors that a model architecture can express.

Expressive power, or capacity, describes how complex a function a neural network can represent. What optimization can learn is no greater than what the model can represent. Adding layers or neurons increases capacity; normalization layers do not. section 6.2.7

Compare model capacity with the problem’s complexity:

  • If capacity is too low, the model underfits. section 6.2.7
  • If training loss falls when data points receive random labels, the model can memorize the dataset, showing it has sufficient capacity for that task. section 6.2.7
  • A model may have enough capacity but still be difficult to train; this can be hard to identify and may become apparent only when optimization improves. section 6.2.7
Figure 6.2 We can think of the complexity of a function as how squiggly and erratic it looks. This diagram shows a very low-complexity function on the left (linear); complexity increases as you move to the right.

Use the diagram’s increasingly erratic functions to compare levels of function complexity. section 6.2.7

Figure 6.3 Three common types of situations that occur when specifying a neural network. Focus on the relative comparisons of complexity, not the exact type shown. The first situation is common when our model is too small. The second and third are both common when we make our model larger, but the third is much harder to reason about. Normalization layers help move us from the bad third to the better second situation.

Compare the three relationships between model capacity and problem complexity, including underfitting and cases that are harder to diagnose. section 6.2.7

How Inside Deep Learning: Math, Algorithms, Models covers it

How deep it goes
Distinguishes representational capacity from what optimization learns, then connects capacity to underfitting and memorization.
Examples
Uses increasingly erratic functions, a catering analogy, and random-label memorization to illustrate capacity.
What you can do after
Evaluate whether a model can memorize a dataset by checking whether training loss falls on randomly labeled data.
How it connects
Connects neural network capacity with optimization, underfitting, overfitting, regularization, and layer normalization.

Also explained in

Compare how 10 books explain expressive power →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Inside Deep Learning: Math, Algorithms, Models. The section links point to the parts of the book it draws on.