DifFRACT

Diffusion Feature Reconstruction and Attribution for Circuit Tracing

We trace circuits inside a diffusion transformer: which features of the prompt and of the forming image build a given feature, at a given denoising step.

NeurIPS 2026

  • Artyom Mazur1
  • Nina Konovalova2,1
  • Aibek Alanov1,3,4

1HSE University 2MBZUAI 3FusionBrain Lab 4AXXX

Loading the opening figure…

What the graphs show

We replace the MLPs of the first 16 double-stream blocks of FLUX.1 [schnell] with sparse, timestep-conditioned transcoders. With attention frozen, the preactivation of any one feature splits exactly into contributions of earlier features, reconstruction errors and input embeddings, plus a constant, and these contributions form an attribution graph. A graph suggests a mechanism, and an intervention during generation tests it.

  1. Two phases of denoisingThe graphs recover the known shift from prompt-driven to image-driven computation: the text stream's share of a graph's attribution falls from 89.9% at the first step to 5.4% at the last. FLUX.1 [dev] repeats it, SD3.5-medium goes halfway.
  2. How color is assembledThe red feature draws on the color word, on nearby colors and on red things.
  3. A color prior, and how the graph fixes itA white stop sign comes out white on 4 of 30 seeds, and on 27 of 30 once the red feature and three of its graph sources are suppressed.
  4. Color leakageAmplifying the red features found in the blue feature's graph turns the blue object red in 25% of generations.
  5. Concept and context are separate channelsSuppressing context features strips a bat's identity and keeps its shape in 87.5% of generations, suppressing concept features in 27.1%.
  6. A feature that suppresses a competing conceptA dog turns into a cat in 36.1% of generations when the dog features and a suppressor are suppressed together, at weaker strengths, and in 2.8% with the dog features alone.
  7. Style from primitivesWatercolor is a composition of perceptual and linguistic components, not one atomic feature.
  8. A concept and its derivativeSuppressing a reflection one layer earlier leaves the water intact in 86.4% of the affected generations, against 37.5%.
  9. Location is steered through the text streamSteering the two location supernodes moves the red object to the right half of the image in 85% of generations.
  10. Numerals order the count but do not set itAmplifying three, four, five and seven on prompts that ask for five objects gives 4.33, 5.49, 6.44 and 8.05 on average.
  11. Where the prompt does not reach the imageOn a room without a cat, amplifying the emptiness that the text stream represents removes the cat in only 12.5% of generations, against 8.75% without it.

How a graph is built

FLUX.1 [schnell]1 has 19 double-stream blocks, in which image and text tokens keep separate weights and interact only through joint attention, followed by 38 single-stream blocks. We analyze the double-stream blocks. The construction follows circuit tracing in language models2, 3.

Replace each MLP with a transcoder

A transcoder predicts the output of an MLP from its input through a wide, sparsely active layer, so the MLP's contribution becomes a sum of features. We train one per block and stream for blocks 0 to 15, each conditioned on the denoising timestep.

Freeze what is not a feature

For one prompt and one step, attention patterns and LayerNorm denominators are frozen at their values on this input, and each MLP is its transcoder plus the cached error. The output of this local replacement model does not change, and the preactivation of a target feature becomes an exact sum of contributions of earlier features, errors and input embeddings, plus a constant.

Expand, sum over positions, prune

One backward pass gives every edge into a feature. Repeating it for the most influential sources grows the graph. Summing each feature over its positions and pruning what carries little influence shrinks it again.

  • text feature: discovered, expanded
  • image feature: discovered, expanded
  • truncation error
  • edge below τ, dropped

Building a graph, the paper's figure step by step, for an image-stream target cat eyes at layer ℓ. A cluster of small circles is one feature at several positions. Outlined circles are sources whose own incoming edges are not yet computed. An edge takes the color of its source.

In equationsthe transcoder, the local replacement model, the weight of an edge, what the edges sum to, pruning

