Video-Panda: Parameter-efficient Alignment for Encoder-free Video-Language Models

Jinhui Yi, Syed Talal Wasim, Yanan Luo, Muzammal Naseer, Juergen Gall

Introduction

Most current video-language models (VLMs) are "heavyweight" by design, typically integrating large pre-trained image encoders (like CLIP) or massive video encoders with a Large Language Model (LLM). This architecture introduces two major bottlenecks: significant computational overhead due to processing multiple frames through massive encoders, and an alignment gap where simple linear layers fail to capture complex spatio-temporal relationships.

Video-Panda addresses these issues by introducing a highly efficient, "encoder-free" architecture. By replacing multi-billion parameter visual encoders with a specialized 45M-parameter alignment block, Video-Panda achieves comparable or superior performance on open-ended video question-answering benchmarks while being up to 9x smaller and 4x faster than traditional models.

Architecture: The Spatio-Temporal Alignment Block (STAB)

The core innovation of Video-Panda is the Spatio-Temporal Alignment Block (STAB). Unlike existing methods that rely on frozen, general-purpose encoders, STAB processes raw video patches directly into the LLM's embedding space through several specialized stages:

  • Local Spatio-Temporal Encoding (LSTE): Utilizes 3D convolutions to capture motion and local patterns within small video windows.
  • Local Spatial Downsampling (LSD): Employs window-based attention to reduce spatial resolution and token count without losing critical information.
  • Dual Aggregators: Splits processing into Global (GSTRA) and Frame-wise (FSRA) paths to capture both broad context and fine-grained details.
  • Spatial Preservation: Inserts special <row> tokens to maintain the 2D structure of video frames, helping the LLM understand scene layout.
Architectural comparison of Video-Panda's encoder-free design versus existing heavyweight methods.

To train this compact block, the authors use a three-stage pipeline (Initial Alignment, Integration, and Instruction Tuning) centered on Knowledge Distillation. A smaller "student" model (STAB) learns to mimic the visual representations of a larger "teacher" model (LanguageBind), allowing it to reach high performance with a fraction of the parameters.

Key Results and Efficiency

Video-Panda demonstrates that focusing on specialized alignment rather than general-purpose encoding can yield state-of-the-art efficiency.

  • Parameter Efficiency: The visual component uses only 45M parameters, representing a 9x reduction compared to models like Video-LLaVA (425M).
  • Inference Speed: Video-Panda processes video in approximately 41ms, which is 3-4x faster than previous encoder-based methods (typically 125ms-171ms).
  • Performance: On the MSVD-QA benchmark, Video-Panda achieved 64.7% accuracy, nearly matching Video-ChatGPT while outperforming it in qualitative metrics like temporal understanding.
Accuracy vs. Number of Parameters (logscale) across various video-language models, highlighting Video-Panda's efficiency.

Conclusion and Future Work

Video-Panda proves that massive visual encoders are not strictly necessary for high-performing video-language tasks. By prioritizing structural preservation and efficient spatio-temporal modeling, the model achieves a significant leap in speed and parameter efficiency.

However, limitations remain: the current 8-frame sampling strategy may struggle with extremely long videos, and the model's performance is currently capped by the quality of its distillation teacher. Future work will explore more efficient tokenization and scaling the architecture to handle longer video contexts without linear increases in computation.

Summary updated

BibTeX
@inproceedings{yi2025video,
  author = {Jinhui Yi and Syed Talal Wasim and Yanan Luo and Muzammal Naseer and Juergen Gall},
  title = {{Video-Panda: Parameter-efficient Alignment for Encoder-free Video-Language Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02246},
}
Figure