arXiv:2609.09486cs.LGSep 2026

Manuscript Offprint

arXiv:2609.09486

Efficient Fairness Auditing Across Guidance Scales in Text-to-Image Diffusion Models via Causal Abstraction

Nabila Tasfiha Rahman, Rajatsubhra Chakraborty, Depeng Xu, Lu Zhang

Nabila Tasfiha Rahman

University of Arkansas

Fayetteville, AR, USA

nr072@uark.edu

Rajatsubhra Chakraborty

University of North Carolina at Charlotte

Charlotte, NC, USA

rchakra6@charlotte.edu

Depeng Xu

University of North Carolina at Charlotte

Charlotte, NC, USA

dxu7@charlotte.edu

Lu Zhang

University of Arkansas

Fayetteville, AR, USA

lz006@uark.edu

Abstract

Fairness auditing of text-to-image diffusion models often requires generating large numbers of images across sampling configurations, making comprehensive evaluation computationally expensive. We propose a causal-abstraction-based audit instrument for efficiently evaluating fairness under interventions on the classifier-free guidance scale. Given a fixed prompt and a target feature function, we represent the diffusion process as a low-level structural causal model and construct a corresponding high-level model over abstract denoising states. We characterize the projected causal structure, establish identifiability of the fairness-relevant interventional query, and provide sufficient conditions under which the high-level model preserves this query. A probabilistic transformer implements the high-level model as an amortized predictor of target-feature distributions across guidance scales. Experiments evaluate distributional fidelity, fairness-query accuracy, and computational efficiency. We present two auditing demonstrations: one using standard Stable Diffusion 1.5 and another using StayFair, a fairness-enhanced Stable Diffusion model, to examine their behavior across guidance scales.

1. Introduction

Causal abstraction [1, 10, 19] provides a principled way to relate a complex low-level system, such as a high-dimensional vision model, to a simpler, semantically meaningful high-level causal model. Constructing a valid abstraction, however, is fundamentally more difficult than learning a compact representation or an accurate predictive surrogate. Semantic compression is typically many-to-one: distinct low-level states that share the same abstract representation may respond differently to an intervention and produce different downstream outcomes. The discarded information can induce additional causal dependencies, longer-range temporal effects, and latent confounding among the retained variables [26]. Consequently, a high-level model may reproduce observed data yet fail to preserve the causal mechanisms relevant to an intervention. Existing research on causal abstraction develops formal relationships between low- and high-level SCMs and methods for analyzing neural representations and learning abstract causal models [8–10, 25]. Projected abstractions extend this framework to lossy mappings, providing conditions under which a specific causal query can be preserved without reproducing every low-level causal mechanism [26].

Algorithmic auditing, which systematically evaluates the behavior of an AI system against specified criteria such as fairness, safety, or accountability [13, 18], is particularly well suited to this query-specific perspective. An audit asks how an outcome changes under designated interventions and whether the result satisfies a decision criterion.

A causally consistent abstraction, which preserves not only observational similarity but also fidelity to the relevant interventional distribution and resulting audit decision, can therefore serve as an auditing instrument, replacing repeated executions of the original model with inexpensive high-level simulations.

In this paper, we apply the causal abstraction framework to fairness auditing of text-to-image diffusion models. Prior studies have shown that, although these models produce high-quality visual content, their outputs can reproduce demographic stereotypes for ostensibly neutral occupational prompts [4, 14]. Moreover, the classifier-free guid-ance (CFG) scale [11] can change the demographic composition of generated images, making fairness sensitive to inference-time settings [12]. These findings motivate systematic fairness audits of both standard diffusion models and fairness-enhanced guidance methods, such as StayFair [12], to assess demographic disparities and the effectiveness of mitigation across guidance scales. However, direct auditing is computationally expensive because each combination of prompt, guidance setting, and random seed requires a complete diffusion rollout.

We address this computational challenge using causal abstraction to reduce the cost of repeated computation. For each fixed prompt, our auditing instrument constructs a high-level causal model that treats the CFG scale as an intervention variable and a final demographic attribute as the audit outcome. Specifically, we map intermediate diffusion states to low-dimensional semantic attributes and train a stochastic transformer neural causal model to capture their evolution. The learned model estimates post-interventional attribute distributions and fairness gaps without rerunning the full diffusion process for every audit sample. To the best of our knowledge, this is the first work to operationalize causal abstraction as an efficient computational instrument for fairness auditing of machine learning models.

A key technical challenge is that the abstraction is necessarily lossy. Consequently, discarded low-level information can induce latent confounding among the abstract variables that is not explicitly represented by the learned transformer. As a result, the causal graph induced by the learned high-level model is not generally equivalent to the partially projected graph associated with the underlying diffusion process, raising the question of whether the model preserves the causal fidelity required for auditing. We therefore establish a correctness argument tailored to our auditing instrument: when the guidance-intervention query is identifiable from the high-level observational distribution, accurately learning that distribution suffices to approximate the audit query despite the graph mismatch.

We evaluate the proposed instrument in terms of distribution fidelity, audit-decision fidelity, and computational savings. Distribution fidelity is assessed using Wasserstein distance and a bootstrap reference, while decision fidelity compares audit conclusions obtained from the high-level instrument and the original diffusion model. We present two auditing demonstrations using standard Stable Diffusion v1.5 and SD1.5 equipped with StayFair, examining demographic disparities and their sensitivity to guidance interventions, following the indirect-verification paradigm of [13].

Our contributions are summarized as follows:

• We introduce a query-specific causal-abstraction methodology for constructing efficient auditing instruments for vision generative models and instantiate it for fairness auditing of text-to-image diffusion.

• We establish an instrument-level correctness guarantee that recovers an identifiable audit query from an accurately learned observational distribution despite lossy abstraction, AIC violations, and nonequivalence between the learned and projected causal graphs.

• We demonstrate the instrument on standard SD1.5 and SD1.5+StayFair, auditing how demographic representation and fairness decisions vary across classifier-free guidance scales.

References (26)