Loading this section…

What a graph explains, and how we test it

A graph explains the preactivation of one feature at one layer, stream, position and denoising step, not an image. Attention is frozen, so a graph shows where information flows through attention but not why the model attends there. On image-stream targets the features of a pruned graph carry 46% of the explained quantity and error vertices 30%, while on text-stream targets features carry 84% (Evidence).

The case studies therefore treat a graph as a source of hypotheses and test each one by an intervention: the activation of a feature is scaled by α at every position and, unless stated otherwise, every denoising step (0 ≤ α < 1 weakens the feature, α > 1 amplifies it, and α < 0 inverts its contribution, which the case studies call suppression). The MLP that hosts the feature is then computed by its transcoder, everything else runs unchanged, and the effect is judged on the final image. Ten experiments ran on prompt grids and were labeled blind: for each pair of a baseline and an intervened image of the same seed, annotators answered one question with a label set fixed in advance, without seeing the condition.

How to read the figures. In every figure below the graph comes first: groups of its features and, on the arrows, the summed attribution of all edges between two groups. Point at a group to see where it fires and click it for its features. The test is under the graph: point at a row to see on the graph what it does, click it to keep it there.

Case studies

Eleven case studies, in one form. Each one finds a candidate feature by browsing the dictionary or by contrasting prompts, computes its attribution graph on a representative prompt, groups the sources into supernodes, forms a hypothesis and tests it. The search was exploratory: we inspected roughly 2,000 features and built about 150 graphs, and kept a graph when it suggested a testable hypothesis, not when the intervention later succeeded.

Two phases of denoising

A diffusion transformer applies the same network at every denoising step. Does the structure of its circuits change along the way? We traced 20 pairs of a prompt and an image-stream target feature at each of the four steps of FLUX.1 [schnell], 80 graphs, and measured in each the share of absolute attribution carried by edges whose source lies in each stream.

On average the text-stream share falls monotonically from 89.9% at step 0 to 5.4% at step 3, and the fraction of edges that cross between the streams from 14.9% to 2.0%. All 20 targets end with a higher image share and a lower cross-stream fraction than they start with.

One target across the four steps. The image-stream feature reflection of layer 12 on a mountain reflected in a still lake. At step 0 most of its sources lie in the text stream, by step 3 in the image stream. Open these graphs in the explorer.

The shift is not uniform over depth: for the five targets at layer 12, by step 3 most image-stream edges come from layers 0–1 and 4–7, while layers 2–3 stay nearly inactive at every step.

This matches a two-phase view of denoising that earlier work reached without circuits: text conditioning is relied on early and largely ignored late5, guidance helps only in a middle range of noise levels6, and SAE probes find the composition set in the first steps and the style in the middle ones7. A low image-stream share at the first step is expected, as generation starts from noise. The graphs recover it from the inside, stream by stream and layer by layer, and it holds causally: suppressing the text-stream supernode for the cat removes the cat in 72.2% of generations at steps 0–1 and in none of 36 at steps 2–3. Graphs at different steps capture different mechanisms, and semantic interventions work when applied early.

Three backbones. We repeated the analysis on FLUX.1 [dev] and SD3.5-medium8, with transcoders trained by the same recipe: the same 20 prompts, seeds and target layers, the target feature selected again in each dictionary, and steps matched to the four above by noise level. FLUX.1 [dev] reproduces the shift: its image-stream share rises from 22.1% to 93.9% and its cross-stream fraction falls from 10.7% to 2.2%, and at the two later noise levels the two FLUX models are indistinguishable. Its higher start comes from six targets whose re-selected features are barely active at the first level. Without them it reads 11.8%, against 10.3% for the same fourteen targets on FLUX.1 [schnell].

