Spectral-Guided Diffusion: Accelerating Inference via Static Spectral Layer Scheduling
Organizations: Department of Computer Science, Iowa State University · Department of Computer Science & Engineering, BRAC University · Department of Civil, Construction & Environmental Engineering, Iowa State University
Abstract
Diffusion inference repeatedly evaluates the same large network. We ask whether pretrained weights alone can identify residual branches that need not be recomputed throughout the trajectory. Our Spectral Concentration Ratio (SCR) measures leading-versus-tail singular-value energy. Combined with Frobenius magnitude, it yields an offline sensitivity proxy and a deterministic lifetime for each scheduled unit. A frozen unit reuses its cached residual-branch update while the current residual stream and all external conditioning continue to propagate. The method needs no router, calibration prompts, or input-dependent search. At matched layer-step budgets, SCR/Frobenius preserves quality better than random, depth, norm, stable-rank, and Frobenius--stable-rank schedules on LLaDA-8B, DiT-XL/2, U-ViT-L, and SDXL. Broader LLaDA tests cover retrieval, reasoning, code, summarization, and open-ended generation; matched-horizon controls retain the ranking down to ten denoising steps. The complete captured-graph system reaches -- wall-clock speedup over eager inference. This is a systems-level number: on LLaDA, padded graph execution already gives , while eliminating inactive branch work raises it to . The perturbation analysis motivates pre-norm attention and MLP components under explicit local assumptions; results on AdaLN, U-shaped, convolutional, and cross-attention blocks are empirical transfer, not certified guarantees.
Figures & tables
| Model | Main block type | Conditioning | Theory coverage | Cached update / current signal |
| LLaDA-8B | transformer diffusion LM | RMSNorm / timestep conditioning | direct for pre-norm branches | attention/MLP update; current residual stream |
| DiT-XL/2 | diffusion transformer | AdaLN / class conditioning | heuristic for AdaLN | attention/MLP update; current residual stream |
| U-ViT-L | U-shaped ViT | skip connections / patch features | partial | group update; current main stream and skip input |
| SDXL | latent UNet | conv, cross-attn, residual blocks | heuristic | valid residual/attention update; current residual and UNet skips |
| Execution mode | Layer-steps | Latency | Speedup |
| Full model, eager | 3200 | ms | 1.0 |
| Python skipping | 1120 | ms | 1.9 |
| Padded static graph | 3200 | ms | 2.7 |
| Jagged-stream executor | 1120 | ms | 3.0 |
| Model | Architecture | Task | Full latency | Scheduled latency | Speedup | Quality change |
| LLaDA-8B | diffusion LM | GSM8K / Needle | ms | ms | 3.0 | GSM8K / Needle |
| DiT-XL/2 | diffusion transformer | ImageNet-256 | s | s | 3.0 | FID |
| U-ViT-L | U-ViT | ImageNet-256 | s | s | 2.8 | FID |
| SDXL | latent UNet | COCO | s | s | 3.0 | COCO FID |
| Model | Metric | Layer-steps | Speedup | Full | Scheduled |
| LLaDA-8B | GSM8K Acc. | 35% | 3.0 | ||
| DiT-XL/2 | FID | 34% | 3.0 | ||
| U-ViT-L | FID | 36% | 2.8 | ||
| SDXL | COCO FID | 32% | 3.0 |
| Ranking score | LLaDA GSM8K | DiT FID | U-ViT FID | SDXL COCO FID |
| Random | ||||
| Depth-only | ||||
| Frobenius norm | ||||
| Spectral norm | ||||
| Stable rank | ||||
| Frobenius stable rank |
| Method | Steps | Std. latency | Needle | GSM8K | CNN/DM | Needle-4K | MATH | HumanEval | MAUVE |
| Full | 3200 | ms | |||||||
| Random | 1120 | ms | |||||||
| Depth | 1120 | ms | |||||||
| Spectral | 1120 | ms | |||||||
| Oracle replay | ms | – | – | – | – |
| LLaDA Full | Spectral | Depth | Random | DiT Spectral | DiT Depth | DiT Random | |
| 100 | |||||||
| 50 | |||||||
| 30 | |||||||
| 20 | |||||||
| 10 |
| Method | Signal | LLaDA ms / GSM8K | DiT s / FID | SDXL s / FID |
| Spectral static | weights, offline | |||
| Activation drift | per-input drift | |||
| Oracle replay | full-output agreement | – | – |
| Method | DiT latency | DiT FID | U-ViT latency | U-ViT FID |
| Full Model | s | s | ||
| DDIM, 50 steps | s | – | ||
| DPM-Solver++ | s | – | ||
| DeepCache | s | – | ||
| -DiT | s | – | – | |
| Random static | s | – |
| Model / batch | Full | Sched. | Cache | Increase |
| LLaDA / 1 | 18.9 | 22.2 | 3.0 | |
| DiT / 16 | 18.7 | 20.8 | 1.8 | |
| U-ViT / 16 | 14.9 | 16.4 | 1.3 | |
| SDXL / 8 | 39.8 | 48.5 | 8.2 |
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Latency | COCO FID |
| Full SDXL | s | |
| DPM-Solver++ | s | |
| DeepCache | s | |
| Block Caching | s | |
| Depth static | s | |
| Spectral static | s |
| Model | Std. err. | -value | |||
| LLaDA-8B | 0.42 | 0.08 | 0.31 | 0.49 | |
| DiT-XL/2 | 0.36 | 0.07 | 0.28 | 0.42 | |
| U-ViT-L | 0.31 | 0.08 | 0.25 | 0.36 | |
| SDXL | 0.39 | 0.09 | 0.22 | 0.38 |
| Model | Dataset | Samples | Resolution | Precision | Batch | Hardware | Primary metric |
| LLaDA-8B | Needle / GSM8K / CNN/DM / MATH-500 / HumanEval / WikiText-103 | full official splits; 500 MATH problems; 164 code tasks; held-out continuation prompts | text | bf16 | 1 | H100 80GB | accuracy / exact match / pass@1 / ROUGE-L / MAUVE |
| DiT-XL/2 | ImageNet-256 | 50k samples | bf16 | 16 | H100 80GB | FID | |
| U-ViT-L | ImageNet-256 | 50k samples | bf16 | 16 | H100 80GB | FID | |
| SDXL | COCO validation prompts | 30k samples | fp16 | 8 | H100 80GB | COCO FID |
| Family | Method | Steps | Sampler / order | Guidance | Budget / status |
| LLaDA-8B | Full | 100 | default deterministic | n/a | 3200 layer-steps; matched |
| LLaDA-8B | DDIM / reduced | 50 | DDIM | n/a | full layers; exploratory |
| LLaDA-8B | DPM-Solver++ | 20 | second order | n/a | full layers; exploratory |
| LLaDA-8B | Static | 100 | default deterministic | n/a | 1120 layer-steps; matched |
| DiT-XL/2 | Full / static | 100 | default | cfg 1.5 | full / 34%; matched |
| DiT-XL/2 | DDIM / DPM-Solver++ | 50 / 20 | DDIM / second order | cfg 1.5 | full layers; matched |
| Method | Latency | Needle | GSM8K | CNN/DM |
| DDIM / reduced | ms | |||
| DPM-Solver++ | ms |
| Method | Status | Used in matched tables | Notes |
| DDIM / DPM-Solver++ (vision) | direct | yes | same checkpoints, precision, resolution, and batch size |
| DDIM / DPM-Solver++ (LLaDA) | direct, exploratory | no | masked-denoising adaptation not sufficiently documented |
| DeepCache | direct | yes | compatible image models with method-default cache interval |
| -DiT | direct for DiT | yes | unavailable for U-ViT row |
| Random / depth static | direct | yes | matched layer-step budget to Spectral-Guided |
| SmoothCache | literature positioning | no | different public settings |
| Model | Representative active-iteration coordinates by increasing depth | |||||||
| LLaDA-8B, | 25 | 31 | 38 | 50 | 63 | 75 | 88 | 100 |
| DiT-XL/2, | 31 | 38 | 44 | 56 | 69 | 81 | 94 | 100 |
| U-ViT-L, | 38 | 44 | 56 | 69 | 81 | 88 | 94 | 100 |
| SDXL, | 13 | 16 | 19 | 25 | 31 | 38 | 44 | 50 |
| Model | Units | Spearman | -value | Error proxy |
| LLaDA-8B | 192 | 0.76 | normalized denoiser-output deviation | |
| DiT-XL/2 | 168 | 0.70 | normalized latent-output deviation | |
| U-ViT-L | 132 | 0.66 | normalized latent-output deviation | |
| SDXL | 284 | 0.71 | normalized UNet-output deviation |
| Model | Speedup | Metric | Value | |
| LLaDA-8B | full | 1.0 | GSM8K | 68.3 |
| LLaDA-8B | 0.5 | 1.5 | GSM8K | 68.2 |
| LLaDA-8B | 1.0 | 3.0 | GSM8K | 68.1 |
| LLaDA-8B | 2.0 | 4.5 | GSM8K | 65.5 |
| DiT-XL/2 | full | 1.0 | FID | 2.27 |
| DiT-XL/2 | 0.5 | 1.5 | FID | 2.28 |
| Model family | Failure mode | Likely cause |
| Diffusion LM | arithmetic carry / boundary retrieval | late high-sensitivity layers frozen too early |
| DiT / U-ViT | fine texture loss | high-frequency reconstruction suppressed |
| SDXL UNet | small text / object count errors | cross-attention and decoder under-updated |
| Method | Params | ROUGE-L | Speedup |
| Full fine-tuning | 8.0B | 42.1 | 1.0 |
| LoRA, | 26M | 41.4 | 1.5 |
| SCR-freeze bottom 40% | 4.8B | 41.9 | 1.6 |
| Random-freeze bottom 40% | 4.8B | 39.8 | 1.6 |
| Model | Drift | Weight-only | order | |||
| LLaDA-8B | .91 | .12 | .29 | .94 | 68.1 | 68.2 |
| DiT-XL/2 | .88 | .09 | .26 | .92 | 2.35 | 2.33 |
| U-ViT-L | .84 | .06 | .33 | .90 | 3.15 | 3.13 |
| SDXL | .79 | .41 | .86 | 8.09 | 8.04 |
Diffusion Model Inference Acceleration
Diffusion model inference acceleration reduces the time and compute needed to generate or reconstruct outputs while preserving quality.
See all 509 papers