PHYSICAL PDF PAGE 19 / 20

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



     loaded via the lookup table, significantly reducing the LLM weight loading time. Computation is still performed using

     FP16 weights and activations.



   • SVDQuant (Li et al., 2024b) reduces the quantization difficulty of activations by shrinking the activation magnitude

     and amplifying the weight magnitude. The amplified weights are decomposed into low-rank components using SVD,

     while the residual is quantized to low-bit precision.



   • DuQuant (Lin et al., 2024), based on specific outlier dimensions as prior knowledge, employs rotation and permutation

     transformations to redistribute outliers to adjacent channels through block-wise rotation, thereby mitigating the impact

     of outliers.



F.2. Metrics

Graph Generation Evaluation. For the molecules generation tasks, we employ three widely-used metrics to evaluate the

quanlity of generated graphs: Validity, Uniqueness and Novelty. Specifically, Validity quantifies the fraction of generated

molecules that satisfy fundamental chemical valency rules, ensuring their structural feasibility. Uniqueness evaluates the

diversity of the generated molecules by calculating the proportion of distinct SMILES strings, which indicates the presence

of non-isomorphic molecular structures. Novelty assesses the extent to which the generated molecules differ from the

training data by measuring the fraction of molecules that do not appear in the training set, thereby reflecting the model’s

ability to produce chemically novel compounds. Together, these metrics provide a comprehensive evaluation of the chemical

validity, structural diversity, and innovation of the generated molecular outputs. Following (Vignac et al., 2023), we do not

include novelty as a reported metric for QM9 in the main table. This decision is based on the fact that QM9 represents an

exhaustive enumeration of small molecules adhering to a specific set of constraints. Consequently, generating molecules

outside this predefined set does not inherently indicate that the model has effectively learned the underlying data distribution.

Instead, it may reflect deviations from the constrained chemical space that QM9 encompasses.



Protein Inverse Folding Evaluation. In our evaluations, we focus on the protein inverse folding as an important

application for the graph generation. The quality of reconstructed protein sequence is evaluated using two key metrics:

perplexity and Recovery. Perplexity quantifies the degree to which the model’s predicted amino acid (AA) probabilities align

with the actual AA at each position in the sequence. A lower perplexity value indicates a stronger agreement between the

model’s predictions and the observed data, reflecting a better fit. On the other hand, the recovery rate measures the model’s

ability to accurately reconstruct the correct AA sequence based on the protein’s 3D structure. This metric is calculated as

the percentage of AAs in the predicted sequence that match those in the original sequence. A higher recovery rate signifies

a superior capability of the model to infer the original sequence from the structural information. Together, these metrics

provide a comprehensive assessment of the model’s performance in protein inverse folding tasks.



F.3. Quantization Cost Analysis

In Table A1, we report the memory and running time required for quantizing DGDMs. Note that we use the Digress model

from the QM9 dataset as a representative for validating quantized Digress, as the quantization time for Digress on other

datasets is similar. The quantization overhead is mainly divided into two parts: first, determining activation outlier thresholds

by randomly generating a certain number of graphs (set to 32 in our study); second, the iterative estimation required for

ill-conditioned weight decomposition, including the sparse matrix and low-rank component. As shown in Table A1, the time

and memory overhead of quantizing DGDMs is entirely acceptable, especially considering the significant improvement in

inference speed, and does not require high-performance hardware.







Table A1. Peak memory requirements and running time of Bit-DGDM for quantizing DGDMs. The running time is broken down into (i)

activation thresholds computation (X comp.) and (ii) ill-conditioned low rank weight decomposition (W deco.).



                                    QM9 (Digress)                         CATH (GRADE-IF)

                        X Comp.      W deco.    Peak Memory      X Comp.     W deco.     Peak Memory

                         (min)        (min)         (GB)          (min)       (min)          (GB)

                           2.9         13.6           2.1           5.5         10.1          1.9





                                                               19