SD3.5-medium moves in the same direction but only halfway, from 8.5% to 63.9% image share and from 21.5% to 12.4% cross-stream edges: its text-driven phase lasts longer. Half of all its attribution at the first level comes straight from the text input vertex, the direct path from the text embeddings (51.3%, against 26.2% and 23.3% on the two FLUX models). It also runs classifier-free guidance, so a graph explains only the conditional half of the batch.

How color is assembled

The feature fires on red regions of any object, and its graph is stable across prompts. Most attribution flows from the text stream through three channels: the color word itself, linguistically nearby colors (orange, and purple, which enters with a negative sign), and associations with red things (tomatoes, the Canadian flag). The image-stream side is nearly the same on every prompt. What changes is a feature of a nearby color, on a red dress and on a red sunset, and the text stream, with its many features tied to the object.

Interventions on a red apple on a wooden table show an asymmetry: suppressing the red features shifts the apple to the model's natural green, amplifying blue features alone has no visible effect, and only both together give a blue apple, on 3 of 5 seeds (this example was not evaluated on a larger grid). This suggests that an explicit color word creates an activation that has to be actively suppressed.

A color prior, and how the graph fixes it

Color priors from the training data turn atypical colors into the usual one: a white stop sign, a black ladybug and a blue pomegranate come out red. The graph of the image-stream feature shows two competing text-stream signals: features on the object's tokens push it up, and features of the requested color push it down. Often the prior wins, and the red feature fires although the prompt asks for another color.

If the prior lives in those sources, suppressing the red feature alone should not be enough, because its sources keep pushing it back up. That is what happens. Suppressing it alone gives the requested color on 8 to 12 of 30 seeds, and suppressing it together with three associative sources picked from its graph gives it on 26 to 30, on all three prompts. The graph in the figure, re-traced for the page, holds two of the three.

A matched budget. A four-feature intervention could win simply by touching more features. So we fix the budget at four features and the target, and vary only how the three companions are chosen from one pool, the text-stream features of layers 0–7. Three rules use activations only, so an SAE could apply them: the top three by activation on the prompt tokens, by contrast against a neutral prompt, and by co-activation with the target over a 48-prompt corpus. The fourth set is the three graph sources above, fixed before this comparison was run.

The graph is not better than co-activation at producing the requested color: 82.1% against 76.7%, a difference that is not statistically significant. Within this dictionary and at this budget, it contributes selectivity: co-activation destroys the object in 21.7% of generations, the graph in 13.8%. Contrast removes the red almost entirely and the object with it. Activation barely touches the object but leaves 35.4% red. The graph set fails worst on a blue strawberry on a white plate, where it destroys the object on all 30 seeds: when the color is part of what makes the object recognizable, suppressing its associative channel removes the object too.

Three backbones. The same grid was run on FLUX.1 [dev] and SD3.5-medium, with the target and the companion sets found again in each dictionary by rules fixed before the generation. Human labels exist only for FLUX.1 [schnell], so here every generation of the three backbones is judged by one vision-language model9, and the comparison is made on the pairs whose baseline it judges red (the second view of the figure). On FLUX.1 [dev] the graph set fixes the prior most often, in 81.9% of them against 62.7% for co-activation, and destroys the object less often, 7.2% against 31.3%. On SD3.5-medium the graph set again leads co-activation (65.7% against 41.4% with the requested color, 33.3% against 57.6% destroyed), but it loses a third of the objects. On FLUX.1 [schnell] the model agrees with the annotator that the two sets do not differ in success (79.3% against 72.1%), and its destruction difference, 13.5% against 18.0%, points the same way without being significant.

Color leakage

Color leakage, the failure to bind colors to the right objects on prompts with several colored objects, is a standard pathology of text-to-image models. If the color circuit above is right, leakage should show up as spurious attributions of the wrong color in a target's graph. On a red apple and a blue cup the graph of the feature does contain, besides the expected blue sources, a small number of red text features, with attributions one to two orders of magnitude weaker than the dominant ones. If this spurious attribution is causal, amplifying these red features should turn the cup red.

