Controllable Video Captioning With POS Sequence Guidance Based on Gated Fusion Network

Bairui Wang, Lin Ma, Wei Zhang, Wenhao Jiang, Jingwen Wang, Wei Liu

Introduction

Video captioning is the task of automatically describing video content in natural language. Unlike image captioning, it requires modeling complex spatial-temporal dynamics across multiple frames. Current approaches often suffer from two primary limitations: suboptimal fusion of multi-modal features (such as appearance and motion) and a lack of syntactic control, which often leads to repetitive or generic descriptions.

This paper introduces a novel framework that addresses these challenges using a Gated Fusion Network (GFN) for intelligent feature integration and a Part-of-Speech (POS) sequence generator to provide a global syntactic blueprint for sentence generation.

Methodology

The proposed system architecture is divided into three main modules: feature fusion, syntactic planning, and hierarchical decoding. This structure allows the model to first understand the video content and then plan the grammatical structure before selecting specific words.

The overall architecture of the proposed model, featuring the Gated Fusion Network (GFN), POS Sequence Generator, and Description Generator.

Gated Fusion Network (GFN)

To move beyond simple feature concatenation, the GFN employs a Cross-Gating (CG) block. This mechanism uses one feature set (like motion) to gate and refine another (like appearance). By dynamically highlighting mutually relevant information, the GFN creates a more representative fused feature vector ($x_i$) that filters out noise from irrelevant modalities. This ensures that the most salient visual and temporal information is passed to the decoder.

POS Sequence Guidance

A unique aspect of this framework is the POS Sequence Generator. Before generating words, the model predicts a sequence of syntactic tags (e.g., ART -> NOUN -> VERB). This sequence acts as a "prior" that narrows the search space for the final vocabulary, ensuring the output follows a coherent grammatical path. This also enables controllability: by manually intervening in the POS sequence, users can steer the model toward specific sentence structures or levels of detail, such as forcing the inclusion of adjectives for more descriptive output.

Hierarchical Description Decoder

The final caption is produced by a two-layer LSTM decoder that adaptively incorporates the predicted POS information at each time step.

Detailed view of the Description Decoder, showing how POS guidance (ψ) and soft attention over fused features (x_i) are integrated into the LSTM layers.

As shown in the decoder architecture, Soft Attention is applied over the fused video features. The POS guidance (ψ) is processed through a gating mechanism to influence the hidden states of the LSTMs ($h_t^{(D1)}, h_t^{(D2)}$), ensuring that the generated words align with the predicted syntactic structure.

Experimental Results

The model was evaluated on the MSR-VTT, MSVD, and ActivityNet 1.3 datasets. Training involved a two-stage process: supervised learning for the POS generator followed by Reinforcement Learning (Self-Critical Sequence Training) to optimize directly for the CIDEr metric.

Quantitative Performance

On the MSR-VTT benchmark, the model achieved state-of-the-art results with a CIDEr score of 53.4 and a ROUGE-L of 62.1. Ablation studies demonstrated that removing either the Cross-Gating block or the POS guidance resulted in a significant performance drop, validating the importance of both components to the system's success.

Qualitative Improvements

The inclusion of POS guidance led to more specific and diverse captions. For instance, while baseline models might produce a generic "A person is cooking," the proposed model generates more detailed descriptions like "A woman is mixing some ingredients in a bowl," accurately capturing both the specific action and the objects involved.

Conclusion

By integrating syntactic planning into the generative process, this framework provides a robust method for controllable video captioning. The Gated Fusion Network ensures high-quality multi-modal representations, while the POS sequence generator offers a novel way to guide and control the linguistic structure of the output. Future work will focus on expanding the POS categories and automating the generation of diverse syntactic structures to further enhance caption variety.

Summary updated

BibTeX
@inproceedings{wang2019controllable,
  author = {Bairui Wang and Lin Ma and Wei Zhang and Wenhao Jiang and Jingwen Wang and Wei Liu},
  title = {{Controllable Video Captioning With POS Sequence Guidance Based on Gated Fusion Network}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00273},
}
Figure