Abstract
Video captioning typically requires full fine-tuning of large vision-language models, which is computationally expensive and lacks explainability. This paper introduces VL-Prompt, a novel framework that utilizes a "Prompt Learns Prompt" strategy. By splitting the task into key information extraction via discrete Knowledge-Aware Prompts (KAP) and linguistic recovery via continuous Video-Language Prompts (VLP), the model achieves state-of-the-art performance on benchmarks like MSVD and MSR-VTT. VL-Prompt significantly improves memory efficiency, allowing for larger batch sizes and longer video sequences on standard hardware, while providing a more interpretable prompt-tuning mechanism.
Introduction
Fine-tuning massive vision-language models for specific tasks like video captioning presents a significant challenge. While "full fine-tuning" (updating all model parameters) yields high accuracy, it is computationally prohibitive and requires storing a full copy of the model for every new task. Prompt tuning has emerged as a parameter-efficient alternative where the model's backbone remains frozen, and only a small set of "prompt" vectors are learned. However, these learnable prompts are often "black boxes"—their internal representations are difficult to interpret. Furthermore, cross-domain knowledge transfer remains a hurdle.
The authors address these issues by proposing a framework where a continuous prompt "learns" from a discrete, human-readable knowledge-aware prompt, making the process both efficient and explainable.
Methods: The VL-Prompt Framework
The core innovation of this work is the VL-Prompt framework, which decomposes the captioning task into two distinct phases: extraction of key visual information and recovery of linguistic context.
1. Key Information Learning (Pre-training with KAP)
In the first phase, the model is trained to extract "notional words" (nouns and verbs) from a video. This is achieved using a Knowledge-Aware Prompt (KAP), a discrete, human-readable template. For instance, given a video of a teacher, the KAP might be: "A [n.] is [v.] on a [n.]". The model must learn to fill these blanks (e.g., "teacher", "writing", "whiteboard"), forcing the video encoder to prioritize critical visual actions and objects.
2. Context Prompt Recovery (Fine-tuning with VLP)
In the second phase, the backbone remains frozen. A continuous Video-Language Prompt (VLP)—a set of trainable vectors—is introduced. The VLP's task is to "recover" the full sentence structure, learning to integrate the keywords from Phase 1 into a natural, grammatically correct caption.
The architecture utilizes a Video Swin Transformer as the encoder and a stack of Efficient Transformer Layers for the decoder. To handle long video sequences efficiently, the decoder employs sparse "cropped attention" to reduce computational redundancy.
Experimental Results
The study evaluates VL-Prompt on three primary benchmarks: MSVD, MSR-VTT, and VATEX.
Performance and Efficiency
- State-of-the-Art Accuracy: On the MSVD dataset, VL-Prompt achieved a CIDEr score of 128.1, significantly outperforming the previous state-of-the-art, SwinBERT (120.6). Similar gains were observed on MSR-VTT, with a +4.3 improvement in both BLEU@4 and CIDEr metrics.
- Memory Efficiency: By freezing the backbone, the model avoids storing gradients for millions of parameters. This allows the system to process 64 video frames simultaneously on an 11GB GPU, whereas full fine-tuning typically encounters Out-of-Memory (OOM) errors at 32 frames.
- Ablation Studies: The importance of the KAP was confirmed through ablation; removing the knowledge-aware guidance caused the CIDEr score to drop from 128.1 to 102.9.
Theoretical Grounding
The authors utilize Shannon’s entropy theory to mathematically demonstrate that the information content in the continuous VLP and the discrete KAP are equivalent. This provides a rare theoretical justification for the effectiveness of their prompt collaboration strategy.
Conclusion
VL-Prompt demonstrates that "Prompt Learns Prompt" is a powerful paradigm for video captioning. By leveraging discrete knowledge to guide continuous prompt learning, the framework achieves superior performance while maintaining high efficiency and improved explainability. Future work may involve extending this mechanism to other multimodal tasks such as Video Question Answering (VQA) and exploring its performance in low-resource scenarios.
Summary updated