Meta-Learning surrogate models for sequential decision making

Alexandre Galashov, Jonathan Schwarz, Hyunjik Kim, Marta Garnelo, David Saxton, Pushmeet Kohli, S. M. Ali Eslami, Yee Whye TeharXiv 2019

Abstract

This paper introduces a unified probabilistic framework that leverages Neural Processes (NPs) to address core challenges in sequential decision-making, such as Bayesian Optimization and Reinforcement Learning. By meta-learning "data-driven priors" from related tasks, the system achieves rapid adaptation to new problems with extreme data efficiency and well-calibrated uncertainty. The framework demonstrates superior performance across diverse domains, including control tasks and large-scale recommender systems.

Introduction

Sequential decision-making—ranging from robotic control to personalized recommendations—typically requires substantial experience to master. While humans can generalize from prior knowledge to learn new tasks in a few attempts, standard machine learning algorithms often start from scratch. This paper addresses two primary hurdles in the field: statistical inefficiency, where algorithms require orders of magnitude more data than humans, and uncertainty calibration, which is essential for balancing exploration and exploitation.

Methodology: Neural Processes as Surrogate Models

The core innovation is replacing traditional, hand-designed priors (such as those used in Gaussian Processes) with data-driven priors learned via meta-learning. The authors utilize Neural Processes (NPs) as their primary surrogate model. NPs represent distributions over functions and offer several advantages:

  • Efficiency: Computational complexity of $O(n+m)$, significantly faster than Gaussian Processes for large datasets.
  • Zero-Gradient Adaptation: At test time, NPs adapt to new tasks by simply ingesting a "context set" of data points, requiring no backpropagation.
  • Probabilistic Output: They naturally provide predictive uncertainty, which guides exploration through strategies like Thompson Sampling or Information Gain.

This framework is applied across three distinct domains: Bayesian Optimization (BO), Contextual Bandits (for recommender systems), and Model-based Reinforcement Learning (RL), where the NP serves as a "world model" for imagined rollouts.

Experimental Evaluation

The framework was evaluated on several benchmarks:

  • Cart-pole Swing-up: A control task modified with varying pole masses and cart sizes to test meta-learning robustness.
  • MovieLens (100k & 20m): Recommender system datasets where 20% of users were withheld to test few-shot adaptation.
  • DMLab-30: A complex 3D environment used for adversarial task search.

Reinforcement Learning Results

On the Cart-pole task, the NP-based model demonstrated remarkable efficiency, learning successful policies in just 10-15 episodes. This significantly outperformed established baselines like MAML (Model-Agnostic Meta-Learning) and standard multi-task MLP models.

Learning curves on the Cart-pole task show the Neural Process model (red) achieving high mean returns significantly faster than MAML or D4PG.

Recommender Systems Results

In the MovieLens experiments, the NP model achieved lower Root Mean Square Error (RMSE) than established baselines like SVD++. Notably, the "Info Gain" acquisition strategy—which prioritizes items that reduce model uncertainty—led to the fastest performance improvements as user ratings were observed.

Performance comparison on MovieLens 100k shows that Neural Processes with Information Gain acquisition achieve the lowest RMSE across different data regimes.

Key Insights

  • Priors from Data: The model learns the functional "shape" of task distributions directly from data rather than assuming mathematical smoothness (e.g., RBF kernels).
  • Instant Adaptation: The ability to adapt to new robot physics or user preferences without test-time gradient descent makes this approach ideal for deployment on edge devices.
  • Uncertainty as a Guide: The success of Information Gain strategies confirms that the NP's uncertainty estimates are well-calibrated and practically useful for exploration.

Limitations and Future Work

While NPs are efficient, the memory cost of the "context set" scales with the number of transitions, potentially creating a bottleneck for long-duration tasks. Future research may explore more sophisticated exploration policies, such as curiosity-driven exploration, to improve the quality of learned world models during RL pre-training. Additionally, hybrid modeling approaches that simultaneously account for user-specific and item-specific functions remain an active area for improvement in recommender systems.

Summary updated

BibTeX
@misc{galashov2019meta,
  author = {Alexandre Galashov and Jonathan Schwarz and Hyunjik Kim and Marta Garnelo and David Saxton and Pushmeet Kohli and S. M. Ali Eslami and Yee Whye Teh},
  title = {{Meta-Learning surrogate models for sequential decision making}},
  year = {2019},
  eprint = {1903.11907},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.11907},
}
Figure