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

Midway Network: Learning Representations for Recognition and Motion from Latent Dynamics

Christopher Hoang, Mengye Ren

TL;DR: Midway Network is a novel self-supervised learning (SSL) architecture that jointly learns high-quality representations for both object recognition and motion understanding from unlabeled natural videos. By adapting latent dynamics modeling to the visual domain, it outperforms existing SSL methods on semantic segmentation and optical flow tasks simultaneously.

The Challenge: Recognition vs. Motion

In computer vision, "recognition" (identifying an object) and "motion" (tracking how it moves) are complementary, yet current self-supervised learning methods usually prioritize one over the other. Image-based SSL (like DINO) produces fantastic semantic features for recognition but ignores temporal dynamics. Conversely, video-based SSL often focuses on pixel-level correspondence (like optical flow) but results in "shallow" features that fail at high-level semantic tasks.

Methods that attempt to do both often rely on "crutches," such as pre-computed optical flow from external supervised networks. The core challenge is learning both "what" an object is and "how it moves" directly from the raw, complex, multi-object chaos of natural videos without any human labels.

Comparison of SSL approaches

Introducing the Midway Network

The authors introduce the Midway Network, which treats video representation learning as a latent dynamics problem. Instead of just predicting the next frame, the model learns to infer the transformation between frames.

Midway Network Architecture

Key technical innovations include:

  • The Midway Path: A top-down inference path extracts "motion latents" between a source frame and a target frame. These latents describe the transformation (the "how") between the two views.
  • Hierarchical Refinement: The model uses a hierarchy of backward and lateral layers to refine motion latents and features across multiple resolution levels, inspired by classical optical flow networks.
  • Dense Forward Prediction: The model is trained to predict the dense features of the target frame based on the source features and the inferred motion latents.
  • Learnable Gating Units: Standard Transformers often suffer from an "identity bias"—assuming nothing moved. Gating units added to the residual connections force the model to actively decide whether to use the original feature or the updated "moved" feature.
  • Joint Objective: A dynamics-based loss is combined with a DINO-style invariance loss to ensure the backbone encoder stays grounded in strong semantic features.

Key Insights and Results

The model was pretrained on large-scale datasets like BDD100K (dashcam videos) and Walking Tours (first-person footage), and evaluated across standard benchmarks.

  • Dynamics as a Teacher: Predicting how a feature changes over time provides a powerful signal for learning what that feature is. Understanding how a "car" feature moves differently than a "tree" feature improves both representations.
  • Best of Both Worlds Performance: Midway Network achieves strong results on both fronts. On BDD100K semantic segmentation, it achieved 39.7 mIoU, outperforming DINO (36.7). For optical flow on MPI-Sintel, it achieved an End-Point Error (EPE) of 4.1, significantly better than DINO (11.5) and competitive with specialized motion models.
  • Efficiency: Despite its architectural complexity, Midway Network uses less than half the training FLOPs of prior video-based SSL methods like PooDLe or DoRA.
  • Forward Feature Perturbation: To visualize the model's learned dynamics, the authors "wiggled" a specific feature in the source frame and observed where that wiggle appeared in the predicted target frame. This proved the model captures high-level correspondence (e.g., tracking a cyclist’s foot) without pixel-level supervision.

Limitations and Future Work

Currently, Midway Network does not incorporate agent actions (e.g., "the car turned left"), which are common in robotics "World Models." Future work could involve adding action-labeled data, testing the learned dynamics for downstream control or planning tasks, and scaling the architecture to even larger models and more diverse video domains.

Summary updated

BibTeX
@inproceedings{hoang2026midway,
  author = {Christopher Hoang and Mengye Ren},
  title = {{Midway Network: Learning Representations for Recognition and Motion from Latent Dynamics}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=ZenwrTwNcj},
}
Figure