It does, on some seeds. On 16 prompts with a red and a blue object × 5 seeds, the blue object turns red in 25% of generations at α = +30, while the more common outcome is that the surroundings turn red instead (62.5%). The causal direction is clear but the effect is seed-dependent, which fits the nature of attribution graphs: the cause of leakage is localizable to specific features, and those features enter the graph only on some seeds. Where they do not, the steering hits the wrong locations.

Concept and context are separate channels

Single-feature steering picks features by their activation on a concept. A graph shows two kinds of features around it. Concept features fire on the tokens of the concept itself. Context features fire on related but different words. The five used here are influential sources in the concept feature's graph that are not concept features.

For a baseball bat on a table the concept set is at layer 11 with four features of layers 7–9 that fire on the same tokens. The context set is five text features of layers 5–9 that fire on baseball, batter, hand and glove. Both sets are read off this one graph and applied unchanged to every prompt of the test.

Suppressing each set has a distinct effect. Without the concept features the bat is replaced by a nearby object, often a ball. Without the context features it keeps its shape but loses its identity and becomes a featureless wooden stick. Without both, nothing reminiscent of a bat or of baseball is left. On 16 prompts × 3 seeds at α = −15, context steering keeps the shape and strips the identity in 87.5% of generations against 27.1% for concept steering. Concept steering replaces or removes the object in 45.8% against 6.3%, and both together leave a recognizable bat in 2.1%. Ranking features by activation on the concept's tokens, as single-feature steering does, finds the concept set. The context set comes from the graph.

Two senses of one word. The same context features can be used the other way. The token bat is polysemous: on the bare prompt a bat the graph holds animal, baseball and party senses at once, while the model draws a flying bat on every seed. The baseball features in that graph have positive attribution, so amplifying the baseball context features should steer toward the weaker sense without suppressing the dominant one. It does: the image shows the baseball reading in 33% of generations at α = +30 and in 70% at α = +100.

A feature that suppresses a competing concept

Graphs keep negative edges. In the graph of the image-stream feature at layer 12 there is a text feature at layer 7, , whose strongest corpus activations are on dog breeds (wiener dog, dachshund) and which has many outgoing negative edges. Nearly all of their weight lands on features that excite the cat feature. On a dog prompt the suppressor is about twice as active as on a cat prompt, and the weight of its negative edges doubles. The hypothesis: on dog prompts it holds cat features down, keeping cat semantics out of the image.

Four interventions on 12 scenes, each prompted once with a dog and once with a cat, test it. Suppressing the cat features at α = −60 on a cat prompt removes the cat in 88.9% of generations, confirming the graph. Inverting the suppressor alone at α = −60 on a dog prompt never produces a cat (0 of 36), a null the graph predicts, since dog semantics is carried by other features. Suppressing the dog features alone removes the dog in 29 of 36 generations but produces a cat in only one: switching concepts takes more than removing one pole. Suppressing the dog features at α = −20 together with the suppressor at α = −30 turns the dog into a cat in 36.1% of generations, at a weaker suppression of the dog features.

Graphs thus capture active suppression, distinct from absence of activation, and switching a concept takes acting on both what is present and what holds the alternative down. The joint condition differs from the single-channel one in both the suppressor and the strength, so it is evidence that the suppressor channel contributes rather than a fully isolated single-variable comparison.

Style from primitives

With contrastive prompts we find a feature at layer 11 of the image stream. Among its strongest sources there is nothing about the depicted object: the feature is content-invariant. Its graph decomposes into stylistic components across the two streams: image features for clouds and steam and for bright multicolored imagery, and text features for light haze and smoke, for painting and for pastel colors. Together they cover what descriptions of watercolor usually name: a pastel palette, soft hazy edges, varied color.

