NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Women also Snowboard: Overcoming Bias in Captioning Models

Kaylee Burns, Lisa Anne Hendricks, Trevor Darrell, Anna Rohrbach

Introduction

Machine learning models often suffer from "bias amplification," where existing skews in training data are exaggerated during inference. In image captioning, this manifests as models relying on contextual cues—like a kitchen or a snowboard—to predict gender, rather than looking at the person. This "right for the wrong reasons" behavior reinforces harmful stereotypes and leads to significant errors when context and gender are decoupled. The challenge is to build a model that is cautious when evidence is missing but discriminative when it is present.

The Equalizer Model

To address this, the authors propose the Equalizer model. This approach forces the AI to base its gendered predictions on the actual appearance of the person rather than the surrounding environment. The model is trained using two complementary loss functions:

Appearance Confusion Loss (ACL)

The ACL utilizes human-provided segmentation masks to blur out the person in an image. When the person is occluded, the model should ideally be unable to distinguish gender. The ACL penalizes the model if it attempts to guess "man" or "woman" based solely on background context, effectively forcing the probability distribution for gendered terms to be uniform when evidence is missing.

The Appearance Confusion Loss (ACL) forces the model to be uncertain about gender when the person is occluded.

Confident Loss (Conf)

While ACL encourages caution, the model must still be accurate when the person is visible. The Confident Loss rewards the model for making high-confidence gender predictions when it has access to the original, unmasked image. By balancing these losses, the model learns to produce gendered words only when clear visual evidence is present on the human figure.

Experimental Setup

The study evaluates the Equalizer model on the MSCOCO dataset, specifically focusing on two subsets:

  • MSCOCO-Bias: A subset with a natural 1:3 woman-to-man ratio.
  • MSCOCO-Balanced: A curated set with a 1:1 ratio to test performance under distribution shifts.

The researchers used MSCOCO's segmentation masks to generate the occluded images required for ACL training. This allows the model to learn that gendered words should only be produced when there is clear visual evidence from the person themselves, not the "stuff" around them.

Results and Visual Accountability

The Equalizer model significantly outperformed baseline captioning models. On the MSCOCO-Bias set, it reduced gender misclassification errors from 12.83% to 7.02%. Furthermore, the model's predicted gender ratio closely matched the ground truth, demonstrating resilience against training set skews.

A key finding was the model's improved "visual accountability." Using Grad-CAM visualizations, the authors demonstrated that the Equalizer model focuses its attention on the human figure when predicting gendered terms. In contrast, baseline models often focused on background objects like computers or desks.

Grad-CAM visualization showing the Equalizer model correctly focusing on the person to determine gender.

In "pointing game" evaluations, the Equalizer's internal attention hit the person mask 47.5% of the time, compared to 37.0% for the baseline. This confirms that the model is indeed "right for the right reasons."

Conclusion and Future Directions

The Equalizer framework provides a robust method for mitigating gender bias by decoupling context from identity. While current implementation relies on segmentation masks, future iterations could utilize automated person detectors. Additionally, this approach holds promise for addressing biases related to other protected attributes, such as race or ethnicity, by ensuring models do not rely on stereotypical contextual cues.

Summary updated

BibTeX
@inproceedings{burns2018women,
  author = {Kaylee Burns and Lisa Anne Hendricks and Trevor Darrell and Anna Rohrbach},
  title = {{Women also Snowboard: Overcoming Bias in Captioning Models}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01219-9\_47},
}
Figure