Topic

Machine Learning Architecture

All digests tagged Machine Learning Architecture

The mathematics of AI uncertainty thumbnail

· 44:42

The mathematics of AI uncertainty

The discussion explores the critical role of quantifying uncertainty—a fundamental human trait often missing from current AI models—as key to building truly intelligent and reliable systems. Zoubin Ghahramani argues that for an AI system to make safe decisions in complex real-world scenarios (like self-driving cars or medical diagnosis), it must possess a sense of its own limitations, moving beyond mere 'correctness' to explicit measures of 'confidence.' The mathematical framework for achieving this is Bayesian inference, which allows systems to update beliefs and quantify uncertainty using evidence. Advances in fields like weather forecasting (GenCast) and protein folding (AlphaFold) demonstrate the power of incorporating probabilistic ensembles into deep learning architectures.

Key takeaways

  1. The Necessity of Uncertainty Quantification

    True intelligence requires a system that can represent, update, and utilize its own uncertainty to make decisions under limited perception. This is crucial for safety-critical applications like self-driving cars (0:00 - 7:45).

  2. Distinguishing Types of Uncertainty 12:05

    There are different types of uncertainty: aleatoric (inherent randomness, e.g., a pedestrian turning) and epistemic (uncertainty in the model's knowledge due to lack of data/experience, e.g., an unseen scenario). Systems must be able to differentiate these for appropriate decision-making (7:45 - 9:40).

  3. Bayesian Inference as a Model for Learning 16:10

    Bayes' rule provides a formal, mathematically rigorous way to update prior beliefs into posterior beliefs when new evidence is observed. This process models both human perception and continuous learning (16:10 - 23:00).

  4. Architectural Improvements for Reliability

    Modern AI systems, particularly LLMs, often lack explicit probabilistic representation of confidence; they are 'overconfident' when wrong. Incorporating uncertainty through techniques like ensemble forecasting (GenCast) or visualizing prediction variance (AlphaFold) is essential for building trustworthy AGI (35:00 - 42:00).

Watch on YouTube Full article

Adaption Labs: Gradient-Free Continual Learning — Sara Hooker, Adaption thumbnail

· 20:51

Adaption Labs: Gradient-Free Continual Learning — Sara Hooker, Adaption

The talk argues that the frontier of AI development is shifting away from relying solely on massive, co-located pre-training compute (the 'Death of Scaling'). Instead, democratization and innovation are being driven by automating model training loops and optimizing for distributed, post-training customization. The speaker introduces AutoScientist, a system designed to co-optimize the entire model lifecycle—from data quality through alignment—allowing builders to achieve frontier capabilities with greater efficiency and accessibility.

Key takeaways

  1. The Narrow Path of AI Research 2:36

    Historically, contributing to AI breakthroughs required following a narrow path (right PhD, right lab), which was compounded by the need for enormous compute resources. This has created significant barriers to entry globally.

  2. AutoScientist Automates Model Training 10:45

    The system automates model training by co-optimizing the entire loop (data $ ightarrow$ alignment). It is designed to self-evolve based on domain and data type, outperforming research staff because it searches across a broader space of architectures (dense vs. Mixture of Experts) than human researchers typically consider.

  3. Shifting Compute Paradigms 17:12

    Pre-training size is no longer the most rewarding axis for scale; instead, distributed inference compute and post-training customization are becoming more lucrative. This shift means that algorithms and recipes matter more than simply hoarding GPUs.

Watch on YouTube Full article

Building AI That Learns and Adapts: A Case Study in MRI Diagnostics - Agata Chudzińska thumbnail

· 48:41

Building AI That Learns and Adapts: A Case Study in MRI Diagnostics - Agata Chudzińska

This technical talk explores Continual Learning (CL), positioning it as a critical missing piece for building robust, adaptive AI systems. Using a case study in MRI diagnostics for detecting Focal Cortical Dysplasias (FCDs) in epilepsy patients, the speaker details how CL techniques mitigate issues like data drift and catastrophic forgetting. The presentation covers advanced ML architectures (Encoder-Decoder), preprocessing steps (e.g., segmentation, Junction/Extension filters), and three main CL methods: regularization-based, memory-based, and architecture-based. The goal is to enable models to adapt continuously in privacy-sensitive environments without requiring full retraining.

Key takeaways

  1. Continual Learning (CL) addresses core ML deployment challenges. 3:30

    CL allows AI models to learn and adapt over time from new data streams without forgetting previously acquired knowledge, solving issues like catastrophic forgetting and data drift. This is crucial for high-stakes fields like medicine.

  2. Medical imaging requires specialized preprocessing and architectures. 6:50

    For FCD detection from MRI scans, the process involves brain tissue segmentation and applying feature enhancement filters (e.g., Junction and Extension) before feeding data into an Encoder-Decoder variant of a neural network architecture.

  3. CL methods offer solutions for resource constraints. 10:05

    Instead of retraining from scratch (which is costly, time-consuming, and raises privacy concerns), CL utilizes regularization-based, memory-based, or architecture-based approaches to maintain performance while adapting to new tasks.

  4. The future of AI requires continuous adaptation. 20:05

    The speaker emphasizes that CL is not just a 'nice to have' feature but a strategic architectural choice for any production-level ML system dealing with evolving data and strict privacy requirements.

Watch on YouTube Full article

Doors of (AI)pportunity: The Front and Backdoors of LLMs - Kasimir Schulz & Kenneth Yeung thumbnail

· 53:25

Doors of (AI)pportunity: The Front and Backdoors of LLMs - Kasimir Schulz & Kenneth Yeung

The talk provides an advanced deep dive into LLM security vulnerabilities, moving beyond simple prompt injection attacks. Speakers demonstrate sophisticated methods including Knowledge Return Oriented Prompting (KROP), Policy Puppetry, and direct manipulation of the model's computational graph to implant backdoors. The discussion highlights that even seemingly safe formats (like ONNX) can be exploited if the underlying architecture is compromised, posing significant supply chain risks for AI-driven applications.

Key takeaways

  1. Multiple Layers of Defense are Required 35:35

    System prompts alone are insufficient protection. Developers must implement multiple layers of defense to mitigate attacks, as demonstrated by the failure of simple system prompt rules against advanced exploits.

  2. Indirect Prompt Injection is a Major Threat 43:25

    Attacks do not require direct user interaction. Compromise can occur through injected text in external sources like customer reviews, emails (especially those processed by Retrieval Augmented Generation/RAG systems), or calendar invites.

  3. Model Backdoors are Difficult to Detect 50:15

    Backdoors can be implanted into the computational graph of a model (e.g., changing an animal classification logic based on a specific color trigger). These backdoors can remain dormant until a precise trigger condition is met, making them highly effective and difficult to detect.

Watch on YouTube Full article