Skip to main content
QUICK REVIEW

[Paper Review] Exposing and Correcting the Gender Bias in Image Captioning Datasets and Models

Shruti Bhargava Choubey, David Forsyth|arXiv (Cornell University)|Dec 1, 2019
Multimodal Machine Learning ApplicationsComputer Science15 citations
TL;DR

This paper proposes a two-stage approach to eliminate gender bias in image captioning by decoupling gender-neutral captioning from gender classification. It trains a gender-neutral captioning model that avoids context-based gender bias and combines it with a fine-grained person-crop classifier to inject accurate gender labels, achieving state-of-the-art performance on anti-stereotypical benchmarks without inheriting dataset biases.

ABSTRACT

The task of image captioning implicitly involves gender identification. However, due to the gender bias in data, gender identification by an image captioning model suffers. Also, the gender-activity bias, owing to the word-by-word prediction, influences other words in the caption prediction, resulting in the well-known problem of label bias. In this work, we investigate gender bias in the COCO captioning dataset and show that it engenders not only from the statistical distribution of genders with contexts but also from the flawed annotation by the human annotators. We look at the issues created by this bias in the trained models. We propose a technique to get rid of the bias by splitting the task into 2 subtasks: gender-neutral image captioning and gender classification. By this decoupling, the gender-context influence can be eradicated. We train the gender-neutral image captioning model, which gives comparable results to a gendered model even when evaluating against a dataset that possesses a similar bias as the training data. Interestingly, the predictions by this model on images with no humans, are also visibly different from the one trained on gendered captions. We train gender classifiers using the available bounding box and mask-based annotations for the person in the image. This allows us to get rid of the context and focus on the person to predict the gender. By substituting the genders into the gender-neutral captions, we get the final gendered predictions. Our predictions achieve similar performance to a model trained with gender, and at the same time are devoid of gender bias. Finally, our main result is that on an anti-stereotypical dataset, our model outperforms a popular image captioning model which is trained with gender.

Motivation & Objective

  • To investigate and expose gender bias in the COCO image captioning dataset, including biased human annotations and statistical imbalances.
  • To analyze how gender bias in training data propagates through models due to label bias and context dependence in autoregressive captioning.
  • To develop a method that eliminates gender bias in image captioning while maintaining high caption quality.
  • To demonstrate that removing gender bias during training improves model generalization on anti-stereotypical images.

Proposed method

  • Decompose image captioning into two subtasks: gender-neutral captioning and separate gender classification.
  • Replace all gendered pronouns and descriptors in COCO captions with gender-neutral terms (e.g., 'person' instead of 'man' or 'woman') to train a gender-neutral captioning model.
  • Train a gender classifier on cropped image patches containing only the person, using bounding boxes and body masks to isolate the subject from context.
  • Use the trained gender classifier to predict gender for each person in an image, then inject the predicted gender into the gender-neutral caption.
  • Combine the gender-neutral caption and predicted gender to generate the final gendered caption, avoiding context-based gender inference.
  • Evaluate the model on standard benchmarks and an anti-stereotypical dataset to measure bias reduction and performance.

Experimental results

Research questions

  • RQ1To what extent is gender bias present in the COCO image captioning dataset due to statistical imbalances and inconsistent human annotations?
  • RQ2How does context-based gender bias in image captioning models affect the prediction of non-gender-related words in the caption?
  • RQ3Can decoupling gender classification from caption generation reduce label bias and improve fairness in model predictions?
  • RQ4Does a gender-neutral captioning model trained without gendered language generalize better to anti-stereotypical images than a standard gendered model?
  • RQ5Can a separate, high-accuracy person-based gender classifier outperform end-to-end models in gender prediction while reducing context-induced bias?

Key findings

  • The gender-neutral captioning model achieves comparable BLEU scores to a gendered model even when evaluated on a biased test set, indicating robustness without bias.
  • The model produces visibly different captions for images without humans compared to gendered models, showing that bias is not just in gendered terms but in overall language patterns.
  • The person-crop based gender classifier achieves significantly higher accuracy than an image captioning model attempting to infer gender from the full image.
  • On an anti-stereotypical dataset, the proposed model outperforms a standard gendered model, demonstrating that bias removal enhances generalization.
  • The model reduces label bias, as evidenced by decreased influence of gender on unrelated words in the caption, such as in phrases like 'a person in a suit' instead of 'a man in a suit'.
  • The method successfully mitigates the 'man and woman' phrase bias, where gendered models over-predict paired gender terms even when only one person is present.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.