Skip to main content
QUICK REVIEW

[Paper Review] Meta-Learning Symmetries by Reparameterization

Allan Zhou, Tom Knowles|arXiv (Cornell University)|Jul 6, 2020
Domain Adaptation and Few-Shot LearningComputer Science54 references24 citations
TL;DR

This paper proposes a meta-learning framework that automatically discovers and encodes equivariance-inducing parameter sharing patterns in neural networks by reparameterizing layer weights. By learning these patterns from data, the method achieves state-of-the-art few-shot generalization on image benchmarks, outperforming both standard meta-learning and handcrafted equivariant architectures.

ABSTRACT

Many successful deep learning architectures are equivariant to certain transformations in order to conserve parameters and improve generalization: most famously, convolution layers are equivariant to shifts of the input. This approach only works when practitioners know the symmetries of the task and can manually construct an architecture with the corresponding equivariances. Our goal is an approach for learning equivariances from data, without needing to design custom task-specific architectures. We present a method for learning and encoding equivariances into networks by learning corresponding parameter sharing patterns from data. Our method can provably represent equivariance-inducing parameter sharing for any finite group of symmetry transformations. Our experiments suggest that it can automatically learn to encode equivariances to common transformations used in image processing tasks. We provide our experiment code at https://github.com/AllanYangZhou/metalearning-symmetries.

Motivation & Objective

  • To automate the discovery of equivariances in deep learning models without requiring manual architectural design for each task.
  • To address the limitation of fixed inductive biases in CNNs, which rely on prior knowledge of symmetries like translation, rotation, or reflection.
  • To enable transferable, task-agnostic equivariances by learning parameter sharing patterns from data, rather than hardcoding them.
  • To improve few-shot generalization by encoding symmetries directly into the network’s weight structure through meta-learning.
  • To provide a scalable and theoretically grounded method for learning equivariances to any finite symmetry group via reparameterization.

Proposed method

  • Reparameterize neural network layers to represent parameter sharing patterns as learnable structures, enabling the model to discover equivariance-inducing weight sharing.
  • Use meta-learning to train the reparameterized layers on a distribution of tasks, optimizing for generalization across unseen tasks.
  • Formulate the parameter sharing pattern as a structured weight matrix that respects the symmetry group’s action on the input space.
  • Leverage theoretical results from group representation theory to ensure that the reparameterized layers can provably represent equivariant transformations for any finite group.
  • Integrate data augmentation during meta-training to encourage invariance to common transformations such as rotation, reflection, and scaling.
  • Train the model using a meta-learning objective that minimizes generalization error across diverse tasks, with symmetry-aware weight sharing as a key inductive bias.

Experimental results

Research questions

  • RQ1Can a neural network automatically learn and encode equivariances to common data transformations (e.g., rotation, reflection, scaling) from data, without architectural priors?
  • RQ2Does learning parameter sharing patterns via meta-learning lead to better few-shot generalization than standard meta-learning or data augmentation alone?
  • RQ3Can the proposed method recover known equivariant architectures (e.g., rotation-equivariant convolutions) purely from data and meta-learning?
  • RQ4How does the performance of the method scale with increasing complexity of symmetry groups and data augmentation strategies?
  • RQ5Can the method generalize to new tasks by preserving learned equivariances, even when the symmetry is not explicitly known in advance?

Key findings

  • The proposed method, MSR (Meta-learned Symmetry Reparameterization), achieves state-of-the-art performance on both Aug-Omniglot and Aug-MiniImageNet benchmarks, outperforming MAML, ANIL, ProtoNets, and even handcrafted D8-equivariant models.
  • On 5-way 1-shot few-shot classification, MSR achieves 95.3% accuracy on Aug-Omniglot and 45.5% on Aug-MiniImageNet, surpassing MAML (89.3%) and MAML+D8 (94.6%) on the same tasks.
  • MSR generalizes better than larger MAML models (MAML Big), achieving higher accuracy with fewer total parameters, indicating improved sample efficiency.
  • The method successfully learns to encode symmetries such as rotation, reflection, and scaling, which are not explicitly built into standard architectures.
  • MSR outperforms ProtoNets on the harder Aug-MiniImageNet benchmark, suggesting that learning equivariant structures is more effective than learning invariant metric spaces.
  • The reparameterization mechanism enables transferable symmetries across tasks, preserving learned equivariances and improving generalization in low-data regimes.

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.