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

Meta-Learning Update Rules for Unsupervised Representation Learning

Luke Metz, Niru Maheswaranathan, Brian Cheung, Jascha Sohl-Dickstein

Instead of hand-designing unsupervised objectives like reconstruction error or contrastive loss, this paper proposes meta-learning a local, biologically-inspired update rule. By optimizing this rule to produce features that excel at downstream few-shot classification, the authors create a "universal" unsupervised learner that generalizes across different architectures, activation functions, and even entirely different data modalities.

The Problem: Objective Mismatch

Unsupervised representation learning typically relies on "surrogate" tasks. The hope is that by forcing a model to reconstruct an image (like in Autoencoders) or predict the next frame in a video, it will "accidentally" learn useful high-level features such as object identity.

However, this approach often suffers from an objective mismatch. A model might get progressively better at its surrogate task (e.g., lowering reconstruction error) while its performance on a downstream classification task actually begins to decline.

VAE Objective Mismatch

Furthermore, most unsupervised algorithms are rigidly tied to specific architectures. The authors ask a fundamental question: Can we instead learn the learning algorithm itself? They aim to discover an update rule that operates without labels during training but is explicitly optimized via meta-learning to produce representations useful for later supervised tasks.

Methods: Nested Optimization

The authors frame the discovery of this update rule as a nested optimization problem consisting of two loops:

Nested Optimization and Learned Update Rule
  • The Inner Loop (Unsupervised Training): A "base model" (a Multi-Layer Perceptron) is trained on unlabeled data. Instead of using standard backpropagation with a fixed loss function, it uses a Learned Update Rule. This rule is a small neural network shared across every neuron that looks at local "pre-synaptic" and "post-synaptic" activity to decide how to adjust weights.
  • The Outer Loop (Meta-Training): The parameters of the update rule itself are optimized using standard Gradient Descent. The "Meta-Objective" is the performance of the base model's features on a few-shot linear regression task, evaluated using a small amount of labeled data.

Key Innovations

  1. Neuron-Locality: The update rule only uses information available to a single neuron and its immediate connections. This makes the rule "architecture-agnostic," allowing it to be dropped into a network of any width or depth.
  2. Permutation Invariance: During meta-training, the authors randomly permute the input dimensions (e.g., shuffling pixels). This forces the update rule to learn from the joint statistics of the data rather than relying on spatial priors like "nearby pixels are related."
  3. Learned Backward Pass: The model abandons standard backpropagation. Instead, it meta-learns how to propagate a "synthetic" error signal backwards using a separate set of weights, mimicking biological feedback mechanisms.

Key Insights and Results

The meta-learned rule was trained on datasets like CIFAR-10 and subsets of ImageNet, and then evaluated for generalization on MNIST, Fashion MNIST, and hold-out ImageNet classes.

  • Fixing the Mismatch: Because the meta-learned rule is directly "aware" of the downstream goal (few-shot classification) during the outer loop, it avoids the objective mismatch seen in models like VAEs.
  • The Power of Locality: The local nature of the update rule allows it to scale dramatically. Though meta-trained on small 2-5 layer networks, the rule successfully trained an 11-layer network with 10,000 units per layer.
  • Learning without Gradients: Standard backpropagation fails on networks with Step activation functions because the gradient is zero everywhere. However, since the meta-learned rule doesn't rely on the base model's analytical gradient, it successfully optimized networks using Step functions.
  • Cross-Domain Transfer: In a striking demonstration of generalization, an update rule trained exclusively on images successfully improved a text classifier on the IMDB movie review dataset. This suggests the rule captures fundamental principles of statistical representation independent of the modality.

Limitations and Future Work

While promising, the approach has several limitations:

  • Meta-Overfitting: The authors noted that if they meta-train for too long on images, the rule's ability to generalize to the text (IMDB) task eventually starts to degrade.
  • Computational Cost: Meta-learning is highly resource-intensive. Training the update rule required 512 workers running for approximately 8 days.
  • Architecture Constraints: The current study focused primarily on MLPs. Extending this local update rule to more complex structures like Convolutions or Transformers remains a natural next step.
  • Interpretability: The authors suggest future work should focus on simplifying the abstractions of the learned update rule to make it more interpretable and computationally efficient.

Summary updated

BibTeX
@inproceedings{metz2019meta,
  author = {Luke Metz and Niru Maheswaranathan and Brian Cheung and Jascha Sohl-Dickstein},
  title = {{Meta-Learning Update Rules for Unsupervised Representation Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
}
Figure