Skip to content
Preprint

When Guidance Goes Off-Scale: Recalibrating Diffusion Transformers under Analog Compute-in-Memory Nonidealities

Aug 2026 · 0 citations · 32 references
Computer Science

TL;DR

The impact of analog CIM nonidealities on DiT sampling is characterized and a retraining-free, sampler-side recalibration that adjusts only the CFG scale for a given CIM condition is proposed, showing that the optimal guidance scale increases with CIM noise.

Abstract

Diffusion Transformers (DiTs) incur high memory traffic and energy costs because sampling repeatedly evaluates large denoisers dominated by linear operations. Analog compute-in-memory (CIM) can alleviate these costs by executing linear operations within weight-storing memory arrays. However, CIM nonidealities perturb effective weights, with errors accumulating along the state-dependent denoising trajectory; their interaction with classifier-free guidance (CFG) remains underexplored. In this paper, we characterize the impact of analog CIM nonidealities on DiT sampling. Although conditional and unconditional predictions can each remain close to their clean counterparts, their difference (the CFG residual) is disproportionately attenuated and rotated. Identifying this residual as a controllable failure channel, we propose a retraining-free, sampler-side recalibration that adjusts only the CFG scale for a given CIM condition. Trajectory-level analysis shows that moderate recalibration strengthens the target-oriented component preserved in the distorted residual, enabling earlier commitment to a prompt-consistent semantic region. In contrast, excessive guidance amplifies the full noisy residual and degrades quality, resulting in a finite, noise-dependent optimum. Extensive experiments on PixArt-Sigma, PixArt-alpha, and DiT-XL/2 show that the optimal guidance scale increases with CIM noise. Using 30,000 samples per condition, guidance recalibration consistently restores generation quality across simulated CIM mappings, closing at least 87% of the CIM-induced FID gap at a CIM noise level of 0.20. It reduces FID from 59.22 to 20.49 on PixArt-Sigma, 72.37 to 21.12 on PixArt-alpha, and 20.89 to 6.62 on DiT-XL/2.

View source

Similar papers

Preprint Aug 2026

Scaling Muon for Diffusion Transformers

Periodic Row-wise Muon is introduced, which performs a full NS5 spectral update once every \(K\) steps and applies a low compute and communication cost row-wise constrained update based on the current momentum at the remaining steps to preserve Muon's generative quality advantage while translating it into end-to-end tr...

Chenghao Li, Xiao Han, Xin-Xin Huang et al. · 0 citations
Apr 2020

recirculation

We describe an inference-time architectural enhancement for off-the-shelf foundation models that systematically reduces perplexity and boosts accuracy across generation and reasoning tasks. Our approach incurs essentially no additional latency during generation, though it requires serial processing in the prefill phase...

M. Mozer, Shoaib Ahmed Siddiqui, Danny P. Sawyer et al. · 11 citations · ⚡1
Preprint Sep 2026

ASSERT: Adaptive Stochastic Sampling for Robust Diffusion Models on Analog Compute-in-Memory Hardware

This work investigates diffusion inference using a noise model calibrated and validated against measurements collected from multiple physical CIM chips, and proposes ASSERT, a training-free sampler that uses higher stochasticity early and smoothly transitions to deterministic denoising.

Yuan-Nuo Feng, Yi-Zhe Chen, Wen-Shuai Yao et al. · 0 citations
Preprint Sep 2026

Delving into Asymmetric Information Dynamics for High-Fidelity Virtual Try-On

Virtual try-on (VTON) requires precise pixel-level fidelity, yet mainstream Diffusion Transformers (DiTs) often suffer from texture degradation and structural drift. We identify symmetric interactions in standard joint-attention mechanisms as a source of these failures. Although such interactions support semantic flexi...

Zi-Shu Qin, Zhi-Yu Jin, Pi-Pei Huang et al. · 0 citations
Preprint Aug 2026

When does training on downscaled images yield the same gradients?

Diffusion transformers deliver strong image generation, but their training cost grows superlinearly with resolution. Recent work justifies training or sampling at reduced resolution on a spectral premise: at high noise, a downscaled latent preserves almost the full surviving signal. Whether a downscaled step also prese...

Seunghyun Ji · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.