[Paper Review] Accurate and Fast Compressed Video Captioning
This paper proposes an end-to-end compressed-domain video captioning model that directly processes I-frames, motion vectors, and residuals from compressed video, eliminating redundant decoding and feature extraction. By leveraging refined, non-redundant compressed video components, the method achieves state-of-the-art CIDEr scores (56.2 on MSRVTT) while running nearly 2× faster than prior approaches.
Existing video captioning approaches typically require to first sample video frames from a decoded video and then conduct a subsequent process (e.g., feature extraction and/or captioning model learning). In this pipeline, manual frame sampling may ignore key information in videos and thus degrade performance. Additionally, redundant information in the sampled frames may result in low efficiency in the inference of video captioning. Addressing this, we study video captioning from a different perspective in compressed domain, which brings multi-fold advantages over the existing pipeline: 1) Compared to raw images from the decoded video, the compressed video, consisting of I-frames, motion vectors and residuals, is highly distinguishable, which allows us to leverage the entire video for learning without manual sampling through a specialized model design; 2) The captioning model is more efficient in inference as smaller and less redundant information is processed. We propose a simple yet effective end-to-end transformer in the compressed domain for video captioning that enables learning from the compressed video for captioning. We show that even with a simple design, our method can achieve state-of-the-art performance on different benchmarks while running almost 2x faster than existing approaches. Code is available at https://github.com/acherstyx/CoCap.
Motivation & Objective
- To address inefficiencies in existing video captioning pipelines that rely on frame decoding and redundant feature extraction.
- To improve inference speed by processing compressed video instead of decoded frames.
- To enhance captioning accuracy by leveraging refined, non-redundant information in compressed video components.
- To eliminate offline feature extraction and reduce computational overhead in video captioning.
- To demonstrate that compressed-domain learning can match or exceed performance of full-frame-based methods while being significantly faster.
Proposed method
- The model processes compressed video inputs consisting of I-frames, motion vectors, and residuals without decoding.
- Three separate encoders extract features from I-frames (context), motion vectors (motion), and residuals (residual detail).
- An action encoder fuses context, motion, and residual features to generate a unified action representation.
- A multimodal transformer decoder generates natural language captions from the fused features.
- The entire pipeline is end-to-end trainable, avoiding offline feature extraction and frame sampling.
- Model design prioritizes efficiency by operating on compact, refined compressed data rather than full-resolution frames.
Experimental results
Research questions
- RQ1Can video captioning performance be maintained or improved by processing compressed video instead of decoded frames?
- RQ2Does using I-frames, motion vectors, and residuals together yield better captioning than using any single component?
- RQ3How does the number of Group of Pictures (GOP) affect model performance and inference speed?
- RQ4What is the optimal depth of individual encoders for balancing performance and efficiency?
- RQ5Can the action encoder effectively integrate object-level and action-level features for improved captioning?
Key findings
- The model achieves a CIDEr score of 56.2 on the MSRVTT dataset, outperforming prior methods while running nearly 2× faster.
- Using only I-frames yields a CIDEr score of 54.1, but performance improves to 56.2 when all three components (I-frame, motion vector, residual) are used.
- The action encoder contributes significantly, reducing performance by 1.9 points (to 54.3) when removed.
- Smaller GOP sizes (e.g., KeyInt=60, GOP=8) yield better performance (CIDEr=56.2) than larger GOPs (e.g., KeyInt=250), though at the cost of increased inference time.
- Increasing the number of layers in the I-frame encoder improves performance (from 56.2 to 57.2 CIDEr), while deeper encoders for motion/residual modules yield no further gains.
- Qualitative results show that the model generates semantically consistent captions closely aligned with ground truth, particularly in capturing motion behavior.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.