Phantom: Temporal Caching for Diffusion Models
Yuzhe Fu, Cong Guo, Zishan Shao, Bowen Duan, Chiyue Wei, Haoxuan Shan, Ting Jiang, Hancheng Ye, Jonathan Ku, Changchun Zhou, Hai "Helen" Li, Yiran Chen
Abstract
Diffusion models have become the dominant paradigm for high-quality image generation, but their iterative inference across tens of timesteps incurs substantial computational overhead. Prior accelerators exploit temporal similarity in diffusion models via differential quantization or output sparsity, yet suffer from increased memory footprint, design complexity, and image degradation. In this work, we present Phantom, an algorithm-architecture co-designed accelerator built on temporal caching. We view temporal similarity as differential sparsity: between adjacent timesteps, only a small fraction of tokens (outliers) change significantly. Phantom recomputes only these outlier tokens and reuses the rest from a temporal cache. Phantom runs on standard systolic arrays with lightweight additions: a Phantom Engine at the global buffer that detects outliers and updates the cache as activations stream through, and a condensed pipeline that maps the resulting sparse updates onto dense systolic computation for FC, convolution, and attention layers. Evaluations on modern diffusion models show that Phantom achieves an average 4.0x speedup and 5.5x energy saving over GPUs and prior accelerators while preserving generation quality.
Create a lesson
Related papers
Enabling AWS Cloud FPGA Development Using High-Level Vitis HLS
David Rostcheck
Energy Efficient Near-Threshold Voltage Massive MIMO Computing
MD Salman Sakib, Mehdi Safarpour, Pejman Ghasemzadeh et al.
Data Center Agglomeration and Power Infrastructure Capacity in the United States
Yutong Ma
Hardwired Distributed Processing Units for Inference: Neural Decisions at the Sensor that Free the Host
Raj Mali
Scheduling Data to Compute: Hierarchical Data Pipelining for LLM Training on AMD GPUs
Gengyu Rao, Ghadeer Ahmed H Alabandi, Su Ann Chong et al.
GSPIM: A Temporal-Locality-Aware 4D Gaussian Splatting Accelerator with Polymorphic PIM and Multi-Frame Rendering Dataflow
Zirui Ma, Zhihua Fan, Haibin Wu et al.