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

Yuannuo Feng, Yizhe Chen, Wenshuai Yao, Yuxin Xie, Ngai Wong +2 more
9/1/2026
cs.CV
diffusion-flow

No official code found. Best implementation: teddytennant/jax-assert-sampler (0 stars, Python, MIT, last commit 2026-09-03).

Abstract

Diffusion models achieve strong image generation quality but incur high iterative denoising costs. Analog compute-in-memory (CIM) can accelerate matrix-vector multiplications, yet spatial memory variations perturb weights and accumulate during sampling.

Show full abstract

Unlike conventional neural networks, diffusion models' temporal sensitivity to hardware noise remains underexplored. We investigate diffusion inference using a noise model calibrated and validated against measurements collected from multiple physical CIM chips. Our results show that the early, high-noise denoising stage is substantially more vulnerable than the final refinement stage. A first-order trajectory analysis attributes this behavior to the repeated propagation of correlated prediction errors induced by a fixed hardware mapping. Based on this observation, we propose ASSERT, a training-free sampler that uses higher stochasticity early and smoothly transitions to deterministic denoising. The injected stochasticity changes subsequent activation trajectories and thereby reduces their alignment with persistent spatial errors. Across the evaluated settings, ASSERT achieves up to 2.58$\times$ lower FID than deterministic DDIM on high-resolution datasets and 7.68$\times$ lower FID in the CIFAR-10 step-count study, without changing model parameters or the number of network evaluations.

View on arXivView PDF

Code Implementations(1)

MIT

JAX implementation of ASSERT: Adaptive Stochastic Sampling for Robust Diffusion Models on Analog Compute-in-Memory Hardware (arXiv:2609.00955)

00PythonSep 3, 20262 months agoMIT

Similar Papers

Cite this paper

@article{feng2026assert,
  title  = {ASSERT: Adaptive Stochastic Sampling for Robust Diffusion Models on Analog Compute-in-Memory Hardware},
  author = {Yuannuo Feng and Yizhe Chen and Wenshuai Yao and Yuxin Xie and Ngai Wong and Wenyong Zhou and Wang Kang},
  year   = {2026},
  eprint = {2609.00955},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.00955v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.00955.svg)](https://codeofpaper.com/paper/2609.00955)

Discussion