RespoDiff: Dual-Module Bottleneck Transformation for Responsible & Faithful T2I Generation

Silpa Vadakkeeveetil Sreelatha, Sauradip Nag, Muhammad Awais, Serge Belongie, Anjan Dutta

Introduction

Large-scale text-to-image (T2I) diffusion models, such as Stable Diffusion, have revolutionized digital content creation. However, these models often act as "mirrors of bias," inadvertently reflecting and amplifying societal stereotypes or generating unsafe content. Current mitigation strategies typically fall into two categories: prompt engineering, which is often inconsistent and cumbersome for users, or model fine-tuning, which is computationally expensive and frequently degrades the model's original artistic fidelity and semantic alignment.

RespoDiff addresses this "responsibility vs. fidelity" trade-off by introducing a novel framework that applies surgical interventions to the model's internal representations. By focusing on the bottleneck layer of the diffusion process, RespoDiff achieves significant improvements in fairness and safety without sacrificing image quality.

Methodology: The Dual-Module Transformation

RespoDiff operates within the h-space, the intermediate bottleneck layer of the diffusion model's U-Net architecture. This space contains highly compressed semantic information, making it an ideal location for targeted transformations. The framework utilizes a Dual-Module Transformation to balance competing objectives:

  1. Responsible Concept Alignment Module (RAM): This module is designed to steer latent representations from a "neutral" anchor (e.g., "a person") toward a target responsible concept (e.g., a specific gender or a safe scene). This ensures the model adheres to fairness and safety constraints.
  2. Semantic Alignment Module (SAM): To prevent the transformation from drifting away from the user's original intent, SAM acts as a counter-balance. It ensures the generative trajectory remains faithful to the prompt's fine details and the base model's stylistic characteristics.

Score-Matching Objective

Rather than requiring massive datasets of "fair" images, RespoDiff employs a novel score-matching objective. It learns to align the diffusion trajectories of neutral and target concepts. This approach allows the model to learn a generalized "direction" for fairness that can be applied across various professions and scenes during inference, even those not explicitly seen during training.

Experimental Setup

The authors evaluated RespoDiff across several rigorous benchmarks to measure its impact on fairness, safety, and quality:

  • Fairness: Winobias and Extended Winobias (covering 36 professions and bias-triggering adjectives) were used to measure gender and racial bias via the Average Deviation Ratio (ADR).
  • Safety: The Inappropriate Image Prompts (I2P) benchmark, containing 4,703 prompts across categories like hate, harassment, and violence, was used to assess content safety.
  • Fidelity: COCO-30K was utilized to evaluate image quality (FID scores) and text-alignment (CLIP scores).

Key Insights

  • The Neutral Anchor Strategy: By utilizing generic prompts like "a person" as a reference point, RespoDiff develops a universal transformation capability. This allows the model to improve fairness for specific prompts (e.g., "a doctor") without requiring specific training data for every possible profession.
  • Decoupled Optimization: The separation of RAM and SAM prevents "oversteering," a common issue in previous methods where fairness interventions resulted in visual artifacts or loss of prompt relevance. This decoupling preserves the "soul" of the generated image.
  • Plug-and-Play Efficiency: Because the intervention is localized to the bottleneck layer, RespoDiff is highly efficient. It can be integrated into large-scale architectures like SDXL or Flux with negligible computational overhead during the inference phase.

Results and Discussion

RespoDiff demonstrates superior performance across all primary metrics:

  • State-of-the-Art Fairness: The model achieved the lowest Average Deviation Ratio for both gender (0.14) and race (0.16), outperforming existing baselines such as SDisc and FDF.
  • Significant Safety Gains: On the I2P benchmark, RespoDiff reduced the generation of inappropriate content by approximately 20% compared to previous state-of-the-art methods.
  • Preserved Fidelity: Unlike many competing methods that trade quality for safety, RespoDiff maintained FID and CLIP scores nearly identical to the original Stable Diffusion model.
  • Robustness: The framework remained effective even when prompts included bias-triggering adjectives (e.g., "successful"), indicating that the model has learned deeper conceptual alignments rather than simple keyword associations.

Limitations and Future Work

While RespoDiff represents a significant step forward, the authors note certain limitations. The current implementation relies on predefined categorical structures (e.g., binary gender), which does not yet account for non-binary or intersectional identities. Additionally, the system's effectiveness is tied to the definition of a "neutral" anchor prompt. Future research will explore the use of Large Language Models (LLMs) to automatically generate these neutral anchors, potentially making the system more flexible and autonomous across a wider array of abstract concepts.

Summary updated

BibTeX
@inproceedings{sreelatha2025respodiff,
  author = {Silpa Vadakkeeveetil Sreelatha and Sauradip Nag and Muhammad Awais and Serge Belongie and Anjan Dutta},
  title = {{RespoDiff: Dual-Module Bottleneck Transformation for Responsible \& Faithful T2I Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=3l7Invcjmn},
}
Figure