Qlaudia

← All courses

Deep Learning

  • Artificial Intelligence
  • Technology & Computing
  • Mathematics

Multilayered networks learn hierarchical representations automatically from raw data, eliminating the need for hand-engineered features. End-to-end training, architectural inductive biases, and scaling effects distinguish deep learning from classical machine learning approaches.

Sign in to enroll$1044 lessons

What you'll learn

  • Neural Network FundamentalsA parametric function whose behavior is determined by learned numerical weights, enabling differentiable computation that can be composed into complex function approximators.
  • Diffusion ModelsGenerative models that learn to reverse a fixed forward process of noise addition by iteratively refining noise into high-quality samples, currently achieving state-of-the-art results across images, audio, and video.
  • CNN Inductive BiasesStructural assumptions embedded in convolutional neural networks — local connectivity, weight sharing, and translation equivariance — that constrain the hypothesis space and make learning from limited data tractable.
  • Convolutional Neural NetworksA neural network architecture that applies learned filters through spatial convolution using local connectivity and weight sharing to process structured data like images.
  • Representation LearningThe study of how neural networks automatically acquire internal feature spaces that encode meaningful structure from data, where semantically similar inputs map to nearby points in the embedding space.
  • Transformer ArchitectureA neural network built from stacked multi-head self-attention layers and feedforward networks that enables full parallelism and direct modeling of long-range dependencies without recurrence or convolution.
  • Generative Adversarial NetworksA framework for training generative models where a generator network and discriminator network compete in a minimax game until reaching an equilibrium where the generator produces samples indistinguishable from real data.
  • Loss FunctionsA scalar-valued function that quantifies the discrepancy between a model's prediction and the true target, serving as the single objective that gradient descent minimizes.
  • Attention MechanismA neural network primitive that computes a weighted aggregation of values using dynamically determined weights based on query-key similarity, allowing the network to focus on relevant parts of its input at inference time.
  • Message Passing FrameworkA unifying computational paradigm for graph neural networks in which node representations evolve by computing messages from neighbors and aggregating them into updated representations.
  • Gradient Descent VariantsIterative optimization algorithms that move model parameters in the direction of decreasing loss, ranging from full-batch gradient descent to stochastic variants that compute gradients on mini-batches.
  • Regularization TechniquesMethods that constrain or penalize model complexity to improve generalization to unseen data by navigating the bias-variance tradeoff.
  • Generalization and OverparameterizationThe phenomenon where modern deep neural networks achieve good generalization to unseen data despite having far more parameters than training examples, violating classical statistical learning theory.
  • Large Language ModelsAutoregressive transformers trained on massive text corpora with a next-token prediction objective, producing emergent capabilities in reasoning, coding, and instruction-following beyond explicit training.
  • BackpropagationAn algorithm that computes gradients of a loss function with respect to all network parameters in time proportional to a single forward pass by applying the chain rule systematically through a computational graph.
  • Scaling LawsEmpirical power-law relationships showing how test loss of large neural networks decreases predictably with increases in model size, dataset size, and compute budget.
  • Graph Neural NetworksNeural network architectures designed to process non-Euclidean data by performing computations that respect the relational structure of graphs, treating nodes and edges as the fundamental units.
  • Information-Theoretic PerspectivesA mathematical framework using entropy and mutual information to quantify what useful information representations retain about raw data for downstream tasks.
  • Transfer LearningA method that initializes a neural network with weights learned on a large source task and adapts them to a smaller target task, leveraging the premise that useful learned structure transfers across related problems.
  • Transformer Inductive BiasesThe structural assumptions embedded in transformers, primarily permutation equivariance treating input as a set rather than a sequence, that determine what patterns the model can learn easily and where it will struggle.
  • Recurrent Neural NetworksAn architecture that processes sequential data by maintaining and updating a hidden state at each time step, enabling the network to retain information from previous inputs.
  • Deep Learning for Audio and MusicA domain where neural networks process time-series pressure signals at high temporal resolution to solve problems like speech synthesis, music transcription, and style transfer despite challenges posed by long-range dependencies and periodic redundancy.
  • Self-Supervised LearningA paradigm that derives training signals directly from raw unlabeled data by designing pretext tasks whose supervision emerges from the data itself, without requiring human annotation.
  • Batch NormalizationA technique that normalizes layer activations across a mini-batch during training to reduce internal covariate shift and prevent activation saturation, enabling faster and more stable training of deep networks.
  • Reinforcement Learning from Human FeedbackA framework that uses human preference judgments to define a reward signal, trains a model to approximate that reward, and optimizes a language model against it to produce helpful and harmless outputs.
  • Practical Training CraftThe systematic knowledge of diagnostic and intervention strategies for addressing common training failures in neural networks, grounded in understanding how networks learn.
  • State Space ModelsA family of sequence architectures based on linear dynamical systems that achieve linear-time computation while supporting parallelizable training, offering an alternative to RNNs and transformers for modeling long sequences.
  • Geometric Deep LearningA unified mathematical framework for designing neural network architectures based on the symmetries and geometric structure of the data domain, using group theory to explain why different architectures succeed on different data types.
  • Data AugmentationA technique that increases training dataset diversity and model robustness by applying controlled label-preserving transformations to training examples.
  • Optimization at ScaleThe study of how neural network optimization landscapes and training dynamics fundamentally change as model size increases, including phenomena like edge of stability and maximal update parametrization.
  • Distribution ShiftA performance degradation that occurs when a model trained on one data distribution is deployed on a different data distribution, encompassing multiple types of divergence between training and test environments.
  • Conditional GenerationA generative model that learns to produce samples from a conditional distribution p(x|c) where generation is steered by a conditioning signal such as a class label, text prompt, or image.
  • Normalizing FlowsA generative model that constructs an explicit invertible mapping between a simple base distribution and a complex data distribution to compute exact log-likelihoods.
  • Depth vs. Width TradeoffsThe design choice between stacking more layers or adding more neurons per layer, where depth offers exponentially more efficient representational power than width for many functions.
  • Variational AutoencodersA generative model that learns to represent data as distributions in a latent space by combining autoencoder structure with probabilistic inference through gradient descent.
  • LSTMs and Gated RNNsRecurrent neural network variants that use learnable gate mechanisms to explicitly control information flow over time, mitigating the vanishing gradient problem of vanilla RNNs.
  • Fine-Tuning and AdaptationA spectrum of strategies for updating a pretrained model to a new task, ranging from modifying all parameters to adjusting only a small subset, each with different tradeoffs between computational cost and performance.
  • Bayesian Deep LearningA collection of approaches that quantify model uncertainty by treating either network parameters or predictions as probability distributions rather than fixed point values.
  • Loss Landscape GeometryThe shape and structure of the high-dimensional surface defined by loss as a function of parameters, determining where training can succeed, get stuck, or converge.
  • Learning Rate SchedulesStrategies for adjusting the learning rate over the course of training to balance large exploratory steps early on with smaller stabilizing steps near good solutions.
  • Emergent Abilities in LLMsThe sudden appearance of qualitatively new capabilities in language models at larger scales, where abilities like multi-step reasoning arise as unplanned byproducts of scale rather than explicit training.
  • Contrastive LearningA self-supervised representation learning method that learns embeddings by pulling similar examples together and pushing dissimilar examples apart in the embedding space.
  • Double Descent PhenomenonAn empirical and theoretical observation that test error exhibits a non-monotonic pattern with model complexity, decreasing even in the heavily overparameterized regime where classical bias-variance theory predicts overfitting.
  • Universal Approximation TheoryA theoretical result stating that even a single-hidden-layer neural network can approximate any continuous function to arbitrary precision given sufficient width.

