Image generators that expose human-readable controls such as "smiling," "red wing," or "wearing glasses" often fail to obey them. A model trained to route its decision through these concept variables tends to hide extra information in other channels, a problem called concept leakage. When a user flips a concept, the hidden copy stays put and the output does not change. Diffusion models, which generate an image by gradually removing noise from a random starting point, are reported to be especially resistant to such edits (A Probabilistic Hard Concept Bottleneck for Steerable Generative Models). Our explanation is simple. In a Diffusion Transformer, every image patch can exchange information with every other patch at every denoising step. The whole spatial grid of latent tokens therefore acts as a huge unsupervised side channel through which global attributes can be copied, agreed on, and kept alive regardless of what the concept vector says.
We propose to remove that side channel by changing how information flows through the network. Patch tokens attend only to a small local neighborhood. The only path by which information crosses the image is a short binary concept code, plus a few free global bits, which is broadcast to every position. Two long-standing weaknesses become design tools here. A local receptive field, usually treated as a limitation, stops global attributes from being hidden in the spatial grid. Dropping dense self-attention, usually done only to save compute, makes the model linear in the number of tokens. The research question is whether this wiring makes concept edits reliable, including edits made in the middle of the denoising process, while generation quality stays close to a full-attention Diffusion Transformer at a fraction of its cost at high resolution.
Core Claim
In latent diffusion, a generator that works on the compressed output of a pretrained autoencoder rather than on raw pixels, leakage of global concepts comes mainly from dense token-to-token communication. It does not come mainly from floating-point precision in the concept variables. If long-range communication is forced through a hard binary concept code, a global concept can be encoded only in that code and in a small, explicitly budgeted side channel. The claim is falsifiable. As we sweep the local window radius $R$ from a few patches up to the full grid, leakage of global concepts into the patch pathway should rise, and intervention success should fall. Leakage of spatially local concepts should be much less sensitive to $R$. If leakage is flat in $R$, or tracks the local and global concepts equally, the claim is wrong.
Concretely, a patch token $h_i$ at layer $\ell$ is updated as
$$ h_i^{\ell+1} = h_i^{\ell} + \mathrm{Attn}\big(h_i^{\ell},\, \{h_j^{\ell} : j \in \mathcal{N}_R(i)\} \cup \{e(c), e(s)\}\big) + \mathrm{FFN}(\cdot), $$
where $\mathcal{N}_R(i)$ is the set of patches within radius $R$ of patch $i$, $c \in \{0,1\}^k$ is the hard concept vector, $s \in \{0,1\}^b$ is a small free side code with $b$ bits, and $e(\cdot)$ embeds each bit as its own token. Two design choices follow from this update. First, the patch-level windows are capped in total. The windows do not shift between layers, and the sum of window radii across depth is bounded by $R$. This matters because stacking local windows otherwise grows the receptive field until it covers the whole image. Second, patch tokens never write back into $c$ or $s$ during denoising. Both are fixed inputs for the whole trajectory, chosen either by the user or by a small prior model.
The cost per layer is $O(nR^2 + n(k+b))$ for $n$ tokens, compared with $O(n^2)$ for dense attention, so the model is linear in $n$ for fixed $R$.
Relation to Prior Work
Three papers motivate the leakage side of the proposal. Havasi et al. show that soft concept scores leak labels through their continuous values. They fix this with hard binary concepts and an autoregressive concept predictor, but only for classification (Addressing Leakage in Concept Bottleneck Models). Almudévar et al. prove that standard bottlenecks place no bound on how much non-concept information passes through. They add an information-bottleneck penalty to make the representations minimal, also only for classification (There Was Never a Bottleneck in Concept Bottleneck Models).
In generation, two lines of work supply the closest methods. Concept Bottleneck Generative Models place a soft concept layer, with an orthogonality-regularized "unknown concept" branch, into GANs, VAEs and diffusion models (Concept Bottleneck Generative Models). The Variational Hard Concept Bottleneck (VHCB) makes the concepts binary using a coded discrete VAE and adds a 5-bit side channel. It is evaluated on StyleGAN2 and on DDPM, a standard convolutional diffusion model (A Probabilistic Hard Concept Bottleneck for Steerable Generative Models).
All four of these papers constrain the concept variable itself. None constrains the rest of the network's ability to carry the same information around. We keep the hard binary code and the small side code from VHCB, and we add what it lacks: a limit on which pathways can carry global information at all.
On the architecture side, Scalable Diffusion Models with Transformers supplies the backbone and the scaling reference point. It establishes latent-space Diffusion Transformers with dense attention and adaptive layer-norm conditioning. It also constrains our design, because it shows that smaller patches improve quality while the attention cost grows quadratically. Broadcasting Convolutional Network for Visual Relational Reasoning supplies the idea of copying one global vector to every location, combined with explicit coordinate channels, so that locally restricted units can still act on global information. We use this idea directly, with the concept code as the broadcast vector.
Criss-cross attention (CCNet: Criss-Cross Attention for Semantic Segmentation) and Taylor-expanded non-local blocks (Compact Generalized Non-local Network) reach a global receptive field cheaply. That is exactly what we do not want in the patch pathway, so we use them as efficient-attention controls. Their purpose is to show that saving compute alone does not reduce leakage.
The inter-concept dependencies that Havasi et al. model autoregressively are handled once per image, by a small autoregressive prior over the $k$ concept bits. They are not handled inside the spatial denoiser. This removes the tension between modeling concept correlations and keeping the denoiser cheap.
Research Program
The system has four parts. The first is a frozen, pretrained continuous autoencoder with 8x spatial downsampling, as in DiT. The second is the locally wired denoiser described above, trained with the standard noise-prediction objective, with coordinate embeddings added to every token. The third is a concept encoder, which maps an image to binary $c$ and $s$ using VHCB's coded discrete VAE and is supervised on $c$ with concept labels. The fourth is the concept prior, a small autoregressive model over bits used for unconditional sampling.
The denoiser receives $c$ and $s$ as the only global inputs. We use classifier-free guidance on $c$ during sampling. Guidance means randomly dropping the conditioning during training, then at sampling time extrapolating from the unconditioned prediction toward the conditioned one.
The analysis has three threads. The first measures leakage directly. We train probes that predict each concept from the patch-pathway activations after replacing $c$ with a random code. We also probe the frozen autoencoder latents alone, to measure how much global concept information the tokenizer puts into the grid before the denoiser sees it. This probe matters because a convolutional tokenizer with limited receptive field may or may not spread global attributes across patches, and the answer sets a floor on what any denoiser wiring can achieve.
The second thread tests the mechanism behind "diffusion resists edits." We flip a concept at denoising step $t$ and record edit success as a function of $t$ and $R$. The third maps the tradeoff between $R$ and the side-code size $b$. The quantity of interest is how much side-channel capacity is needed to recover image quality, given that concept vocabularies are incomplete, before leakage returns.
Baselines
Naive reference points. The do-nothing reference is an unconditional latent Diffusion Transformer of the same size, with edits made by partial noising and regeneration. This reference shows how much any concept mechanism adds.
Strongest competitor. The main competitor is a standard full-attention Diffusion Transformer (Scalable Diffusion Models with Transformers) conditioned through adaptive layer norm on the same hard binary $c$ and $s$ from the same VHCB-style encoder. This isolates our contribution: the two systems use identical concepts and differ only in wiring. It is the strongest competitor because hard conditioning of a dense model might already be enough.
Concept-bottleneck generative models. We also run the soft concept layer with orthogonality loss (Concept Bottleneck Generative Models) and the VHCB model in its published StyleGAN2 and DDPM form (A Probabilistic Hard Concept Bottleneck for Steerable Generative Models). On CelebA, VHCB reports that it "improved target accuracy by an average of 46% over the state-of-the-art baseline (CB-AE)" for single-concept interventions. On CelebA steerability, Concept Bottleneck Generative Models report 25.6% for CB-GAN versus 8.7% for a standard conditional GAN. On CUB they report being "up to 10 times more effective at following concept interventions than standard diffusion baselines." These are the reported reference levels to beat for steering. No reported result was found on Lacuna for any concept-bottlenecked Diffusion Transformer, or for DiT FID on CelebA-HQ or CUB, so those numbers will come from our own runs. For image quality at scale, the published reference is DiT-XL/2 at FID 2.27 on ImageNet 256×256 and 3.04 on 512×512. We will not match that compute. Instead we compare at DiT-B and DiT-L scale, with every variant retrained by us.
Ablations. The first ablation is a full-attention model trained with a variational information-bottleneck or adversarial penalty that stops patch activations from predicting $c$, in the style of Minimal CBMs. The second replaces local windows with criss-cross attention, which is equally cheap but globally connected. The third keeps the local wiring but makes $c$ soft.
Fairness. Every model shares the autoencoder, the data, the parameter count within 5%, the number of training steps, and the hyperparameter search budget, which is the same number of sweeps over learning rate and guidance scale. All are evaluated with the same sampler and step count.
What counts as winning. Beating the dense hard-conditioned model means three things. Intervention success must be higher, with at least a clear margin on global concepts and on mid-trajectory edits. The probe must recover measurably less concept information from the patch pathway. FID must be no worse than a small fixed tolerance that we fix in advance.
Why not just…?
Why not just condition a standard Diffusion Transformer on hard binary concepts? This is the real threat. When an image is generated from scratch, a dense model given a hard $c$ may follow it well, since the noise at the start carries no competing information. Our claim concerns the cases where it should fail. The first is editing a real or partially generated image, where the partially denoised latent already encodes global attributes that dense attention can recombine. The second is flipping concepts partway through the denoising trajectory. If the dense model matches us on the step-$t$ edit curves and on the probes, the wiring adds nothing but speed, and we will report that.
Why not just penalize leakage with an information-bottleneck or orthogonality loss? Soft penalties on continuous channels have repeatedly left leakage in place. Havasi et al. found that intervening on soft bottlenecks can even hurt accuracy (Addressing Leakage in Concept Bottleneck Models), and VHCB's gain over the soft CB-AE model points the same way. A variational penalty on the whole spatial grid, however, is a legitimate competitor that has not been tried in this setting. It is included as an ablation, trained with the same budget.
Why not just use efficient global attention or a state-space model for the cost? Criss-cross attention (CCNet: Criss-Cross Attention for Semantic Segmentation) and linear scanning models solve the cost problem but restore global patch-to-patch communication. They also leave the leakage path open, and flattened scans need extra machinery to preserve 2D structure (EccoMamba: Enhanced Cross-hierarchical Continuity Orthogonal Mamba for Medical Image Segmentation). The criss-cross control tests this directly. Leakage should look like the dense model's while compute looks like ours.
Why not just make the side channel smaller? In a diffusion model, the dominant side channel is not the explicit side code. It is the latent grid itself, so shrinking $b$ alone cannot close it. The $b$ sweep under full attention checks this claim.
Proposed Experiments
The datasets are chosen so that leakage can be measured, not just inferred. Shapes3D and MPI3D have ground-truth generative factors. We give the model some factors as concepts and withhold others, so the side channel's contents can be checked exactly. We label factors as global (floor and wall hue, camera orientation) or local (object shape and color), which directly tests the prediction that locality mainly protects global concepts. CelebA-HQ provides 40 attributes spanning local attributes such as eyeglasses and global ones such as a general impression of age. CUB provides bird attributes under strong correlation between bird and background. An ImageNet 256×256 run with the class as a one-hot hard code, at DiT-B/L scale, checks the cost to image quality on a standard benchmark.
The metrics are organized around one fixed set of evaluation classifiers per dataset, trained separately from all generators. Intervention target accuracy is the rate at which the evaluation classifier detects the flipped concept. Preservation is measured as accuracy on the non-target concepts, together with LPIPS, a learned perceptual distance between images, computed outside the edited region. Leakage is the probe accuracy on the patch pathway under a randomized $c$. Image quality is FID. Cost is FLOPs and peak memory at latent resolutions matching 256, 512 and 1024 pixel images.
Three checks decide the outcome. The first is the $R$ sweep, producing curves of leakage and edit success against $R$, separately for global and local concepts. The claim requires the global-concept curve to rise with $R$ much more steeply than the local one.
The second is the mid-trajectory swap test. We exchange the concept codes of two samples at step $t$ and measure how often the final images take on the swapped attributes. The claim predicts that the locally wired model follows the swap until late in the trajectory, while the dense model locks in early.
The third is the quality-and-cost frontier: FID and edit success plotted against FLOPs at 512 and 1024 resolution, where dense attention becomes expensive. The proposal succeeds if some small $R$, with a modest $b$, sits within a small FID margin of the dense hard-conditioned model while clearly beating it on the swap test and the probes. It fails if the dense model matches it on both.
References
- A Probabilistic Hard Concept Bottleneck for Steerable Generative Models
- Addressing Leakage in Concept Bottleneck Models
- There Was Never a Bottleneck in Concept Bottleneck Models
- Concept Bottleneck Generative Models
- Scalable Diffusion Models with Transformers
- Broadcasting Convolutional Network for Visual Relational Reasoning
- CCNet: Criss-Cross Attention for Semantic Segmentation
- Compact Generalized Non-local Network
- EccoMamba: Enhanced Cross-hierarchical Continuity Orthogonal Mamba for Medical Image Segmentation