Steering five components together weakens the style into a more realistic portrait or strengthens it into looser washes and color spills, with the subject unchanged. The model represents the style as a composition of perceptual and linguistic primitives, not as one atomic feature. Style has no binary success criterion, so this case was not part of the blind evaluation and is an illustration, not a measured effect.

A concept and its derivative

at layer 12 fires on reflections of objects in water, mirrors and glass, not on the objects themselves. Its graphs on two prompts at step 1, a castle and a mountain reflected in water, contain the same source, a layer-11 feature with a matching activation map, with an attribution about an order of magnitude larger than that of any other feature. The hypothesis: the layer-11 feature represents reflection closer to its origin, and the layer-12 feature is a downstream derivative, entangled with the surrounding surface.

The interventions are consistent with this. Suppressing the layer-12 feature removes the reflection but deforms the water. Suppressing the layer-11 feature leaves the surface intact while the reflection turns into a blurred patch. On 17 prompts × 5 seeds, among generations whose reflection is removed or weakened, the surface stays intact in 38 of 44 (86.4%) for layer 11 against 18 of 48 (37.5%) for layer 12. Suppressing two layer-11 features that the graph ranks far below the dominant source leaves all 85 generations unchanged. Circuit tracing selected a steering target that satisfies a stricter locality criterion than candidates found by feature interpretation alone.

Location is steered through the text stream

Around layer 7 of the text stream there are location features, and , that fire on their words whichever object the location is bound to. On the traced prompts they fire on the whole phrase of the red object and its location. Swap the two objects in the prompt, and the location that enters the graph of the red feature follows the red object. We did not find clearly interpretable spatial features in the image stream.

On 16 prompts × 5 seeds, pushing right up and left down at α = 10 puts the red object in the right half of the image in 85% of generations. Suppressing left alone does so in 39% at the same strength and needs α = 30 to reach 78%. The opposite pair leaves the composition unchanged in 97.5%, as the graph predicts, since the object is already on the left. A sweep of the pair bounds the usable range: at α = 3 the composition is unchanged in 98.8%, at α = 30 the image degrades beyond recognition in 59 of 80 generations and at α = 100 in 74 of 80.

Why the location follows the red objectthe activation maps of the location features over the prompt tokens

Loading this section…

Numerals order the count but do not set it

An image-stream feature at layer 14, , grows with the number of objects: it is about as active on five apples as on three, and several times more active than on one. The image side is much the same across the three graphs, nearly identical for three and five apples, and the larger difference is in the text stream. On one apple, features for single and one are active. On three apples it is mostly three, and on five apples a diffuse mixture of neighboring numerals from two to eight. The text-stream representation of five is not sharp, a candidate source of counting errors.

Amplifying a numeral's supernode at α = +30 on prompts that ask for five objects changes the count monotonically in the numeral, but the mean never lands on the numeral itself: three gives 4.33 objects, four 5.49, five 6.44 and seven 8.05, against 5.31 without intervention. The model carries a robust ordering of numerals but no sharp representation of their values.

Where the prompt does not reach the image

Two systematic failures that the graphs diagnose as failures of transfer between the streams: the text stream carries what the prompt requires, and that does not drive the image stream.

Negation. On a room without a cat a text feature fires on without, and its graph holds other emptiness features: the text stream represents the empty room correctly. Amplifying all of them removes the cat in 12.5% of generations, against 8.75% without the intervention and 1.25% on the matching affirmative prompts. The cat is absent from all 80 generations only when the cat's own text supernode is suppressed.

A hard prior. The model draws round wheels on a bicycle with square wheels. A text feature is active on round wheels, and on square wheels the magnitude of its preactivation drops below one, yet the wheels stay round. Suppressing the roundness features has no effect. Of four interventions, only amplifying angularity features of the image stream comes close, drawing square outlines around wheels that stay round.

In both, the text stream represents what the prompt asks for, and that representation does not carry over into the image stream, and replacing it on the image side works only in part. This is consistent with the shift above: the influence of the text stream decays toward the later steps, and for a strong image-side prior the shrinking text channel may be too weak to overwrite it.

