Meta-Learning via Feature-Label Memory Network

Dawit Mureja, Hyunsin Park, Chang D. YooarXiv 2017

Introduction

Deep learning models typically require vast amounts of data to achieve high performance. In contrast, humans can learn new concepts from just a few examples. Meta-learning, or "learning to learn," attempts to replicate this efficiency. A common approach involves Memory Augmented Neural Networks (MANNs), which utilize an external memory buffer to store and retrieve information rapidly. However, standard MANNs often suffer from memory interference, where input features and their corresponding labels are bound together in the same memory slots, leading to "catastrophic interference" during retrieval. This paper introduces the Feature-Label Memory Network (FLMN) to solve this bottleneck by explicitly decoupling feature and label representations.

The FLMN Architecture

The core innovation of the FLMN is the architectural separation of external memory into two specialized partitions: a Feature Memory ($M^f$) and a Label Memory ($M^l$). By splitting these components, the model allows the Feature Memory to act as a clean lookup table for the Label Memory, preventing the data overlap that plagues traditional MANNs.

High-level architecture of the FLMN showing the decoupled memory structure and the LSTM controller managing read/write heads.

Key Components:

  1. Controller: An LSTM network manages the interaction between the input and the memory modules.
  2. Recursive Memory Writing: In few-shot tasks, labels are often provided with a temporal delay (e.g., seeing an image $x_t$ and receiving its label $y_t$ at step $t+1$). The FLMN uses a recursive writing module to ensure labels are stored at the exact memory index where their corresponding features were previously placed.
  3. Content-Based Retrieval: To classify a new sample, the model generates a key from the input and uses cosine similarity to find the best match in the Feature Memory. The resulting weights then extract the corresponding label from the Label Memory.
  4. LRUA Strategy: The "Least Recently Used Access" strategy ensures that new information is written into rarely used slots, preserving important recently learned knowledge.

Experimental Results

The FLMN was evaluated on the Omniglot dataset (a benchmark for one-shot learning) and miniMNIST (for zero-shot transfer tests). The results demonstrate that decoupling features from labels leads to significantly faster convergence and higher final accuracy.

Comparison of training accuracy between the baseline MANN (top) and the proposed FLMN (bottom) on the Omniglot dataset across different class instances.

On the Omniglot dataset, the FLMN achieved 85.6% accuracy on the second instance of a class in a 5-class setup, compared to only 66.7% for the baseline MANN. By the 10th instance, the FLMN reached 94.1%, while the baseline lagged at 78.1%.

Furthermore, the model showed superior generalization in zero-shot transfer tasks. When trained on Omniglot and tested on MNIST digits, the FLMN reached 80.5% accuracy by the 10th instance, nearly 30 percentage points higher than the standard MANN's 52.0%.

Conclusion

The Feature-Label Memory Network demonstrates that architectural decoupling is a powerful tool for improving meta-learning. By separating feature storage from label storage, the FLMN eliminates memory interference, enabling faster learning and better generalization across domains. Future work will explore scaling this approach to more complex, high-dimensional datasets and diverse tasks beyond image classification.

Summary updated

BibTeX
@misc{mureja2017meta,
  author = {Dawit Mureja and Hyunsin Park and Chang D. Yoo},
  title = {{Meta-Learning via Feature-Label Memory Network}},
  year = {2017},
  eprint = {1710.07110},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.07110},
}
Figure