Papers
Topics
Authors
Recent
Search
2000 character limit reached

MC-JEPA: Joint Motion & Content Learning

Updated 27 January 2026
  • The paper demonstrates that unifying optical flow estimation and content discrimination using a shared encoder leads to mutual improvements across motion and segmentation benchmarks.
  • MC-JEPA integrates PWC-Net–style flow estimators with VICReg-based embedding to co-optimize multi-scale features from both video and still images.
  • Experiments reveal competitive performance with state-of-the-art unsupervised methods, validating the effectiveness of joint multitask self-supervised learning.

Motion-Content JEPA (MC-JEPA) is a self-supervised joint-embedding predictive architecture designed to unify the learning of optical flow (motion) and semantic content features within a single model. Unlike previous approaches that independently addressed either motion estimation or content discrimination, MC-JEPA employs a shared encoder to enable direct co-optimization, resulting in mutual improvements for both tasks. The architecture achieves performance on par with established unsupervised optical flow methods and leading self-supervised learning (SSL) techniques on major benchmarks for semantic segmentation and video analysis (Bardes et al., 2023).

1. Architectural Design and Components

MC-JEPA utilizes a single ConvNeXt-T–based encoder, denoted EθE_\theta, which integrates the processing of both video and image data streams. Given input in the form of either consecutive video frames (It,It+1)(I_t, I_{t+1}) or two randomly augmented crops from a still image, EθE_\theta computes a pyramid of multi-scale feature maps:

X(l):=Eθ(It)Rd(l)×h(l)×w(l),l=1L,X^{(l)} := E_\theta(I_t) \in \mathbb{R}^{d^{(l)} \times h^{(l)} \times w^{(l)}}, \quad l = 1\ldots L,

where L=6L=6 levels span from coarse to near-pixel resolution.

The joint embedding space branches into:

  • Motion (Flow) Branch: At each scale, PWC-Net–style flow estimators FϕF_\phi compute residual optical flow updates. The complete flow is progressively computed coarse-to-fine:

ftt+1(1)=Fϕ(Xt(1),Xt+1(1),0),ftt+1(l+1)=Fϕ(Xt(l+1),Xt+1(l+1),ftt+1(l)).f_{t\to t+1}^{(1)} = F_\phi(X_t^{(1)}, X_{t+1}^{(1)}, 0), \quad f_{t\to t+1}^{(l+1)} = F_\phi(X_t^{(l+1)}, X_{t+1}^{(l+1)}, f_{t\to t+1}^{(l)}).

Feature maps at t+1t+1 are reconstructed by warping Xt(l)X_t^{(l)} with the estimated flow via bilinear sampling.

  • Content (Self-Supervised) Branch: Two augmented versions v1,v2v_1, v_2 of a still image yield (It,It+1)(I_t, I_{t+1})0, which are global-pooled and passed to a three-layer expander network (It,It+1)(I_t, I_{t+1})1 to produce 8192-dimensional embeddings (It,It+1)(I_t, I_{t+1})2. These are aligned using the VICReg variance–invariance–covariance objective.

The architectural coupling, with all heads sharing (It,It+1)(I_t, I_{t+1})3, fosters precise alignment and information exchange between motion and content feature learning (Bardes et al., 2023).

2. Objective Functions and Optimization Strategies

MC-JEPA’s training leverages multi-term loss functions across the two branches and integrates them within a unified multitask loss:

  • Optical Flow Losses:
    • Feature Regression: Multi-scale feature warping and regression,

    (It,It+1)(I_t, I_{t+1})4 - Photometric Reconstruction: Mixing (It,It+1)(I_t, I_{t+1})5, (It,It+1)(I_t, I_{t+1})6 and SSIM criteria,

    (It,It+1)(I_t, I_{t+1})7 - Edge-Aware Smoothness: Penalizes inconsistent local flow regularized by image gradients,

    (It,It+1)(I_t, I_{t+1})8 - Cycle Consistency: Encourages forward-backward flow consistency,

    (It,It+1)(I_t, I_{t+1})9 - Variance–Covariance Regularization: Per-layer stabilization term,

    EθE_\theta0

  • Content (VICReg) Loss:

    • Invariance: Alignment of view embeddings,

    EθE_\theta1 - Variance: Ensures embedding spread,

    EθE_\theta2 - Covariance: De-correlates output dimensions,

    EθE_\theta3 - Combined content loss: EθE_\theta4

  • Total Joint Objective: For each iteration, batches are drawn from video (for flow) and ImageNet (for SSL), and

EθE_\theta5

with EθE_\theta6 yielding the best trade-off (Bardes et al., 2023).

3. Feature Interaction and Mutual Benefits

Backpropagation through the shared encoder EθE_\theta7 ensures strong interaction between the flow and content objectives:

  • Flow-based gradients promote the preservation of high-frequency and spatially local features, benefiting pixel-level localization within semantic embeddings.

  • VICReg invariance discourages overfitting to motion artifacts, driving the encoder toward semantic attributes while maintaining compatibility with accurate flow estimation.

  • The variance–covariance regularizer stabilizes representation learning, mitigating conflicts between motion and semantic gradients.

  • The architecture is optimized via joint multitask objectives rather than sequential training, enhancing co-adaptation.

Empirical analysis demonstrates that introducing the VICReg loss into pure motion learning improves final flow metrics, while supplementing standard VICReg with a flow branch elevates segmentation accuracy (e.g., VOC mIoU from 60.1 to 67.1) (Bardes et al., 2023).

4. Experimental Protocols and Evaluation Benchmarks