Explore the graphs and the dictionary

Every graph above, and the 80 graphs of the temporal analysis, opens in the explorer. A feature of the text stream sits over the token it fires on most, a feature of the image stream where it fires in the image, from left to right. Hover one to light it up on the image and the prompt, click it for its corpus examples, its inputs and its outputs.

A map of the dictionary

To interpret a feature we look at the corpus prompts on which it fires most and at where it fires in them. The level of abstraction grows with depth in both streams. Text features at layer 6 are tied to surface lexical content (crochet teddy bear, taking a photograph, stacked on each other). At layer 12 they assemble names and quantities, and some fire only on the end-of-sequence token. Image features at layer 6 encode graphical primitives: vertical edges, thin wires, lattices, red regions. At layer 12 they name objects and their parts and, most strikingly, the physics of the scene: reflections, light–shadow boundaries, cast shadows.

The two streams have inverse profiles. The share of text features tied to lexical content falls with depth, while image features stay interpretable through layer 18, late in the double-stream blocks. Read together, the two suggest a one-directional transfer of content from text to image. Features also specialize by denoising step: at layer 6 color features peak at steps 0–1 and geometry features at steps 2–3, consistent with the coarse-to-fine progression of diffusion sampling.

How the features were chosenthe selection score of the paper, and where each feature fires

Loading this section…

How far to trust a graph

A graph is computed on a replacement of the model and pruned. The paper checks how much of the original computation it keeps, and tests the case studies blind.

Transcoders match sparse autoencoders

Feature-to-feature attribution through MLPs should not cost sparsity or faithfulness. At an early, a middle and a late block we trained, per stream, three transcoders and three SAEs with identical architecture, timestep conditioning and training. The only difference is the objective: an SAE reconstructs the MLP output from that output, a transcoder predicts it from the MLP input. In all six configurations transcoders reach a comparable or modestly better tradeoff at matched sparsity. The timestep conditioning10 matters for the text stream: without it those transcoders reach twice the error at layer 6 and need 3.5 to 5.3 times as many active features at layer 12.

layer 6layer 12layer 18 image stream
Layer 6, image stream: nMSE against L0 for transcoders and SAEslayer 6, image stream
Layer 12, image streamlayer 12, image stream
Layer 18, image streamlayer 18, image stream
text stream
Layer 6, text streamlayer 6, text stream
Layer 12, text streamlayer 12, text stream
Layer 18, text streamlayer 18, text stream
Sparsity–faithfulness frontiers of transcoders (squares) and SAEs (circles) on FLUX.1 [schnell], the paper's figure. Each curve is three models at increasing sparsity penalty. Lower left is better.

The replacement model is not the model

Swap all 32 MLPs for their transcoders, with no error terms, and generate an image from scratch: the composition, the placement of objects and the style survive, fine detail does not. Graphs are never computed on this model. The local replacement model keeps each MLP's reconstruction error and freezes attention on the traced prompt, so what the transcoders miss does not disappear: it is carried by the error vertices of every graph.

Original FLUX.1 [schnell]

All 32 MLPs replaced by transcoders, no error terms

Ten prompts of the paper's comparison at 512 × 512 and four denoising steps.

How close the final latent stays to the original's mean cosine similarity

All 32 MLPs replaced, no error termsgenerated from scratch, over 512 prompts0.78 Local replacement model at step 0substituted at one denoising step0.9854 Local replacement model at step 3substituted at one denoising step1.0000

Do the graphs describe the original model?

We check 86 graphs, the targets of the case studies (51 image-stream, 35 text-stream), so they are not an independent sample. A pruned graph should still account for most of what it explains, and its edges should predict what happens in the original model when a source is removed.

What a pruned graph accounts for shares of the explained quantity, percent, mean over targets

