Skip to main content
QUICK REVIEW

[Paper Review] Convolutional Conditional Neural Processes

Jonathan Gordon, Wessel P. Bruinsma|arXiv (Cornell University)|Oct 29, 2019
Topic ModelingComputer Science32 references16 citations
TL;DR

This paper introduces Convolutional Conditional Neural Processes (CONVCNP), a novel Neural Process variant that explicitly models translation equivariance in data through convolutional functional embeddings. By extending deep sets theory to functional representations, CONVCNP achieves state-of-the-art performance and strong zero-shot generalization on out-of-domain tasks in time series, spatial data, and image completion.

ABSTRACT

We introduce the Convolutional Conditional Neural Process (ConvCNP), a new member of the Neural Process family that models translation equivariance in the data. Translation equivariance is an important inductive bias for many learning problems including time series modelling, spatial data, and images. The model embeds data sets into an infinite-dimensional function space as opposed to a finite-dimensional vector space. To formalize this notion, we extend the theory of neural representations of sets to include functional representations, and demonstrate that any translation-equivariant embedding can be represented using a convolutional deep set. We evaluate ConvCNPs in several settings, demonstrating that they achieve state-of-the-art performance compared to existing NPs. We demonstrate that building in translation equivariance enables zero-shot generalization to challenging, out-of-domain tasks.

Motivation & Objective

  • To address the lack of built-in translation equivariance in existing Neural Process models, which rely on data to learn this inductive bias inefficiently.
  • To formalize functional representations of sets as a foundation for translation-equivariant models, extending deep sets theory to infinite-dimensional spaces.
  • To develop a neural process architecture that naturally encodes spatial and temporal translation invariance, improving generalization and sample efficiency.
  • To evaluate the model across diverse benchmarks, including synthetic and real-world data, to demonstrate robust performance and zero-shot transfer.

Proposed method

  • Proposes a representation theorem for translation-equivariant functions on sets, extending Zaheer et al. (2017) to functional embeddings.
  • Introduces a functional encoder using a convolutional neural network that maps context sets into an infinite-dimensional function space.
  • Employs normalized convolutions with a learned density channel and positivity constraints to stabilize training and enforce equivariance.
  • Uses a learnable kernel in the first layer that approximates an exact convolutional kernel (EQ), enabling equivariance without explicit grid constraints.
  • Applies 'circular' padding to reduce boundary-induced position dependence and maintain translation equivariance in large receptive fields.
  • Trains the model using maximum likelihood on context-target pairs, mimicking test-time inference for strong generalization.

Experimental results

Research questions

  • RQ1Can translation equivariance be formally embedded into Neural Processes using functional representations?
  • RQ2How does incorporating convolutional inductive bias improve zero-shot generalization on out-of-domain tasks?
  • RQ3What architectural components (e.g., density channel, normalization, padding) are essential for maintaining equivariance and performance?
  • RQ4How does CONVCNP compare to existing CNPs and attention-based models in terms of sample efficiency and generalization?
  • RQ5To what extent does model architecture (e.g., receptive field size) affect the learning of non-stationary, position-dependent behavior?

Key findings

  • CONVCNP achieves state-of-the-art performance on synthetic time series, spatial data, and image completion benchmarks, outperforming existing CNPs and ATTNCNP.
  • The model demonstrates strong zero-shot generalization to out-of-domain tasks, particularly on the ZSMM benchmark, where it significantly outperforms models with large receptive fields.
  • Ablation studies show that the density channel and normalization are critical for performance, especially when combined with positivity constraints.
  • Using 'circular' padding prevents the model from learning non-stationary behavior caused by boundary effects, even with large receptive fields.
  • The learned first-layer kernel closely approximates the exact convolutional kernel (EQ), suggesting the model learns equivalent equivariant representations.
  • CONVCNPXL with a large receptive field performs worse than CONVCNP due to position-dependent behavior induced by zero padding, which is mitigated by circular padding.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.