Dependent Multi-Task Learning with Causal Intervention for Image Captioning

Wenqing Chen, Jidong Tian, Caoyun Fan, Hao He, Yaohui Jin

Introduction

Image captioning models often struggle with "hallucinations"—generating objects not present in the image—and generic descriptions. These issues frequently arise from spurious correlations in training data, where models learn statistical shortcuts (e.g., associating "long hair" with "woman") rather than true causal relationships. This paper, presented at IJCAI-2021, introduces DMTCI (Dependent Multi-Task learning with Causal Intervention) to address these biases using Pearl’s do-calculus.

Addressing Spurious Correlations

The standard "extract-then-generate" paradigm in modern captioning is prone to two major flaws:

  1. Content Inconsistency: Models may contradict visual facts due to strong statistical links in the dataset. For instance, a model might label a man with long hair as a "woman" because of the high co-occurrence of those features in training data.
  2. Lack of Informativeness: Models often default to safe, generic terms (e.g., "video game") instead of specific identifiers (e.g., "Wii game").

The authors identify "confounders"—hidden variables influencing both image features and labels—as the root cause. By intervening in the causal process, the model can be forced to focus on features that actually cause the labels.

Causal graphs and effect illustration of do-calculus in image captioning.

The DMTCI Framework

The proposed framework employs a three-pronged strategy to de-bias the captioning process.

1. Dependent Multi-Task Learning (DMT)

DMT introduces an intermediate task: Bag-of-Categories (BOC) generation. This acts as a "mediator" variable ($m$), forcing the model to build a robust internal representation of the visual scene's objects before generating a full sentence.

2. Causal Intervention via Do-Calculus

To eliminate confounder influence, the authors transition from learning $P(y|x)$ (probability of caption $y$ given image $x$) to $P(y|do(x))$. Since many real-world confounders are unobservable, they utilize "proxy confounders" (high-frequency concepts and predicates) and Variational Inference to estimate them in a continuous latent space. This process effectively "cuts the arrows" from confounders to the input image in the causal graph.

Comparison of different causal structures, highlighting the transition from simple mediation to latent de-confounding.

3. Multi-Agent Reinforcement Learning (MARL)

To prevent error accumulation between the BOC task and caption generation, the authors use a MARL strategy. Both components are treated as agents optimized jointly via a modified Self-Critical Sequence Training (SCST) approach, ensuring the intermediate task directly supports the final objective.

Experimental Results

The model was evaluated on the MSCOCO dataset using the Karpathy split and the official online test server.

  • Performance: DMTCI achieved a CIDEr-D score of 132.0, significantly outperforming baselines like TransLSTM (128.7) and previous causal models like Up-Down+VC (130.5).
  • Efficiency: It reached state-of-the-art competitiveness without the need for the highly complex attention mechanisms found in models like XLAN.
  • Qualitative Impact: Case studies demonstrated that DMTCI successfully avoided common hallucinations. For example, it correctly identified "brushes" where baselines hallucinated "baseball bats" based on context.

Conclusion and Future Directions

DMTCI demonstrates that causal intervention is a powerful tool for reducing bias in vision-language tasks. While highly effective, the model's performance is currently capped by the accuracy of the underlying object detection (BOC generation); the authors note that "Gold Categories" would push the CIDEr-D score to 135.2. Future work may explore "causal discovery" to allow the model to learn the causal graph structure directly from data, further enhancing its robustness and interpretability.

Summary updated

BibTeX
@inproceedings{chen2021dependent,
  author = {Wenqing Chen and Jidong Tian and Caoyun Fan and Hao He and Yaohui Jin},
  title = {{Dependent Multi-Task Learning with Causal Intervention for Image Captioning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/312},
}
Figure