Probabilistic ML - 17 - Deep Learning

· Source: Tübingen Machine Learning - YouTube · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics, Mathematics & Computational Sciences · Depth: Advanced, extended

Summary

The content defines deep learning as a differentiable program and links its training to Bayesian inference, where loss functions are log-likelihoods and regularizers are log-priors, leading to a Maximum A Posteriori (MAP) estimate. It highlights deep learning's advantages, such as O(1) training complexity through mini-batching, array-centric programming (SIMD), and the economic benefit of proprietary models. Conversely, it identifies key disadvantages, including challenges in quantifying uncertainty, enabling continual learning without catastrophic forgetting, and selectively deleting data. The central argument is that any deep neural network can be conceptualized as a Gaussian Process by training the network, linearizing it around the trained weights, applying a Laplace approximation to the loss function for a Gaussian posterior over parameters, and then pushing this measure to function space, yielding a Laplace Tangent Kernel. The LLAX library is introduced as a tool to implement this framework, offering a method to imbue deep networks with probabilistic functionality.

Key takeaway

For AI Scientists and Machine Learning Engineers building foundation models, you should consider integrating Laplace approximations to imbue deep neural networks with crucial probabilistic capabilities. This approach allows for quantifying uncertainty, enabling continual learning without catastrophic forgetting, and even implementing data deletion, addressing critical limitations of current deep learning paradigms. Explore libraries like LLAX to leverage existing trained models and enhance their robustness and interpretability.

Key insights

Deep neural networks can be reinterpreted as Gaussian Processes, enabling probabilistic functionality like uncertainty quantification and continual learning.

Principles

Method

The proposed method involves four steps: 1) Train the neural network to find optimal weights. 2) Linearize the network around these trained weights. 3) Apply Laplace approximation to the loss for a Gaussian posterior over parameters. 4) Push this measure to function space to derive a Gaussian Process.

In practice

Topics

Best for: AI Scientist, Machine Learning Engineer, AI Student

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Tübingen Machine Learning - YouTube.