MC-JEPA employs comprehensive pretraining and evaluation strategies, with datasets and metrics spanning both motion and content domains:

  • Pretraining Datasets:

    • Flow: FlyingChairs, FlyingThings, KITTI raw/multiview (2012, 2015), MPI Sintel (raw, clean, final), HD1K.
    • Content: ImageNet-1k.
  • Flow Evaluation: MPI Sintel (clean/final, average EPE), KITTI 2015 (EPE, F1 >3px error).
  • Segmentation Benchmarks: Pascal VOC, Cityscapes, ADE20K—linear probe and fine-tuned, measured by mIoU.
  • Video Analysis: DAVIS 2017—mean region similarity EθE_\theta8, contour accuracy EθE_\theta9, and their average.

See Table 1 for comparative results:

Method KITTI EPE ↓ Sintel EPE ↓ VOC mIoU ↑ Cityscapes mIoU ↑ ADE20K mIoU ↑ DAVIS (JF) ↑
UFlow (PWC) 11.13 6.50
UPFlow 9.38 5.32
SMURF (RAFT) 6.83 4.18
VICRegL 79.7 78.3 44.1 66.7
DINO 79.5 78.1 43.5 69.9
MC-JEPA 11.33% F₁ 6.12 79.9 78.4 44.2 70.5

MC-JEPA demonstrates flow performance comparable to dedicated unsupervised methods and matches or outperforms leading SSL models in segmentation and DAVIS video analysis (Bardes et al., 2023).

5. Ablation Analyses and Design Sensitivities

Extensive ablation studies highlight the sensitivity and interdependence of losses, architectures, and data strategies:

  • Incorporating VICReg alongside flow improves flow EPE, while adding the flow head to VICReg baselines increases segmentation mIoU.
  • LayerNorm in the PWC head is essential to avoid gradient/weight instabilities; X(l):=Eθ(It)Rd(l)×h(l)×w(l),l=1L,X^{(l)} := E_\theta(I_t) \in \mathbb{R}^{d^{(l)} \times h^{(l)} \times w^{(l)}}, \quad l = 1\ldots L,0-normalization of flow output degrades optical flow quality.
  • Alternate batch/epoch sampling harms joint training performance; batchwise combined-loss sampling is optimal (e.g., flow EPE 2.67, VOC 67.1, DAVIS 70.5).
  • Flow training is most effective when introduced after X(l):=Eθ(It)Rd(l)×h(l)×w(l),l=1L,X^{(l)} := E_\theta(I_t) \in \mathbb{R}^{d^{(l)} \times h^{(l)} \times w^{(l)}}, \quad l = 1\ldots L,110 SSL epochs.
  • Optimal cycle-consistency and multi-task trade-off weights (X(l):=Eθ(It)Rd(l)×h(l)×w(l),l=1L,X^{(l)} := E_\theta(I_t) \in \mathbb{R}^{d^{(l)} \times h^{(l)} \times w^{(l)}}, \quad l = 1\ldots L,20.2 and X(l):=Eθ(It)Rd(l)×h(l)×w(l),l=1L,X^{(l)} := E_\theta(I_t) \in \mathbb{R}^{d^{(l)} \times h^{(l)} \times w^{(l)}}, \quad l = 1\ldots L,30.1, respectively) are critical; misconfiguration degrades both flow and segmentation results.
  • Pretraining the variance–covariance regularizer for 1 epoch prior to full multitask optimization slightly improves stability and accuracy.

6. Training Regimen and Augmentation Policies

The model is trained on 8× Tesla V100 GPUs for 100 epochs (∼3–4 days). The optimizer is AdamW, with X(l):=Eθ(It)Rd(l)×h(l)×w(l),l=1L,X^{(l)} := E_\theta(I_t) \in \mathbb{R}^{d^{(l)} \times h^{(l)} \times w^{(l)}}, \quad l = 1\ldots L,4 and weight decay X(l):=Eθ(It)Rd(l)×h(l)×w(l),l=1L,X^{(l)} := E_\theta(I_t) \in \mathbb{R}^{d^{(l)} \times h^{(l)} \times w^{(l)}}, \quad l = 1\ldots L,5. Learning rates are set as X(l):=Eθ(It)Rd(l)×h(l)×w(l),l=1L,X^{(l)} := E_\theta(I_t) \in \mathbb{R}^{d^{(l)} \times h^{(l)} \times w^{(l)}}, \quad l = 1\ldots L,6 for the encoder and VICReg head, and X(l):=Eθ(It)Rd(l)×h(l)×w(l),l=1L,X^{(l)} := E_\theta(I_t) \in \mathbb{R}^{d^{(l)} \times h^{(l)} \times w^{(l)}}, \quad l = 1\ldots L,7 for the flow head (starting after 10 epochs), both with cosine decay and a 10-epoch warm-up. Batch sizes are 384 for SSL and 8 for flow tasks. Data augmentations for ImageNet comprise random crops/scales ([0.08,1.0]), resizing to X(l):=Eθ(It)Rd(l)×h(l)×w(l),l=1L,X^{(l)} := E_\theta(I_t) \in \mathbb{R}^{d^{(l)} \times h^{(l)} \times w^{(l)}}, \quad l = 1\ldots L,8, color jitter, and Gaussian blur; flow datasets use dataset-specific fixed resolutions and standard geometric/color augmentations.

7. Conclusion and Significance

MC-JEPA establishes that a single joint-embedding predictive architecture can co-learn high-quality motion (optical flow) and semantic content features from both video and image data. Inter-task synergy arises from loss co-optimization and architectural coupling, improving localization within content features and sharpening flow predictions. The architecture achieves state-of-the-art or competitive results across optical flow and segmentation benchmarks and highlights the benefits of holistic, multi-task self-supervised representation learning (Bardes et al., 2023).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Motion-Content JEPA (MC-JEPA).