About this course

Deep Learning: A Map of the Territory

Deep learning is the subfield of machine learning concerned with training parametric function approximators composed of many layers of learned transformations. That description is deceptively simple. What makes deep learning remarkable — and what distinguishes it sharply from the classical machine learning that preceded it — is not any single algorithm, but a thesis: that the right way to solve hard problems with data is to learn hierarchical representations automatically, rather than to engineer features by hand.

This document is a map of that thesis — where it came from, what it means, how it is realized in practice, and what the open questions are.


The Central Idea: Representation Learning

Classical machine learning is, at its core, a two-stage process. First, a human expert designs features — measurements, transforms, or descriptors that capture what is relevant about raw data. Second, a learning algorithm (logistic regression, an SVM, a random forest) fits a function from those features to outputs. The feature engineering stage is expensive, domain-specific, and often the binding constraint on performance.

Deep learning dissolves this boundary. A deep network takes raw data — pixels, waveforms, tokens — and learns, jointly with the predictive head, the features that are most useful. Each layer in the network computes a new representation of its input, and because layers are stacked, the network can build representations of increasing abstraction: edges give way to shapes, shapes to objects, objects to scenes. This is the hierarchical representation hypothesis, and it is the organizing idea of the field.

The representations learned by deep networks are not designed — they are discovered from data. This is both their power and the source of the deepest open questions about the field: what, precisely, do these representations capture, and why do they generalize?


How Deep Learning Differs from Classical ML

Three distinctions define the gulf between classical and deep approaches:

End-to-end learning. In classical pipelines, the feature extractor and the predictor are trained separately, or not at all (fixed hand-crafted features). In deep learning, every component — from raw input to final output — is differentiable, and gradients flow through the entire system. The loss function shapes not just the final classifier but the representations on which it operates.

Inductive biases from architecture. Classical methods encode domain knowledge through features. Deep networks encode it through architecture: convolutional layers assume spatial locality and translation equivariance; recurrent networks assume temporal ordering; transformers assume pairwise relational structure. Choosing an architecture is choosing a prior over functions.

Scale as a first-class variable. Classical methods typically plateau quickly with more data; their expressiveness is fixed. Deep networks can absorb more data and more compute, and empirically their performance improves predictably as both are scaled up. This scaling behavior — now studied formally through scaling laws — is one of the most consequential empirical findings in the field.


