Paper · Autonomous driving · Diffusion models

Should a scene generator focus on what matters for safety?

PA-D2iT studies whether a diffusion model should allocate its limited compute using scene meaning—such as pedestrians and cyclists—instead of visual texture.

The question in one minute

Diffusion models can generate rare driving situations for training autonomous systems. But they cannot spend equal detail on every part of every image. A textured road or tree may attract a pixel-based signal, while a low-contrast pedestrian may be the region that matters most.

Scene layoutWhere are the people, riders, and vehicles?Safety-relevant objects
→
Allocation signalImportance vs. pixel entropyChoose the cells that receive capacity
→
Fixed budget25% of latent cellsSame token count and compute

What changed

The importance map gives vulnerable road users a higher priority than vehicles and background regions. The comparison is controlled: every signal selects the same 25% budget, so the experiment changes where capacity goes—not how much compute is used.

Pixel entropy

Prioritizes regions with high visual variation. This can favor foliage, cobblestones, or other textured background.

Image-drivenTexture-sensitive

Scene importance

Prioritizes regions containing vulnerable road users and vehicles from the scene layout.

Layout-drivenSafety-oriented

Measured result

On the Cityscapes validation set, importance-based allocation identified vulnerable-road-user regions substantially better than entropy. It captured 78.2% of true pedestrian cells, compared with 34.5% for entropy and 25% for random selection.

0.541importance F1
0.425importance precision
0.755importance recall
78.2%pedestrian cells captured

Interpretation: importance achieved roughly 2.2× the F1 of entropy (0.541 vs. 0.247) while keeping the compute budget fixed. The result is about better targeting, not more computation.

What the paper also found

A pretrained Stable Diffusion 1.5 model with LoRA produced coherent layout-conditioned street scenes after 2,000–6,000 training steps. The from-scratch 7M-parameter SmallDiT was more appropriate for the available data than a 158.5M-parameter variant, which memorized instead of generalizing.

6,450Cityscapes crops
7.0MSmallDiT parameters
25%fixed allocation budget

Limitations

The allocation study uses one dataset and one seed, and the current metric measures whether the allocator selects vulnerable-road-user cells—not whether a downstream detector or driving policy improves. The next stronger test is equal-frame-count training followed by small-pedestrian detection evaluation.