Adaptive Posterior Learning: few-shot learning with a surprise-based memory module

Tiago Ramalho, Marta Garnelo
2/7/2019
cs.LGstat.ML

Official code: cogentlabs/apl (48 stars, Python, MIT, last commit 2019-02-25).

Abstract

The ability to generalize quickly from few observations is crucial for intelligent systems. In this paper we introduce APL, an algorithm that approximates probability distributions by remembering the most surprising observations it has encountered.

Show full abstract

These past observations are recalled from an external memory module and processed by a decoder network that can combine information from different memory slots to generalize beyond direct recall. We show this algorithm can perform as well as state of the art baselines on few-shot classification benchmarks with a smaller memory footprint. In addition, its memory compression allows it to scale to thousands of unknown labels. Finally, we introduce a meta-learning reasoning task which is more challenging than direct classification. In this setting, APL is able to generalize with fewer than one example per class via deductive reasoning.

View on arXivView PDF

Code Implementations(1)

cogentlabs/aplOfficial100%
MIT

Open source implementation of Adaptive Posterior Learning (ICLR 2019)

4813PythonJan 17, 20197 years agoMIT

Similar Papers

Cite this paper

@article{ramalho2019adaptive,
  title  = {Adaptive Posterior Learning: few-shot learning with a surprise-based memory module},
  author = {Tiago Ramalho and Marta Garnelo},
  year   = {2019},
  eprint = {1902.02527},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1902.02527}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1902.02527.svg)](https://codeofpaper.com/paper/1902.02527)

Discussion