The Modern Mathematics of Deep Learningexplained for non-mathematicians

Concept library

Optional explanations and runnable JavaScript examples for 506 concepts. The book does not require coding.

How the concepts connect

One penguin project connects the learning flow; tools and theory branch from it.

Learning flow

Collect examples Prepare inputs Make predictions Score mistakes Adjust the rule

Known targets also go to the objective. Updated parameters return to the rule. Evaluation applies the same chosen rule to separate new data. Check new examples

Tools, theory and applications

Math tools · Understand limits · Apply to science

Follow the shared worked example →

Collect examples

Record inputs and known answers or describe how examples are sampled.

Observations and sampling

Prepare inputs

Turn inputs into features or signal representations.

Features · Frames and sparse signals · Signal transformations

Make predictions

Describe rules and parameters that produce outputs.

Prediction rules and layers · Convolution · Batch normalization · Recurrent updates · Residual networks · Pruning

Score mistakes

Define losses and criteria for comparing candidate rules.

Individual losses · Objectives

Adjust the rule

Select a rule or update its parameters.

Learning and parameter updates · Initialization

Check new examples

Assess predictions using examples or a probability law.

Risk and assessment

Math tools

Use mathematical operations and notation.

Sets and notation · Vectors and matrices · Norms and distances · Probability and expectation · Functions and derivatives

Understand limits

Study statements, assumptions and bounds.

Generalization and risk bounds · Approximation and depth · Optimization theory · Kernels and linearization · Source assumptions and notation · Model classes and structure · Local structure

Apply to science

Describe scientific problems and mathematical models.

Inverse problems · PDE and stochastic processes · Quantum models

Browse by question or use

Collect examples

Observations and sampling

Describe examples, targets and samples.

Inputs or assumptions
Observations or a sampling law
Outputs or conclusions
Examples, labels or samples

Prepare inputs

Features

Transform inputs into features used by a rule.

Inputs or assumptions
Inputs and a feature map
Outputs or conclusions
Feature values

Prepare inputs

Frames and sparse signals

Encode or reconstruct signals with frames and dictionaries.

Inputs or assumptions
Signals, frames or dictionaries
Outputs or conclusions
Coefficients or reconstructed signals
Related groups

Prepare inputs

Signal transformations

Study signal transforms, scattering and their properties.

Inputs or assumptions
Signals, transforms and assumptions
Outputs or conclusions
Transformed signals or statements about them
Related groups

Make predictions

Prediction rules and layers

Describe or apply prediction rules, layers and parameters.

Inputs or assumptions
Inputs, parameters and a rule
Outputs or conclusions
Predictions, layer values or model descriptors

Make predictions

Convolution

Describe shared filters and downsampling.

Inputs or assumptions
Signals, filters and grid settings
Outputs or conclusions
Transformed signals or layer descriptions
Related groups

Make predictions

Batch normalization

Describe batch normalization and its derivatives.

Inputs or assumptions
Batch values and normalization parameters
Outputs or conclusions
Normalized values or derivative relations
Related groups

Make predictions

Recurrent updates

Update a state using successive inputs.

Inputs or assumptions
Previous state and next input
Outputs or conclusions
Next state
Related groups

Make predictions

Residual networks

Describe residual layer updates and their continuous analogue.

Inputs or assumptions
Layer states, parameters or evolution assumptions
Outputs or conclusions
Layer states or evolution relations
Related groups

Make predictions

Pruning

Describe removal of network weights and related error bounds.

Inputs or assumptions
A network, selection or bound assumptions
Outputs or conclusions
A pruned network or an error bound
Related groups

Score mistakes

Individual losses

Give one observed example a loss score.

Inputs or assumptions
A prediction or density, and an observed answer or example
Outputs or conclusions
A loss value

Score mistakes

Objectives

Combine losses and penalties into a criterion for parameters or rules.

Inputs or assumptions
Losses, parameters and criterion settings
Outputs or conclusions
A scalar criterion

