Skip to main content
QUICK REVIEW

[Paper Review] Steerable Equivariant Representation Learning

Sangnie Bhardwaj, Willie McClinton|arXiv (Cornell University)|Feb 22, 2023
Domain Adaptation and Few-Shot LearningComputer Science3 citations
TL;DR

This paper proposes a method for learning steerable, equivariant representations in deep neural networks that explicitly model how embeddings change under data augmentations via learned linear maps in latent space. The approach enables direct manipulation of embeddings for transformations like color and brightness shifts, achieving 1-3% higher linear probe accuracy, up to 3.4% better ImageNet-C robustness, and nearly 50× speedup in test-time augmentation for out-of-distribution detection.

ABSTRACT

Pre-trained deep image representations are useful for post-training tasks such as classification through transfer learning, image retrieval, and object detection. Data augmentations are a crucial aspect of pre-training robust representations in both supervised and self-supervised settings. Data augmentations explicitly or implicitly promote invariance in the embedding space to the input image transformations. This invariance reduces generalization to those downstream tasks which rely on sensitivity to these particular data augmentations. In this paper, we propose a method of learning representations that are instead equivariant to data augmentations. We achieve this equivariance through the use of steerable representations. Our representations can be manipulated directly in embedding space via learned linear maps. We demonstrate that our resulting steerable and equivariant representations lead to better performance on transfer learning and robustness: e.g. we improve linear probe top-1 accuracy by between 1% to 3% for transfer; and ImageNet-C accuracy by upto 3.4%. We further show that the steerability of our representations provides significant speedup (nearly 50x) for test-time augmentations; by applying a large number of augmentations for out-of-distribution detection, we significantly improve OOD AUC on the ImageNet-C dataset over an invariant representation.

Motivation & Objective

  • To address the limitation of invariant representations in tasks requiring sensitivity to input transformations such as color or brightness changes.
  • To enable direct manipulation of learned embeddings in latent space via learned linear maps for arbitrary data augmentations.
  • To improve performance in downstream tasks like transfer learning, robustness to corruptions, and out-of-distribution detection.
  • To achieve significant computational speedups in test-time augmentation by applying transformations in embedding space rather than input space.
  • To demonstrate that equivariance can coexist with robustness, outperforming standard invariant models on ImageNet-C even with higher accuracy loss.

Proposed method

  • Leverage steerable representations by learning a transformation map $ M(e, \theta) $ that predicts how an embedding $ e $ should change under a given augmentation parameter $ \theta $, such as color shift or brightness adjustment.
  • Train the model end-to-end with a self-supervised contrastive loss that encourages the output embedding $ e(g(\mathbf{x};\theta)) $ to match $ M(e(\mathbf{x}), \theta) $, enforcing equivariance.
  • Use a linear map $ M $ in latent space to steer embeddings directly, enabling efficient application of multiple augmentations without re-encoding the input.
  • Apply test-time augmentations in embedding space by applying $ M $ to a single forward pass, drastically reducing inference cost compared to input-space augmentation.
  • Parameterize the transformation maps $ M $ as a learnable linear layer or small feedforward network, making the method architecture-agnostic and generalizable across pre-training paradigms.
  • Evaluate performance on linear probing, ImageNet-C robustness, zero-shot retrieval, and out-of-distribution detection to validate the benefits of steerability and equivariance.
Figure 1: Two examples of image retrieval, comparing our steerable equivariant model to the baseline invariant (standard) model. The top example (flowers) is for color-based steering; the bottom example (buildings) is shown for brightness-based retrieval. For each example, we show three query images
Figure 1: Two examples of image retrieval, comparing our steerable equivariant model to the baseline invariant (standard) model. The top example (flowers) is for color-based steering; the bottom example (buildings) is shown for brightness-based retrieval. For each example, we show three query images

Experimental results

Research questions

  • RQ1Can learning equivariant representations that are steerable in latent space improve transfer learning performance compared to standard invariant representations?
  • RQ2Does steerable equivariance enhance robustness to distribution shift, such as in ImageNet-C corruptions, despite the model being sensitive to transformations?
  • RQ3To what extent can test-time data augmentation be accelerated by applying augmentations in embedding space rather than input space?
  • RQ4Can steerable equivariant representations improve out-of-distribution detection by amplifying embedding variance for OOD samples?
  • RQ5Is it possible to achieve practical, generalizable equivariance across diverse data augmentations (e.g., photometric, geometric) without architectural constraints?

Key findings

  • The steerable equivariant model achieves 1–3% higher linear probe top-1 accuracy on ImageNet compared to standard invariant models.
  • On ImageNet-C, the model improves robustness by up to 3.4% in top-1 accuracy across all corruptions, with mCE of 0.81 compared to 0.845 for the invariant baseline.
  • Out-of-distribution detection using latent-space augmentations achieves 5–15% higher AUC than input-space augmentations, with nearly 50× speedup in inference time.
  • Applying 60 augmentations in embedding space takes only 0.0091 seconds per mini-batch, compared to 0.2263 seconds when applying them at input, achieving a nearly 50× speedup.
  • The steerable model retrieves images based on semantic transformations (e.g., color or brightness), while the invariant model produces static, transformation-agnostic results.
  • Despite higher accuracy loss, the equivariant model’s sensitivity to corruptions enables better OOD detection, as shown by significantly improved AUC curves under test-time augmentation.
Figure 2: For both invariant and equivariant/steerable models, we show performance with $4$ types of embeddings. $e(g(\mathbf{x}))$ and $M(e(\mathbf{x}))$ tend to be similar to each other (since Eqn. 3 encourages this). For the invariant model, semantic retrieval (flowers) override visual (pink colo
Figure 2: For both invariant and equivariant/steerable models, we show performance with $4$ types of embeddings. $e(g(\mathbf{x}))$ and $M(e(\mathbf{x}))$ tend to be similar to each other (since Eqn. 3 encourages this). For the invariant model, semantic retrieval (flowers) override visual (pink colo

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.