Expand description
MetaLearner — MAML-inspired meta-learning system.
Maintains task-specific adaptations and a shared meta-representation. The outer loop (meta-update) aggregates task adaptations to improve the shared initialisation; the inner loop (adapt_to_task) fine-tunes the shared weights for a single task in a small number of gradient-descent steps.
Structs§
- Meta
Learner - MAML-inspired meta-learner.
- Meta
Learner Config - Configuration for
MetaLearner. - Meta
Learner Stats - Aggregate statistics for a
MetaLearnerinstance. - Meta
Parameters - Shared meta-parameters: a linear model with
dimsweights and one bias. - Meta
Task - A meta-learning task consisting of a support set (used for inner-loop adaptation) and a query set (used to evaluate the adapted model).
- Task
Adaptation - The result of adapting the meta-parameters to a specific task.
- Task
Example - A single labeled training example.
- TaskId
- Newtype wrapper around a task identifier string.
Enums§
- Meta
Error - Errors produced by
MetaLearneroperations. - Task
Type - Discriminates the learning objective of a meta-task.