Historical Trajectory

The ideas behind neural networks are old. The perceptron was invented in 1958. Backpropagation was formalized in the 1980s. What changed was not the algorithm — it was the data and the compute.

The first wave (1950s–1980s) established the basic framework: artificial neurons, layered networks, and gradient-based training. The XOR problem revealed the limits of single-layer networks; backpropagation offered a solution for multilayer ones. But training deep networks remained brittle.

The AI winter (1990s) saw interest collapse as SVMs and kernel methods, with better theoretical guarantees and more reliable training, displaced neural approaches. Networks deeper than two or three layers were generally considered untrainable.

The deep learning renaissance (2006–2012) began with Hinton et al.'s work on deep belief networks and restricted Boltzmann machines — layer-by-layer pretraining offered a path to initializing deep networks in a useful part of parameter space. But the decisive moment was 2012: AlexNet won ImageNet by a margin that made the field impossible to ignore. The key ingredients were depth, ReLU activations, dropout, and GPUs — none individually novel, but together transformative.

The modern era (2012–present) has seen a relentless expansion: residual networks enabled training of networks hundreds of layers deep; the attention mechanism and Transformers displaced recurrent architectures for sequential data; self-supervised learning reduced dependence on labeled data; and large language models trained at previously unimaginable scale have produced systems with emergent capabilities that were not anticipated from theory.


Core Components

Any deep learning system has several interlocking components. Understanding them individually is necessary; understanding how they interact is the work of this course.

Components of a Deep Learning System Data raw inputs + labels Architecture inductive biases Loss Function training objective Optimizer gradient-based updates Training Loop forward → loss → backward → update Learned Parameters weights + biases Representations intermediate features

The core components of any deep learning system and how they interact. Data and architecture define the function class; the loss and optimizer determine how parameters are updated; the training loop ties these together into learned parameters and intermediate representations.

Data is the substrate of learning. Deep learning is data-hungry in a qualitatively different way from classical ML: not just more labeled examples, but increasingly, unlabeled data used through self-supervised objectives. Data curation, augmentation, and the distribution from which data is drawn all profoundly shape what a model learns.

Architecture encodes prior knowledge about the structure of the problem. A convolutional network knows that nearby pixels are more related than distant ones. A transformer knows that any input token may be relevant to any other. Architecture design is one of the most consequential engineering decisions in a deep learning project.

Loss function specifies what the model should optimize. Cross-entropy loss for classification; mean squared error for regression; reconstruction loss for autoencoders; contrastive loss for representation learning. The choice of loss determines which properties of the data distribution the model is incentivized to capture.

Optimizer is the algorithm that uses gradients to update parameters. Stochastic gradient descent in its modern forms — Adam, AdaFactor, Lion — navigates the complex high-dimensional landscape of the loss function. Learning rate schedules, momentum, and adaptive step sizes all matter enormously in practice.

Regularization constrains or penalizes the model to prevent overfitting. Dropout, weight decay, batch normalization, data augmentation, and early stopping all play this role, often with theoretical motivations that are only partially understood.


The Theoretical Foundations

Why do deep networks work? This question is harder than it sounds, and the field has not fully answered it.

The universal approximation theorem guarantees that a sufficiently wide network with a nonlinear activation can approximate any continuous function to arbitrary precision. This is reassuring but insufficient: it says nothing about whether the function can be found by gradient descent, or whether it will generalize to unseen data.

Optimization in deep networks is nonconvex, yet in practice gradient descent reliably finds solutions that work. Understanding why requires thinking about the geometry of the loss landscape — the distribution of saddle points versus local minima, the role of overparameterization, and the implicit biases that gradient descent introduces.

Generalization is the deepest open question. Classical learning theory (VC dimension, Rademacher complexity) predicts that models with more parameters than training examples should overfit catastrophically. Deep networks routinely violate this prediction and generalize well. The phenomenon of double descent — where test error decreases again after model capacity passes a critical threshold — has forced a rethinking of the classical bias-variance tradeoff.


A Field with Open Questions

Deep learning in 2025 is a mature engineering discipline with genuinely profound theoretical open questions. We can train language models with hundreds of billions of parameters that exhibit emergent capabilities not predicted from smaller-scale experiments. We do not have a complete theory of why they generalize, what they learn, or how their capabilities scale with compute and data — though scaling laws give us partial empirical answers.

This course treats deep learning as what it is: a coherent field with deep mathematical roots, powerful practical tools, and fundamental questions that remain contested. Your job is not just to learn the tools but to understand the theory behind them, the assumptions those theories make, and where those assumptions break down. That is the only way to be a practitioner who can reason about novel problems rather than one who merely applies recipes.

Every subsequent concept in this course is a piece of this larger picture. The architecture choices, the optimization algorithms, the regularization strategies, the representation learning objectives — they all connect back to the central question: what does a network learn, and why does it work?

Deep Learning — Qlaudia