Decomposed evaluations of geographic disparities in text-to-image models

Abhishek Sureddy, Dishant Padalia, Nandhinee Periyakaruppan, Oindrila Saha, Adina Williams, Adriana Romero-Soriano, Megan Richards, Polina Kirichenko, Melissa Hall

TL;DR

Current automated evaluations of text-to-image models assess geographic bias holistically across entire images, obscuring whether unfair stereotypes originate from the central subject or the surrounding environment. Decomposed-DIG solves this by using zero-shot segmentation and attention-masked Vision Transformers to measure the realism (precision) and diversity (coverage) of objects and backgrounds independently. The authors find that backgrounds drive the vast majority of regional disparities—and show that switching from noun prompts like "bag in Africa" to adjective prompts like "African bag" boosts worst-region background diversity by 52%.

What Problem Does This Paper Address?

Modern latent diffusion models frequently amplify geographic stereotypes—such as depicting African scenes as impoverished or rural while defaulting to historic architecture for Europe. While prior automated frameworks like the Disparity in Image Generation (DIG) benchmark measure overall realism and diversity against real reference datasets, they evaluate entire images as single feature vectors.

Because humans judge geographic representation through specific visual cues—such as whether a car is modern or whether a background has paved roads—holistic metrics fail to attribute where the bias originates. As a result, model developers lack the granular diagnostic tools needed to design targeted mitigations.

Methods

The authors introduce Decomposed-DIG, a three-step evaluation pipeline:

  1. Object and Background Segmentation: To segment images without manual annotations, the pipeline pairs GroundingDINO (for open-set object detection using the text prompt) with the Segment Anything Model (SAM via LangSAM) to isolate the target object from the background.
  2. Decomposed Feature Extraction via Masked ViT: Standard CNN feature extractors (like InceptionV3) struggle on segmented images because masking pixels introduces severe boundary artifacts. Instead, the authors use a patch-based Vision Transformer (ViT-B/16). By zeroing out attention scores for non-target patches during the forward pass, they extract clean CLS-token representations for object-only (Obj-only) and background-only (BG-only) segments without visual leakage.
  3. Manifold Precision and Coverage: Following generative manifold metrics, they compute:
  4. Precision (Realism): The proportion of generated image features falling within the $k$-nearest-neighbor hyperspheres of real images.
  5. Coverage (Diversity): The proportion of real images that have at least one generated sample within their neighborhood hypersphere.

Datasets

  • Real Reference Data: GeoDE, a geodiverse dataset covering 40 everyday object classes across six world regions (Africa, Americas, East Asia, Europe, South East Asia, and West Asia). After class filtering and removing classes where zero-shot segmentation failed, the evaluation used 24 balanced classes (over 24,000 images).
  • Generated Data: Evaluated on Latent Diffusion Model (LDM 1.5) using prompt templates structured as {object} in {region} alongside an alternative adjective-based template: {regional adjective} {object}.

Key Insights and Ideas

  • Disparities are driven by backgrounds, not objects: Across all regions, models generate objects with substantially higher realism than their surrounding environments. Furthermore, regional variance in background diversity is extreme: background coverage exhibits a 2.0× spread between the best- and worst-performing regions, compared to just 1.2× for object coverage.
  • Pinpointing concrete bias failure modes:
  • Missing neutral backdrops in Africa: When prompted for everyday items in Africa, LDM almost exclusively generates dusty, rural, or desert scenes. It fails to generate plain grey indoor walls or paved roads, even though such settings are common in real reference photos.
  • Outdated objects: Cars generated for Africa were dirty or rusty in over 90% of generations, failing to produce modern everyday vehicles such as red sedans.
  • Nonsensical context hallucinations: European cooking pots were frequently rendered outdoors on stone surfaces or against brick walls with foliage, whereas real cooking pots are virtually always depicted in kitchens.
  • Adjectives de-bias scenes better than prepositional phrases: Prompts formatted as "{object} in {region}" encourage the diffusion model to over-index on stereotypical regional landscape backdrops. Switching to adjectival framing ("{regional adjective} {object}") keeps the focus on object semantics while dramatically expanding background diversity.

Key Results

  • Object vs. Background Realism: Average object precision reached 0.617, compared to only 0.481 for backgrounds.
  • Geographic Coverage Disparity: Background diversity for Southeast Asia was double that of Africa under the default {object} in {region} prompt.
  • Prompt Mitigation Impact: Switching to the {regional adjective} {object} prompt structure achieved:
  • +52% relative improvement in background coverage for the worst-performing region (improving from 0.278 to 0.423).
  • +20% average improvement in background coverage across all regions (0.383 to 0.461).
  • Minor gains in object precision (+8%) and diversity (+3%), with only a negligible 3% drop in average background precision.

Limitations and Future Work

  • Segmentation Dependencies: The approach relies heavily on LangSAM's zero-shot segmentation accuracy; failure-prone classes (e.g., small or thin objects like hand soap, cleaning equipment, and light fixtures) had to be excluded.
  • Extractor Inductive Biases: Feature extractors pre-trained on ImageNet could theoretically retain latent biases prioritizing foreground object semantics over scene context.
  • Coarse Regional Groupings: The current study evaluates large, aggregated continental regions rather than local sub-cultures or countries.
  • Future Directions: Incorporating human-in-the-loop qualitative feedback and adapting decomposed metrics to evaluate text-to-video diffusion models and multi-object compositions.

Summary updated

BibTeX
@inproceedings{sureddy2024decomposed,
  author = {Abhishek Sureddy and Dishant Padalia and Nandhinee Periyakaruppan and Oindrila Saha and Adina Williams and Adriana Romero-Soriano and Megan Richards and Polina Kirichenko and Melissa Hall},
  title = {{Decomposed evaluations of geographic disparities in text-to-image models}},
  booktitle = {TiFA @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=ho8eJKeoUb},
}
Figure