See What I Mean: Aligning Vision and Language Representations for Video Fine-grained Object Understanding

Boyuan Sun, Bowen Yin, Yuanming Li, Xihan Wei, Qibin Hou

TL;DR

The paper introduces SWIM (See What I Mean), a training strategy that enables Multimodal Large Language Models (MLLMs) to perform fine-grained video object understanding using only natural language prompts at inference time. By regularizing the model's internal cross-attention maps during training, SWIM eliminates the need for cumbersome visual prompts like bounding boxes or masks when interacting with the model.

What Problem Does This Paper Address?

While modern MLLMs excel at holistic scene understanding, they frequently stumble when asked to focus on specific, fine-grained objects within a video based solely on a textual description. To circumvent this, existing specialist models rely on explicit visual prompts—such as bounding boxes, points, or masks—to guide the model's focus. However, requiring users to provide visual coordinates or masks is clunky and deviates from how we naturally interact with language models.

The authors uncovered a fascinating underlying cause for this limitation by analyzing the cross-attention maps of pretrained MLLMs. They observed a systematic discrepancy: attribute words (like "brown" or "striped") naturally produce sharp, localized activations on the correct visual regions because they map directly to low-level textures and colors. Conversely, object nouns (like "man" or "shirt") produce diffuse, scattered attention patterns due to semantic reference bias and high-level abstract representations.

SWIM bridges this vision-language alignment gap, allowing models to naturally "know" which object a text prompt refers to without needing any extra visual hints at inference time.

Figure 2. Visual comparisons of cross-attention maps for object nouns and attribute words between Qwen2.5-VL [2] and SWIM. The attribute words tied with low-level texture exhibit sharp and localized attention over correct regions, whereas the object nouns corresponding to high-level semantic concepts result in diffuse activations. This discrepancy motivates our explicit supervision strategy in SWIM.

Methods

SWIM achieves fine-grained object grounding through a two-step approach: dataset refinement and attention regularization.

  1. NL-Refer Dataset Construction: The authors took the existing VideoRefer dataset—which uses abstract placeholder tokens like <region> to link text to video masks—and used GPT-4o to rewrite the prompts into natural language expressions. Crucially, the core object noun (e.g., "man") is wrapped in a special <ins> markup tag to track its token position during training.
  2. Attention Regularization: During supervised fine-tuning, SWIM extracts the cross-attention matrices from multiple intermediate layers of the LLM decoder for the specific tagged noun token. These multi-layer attention maps are averaged to capture a stable cross-modal representation.
  3. Loss Function: The aggregated attention map is supervised directly against the ground-truth object mask using a pixel-wise Binary Cross-Entropy (BCE) loss.

At inference time, the markup tags and attention regularization are completely discarded. The model naturally focuses its attention on the correct region based purely on the text prompt.

Figure 3. Training pipeline of SWIM. Explicitly supervision is applied on cross-attention between object noun and visual tokens, enable accurate fine-grained object grounding from pure neutral text prompts at inference without any extra visual prompt.

Datasets

The model was trained and evaluated using a mix of fine-grained and general video datasets:

  • NL-Refer (New): 125K video clips featuring refined natural language descriptions paired with pixel-level instance masks.
  • LLaVA-Video-178K & VideoRefer-QA-75K: Subsampled portions used to preserve the model's general multi-choice and conversational capabilities.
  • Evaluation Benchmarks: Fine-grained evaluation was conducted on VideoRefer-Bench-Q (reasoning/QA) and VideoRefer-Bench-D (description generation). Generalization was tested on MVBench, Video-MME, and ActivityNet-QA.

Key Insights and Ideas

  • The Noun-Attribute Discrepancy: Nouns appear in highly diverse contexts in large pretraining corpora, which dilutes their spatial association in cross-attention layers. Attributes are spatially constrained by nature, leading to sharper baseline attention.
  • BCE Over Overlap Losses: The authors found that standard segmentation losses like mIoU or Dice loss underperformed when regularizing attention maps. Because attention maps are inherently sparse due to the softmax operation, treating each pixel independently with BCE applies a uniform probabilistic penalty that suppresses irrelevant background activations much more effectively.
  • Uniform Layer Selection: Regularizing attention across evenly spaced layers throughout the network yields more stable cross-modal alignment than clustering supervision within a narrow depth range.

Key Results

SWIM achieves state-of-the-art performance on fine-grained benchmarks without requiring any architectural modifications or extra visual inputs:

  • VideoRefer-Bench-Q: SWIM achieved an average accuracy of 78.3%, significantly outperforming its base model Qwen2.5-VL-7B (71.8%) and even surpassing proprietary GPT-4o (71.3%).
  • VideoRefer-Bench-D: SWIM scored an average of 3.78 (out of 5), outperforming the best visual-prompt-based specialist model, DAM-8B (3.68).
  • Generalization: On broader video benchmarks like MVBench and Video-MME, SWIM maintained competitive performance, proving that fine-grained attention regularization does not degrade holistic video understanding.
  • Scalability: The strategy scales monotonically with data volume. As shown in the performance trend, there is no apparent plateau at 125K samples, suggesting further data scaling will yield even stronger alignment.
Figure 4. Scalablity of SWIM. The performance of SWIM scales consistently with the increase in data scale.

Limitations and Future Work

The primary limitation acknowledged by the authors is that their experiments are bounded by the current scale of the NL-Refer dataset (125K videos). Because the scalability curve shows a steady upward trajectory without plateauing, the model's full potential remains untapped. The authors suggest that expanding this training paradigm to broader, more diverse, and larger-scale mask-annotated video corpora is a promising direction for future research.

Summary updated

Abstract

We present SWIM (See What I Mean), a novel training strategy that aligns vision and language representations to enable fine-grained object understanding solely from textual prompts. Unlike existing approaches that require explicit visual prompts, such as masks or points, SWIM leverages mask supervision only during training to guide cross-modal attention, allowing the model to automatically attend to the user-specified object at inference. Our cross-attention analysis of pretrained multimodal large languagemodels (MLLMs) reveals a systematic discrepancy: Attribute words produce sharp, localized activations in the visual modality, whereas object nouns yield diffuse and scattered patterns due to semantic reference bias and distributed high-level representations. To address this misalignment, we construct NL-Refer, an enriched dataset, in which each object mask is paired with a precise natural language referring expression. SWIM extracts multi-layer cross-attention maps from object nouns and enforces spatial consistency with ground-truth masks. Experimental results demonstrate that SWIM substantially improves text-visual alignment and achieves superior performance over visual-prompt-based methods on fine-grained object understanding benchmarks. The code and data are available at \href{https://github.com/HumanMLLM/SWIM}{https://github.com/HumanMLLM/SWIM}.
BibTeX
@inproceedings{sun2026see,
  author = {Boyuan Sun and Bowen Yin and Yuanming Li and Xihan Wei and Qibin Hou},
  title = {{See What I Mean: Aligning Vision and Language Representations for Video Fine-grained Object Understanding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=lmmHKAFdL0},
}
Figure