TL;DR
This paper introduces ObjectMLLM, a framework that integrates explicit object representations (like bounding boxes) into multimodal large language models (MLLMs) for video understanding. They found that a simple, language-based representation of object locations significantly boosts performance, especially on tasks requiring spatial reasoning, and is more data-efficient than embedding-based approaches.
What Problem Does This Paper Address?
The field of video-language understanding, particularly with the rise of multimodal large language models (MLLMs), faces a challenge in effectively representing and reasoning about visual information. While some approaches rely on implicit visual features derived from image encoders or rely solely on video captions, these methods can miss crucial fine-grained spatiotemporal details. For instance, a caption might describe a basketball game, but not explicitly state the ball's trajectory relative to the hoop. This paper investigates whether explicitly incorporating object-centric information, such as bounding box coordinates, can enhance MLLMs' understanding of videos, and how best to integrate this information.
Methods
The core of the paper is the ObjectMLLM framework. It takes standard multimodal inputs like video frame embeddings and captions, and crucially, adds object bounding box information. The novelty lies in how these bounding boxes are integrated:
- Object Detection and Tracking: They use off-the-shelf tools like YOLO-World for object detection and SAM 2 for tracking to extract bounding boxes and their temporal locations.
- Bounding Box Adapters: Two methods are proposed to convert these continuous bounding box coordinates into a format usable by LLMs:
- Language-based Representation: This is the paper's key innovation. Bounding box coordinates are quantized, normalized, and then represented as plain text tokens (e.g., "frame 0 [x1 y1 x2 y2]"). This leverages the LLM's existing vocabulary and tokenization.
- Embedding Projector: A more traditional approach where a linear layer maps the vectorized bounding box coordinates into the LLM's embedding space.
- Fine-tuning Strategy: They employ parameter-efficient fine-tuning (PEFT) methods like LoRA to adapt the LLM backbone and the bounding box adapters. They also explore a modality-by-modality training approach, gradually introducing captions and then bounding boxes.
Datasets
The paper evaluates ObjectMLLM on several video question answering benchmarks:
- CLEVRER-MC: A subset of CLEVRER questions adapted for multi-choice format.
- Perception Test: A diagnostic benchmark for multimodal video models.
- STAR: A benchmark for situated reasoning in real-world videos.
- NEXT-QA: A benchmark for next-phase question answering and temporal action explanation.
- IntentQA: A benchmark for reasoning about user intent in videos.
- BABEL-QA: Used to demonstrate generalization to richer symbolic representations like human poses.
Key Insights and Ideas
- Explicit Object Information is Crucial: The paper strongly suggests that simply relying on implicit visual features or captions is insufficient for many video understanding tasks. Explicitly providing object locations and movements significantly improves performance, especially for tasks involving spatial reasoning and motion.
- Language-Based Object Representation Wins: The most surprising and impactful finding is that representing bounding boxes as plain text tokens (language-based) is more effective and data-efficient than using embedding projectors. This suggests that LLMs might already possess a strong "spatial awareness" that can be tapped into by simply providing structured textual information.
- Data Efficiency Matters: The language-based approach requires significantly less fine-tuning data to achieve good performance compared to embedding projectors, making it a more practical and scalable solution.
- Generalization to Other Symbolic Representations: The success of the language-based approach isn't limited to bounding boxes; it also shows promise for other structured visual data like human pose keypoints, indicating a broader applicability of this integration strategy.
Key Results
- Performance Boost: ObjectMLLM, using the language-based bounding box representation, consistently outperformed baseline models (using only captions or visual embeddings) across multiple benchmarks, particularly on CLEVRER-MC and Perception Test. For instance, on CLEVRER-MC, ObjectMLLM achieved 77.6% accuracy compared to 64.9% for the embedding projector with full training data.
- Data Efficiency: With only 1/8th of the training data, the language-based representation achieved 63.8% accuracy on CLEVRER-MC, while the embedding projector struggled at 44.5%.
- Motion Understanding: The language-based representation showed a significant advantage on motion-related questions, aligning with human perceptual studies.
- Modality Contributions: Combining captions and bounding boxes yielded better results than either modality alone on most benchmarks. However, adding visual embeddings on top of captions and boxes did not consistently improve performance, suggesting that the explicit object information is more critical than generic visual features in this context.
Limitations and Future Work
- Computational Cost of Language-Based Representation: While effective, the language-based approach can lead to longer context windows due to the tokenization of bounding boxes, making it computationally more expensive.
- Benchmark Specificity: The paper notes that the importance of object information varies across benchmarks. For tasks heavily focused on human actions and causal reasoning (like NEXT-QA and IntentQA), object bounding boxes alone might not be as impactful.
- Future Work: The authors suggest exploring the integration of other structured visual representations beyond bounding boxes and human poses. They also highlight the potential for further improving MLLMs by leveraging these explicit, data-efficient interfaces to computer vision models.
Summary updated