PHYSICAL PDF PAGE 1 / 20

Outlier-Aware Post-Training Quantization for Discrete Graph Diffusion Models





                                                  Zheng Gong 1 Ying Sun* 1





                          Abstract                                                                                     𝑞(𝐺 1 |𝐺)

                                                                                   𝐺𝑇                      𝐺 𝑇−1                   𝐺

                                                                        (a)                                        …

       Discrete Graph Diffusion Models (DGDMs) mark

                                                                                        𝑝𝜃 (𝐺 𝑇−1 |𝐺 𝑇 )

       a pivotal advancement in graph generation, effec-

       tively preserving sparsity and structural integrity,                                sampling noise          recursive denoising

       thereby enhancing the learning of graph data dis-

       tributions for diverse generative applications. De-

       spite their potential, DGDMs are computationally

       intensive due to the numerous low-parameter yet

       high-computation operations, thereby increasing

       the need of inference acceleration. A promis-                    (b)

       ing solution to mitigate this issue is model quan-

       tization. However, existing quantization tech-

       niques for Image Diffusion Models (IDMs) face

       limitations in DGDMs due to differing diffusion

       processes, while Large Language Model (LLM)

       quantization focuses on reducing memory ac-                     Figure 1. (a) An illustration of DGDM in the generation of a graph.

       cess latency of loading large parameters, unlike                (b) A comparison of the representative models widely used in

       DGDMs, where inference bottlenecks are compu-                   DGDMs, IDMs, and LLMs, including Digress (Vignac et al.,

       tations due to smaller model sizes. To fill this                2023), SD1.4 (Rombach et al., 2022) and Gemma2-2b (Team

       gap, we introduce Bit-DGDM, a post-training                     et al., 2024), in terms of parameter sizes, computation time, and

       quantization framework for DGDMs which in-                      inference time. The LLM is evaluated with 512 context tokens and

       corporates two novel ideas: (i) sparse-dense ac-                256 output tokens, while DGDM and IDM are assessed over 50

       tivation quantization sparsely modeling the acti-               diffusion steps.

       vation outliers through adaptively selected, data-

       free thresholds in full-precision and quantizing                1. Introduction

       the remaining to low-bit, and (ii) ill-conditioned

       low-rank decomposition decomposing the weights                  Graph generation plays a pivotal role in graph learning (Li

       into low-rank component enable faster inference                 et al., 2024a; Liu et al., 2023c; Gong et al., 2023), with

       and an α-sparsity matrix that models outliers. Ex-              applications spanning drug design (Wu et al., 2018), code

       tensive experiments demonstrate that Bit-DGDM                   completion (Brockschmidt et al., 2018), and social network

       not only reducing the memory usage from the                     analysis (Newman, 2006). Recently, diffusion models (Rom-

       FP32 baseline by up to 2.8× and achieve up to                   bach et al., 2022; Podell et al., 2024) have emerged as a

       2.5× speedup, but also achieve comparable per-                  cutting-edge and effective approach for generative tasks,

       formance to ultra-low precision of up to 4-bit.                 with significant attention being directed toward graph diffu-

                                                                       sion models (Jo et al., 2022; Vignac et al., 2023). A notable

                                                                       development is the emergence of Discrete Graph Diffu-

                                                                       sion Models (DGDMs) (Yi et al., 2023; Liu et al., 2024),

   1

    Artificial Intelligence Thrust, Hong Kong University of Sci-       which employ discretized diffusion processes, as illustrated

ence and Technology (Guangzhou), Guangzhou, China. Corre-              in Fig. 1(a). These approaches exhibit particular capability

spondence to: Ying Sun <yings@hkust-gz.edu.cn>.                        in preserving sparsity and structural integrity of the gener-

Proceedings of the 42 nd International Conference on Machine           ated graphs. However, DGDMs face computational chal-

Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025            lenges due to their reliance on a recursive denoising process,

by the author(s).                                                      thereby necessitating dedicated acceleration techniques.



                                                                   1

