Soft Task-Aware Routing of Experts for Equivariant Representation Learning
Jaebyeong Jeon, Hyeonseo Jang, Jy-yong Sohn, Kibok Lee
TL;DR
The paper tackles redundancy in joint invariant and equivariant representation learning by treating projection heads as a set of soft-routed experts. It introduces Soft Task-Aware Routing (STAR), which either adds a shared projection or employs an MMoE-based projection to separate shared from task-specific information during self-supervised pretraining, while using a shift-predictor for equivariant learning. Empirical results across image classification, object detection, and few-shot benchmarks show STAR reduces redundant feature learning (lower canonical correlations) and improves transfer performance, with analyses confirming meaningful expert specialization and stronger equivariance metrics. The approach offers a principled, transfer-friendly way to harness both invariant and equivariant signals, improving generalization while revealing the internal dynamics of feature routing.
Abstract
Equivariant representation learning aims to capture variations induced by input transformations in the representation space, whereas invariant representation learning encodes semantic information by disregarding such transformations. Recent studies have shown that jointly learning both types of representations is often beneficial for downstream tasks, typically by employing separate projection heads. However, this design overlooks information shared between invariant and equivariant learning, which leads to redundant feature learning and inefficient use of model capacity. To address this, we introduce Soft Task-Aware Routing (STAR), a routing strategy for projection heads that models them as experts. STAR induces the experts to specialize in capturing either shared or task-specific information, thereby reducing redundant feature learning. We validate this effect by observing lower canonical correlations between invariant and equivariant embeddings. Experimental results show consistent improvements across diverse transfer learning tasks. The code is available at https://github.com/YonseiML/star.
