NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Online Structured Meta-learning

Huaxiu Yao, Yingbo Zhou, Mehrdad Mahdavi, Zhenhui Li, Richard Socher, Caiming Xiong

TL;DR

This paper introduces Online Structured Meta-Learning (OSML), a novel framework that addresses the challenge of meta-learning in scenarios with diverse and evolving tasks. OSML uses a structured, hierarchical graph of "knowledge blocks" to adapt more effectively to new tasks than existing methods that rely on a single, global meta-learner.

What Problem Does This Paper Address?

Machine intelligence needs to learn and adapt quickly, especially in dynamic online environments. Meta-learning offers a way to achieve this by transferring knowledge from previously learned tasks. However, existing online meta-learning approaches typically use a single, shared meta-learner. This becomes a bottleneck when tasks are heterogeneous, meaning they have distinct underlying characteristics that are difficult to capture with a one-size-fits-all model. This can lead to suboptimal performance, as the shared meta-learner might be biased towards certain task types and struggle with others. The paper aims to overcome this limitation by enabling meta-learners to be more flexible and structured, better reflecting how humans organize and utilize knowledge.

Methods

The core innovation of OSML is its meta-hierarchical graph structure for the meta-learner. Instead of a single model, OSML decomposes the meta-learner into multiple "knowledge blocks" organized in layers.

  • Meta-Hierarchical Graph: This graph represents different types of structured knowledge. Each knowledge block within the graph can be thought of as a specialized module.
  • Search-Update Mechanism: When a new task arrives, OSML employs a two-step process:
  • Search: It constructs a "meta-knowledge pathway" by identifying the most relevant knowledge blocks from the hierarchy. This process is made differentiable to improve efficiency. Crucially, it also allows for the exploration and creation of new knowledge blocks if the task is particularly novel or dissimilar.
  • Update: After adapting to the current task, the selected knowledge blocks are updated with new information, allowing the meta-learner to continuously improve.
  • Knowledge Block Meta-Updating: The paper uses a first-order approximation for updating knowledge block parameters to save computation time, while still achieving good performance.

This structured approach allows OSML to be more flexible than methods that require learning entirely new meta-learners for dissimilar tasks or that rely on complex task-specific modulation networks.

Datasets

The paper evaluates OSML on three datasets:

  • Rainbow MNIST: A homogeneous dataset created by applying various transformations (color, scale, angle) to the original MNIST dataset. This serves as a benchmark for performance in scenarios where tasks are variations of a similar theme.
  • Multi-filtered mini-Imagenet: A heterogeneous dataset generated by applying artistic filters (blur, night, pencil) to the mini-Imagenet dataset. This dataset tests the model's ability to handle tasks with distinct visual characteristics.
  • Meta-dataset: Another heterogeneous dataset comprising three fine-grained sub-datasets: Flower, Fungi, and Aircraft. This dataset further challenges the model with more complex and diverse visual domains.

Key Insights and Ideas

  • Human-like Knowledge Organization: The meta-hierarchical graph structure is inspired by how humans organize knowledge, suggesting that a more structured meta-learner can lead to better adaptation.
  • Flexibility in Heterogeneous Settings: OSML's ability to select relevant blocks or create new ones is key to handling diverse tasks, preventing the "one-size-fits-all" problem of global meta-learners.
  • Interpretability: The selection of knowledge blocks for different tasks provides insights into which types of knowledge are being leveraged, offering a degree of interpretability.
  • Efficiency through Structure: By organizing knowledge into blocks, OSML can potentially reduce model size and improve generalization compared to simply increasing the capacity of a monolithic meta-learner.

Key Results

  • Superior Performance: OSML consistently outperforms baseline methods, including FTML (a strong online meta-learning baseline), on both homogeneous (Rainbow MNIST) and heterogeneous (Multi-filtered mini-Imagenet, Meta-dataset) tasks.
  • Homogeneous Tasks: On Rainbow MNIST, OSML achieved the highest accuracy (92.65%) and the lowest Average Ranking (AR) of 1.50, indicating better overall performance and consistency.
  • Heterogeneous Tasks: For multi-filtered mini-Imagenet, OSML achieved 63.23% overall accuracy with an AR of 2.00. On Meta-dataset, it achieved 65.00% overall accuracy with an AR of 1.87. These results highlight OSML's effectiveness in complex, diverse environments.
  • Model Capacity vs. Structure: Experiments showed that simply increasing the size of a monolithic network (NT-Large, FT-Large, FTML-Large) did not yield significant improvements and could even lead to overfitting. This suggests that OSML's gains stem from its structured approach rather than just larger model capacity.

Limitations and Future Work

  • Memory Buffer: The paper mentions using a task buffer to memorize previous tasks but doesn't delve deeply into its optimization or how to store representative samples.
  • Theoretical Analysis: The authors plan to theoretically analyze the generalization ability of OSML.
  • Real-World Applications: Future work will explore OSML's performance on more complex, real-world applications.
  • Structuring Memory: Investigating how to effectively and efficiently structure the memory buffer and store representative samples for each task is a key future direction.

Summary updated

BibTeX
@inproceedings{yao2020online,
  author = {Huaxiu Yao and Yingbo Zhou and Mehrdad Mahdavi and Zhenhui Li and Richard Socher and Caiming Xiong},
  title = {{Online Structured Meta-learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=Rd0oAYUxgF8},
}
Figure