PiTe: Pixel-Temporal Alignment for Large Video-Language Model

Yang Liu, Pengxiang Ding, Siteng Huang, Min Zhang, Han Zhao, Donglin Wang

Introduction

Large Language Models (LLMs) have demonstrated remarkable reasoning capabilities, yet extending this intelligence to the video domain remains a significant challenge. Current Large Video-Language Models (LVidLMs) typically rely on "vanilla" instruction tuning, treating video as a sequence of static frames or attempting to learn associations through broad Q&A pairs. This approach often fails to capture fine-grained spatial-temporal alignment—the precise relationship between specific words in a sentence and the movement of objects across pixels and time.

To address this, we introduce PiTe (Pixel-Temporal Alignment), a framework designed to explicitly align textual descriptions with object trajectories. By bridging the gap between pixels and language, PiTe achieves state-of-the-art performance in video understanding tasks including question answering, temporal grounding, and dense captioning.

Methodology: Trajectory-Guided Alignment

The core innovation of PiTe is the shift from simple instruction alignment to Trajectory Alignment. While standard models project visual features into a latent space for the LLM, PiTe incorporates a specialized Trajectory Projector. This MLP-based component learns to map the LLM's internal representations of specific words to precise 2D coordinates $(x, y)$ across the temporal dimension of a video.

Comparison of training paradigms: Instruction Alignment vs. Trajectory Alignment.

The training process follows a rigorous three-stage pipeline:

  1. Referring Expression Localization: The model is first initialized on static images using "Localized Narratives" to link words to spatial coordinates.
  2. Pixel-Temporal Alignment: The model learns to predict object trajectories from video captions. For instance, if a caption mentions a "dog," the model must output the path the dog takes throughout the clip.
  3. Instruction Tuning: Finally, the model is fine-tuned on high-quality dialogue data to enable natural conversational capabilities.

The architecture utilizes a ViT-L/14 vision encoder and a Vicuna LLM backbone, with LoRA (Low-Rank Adaptation) employed for efficient training.

The PiTe-143k Dataset

A major hurdle in training trajectory-aware models is the lack of large-scale datasets containing both captions and precise object paths. To overcome this, we developed PiTe-143k, a massive dataset comprising 143,640 videos, 343,930 event segments, and over 1.02 million individual object trajectories.

The automated pipeline for generating object trajectories from video captions.

The dataset was created using an automated pipeline consisting of two primary stages:

  • Stage 1: Segmentation: The SuPar parser identifies nouns within captions, and the GLaMM model localizes the identified objects in the initial frame.
  • Stage 2: Point Tracking: The DOT model tracks these objects across subsequent frames to generate continuous trajectories.

Key Insights and Results

Our experiments yielded several critical insights into video-language alignment:

  • Trajectories as a Bridge: Trajectories serve as a "universal language" that inherently captures both spatial (where) and temporal (when) information.
  • The Importance of Initialization: Ablation studies revealed that initializing the trajectory projector with weights from static image localization (Stage 1 of training) is essential for accurate temporal perception.
  • Optimal Point Density: We found that tracking 3 points per object provides the best balance between capturing geometry and avoiding training noise.

PiTe consistently outperformed existing state-of-the-art models like Video-ChatGPT and Video-LLaMA. In Video QA, PiTe-7B achieved 68.4% accuracy on MSVD-QA, while the 13B variant reached 71.6%. The model's grounding capabilities were particularly impressive, with mean IoU on ActivityNet rising to 26.0 (13B model). Furthermore, dense captioning quality saw a dramatic improvement, with CIDEr scores jumping from 5.8 to 21.7.

Limitations and Future Work

While PiTe represents a significant step forward, some limitations remain. The model currently samples a maximum of 100 frames, which may overlook details in very long videos. Additionally, the automated pipeline can struggle with very small objects. Future research will focus on scaling trajectory alignment to even larger datasets and exploring more complex motion dynamics beyond point tracking.

Summary updated

BibTeX
@inproceedings{liu2024pite,
  author = {Yang Liu and Pengxiang Ding and Siteng Huang and Min Zhang and Han Zhao and Donglin Wang},
  title = {{PiTe: Pixel-Temporal Alignment for Large Video-Language Model}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72652-1\_10},
}
Figure