Efficient and Adaptive Diffusion Model Inference Through Lookup Table on Mobile Devices

Diffusion models have revolutionized image synthesis applications. Many studies focus on using approximate computation such as model quantization to reduce inference costs on mobile devices. However, due to their extensive model parameters and autoregressive inference fashion, the overhead of diffusion models remains high, which is challenging for mobile devices to handle. To reduce the inference overhead of diffusion models on mobile devices, we propose <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace>, an algorithm-system co-design specifically tailored for mobile device diffusion model inference optimization. <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace> optimizes using lookup tables and can efficiently generate a series of lookup table candidates for diffusion models without end-to-end training. During inference, <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace> adaptively selects the best inference strategy based on the application/user's latency budget. Additionally, <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace> includes a parallel inference engine that rapidly completes model inference through CPU-GPU co-scheduling. Extensive experiments demonstrate that <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace> can generate images comparable to the original model, with an up to 0.012 MSE in generated images. <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace> can also achieve up to 9.1× inference acceleration and reduce the inference memory footprint by up to 70.9% compared to baseline methods. Moreover, <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace> can save at least 3281× the learning cost of lookup tables.

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Mobile Computing
Published
2025-04-04
DOI
https://doi.org/10.1109/tmc.2025.3558203
Primary Topic
Traffic Prediction and Management Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Efficient and Adaptive Diffusion Model Inference Through Lookup Table on Mobile Devices

Yifan Yang, Xuanzhe Liu, Qipeng Wang, Yuanchun Li et al.
IEEE Transactions on Mobile Computing
Traffic Prediction and Management Techniques
article

Efficient and Adaptive Diffusion Model Inference Through Lookup Table on Mobile Devices

Yifan Yang, Xuanzhe Liu, Qipeng Wang, Yuanchun Li, Ruiqi Liu, Ting Cao, Shiqi Jiang
article en

Abstract

Diffusion models have revolutionized image synthesis applications. Many studies focus on using approximate computation such as model quantization to reduce inference costs on mobile devices. However, due to their extensive model parameters and autoregressive inference fashion, the overhead of diffusion models remains high, which is challenging for mobile devices to handle. To reduce the inference overhead of diffusion models on mobile devices, we propose <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace>, an algorithm-system co-design specifically tailored for mobile device diffusion model inference optimization. <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace> optimizes using lookup tables and can efficiently generate a series of lookup table candidates for diffusion models without end-to-end training. During inference, <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace> adaptively selects the best inference strategy based on the application/user's latency budget. Additionally, <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace> includes a parallel inference engine that rapidly completes model inference through CPU-GPU co-scheduling. Extensive experiments demonstrate that <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace> can generate images comparable to the original model, with an up to 0.012 MSE in generated images. <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace> can also achieve up to 9.1× inference acceleration and reduce the inference memory footprint by up to 70.9% compared to baseline methods. Moreover, <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LUT-Diff</monospace> can save at least 3281× the learning cost of lookup tables.

IEEE Transactions on Mobile ComputingVol. 24(9)
Microsoft (United States) (US), Peking University (CN), Microsoft Research (United Kingdom) (GB), Tsinghua University (CN)
Openalex Percentile: Top 94%
Traffic Prediction and Management Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.