Image targets51 graphs Text targets35 graphs All86 graphs
  • feature vertices
  • error vertices
  • input vertices
  • lost to the extraction thresholds
  • lost to pruning

Remove one feature from the original model: do the others change as the graph predicts? Spearman rank correlation of the predicted and the measured changes, mean over graphs

Image targets51 graphs0.68 Text targets35 graphs0.55 Cross-layer transcoders on a language modelfor comparison, in a related test20.72

In each graph its 30 most influential features are removed one at a time, in the original model and not in the replacement, and the change in each of the other 29 is compared with the influence the graph predicts.

The two checks in fullthe residuals before and after pruning, which vertices are ablated, the correlations and the shares as tables

Loading this section…

The same checks on three backbones

For FLUX.1 [dev] and SD3.5-medium we trained 32 transcoders each with the recipe of FLUX.1 [schnell] and kept its tracing and pruning parameters. The transcoders reproduce the original model end to end at least as well as on FLUX.1 [schnell], and the local replacement model is nearly as exact. Under ablation in the original model their graphs, those of the temporal analysis, correlate somewhat less well than the case-study graphs of FLUX.1 [schnell].

FLUX.1 [schnell]

19 double-stream and 38 single-stream blocks. Transcoders on blocks 0–15, both streams, 49,152 features each.

4 denoising steps, no guidance.

All MLPs replaced, latent cosine similarity0.7839 Local replacement model at σ = 10.9854 Local replacement model at σ ≈ 0.251.0000 Graph against ablation, median rank correlation0.69

FLUX.1 [dev]

19 double-stream and 38 single-stream blocks. Transcoders on blocks 0–15, both streams, 49,152 features each.

50 denoising steps, embedded guidance at scale 3.5.

All MLPs replaced, latent cosine similarity0.8378 Local replacement model at σ = 10.9943 Local replacement model at σ ≈ 0.251.0000 Graph against ablation, median rank correlation0.64

SD3.5-medium

24 joint blocks, an image-only second attention in blocks 0–12. Transcoders on blocks 0–15, both streams, 24,576 features each.

40 denoising steps, classifier-free guidance at scale 4.5.

All MLPs replaced, latent cosine similarity0.9217 Local replacement model at σ = 10.9602 Local replacement model at σ ≈ 0.250.9999 Graph against ablation, median rank correlation0.57

A column is a block, colored where it has transcoders. The bar under it is the denoising, one segment per step.

The blind evaluation

