[Paper Review] Learning to Propagate for Graph Meta-Learning
This paper introduces Gated Propagation Network (GPN), a meta-learner that propagates class prototypes over a class graph to improve few-shot classification, with memory-based lifelong updates and multi-head attention gates. It achieves consistent gains over baselines on two ImageNet-derived graph datasets.
Meta-learning extracts common knowledge from learning different tasks and uses it for unseen tasks. It can significantly improve tasks that suffer from insufficient training data, e.g., few shot learning. In most meta-learning methods, tasks are implicitly related by sharing parameters or optimizer. In this paper, we show that a meta-learner that explicitly relates tasks on a graph describing the relations of their output dimensions (e.g., classes) can significantly improve few shot learning. The graph's structure is usually free or cheap to obtain but has rarely been explored in previous works. We develop a novel meta-learner of this type for prototype-based classification, in which a prototype is generated for each class, such that the nearest neighbor search among the prototypes produces an accurate classification. The meta-learner, called "Gated Propagation Network (GPN)", learns to propagate messages between prototypes of different classes on the graph, so that learning the prototype of each class benefits from the data of other related classes. In GPN, an attention mechanism aggregates messages from neighboring classes of each class, with a gate choosing between the aggregated message and the message from the class itself. We train GPN on a sequence of tasks from many-shot to few shot generated by subgraph sampling. During training, it is able to reuse and update previously achieved prototypes from the memory in a life-long learning cycle. In experiments, under different training-test discrepancy and test task generation settings, GPN outperforms recent meta-learning methods on two benchmark datasets. The code of GPN and dataset generation is available at https://github.com/liulu112601/Gated-Propagation-Net.
Motivation & Objective
- Leverage graph-structured relationships between classes to improve few-shot learning by propagating prototypes across related classes.
- Develop a meta-learner that can update class prototypes by integrating neighboring class information on a graph.
- Enable lifelong learning by maintaining a memory of prototypes to support learning on new tasks.
Proposed method
- Prototypes are initialized per class by averaging K-shot samples and refined via graph-based propagation."
- Use multi-head attention to weight neighbor prototypes when aggregating messages.
- Apply a gating mechanism to decide between neighbor-propagated messages and the class’s own message.
- Propagate messages on the graph for multiple steps, enabling relation reasoning beyond direct neighbors.
- Maintain a memory of prototypes to support propagation when a class has no neighbors in current task sets.
- Train with curriculum strategies including auxiliary supervised tasks and annealing, and build a maximum spanning tree to constrain propagation pathways.
Experimental results
Research questions
- RQ1Can explicit task relationships defined on a class graph improve meta-learning for few-shot classification?
- RQ2Does propagating class prototypes across graph edges yield better decision boundaries than traditional prototypical networks?
- RQ3How do memory, MST-based propagation pathways, and multi-head gates contribute to performance and efficiency?
- RQ4What is the impact of task distance (graph hops) between train and test classes on GPN performance?
Key findings
- GPN outperforms several recent few-shot baselines on tiered ImageNet-Close and tiered ImageNet-Far across multiple settings.
- On tiered ImageNet-Close with random sampling, 5-way 1-shot accuracy: GPN 48.37% vs Prototypical Net 42.87% and GPN+ 50.54%.
- On the same setting for 5-way 5-shot, 64.14% (GPN) vs 62.68% (Prototypical Net) and 65.74% (GPN+).
- With snowball sampling (closer task relations), 5-way 1-shot accuracy: GPN 39.56% vs Prototypical Net 35.27% and GPN+ 40.78%.
- On tiered ImageNet-Far with random sampling, 5-way 1-shot accuracy: GPN 47.54% vs Prototypical Net 44.30% and GPN+ 47.49%.
- Across all reported settings, GPN yields notable improvements over baselines, with larger gains when train/test classes are closer on the graph (GPN+ often helping).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.