MoTE: Reconciling Generalization with Specialization for Visual-Language to Video Knowledge Transfer

Minghao Zhu, Zhengpu Wang, Mengxian Hu, Ronghao Dang, Xiao Lin, Xun Zhou, Chengju Liu, Qijun Chen · DOI

In the current era of computer vision, foundation models like CLIP have established robust visual concepts by training on billions of image-text pairs. However, adapting these models to dynamic video content introduces a significant challenge: videos require temporal understanding, yet foundation models are often "temporally blind."

To address this, researchers typically introduce "temporal modules"—additional layers designed to capture motion. However, this leads to a fundamental trade-off. As these modules are tuned to excel at specific video datasets (specialization), the model often loses the broad, flexible knowledge it originally possessed (generalization). This paper, presented at NeurIPS 2024, introduces MoTE (Mixture of Temporal Experts), a framework designed to overcome this zero-sum game.

The Generalization-Specialization Trade-off

When adapting Vision-Language Models (VLMs) for video, researchers face a "Goldilocks" problem. Minimal adaptation leaves the model unable to distinguish between temporally distinct actions (e.g., "opening" vs. "closing" a door). Conversely, aggressive adaptation leads to overfitting on specific training labels (like Kinetics-400), causing zero-shot performance on unseen categories to plummet.

MoTE reconciles the trade-off between zero-shot generalization and close-set specialization compared to standard Transformer layers.

As shown in the figure above, standard Transformer layers exhibit a sharp decline in zero-shot harmonic mean as they are scaled to improve close-set performance. MoTE, however, maintains or even improves generalization while simultaneously boosting specialized performance.

Methodology: Mixture of Temporal Experts

The authors propose three key innovations to bridge the gap between generalization and specialization:

1. Mixture of Temporal Experts (MoTE)

Instead of a single feed-forward network (FFN), MoTE utilizes multiple FFN "experts." During training, a Stochastic Routing algorithm sends data to different experts based on a multinomial distribution. By design, experts with higher indices are activated more frequently, allowing some experts to become highly specialized on the training data while others retain more generalized features.

2. Weight Merging Regularization (WMR)

To maintain inference efficiency, MoTE collapses all experts into a single FFN by averaging their weights before deployment. To ensure the merged model retains the strengths of individual experts, the authors use WMR during training. This regularizer optimizes the model toward a "flat" loss landscape, which is a known indicator of superior generalization and robustness to weight perturbations.

3. Temporal Feature Modulation (TFM)

TFM is a "plug-and-play" module used during inference. It calculates the semantic similarity between a test category and the training data. For entirely new categories, the model reduces the influence of temporal features, relying instead on the robust, pre-trained CLIP visual features to prevent errors caused by overfitted motion patterns.

Detailed architecture of the MoTE framework, including the expert routing, weight merging process, and test-time feature modulation.

Key Results and Insights

MoTE achieves a state-of-the-art balance across diverse evaluation benchmarks:

  • Zero-Shot Performance: Using a ViT-L/14 backbone, MoTE achieved 88.7% on UCF-101 and 61.4% on HMDB-51, outperforming previous leaders like Open-VCLIP.
  • Close-Set Accuracy: While excelling at zero-shot tasks, MoTE maintained a high 87.2% accuracy on Kinetics-400, proving it does not sacrifice specialization for generalization.
  • Computational Efficiency: Because the experts are merged into a single FFN prior to deployment, MoTE incurs the exact same inference cost (GFLOPs) as a standard, single-expert temporal adapter.
  • Few-Shot Transfer: In 2-shot to 16-shot settings, MoTE consistently outperformed specialized models like MAXI, demonstrating that its learned features are more transferable across domains.

Conclusion

MoTE demonstrates that generalization and specialization are not mutually exclusive in video recognition. By intentionally creating a spectrum of knowledge within a mixture of experts and utilizing weight-merging regularization, the framework allows VLMs to learn complex temporal dynamics without losing the foundational knowledge that makes them powerful. This approach provides a scalable, efficient blueprint for transferring knowledge from static image-text models to the dynamic world of video.

Summary updated

BibTeX
@inproceedings{zhu2024mote,
  author = {Minghao Zhu and Zhengpu Wang and Mengxian Hu and Ronghao Dang and Xiao Lin and Xun Zhou and Chengju Liu and Qijun Chen},
  title = {{MoTE: Reconciling Generalization with Specialization for Visual-Language to Video Knowledge Transfer}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=vpEq2bzsS0},
}
Figure