A topic in the Open Knowledge Graph — a free, open map of 15,495 topics and the order to learn them in.

Meta-Learning (Learning to Learn)

Research Depth 111 in the knowledge graph ☐ I know this ☆ Set as goal
782prerequisites beneath it
See this on the map →
Few-Shot LearningNeural Network Fundamentals→
meta-learning learning-to-learn adaptation

Core Idea

Meta-learning trains models to learn quickly from few examples by optimizing for rapid task adaptation. Algorithms like MAML (Model-Agnostic Meta-Learning) discover initializations amenable to fine-tuning on new tasks with minimal gradient steps. This mimics human learning by leveraging prior knowledge for generalization.

Explainer

Standard neural network training optimizes a model for one specific task: classify these images, predict these labels, generate these outputs. But consider how humans learn. After learning to identify dogs, cats, and birds, you can recognize a new animal species from just a few examples — you have learned *how to learn* visual categories, not just the categories themselves. Meta-learning formalizes this idea: instead of training a model to solve one task, you train it across many tasks so that it becomes good at adapting to new ones quickly.

The setup requires rethinking what "training data" means. In conventional supervised learning, your dataset is a collection of labeled examples for a single task. In meta-learning, your dataset is a collection of *tasks*, each containing its own small training set (the support set) and test set (the query set). During meta-training, the model repeatedly receives a new task, adapts to its support set, and is evaluated on its query set. The meta-learner's parameters are updated based on how well it performed *after* adaptation — optimizing not for any single task's accuracy but for the ability to adapt rapidly.

MAML (Model-Agnostic Meta-Learning) is the most influential approach and illustrates the core idea cleanly. MAML finds an initialization of the neural network weights such that a few gradient descent steps on a new task's support set produce strong performance on its query set. Think of it as finding a point in weight space that is equidistant from the optimal solutions of many different tasks — a "good starting position" from which any specific task is only a short walk away. The outer loop optimizes this initialization by computing gradients *through* the inner adaptation steps, which requires second-order derivatives (gradients of gradients).

Beyond MAML, other meta-learning paradigms take different approaches. Metric-based methods like Prototypical Networks learn an embedding space where examples from the same class cluster together, making classification a nearest-neighbor problem in that space. Black-box methods use a recurrent or attention-based network that takes the support set as input and directly outputs predictions, treating the entire adaptation process as a forward pass rather than explicit gradient steps. Each paradigm makes different tradeoffs between flexibility, computational cost, and the assumptions imposed on what "adaptation" means. What unifies them is the two-level structure: an inner loop that adapts to specific tasks and an outer loop that improves the adaptation process itself.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Boolean Algebra → Boolean Type and Truth Values → Comparison Operators and Boolean Tests → Logical Operators and Boolean Algebra → Boolean Algebra and Fundamental Laws → Logic Gates Fundamentals → Implementing Boolean Functions with Gates → Karnaugh Map Simplification → Combinational Circuit Design → Flip-Flops and Latches → Finite State Machines (FSMs) → Deterministic Finite Automata (DFA) → Nondeterministic Finite Automata (NFA) → Regular Language Recognition Algorithms → DFA Properties and Minimization Algorithms → Regular Languages: Definition and Characterization → Context-Free Grammars (CFGs) → Context-Free Grammar Properties and Ambiguity → Parse Trees, Derivations, and Ambiguity in CFGs → Context-Free Grammars in Compiler Design → Abstract Syntax Trees (ASTs) → Symbol Tables and Scope Resolution → Semantic Analysis Phase → Scope and Binding Resolution → Scope, Shadowing, and Variable Lifetime → Parameter Passing: Value vs. Reference → Two-Dimensional Arrays → Graph Representations: Adjacency List vs. Adjacency Matrix → Knowledge Graphs → Graph Neural Networks → Convolutional Neural Networks → Transfer Learning in Neural Networks → Zero-Shot Learning → Few-Shot Learning → Meta-Learning (Learning to Learn)

Longest path: 112 steps · 782 total prerequisite topics

Prerequisites (2)

Leads To (0)

No topics depend on this one yet.