Ten of the intervention experiments ran on prompt grids and were labeled blind, 4,099 items in all. Each item is one pair of a baseline and an intervened image. The annotator saw the prompt, the two images and one question with a closed label set. The condition was never displayed and the order was shuffled. Five experiments were labeled by three annotators (majority vote, with pairwise Cohen's κ of 0.71–0.80 pooled and 0.60–0.86 per experiment), five by one (marked †). A vision-language model9 relabeled all ten as a further rater, and every comparison keeps its direction under its labels.

ExperimentGridprompts × seeds × conditionsMeasureGraph-predicted conditionControl or comparison
Temporal causality12 × 3 × 2cat removedsteps 0–1: 72.2%steps 2–3: 0%
Concept and context16 × 3 × 6identity stripped, shape keptcontext: 87.5%concept: 27.1%
object replaced or removedconcept: 45.8%context: 6.3%
recognizable bat leftboth: 2.1%
Suppressor12 × 3 × 4cat appears (dog prompts)joint: 36.1%dog features alone: 2.8%, suppressor alone: 0%
cat removed (cat prompts)cat features: 88.9%
Color prior †8 × 30 × 6requested colorgraph: 82.1%co-activation: 76.7%
object destroyedgraph: 13.8%co-activation: 21.7%
Polysemy10 × 3 × 2baseball readingα = +100: 70%α = +30: 33%
Reflections †17 × 5 × 3surface intact (reflection removed)layer 11: 86.4%layer 12: 37.5%
image unchangedcontrol features: 100%
Spatial composition16 × 5 × 12red object moves rightpair, α = 10: 85%left suppressed, α = 10: 39%
composition unchangedreversed pair: 97.5%, pair at α = 3: 98.8%
image degradedpair, α = 100: 92.5%
Color leakage †16 × 5 × 2blue object turns redα = +30: 25%, α = +100: 20%surroundings turn red: 62.5% and 65%
Counting †16 × 5 × 5mean objects (five requested)three+ 4.33, four+ 5.49, five+ 6.44, seven+ 8.05baseline: 5.31
Negation †16 × 5 × 4cat absentemptiness amplified: 12.5%no intervention: 8.75%, affirmative prompts: 1.25%
cat supernode suppressed: 100%

Limitations

  • What a graph explains. How the preactivation of one transcoder feature is assembled from earlier features, errors and input embeddings, at one position and step, but neither an image nor why the model attends where it does.
  • Double-stream MLPs only. MLPs are the only components internal to one stream, which makes the per-stream decomposition well defined. Interventions are judged on the final image, so their effects also pass through blocks 16–18 and the 38 single-stream blocks, whose computation the graphs do not explain.
  • An exploratory search. The case-study targets are not an independent sample, each intervention was run at one or two strengths (only the spatial pair was swept), the matched budget compares rules within this dictionary rather than SAE steering methods outside it, and five of the ten blind evaluations report one annotator's labels.
  • Three backbones, two analyses. The temporal analysis and the matched-budget comparison were repeated on FLUX.1 [dev] and SD3.5-medium, the other case studies were not. On SD3.5-medium both hold in direction only, and its graphs are the least faithful of the three.
  • Dual use. The control that fixes a color prior could as well insert or remove content against a user's or a provider's intent. The interventions need white-box access to an open-weight model.

Citation

@inproceedings{mazur2026diffract,
  title     = {{DifFRACT}: Diffusion Feature Reconstruction and Attribution for Circuit Tracing},
  author    = {Mazur, Artyom and Konovalova, Nina and Alanov, Aibek},
  booktitle = {The Fortieth Annual Conference on Neural Information Processing Systems},
  year      = {2026},
  url       = {https://arxiv.org/abs/2606.15796}
}

References

  1. Black Forest Labs. FLUX. 2024.
  2. E. Ameisen, J. Lindsey, A. Pearce, et al. Circuit tracing: Revealing computational graphs in language models. Transformer Circuits Thread, 2025.
  3. J. Dunefsky, P. Chlenski and N. Nanda. Transcoders find interpretable LLM feature circuits. Advances in Neural Information Processing Systems, 2024.
  4. E. Perez, F. Strub, H. de Vries, et al. FiLM: Visual reasoning with a general conditioning layer. Proceedings of the AAAI Conference on Artificial Intelligence, 2018.
  5. Y. Balaji, S. Nah, X. Huang, et al. eDiff-I: Text-to-Image Diffusion Models with an Ensemble of Expert Denoisers. arXiv preprint arXiv:2211.01324, 2022.
  6. T. Kynkäänniemi, M. Aittala, T. Karras, et al. Applying Guidance in a Limited Interval Improves Sample and Distribution Quality in Diffusion Models. Advances in Neural Information Processing Systems, 2024.
  7. B. Tinaz, Z. Fabian and M. Soltanolkotabi. Emergence and Evolution of Interpretable Concepts in Diffusion Models. Advances in Neural Information Processing Systems, 2025.
  8. Stability AI. Stable Diffusion 3.5 Medium. 2024.
  9. Qwen Team. Qwen3.6-35B-A3B: Agentic Coding Power, Now Open to All. 2026.
  10. V. S.-J. Huang, L. Zhuo, Y. Xin, et al. TIDE: Temporal-aware sparse autoencoders for interpretable diffusion transformers in image generation. Proceedings of the AAAI Conference on Artificial Intelligence, 2026.