Adjust the rule

Learning and parameter updates

Select a rule or update parameters using a learning rule.

Inputs or assumptions
Training examples or an objective, plus a learning or update rule
Outputs or conclusions
Selected prediction rules or updated parameters

Adjust the rule

Initialization

Describe initial parameters and their distributions.

Inputs or assumptions
Architecture and initialization settings
Outputs or conclusions
Initial values or descriptions of their distribution

Check new examples

Risk and assessment

Distinguish loss on a sample from expected loss.

Inputs or assumptions
Predictions or a rule, and evaluation examples or probabilities
Outputs or conclusions
Risk, sample loss or classification margins

Math tools

Sets and notation

Describe domains, indices and membership.

Inputs or assumptions
Sets and symbols
Outputs or conclusions
Membership and index relations

Math tools

Vectors and matrices

Combine numbers using vector and matrix operations.

Inputs or assumptions
Numbers, vectors or matrices
Outputs or conclusions
Computed vectors or scalars

Math tools

Norms and distances

Measure size or difference in a specified space.

Inputs or assumptions
Vectors, functions or a metric
Outputs or conclusions
A norm or distance
Related groups

Math tools

Probability and expectation

Describe random variables and their averages under a law.

Inputs or assumptions
A probability law and random variables
Outputs or conclusions
Probabilities, expectations or variance

Math tools

Functions and derivatives

Describe maps and how their outputs change.

Inputs or assumptions
A function and its arguments
Outputs or conclusions
Values or derivatives

Understand limits

Generalization and risk bounds

Relate sample behavior to population risk under stated assumptions.

Inputs or assumptions
A function class, sampling assumptions and bound parameters
Outputs or conclusions
Risk comparisons or bounds
Related groups

Understand limits

Approximation and depth

Study approximation error and network size under stated conditions.

Inputs or assumptions
Target functions, network classes and assumptions
Outputs or conclusions
Approximation statements or bounds

Understand limits

Optimization theory

Study convergence and loss geometry under assumptions.

Inputs or assumptions
An objective, update rule and assumptions
Outputs or conclusions
Convergence or geometry statements
Related groups

Understand limits

Kernels and linearization

Relate parameter gradients or features to kernel matrices.

Inputs or assumptions
Features or parameter gradients
Outputs or conclusions
Kernel values or matrix relations
Related groups

Understand limits

Source assumptions and notation

Interpret symbols and assumptions in a source statement.

Inputs or assumptions
Symbols and assumptions in a source statement
Outputs or conclusions
Interpretation of the statement, not model data

Understand limits

Model classes and structure

Describe families of rules, their size and structural properties.

Inputs or assumptions
A rule family and structural assumptions
Outputs or conclusions
Class descriptions, counts or structural statements

Understand limits

Local structure

Describe charts, local coordinates and localization.

Inputs or assumptions
A domain, charts and assumptions
Outputs or conclusions
Local descriptions or structural statements
Related groups

Apply to science

Inverse problems

Describe reconstruction from observations using a forward operator.

Inputs or assumptions
Observations, a forward operator and a candidate
Outputs or conclusions
A reconstruction or mismatch criterion
Related groups

Apply to science

PDE and stochastic processes

Describe differential equations and stochastic representations.

Inputs or assumptions
Equations, initial data and process assumptions
Outputs or conclusions
Solutions, samples or mathematical relations
Related groups

Apply to science

Quantum models

Describe wavefunctions, particle coordinates and energy relations.

Inputs or assumptions
Particle configurations, wavefunctions and operators
Outputs or conclusions
Features, energies or mathematical relations
Related groups

Source formulas · Glossary · JavaScript basics

An independent educational explanation of The Modern Mathematics of Deep Learning — Julius Berner, Philipp Grohs, Gitta Kutyniok, Philipp Petersen. Examples use invented numbers unless a measured dataset is credited.