From Semantics, Scene to Instance-awareness: Distilling Foundation Model for Grounded Open-vocabulary Situation Recognition

Chen Cai, Tianyi Liu, Jianjun Gao, Wenyang Liu, Kejun Wu, Ruoyu Wang, Yi Wang, Soo Chin Liew · DOI

Abstract

Recent Multimodal Large Language Models (MLLMs) exhibit strong zero-shot abilities but struggle with complex Grounded Situation Recognition (GSR) and are resource-intensive for edge device deployment. Meanwhile, conventional GSR models often lack generalization ability, falling short in recognizing unseen and rare situations. In this paper, we exploit transferring knowledge from a teacher MLLM to a small GSR model to enhance its generalization and zero-shot abilities, thereby introducing the task of Open-vocabulary Grounded Situation Recognition (Ov-GSR). To achieve this, we propose Multimodal Interactive Prompt Distillation (MIPD), a novel framework that distills enriched multimodal knowledge from the foundation model, enabling the student Ov-GSR model to recognize unseen situations and be better aware of rare situations. Specifically, the MIPD framework first leverages the LLM-based Judgmental Rationales Generator (JRG) to construct positive and negative glimpse and gaze rationales enriched with contextual semantic information. The proposed scene-aware and instance-perception prompts are then introduced to align rationales with visual information from the MLLM teacher via the Negative-Guided Multimodal Prompting Alignment (NMPA) module, effectively capturing holistic and perceptual multimodal knowledge. Finally, the aligned multimodal knowledge is distilled into the student Ov-GSR model, providing a stronger foundation for generalization that enhances situation understanding, bridges the gap between seen and unseen scenarios, and mitigates prediction bias in rare cases. We evaluate MIPD on the refined Ov-SWiG dataset, achieving superior performance on seen, rare, and unseen situations, and further demonstrate improved unseen detection on the HICO-DET dataset.

Introduction: The Challenge of Open-Vocabulary GSR

Grounded Situation Recognition (GSR) requires a model to identify the primary activity in an image, the entities involved, and their specific roles and locations. While specialized models perform well on fixed datasets, they face a "closed-set" limitation: they cannot recognize activities or entities not explicitly present in their training data. Furthermore, real-world data is often imbalanced, leading to poor performance on "rare" situations.

Comparison between traditional closed-set GSR and the proposed Open-vocabulary GSR (Ov-GSR) framework.

Multimodal Large Language Models (MLLMs) like InstructBLIP offer a potential solution through their vast zero-shot knowledge. However, these models are computationally expensive and slow, making them impractical for real-time applications on edge devices. The proposed Multimodal Interactive Prompt Distillation (MIPD) framework bridges this gap by distilling the semantic richness of MLLMs into a lightweight, efficient student model capable of open-vocabulary recognition.

Methodology: Multimodal Interactive Prompt Distillation (MIPD)

The MIPD framework introduces several key innovations to facilitate effective knowledge transfer from teacher to student:

  1. Judgmental Rationales Generator (JRG): Rather than distilling simple labels, MIPD uses an MLLM to generate detailed "rationales." These include Glimpse rationales for holistic scene understanding and Gaze rationales for fine-grained entity attributes. An "LLM-as-a-judge" mechanism iteratively refines these descriptions to ensure high quality.
  2. Negative-Guided Multimodal Prompting Alignment (NMPA): To sharpen decision boundaries, the framework generates "negative rationales" (descriptions of what is not happening). The student model learns to align its visual features with positive rationales while distancing them from negative ones.
  3. Learnable Visual Prompts: The framework employs scene-aware and instance-perception prompts to help the student's vision encoder (a frozen CLIP ViT-L/14) focus on relevant image regions during the distillation process.

Crucially, the complex rationale generation and alignment occur only during training. At inference, the student model operates independently, maintaining high efficiency.

Experimental Results: Generalization and Efficiency

The authors evaluated MIPD on the Ov-SWiG dataset, a refined version of the Situation With Grounding benchmark designed to test generalization on 10 "unseen" and 20 "rare" verbs.

Superior Generalization

MIPD achieved a 7.40% accuracy on unseen verbs, more than doubling the performance of previous state-of-the-art open-vocabulary methods like OpenSU (2.40%). For rare activities, MIPD reached 28.30% accuracy, a significant improvement over the 22.70% baseline. These results demonstrate that distilling semantic rationales provides a much stronger foundation for generalization than simple label-based training.

Hardware Efficiency

One of the primary goals of MIPD is to enable high-performance GSR on resource-constrained hardware. As shown in the performance analysis, the MIPD student model drastically outperforms its MLLM teachers in terms of speed and memory footprint.

Performance comparison of MIPD against various MLLM teachers in terms of memory usage, frame rate (FPS), and accuracy.

MIPD operates at over 40 Frames Per Second (FPS) while consuming only 2.42 GB of memory. In contrast, a teacher model like InstructBLIP runs at a mere 0.19 FPS and requires over 16 GB of memory. This makes MIPD suitable for deployment on mobile robots or wearable devices.

Conclusion

MIPD successfully addresses the limitations of both specialized GSR models and giant MLLMs. By distilling structured, multimodal rationales, the framework enables small models to achieve open-vocabulary capabilities and robust performance on rare situations without sacrificing real-time efficiency. Future work will look toward extending this scene-aware distillation to video-based situation recognition.

Summary updated

BibTeX
@inproceedings{cai2025from,
  author = {Chen Cai and Tianyi Liu and Jianjun Gao and Wenyang Liu and Kejun Wu and Ruoyu Wang and Yi Wang and Soo Chin Liew},
  title = {{From Semantics, Scene to Instance-awareness: Distilling Foundation Model for Grounded Open-vocabulary Situation Recognition}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3755235},
}
Figure