arXiv:2610.29651cs.CVOct 2026

Manuscript Offprint

arXiv:2610.29651

Spatially Gated Demographic Steering for Debiasing Multi-Person Text-to-Image Generation

Venkatesh Thirugnana Sambandham, Torsten Schon

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Text-to-Image models reproduce societal stereotypes, and existing mitigation applies one demographic correction to the whole scene. In multi-person scene generation this creates a trade-off: global steering improves aggregate balance only by homogenizing the people within an image. Steering-based methods like Embedding Arithmetic drive the intra-image diversity below the unsteered baseline. Text- and latent-projection approaches shift the aggregate skew with only marginal gains in intra-image diversity. We present Spatially Gated Steering (SGS), which steers the demographics of each person independently by extracting per-person masks from the Diffusion Transformer's (DiT) internal attention maps at a critical denoising timestep and applying a distinct demographic vector within each mask for the remaining steps. SGS needs no fine-tuning, inversion or layout specifications, and uses a lightweight segmentor over frozen DiT attention features to localize subjects at early timesteps. On skewed occupational prompts, SGS reaches high intra-image racial and gender diversity while keeping aggregate balance competitive and image quality near baseline, a result we validate on two architecturally distinct diffusion transformers, FLUX.1-Dev and SD3.5-Large. Codebase and model weights are available at https://github.com/cvims/spatially-gated-steering

1. Introduction

Text-to-Image (T2I) generation has transformed digital content creation, yet foundational models such as FLUX [24] and Stable Diffusion [10] systematically reproduce societal stereotypes [9]. Gender-neutral prompts like a carpenter yield predominantly male-presenting images; a nurse yields predominantly female-presenting images [28]. Studies show these outputs shift user beliefs about real-world distributions [14], making fairness mitigation essential for

Figure

Figure 1. SGS intuition. The base trajectory (black) reaches x0basex_{0}^{base} in a stereotyped region of pdatap_{data}; global mitigation [39] (brown dashed) shifts it to one alternative mode. SGS instead intercepts at xstartx_{start}, extracts per-person masks, and steers each individual independently (orange/blue dashed) toward distinct demographic attractors within the same image x0x_{0}.

responsible deployment.

Several mitigation strategies have been proposed and they operate at different levels of the diffusion pipeline [37]: They modify the text embeddings [6, 22, 39, 43] or fine-tune model weights [13, 36] to shift the aggregate output distribution. While effective for scenes with a single person, global mitigation methods share a fundamental limitation: They apply identical steering to every person in a scene. A prompt like "a group of nurses" receives one demographic vector, pushing all the persons in the image in the same direction and failing to diversify individuals independently.

This limitation is not merely theoretical: Wan and Chang [41] show that multi-person prompts expose a distinct, compounding class of bias that single-subject evaluations cannot capture. Co-occurring subjects amplify stereotypes even when the same model behaves anti-stereotypically on a photo of three farmers

a photo of four nurses

a photo of five CEOs

SGS (ours)

Base

EA

FairImagen

Outputs

Masks

Figure

Figure 2. Qualitative comparison across three profession types spanning different stereotype directions. Prompts contain no demographic descriptors. Base is demographically homogeneous; EA shifts everyone uniformly; FairImagen is statistically indistinguishable from baseline on FLUX; SGS steers each instance toward a distinct intersectional target while preserving occupational context and scene coherence. Rightmost column: segmentation masks (nearest-neighbor upsampled from 32×3232 \times 32) with assigned demographic labels.

single-person prompts.

Attempts to address this gap remain limited. Existing approaches either rewrite the generation prompt with a single corrective signal applied to the whole scene [8, 41], optimize demographic distributions at the aggregate level without per-instance control [18], or require an explicit spatial layout as input [7]. To the best of our knowledge, no existing method localizes individuals from the model's own internal representations and applies independent demographic steering, to achieve intra-image diversity. Figure 1 illustrates this gap: while global mitigation shifts all persons uniformly toward a single demographic mode, our approach steers each individual independently through their spatial mask, reaching distinct attractors within pdatap_{data} in a single denoising pass.

We introduce Spatially Gated Steering (SGS), a framework for per-instance demographic steering in multi-person T2I scene generation. SGS operates by 1) Identifying and generating the masks of instances of people during the intermediate denoising steps using a lightweight detector, 2) Steering the demographics of the detected individuals, while also maintaining concept coherence.

Our contributions are as follows:

• A trade-off in multi-person fairness. Global mitigation faces an inherent tension: improving aggregate balance requires collapsing intra-image diversity, sometimes below the unsteered baseline. Since any per-instance diversification trivially raises intra-image entropy, the meaningful result is high entropy at a competitive aggregate balance. SGS reaches high intra-image diversity with a competitive aggregate balance by steering per-instance without fine-tuning, flow-inversion or layout.

• Instance segmentation from DiT features. We show that self-attention maps of DiTs at a critical denoising timestep encode spatially separable person instances, and train a lightweight DETR-style [4] segmentor on these frozen features that isolates individuals across crowd sizes and scene complexities.

• Benchmark and analysis. We introduce a benchmark measuring fairness along both intra-image diversity and aggregate deviation, surfacing the homogenization failure mode of global methods and showing SGS is strong on both axes, on both FLUX.1-Dev and SD3.5-Large.

References (44)