# Pinpoint Counterfactuals: Reducing social bias in foundation models via localized counterfactual generation

Source: [Pinpoint Counterfactuals: Reducing social bias in foundation models via localized counterfactual generation](<https://www.sota2.com/research/paper/68fa76251e209131cea6b799>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-28T13:57:11.763Z

Authors: Kirill Sirotkin, Marcos Escudero-Vi\\~nolo, Pablo Carballeira, Mayug Maniparambil, Catarina Barata, Noel E. O'Connor

Published: 2024-12-12T10:46:14.000Z

## Abstract

Foundation models trained on web-scraped datasets propagate societal biases to downstream tasks. While counterfactual generation enables bias analysis, existing methods introduce artifacts by modifying contextual elements like clothing and background. We present a localized counterfactual generation method that preserves image context by constraining counterfactual modifications to specific attribute-relevant regions through automated masking and guided inpainting. When applied to the Conceptual Captions dataset for creating gender counterfactuals, our method results in higher visual and semantic fidelity than state-of-the-art alternatives, while maintaining the performance of models trained using only real data on non-human-centric tasks. Models fine-tuned with our counterfactuals demonstrate measurable bias reduction across multiple metrics, including a decrease in gender classification disparity and balanced person preference scores, while preserving ImageNet zero-shot performance. The results establish a framework for creating balanced datasets that enable both accurate bias profiling and effective mitigation.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2412.09160>)

[PDF](<https://arxiv.org/pdf/2412.09160.pdf>)
