Manuscript Offprint
arXiv:2608.30394TopGQ: Fast GNN Post-Training Quantization Leveraging Topology Information
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Dain Kwon
Seoul National University
Seoul, South Korea
Sunjong Park
Seoul National University
Seoul, South Korea
Kanghyun Choi
Seoul National University
Seoul, South Korea
Seoyong Lee
Seoul National University
Seoul, South Korea
Hyeyoon Lee
Seoul National University
Seoul, South Korea
Sukjin Kim
Seoul National University
Seoul, South Korea
Jinho Lee
Seoul National University
Seoul, South Korea
Abstract
Existing GNN quantization methods suffer from considerable quantization overhead, which severely limits their practical usage in real-world scenarios. To this end, we present TopGQ, an accurate post-training GNN quantization framework, alleviating redundant quantization overhead. We propose dual-axis scale absorption, which enables activation quantization along both the outer and inner dimensions by merging one into the adjacency matrix. On top of that, we introduce TopPIN, a proxy for nodes' local structure, and use it to group nodes with similar topology during quantization. Experimental results show that TopGQ reduces quantization time by an order of magnitude while preserving accuracy. The code is available at https://github.com/meowrowan/TopGQ.
Keywords
Graph Neural Network, Post-Training Quantization, Inference Acceleration, Edge Device, Graph Topology
ACM Reference Format:
Dain Kwon, Kanghyun Choi, Hyeyoon Lee, Sunjong Park, Seoyong Lee, Sukjin Kim, and Jinho Lee. 2026. TopGQ: Fast GNN Post-Training Quantization Leveraging Topology Information. In 63rd ACM/IEEE Design Automation Conference (DAC '26), July 26–29, 2026, Long Beach, CA, USA. ACM, New York, NY, USA, 7 pages. https://doi.org/10.1145/3770743.3804433

Figure 1: Quantization time-accuracy trade-off plot with large-scale graph datasets.
21], there is an urgent need to process them efficiently at scale. One promising approach is quantization, which reduces memory and computational costs by using low-bit representations [2, 19, 20, 22].
However, as illustrated in Figure 1, quantizing GNNs is difficult and time-consuming. Existing work takes hours for medium-sized graphs such as Reddit, and days for larger graphs such as MAG240M, making it infeasible. This overhead comes from handling outliers through extensive tuning or long training. Quantization-aware training (QAT) methods involve such costly model retraining [7, 14, 25, 28, 37]. While post-training quantization (PTQ) is known to be faster, existing methods [16] still employ gradient-based iterations on quantization parameters, negating this advantage.
This large quantization time poses a major barrier to the deployment of GNN quantization in real-world scenarios, particularly when frequent model updates are required. Popular applications such as personalization and recommendation [6, 9, 29, 33] operate on large-scale graphs and benefit from quantization. However, these often require model updates on a minute-to-hour scale [23, 24], and

This work is licensed under a Creative Commons Attribution 4.0 International License. DAC '26, Long Beach, CA, USA
© 2026 Copyright held by the owner/author(s).
ACM ISBN 979-8-4007-2254-7/2026/07
https://doi.org/10.1145/3770743.3804433
Dain Kwon et al.
excessive quantization time makes deployment impractical by canceling out the benefits of quantization.
For this, we present TopGQ, a PTQ method that achieves orders of magnitude faster quantization with comparable or even better task performance. First, we show that node-wise quantization is preferable for GNNs (Section 3), due to outlier nodes. However, node-wise quantization on the aggregation phase prevents the use of fast integer arithmetic. Thus, we propose (1) dual-axis scale absorption, which enables fast and accurate integer matrix multiplication at aggregation by merging the scaling factors of each node into the adjacency matrix. We further propose (2) TopPIN, a fast-computable node index that captures its topology. Using TopPIN, we can rapidly assign quantization parameters to unseen nodes, ensuring fast inference. Extensive experimental results validate that TopGQ outperforms current state-of-the-art baselines, achieving faster quantization while preserving accuracy and speed, establishing a new standard in GNN quantization.
2 Background
Graph neural networks. Let be a directed graph with nodes, . Denote as the adjacency matrix, where . For node , define its closed in-neighborhood as , and let degree . We denote as the diagonal degree matrix, as feature vector of .
To embed topology, GNNs aggregate information from neighboring nodes to update . This procedure is referred to as the message-passing algorithm, which consists of two steps: combination and aggregation. First, the hidden node feature is multiplied by the weight matrix in the -th GNN layer. Next, the feature is aggregated to as follows:
where is an update function, and is a permutation-invariant operator such as sum or mean.
The GNN computation can also be formulated in matrix form. Let be the node feature matrix at layer , and be the weight matrix. Then, using the adjacency matrix , the combination and aggregation are:
where is a nonlinear function. The specific form of varies by GNN architecture. GCN [18] employs the normalized graph Laplacian , while GIN [31] uses the binary matrix . GraphSAGE [10] differs by sampling a subset of neighbors instead of using the entire neighborhood at aggregation.
Transductive and inductive settings. GNN training operates in either a transductive or an inductive setting. In the transductive setting, the full graph (e.g., features and topology of test nodes) is available during training, except for the test node labels. Thus, inference can be done with precomputed embeddings [32], leaving little room for acceleration benefits. In contrast, the inductive setting introduces unseen nodes or graphs at test time, requiring computation for node embeddings during inference. Consequently, GNN quantization is especially valuable in inductive settings, where reducing computation and memory directly accelerates inference. Moreover, the inductive setting better reflects practical real-world scenarios where graphs evolve or differ from those used for training, such as social networks and recommendation systems with new users, or molecular property prediction for unseen molecules.
Quantization replaces high-precision floating-point operations with low-bit integer operations, reducing computational cost and memory usage. We adopt uniform quantization with scale (s) and zero-point (z). Given a tensor X, element is quantized as:
and are the minimum and maximum integer values in k-bit representation, and denotes rounding. Quantization operates at various granularities, such as per-tensor, per-row, or per-column. Finer granularity can reduce quantization error by constraining the effect of outliers to only a subset of values. However, we cannot freely choose per-row or per-column granularity, since the scale factors must follow the outer dimension of the GEMM for dequantization. This induces challenges for GNN quantization (Section 3).
Quantization can also be categorized into post-training quantization (PTQ) and quantization-aware training (QAT), depending on whether quantization is applied after training or incorporated during training. QAT iteratively updates the model weights using backpropagated gradients under simulated quantization, whereas PTQ calibrates scale and zero-point without modifying the pretrained weights, making it substantially faster in practice. As our method is PTQ-based, it inherits benefits from this efficiency.

(a) Reddit, GCN
(b) Reddit, GCN

(c) ogbn-products, GraphSAGE (d) ogbn-products, GraphSAGE
Figure 2: Node-wise(blue, left) and feature-wise(red, right) range plot, sorted in ascending order. ‘Node Index’ indicates each node, and ‘Feature Index’ indicates each feature dimension. Each plot shows the min-max range and the 5th-95th percentile range of the values within the same dimension.
3 Motivations & Challenges
GNN quantization requires special consideration due to its unique message-passing mechanism. In particular, the accumulation of neighborhood information induces diversity across nodes, making node-wise quantization a preferred approach. Figure 2 illustrates such behavior by comparing the activation range within each node dimension (Figures 2a and 2c) and feature dimension (Figures 2b and 2d). Figures 2a and 2c show that node-wise ranges are more concentrated, with the 5th–95th percentile range close to the min–max range. This indicates that each group exhibits a suitable range for quantization, as there are no outliers far exceeding the majority distribution. However, in the feature-wise plots (Figures 2b and 2d), each min-max range is much broader, while 95% of the values exist within a narrower interval. This distribution is more prone to outliers far exceeding the majority range of values, leading to wasted quantization bins and higher error. This makes node-wise quantization a better choice for GNN activations.
Based on the observation, we assign different quantization scales to the group of nodes for X in both the combination and the aggregation phase. Enabling such a method in the combination phase is relatively straightforward. In fact, existing methods [7, 37] already employ node-wise quantization for combination :
where is the node-wise scale of , the feature-wise scale of , and denotes the element-wise (Hadamard) product. As is quantized node-wise and feature-wise, their multiplication remains a standard integer GEMM, with the scales applied afterwards for dequantization, maintaining high throughput.
Challenge 1: Quantization along inner dimensions. By contrast, node-wise quantization in the aggregation phase is challenging. Applying node-wise quantization for the aggregation step ,
introduces the diagonal matrix within the multiplication. Unlike Equation 4, this cannot be computed using integer matrix multiplication units [15]. Thus, existing GNN quantization [7, 37] methods simply choose to employ column-wise quantization to . While this ensures acceleration, it may fail to preserve the precision of activations. To achieve the precision benefits of node-wise quantization while maintaining the efficiency of integer GEMM, TopGQ proposes a novel method, dual-axis scale absorption (Section 4.1).
Challenge 2: Generalization on unseen nodes. For practical inductive settings (Section 2), GNN encounters unseen nodes at inference. There are two ways to get quantization parameters for such nodes:
(i) On-the-Fly Quantization Parameter Computation. A straightforward approach is to dynamically compute quantization parameters per node during inference. For each activation, every row of and is scanned, and the minimum and maximum values of each node are empirically determined to obtain scales and zero-points. While this ensures low quantization error, it is less preferred as the additional runtime overhead can offset the efficiency gains.
(ii) Precomputed Mapping. An alternative is to precompute a set of quantization parameters from train nodes at calibration time, and map each unseen node to one of them at inference. Before inference, a simple lookup can retrieve and prepare appropriate parameters for each activation. Nonetheless, this requires an accurate low-complexity node index such that nodes with similar index values exhibit similar feature statistics. TopGQ chooses this mapping approach, where we design a novel Topology-Aware Pairwise Index (TopPIN) that uses local topology for lightweight computation (Section 4.2). TopPIN ensures that unseen nodes are assigned adequate quantization parameters at low inference overhead.
4 TopGQ Methodology
4.1 Selective Dual-axis Scale Absorption
To account for the differing magnitude of node features (Figure 2), we employ a node-wise scale factor , where consists of the maximum feature value for each node. Specifically, we scale to with , i.e., . Then, to eliminate any terms preventing integer operations, is merged to the given static adjacency matrix, . The operation is as follows:
After merging to , we can conduct integer matrix multiplication for two matrices, and with corresponding quantization parameters , and :
In the calibration process, TopGQ adaptively chooses between dual-axis and feature-wise quantization for for each GNN layer. TopGQ evaluates both configurations by measuring the mean squared error (MSE) between the original floating-point activations and their quantized counterparts. The configuration with lower MSE

(a) Column-wise activation quantization

(b) Quantization via dual-axis scale absorption (Proposed)
Figure 3: Comparing quantization at aggregation phase.
Dain Kwon et al.

(a) TopPIN Computation
(b) Calibration
(c) Inference
Figure 4: Quantization process with TopPIN. (a) shows node group generation through the proposed topological proxy, TopPIN. Each color is used to denote each group. (b) shows the calibration process to obtain quantization parameters for each group. (c) demonstrates how inference is done on unseen data, using the quantization parameters of the nearest groups with interpolation.
is saved for inference. When dual-axis scale absorption is selected, the scaling elements for are calibrated like the quantization parameters. When dual-axis scale absorption is used at inference, can be immediately quantized with , which acts like an element-wise quantization parameters for .
Dual-axis scale absorption mimics the effect of node-wise quantization, while actually using feature-wise quantization to be compatible with integer matrix multiplication. This design allows advantages of node-wise scaling without sacrificing inference efficiency.
4.2 TopPIN: A Fast Index for Unseen Nodes
To support quantization in inductive settings, we devise TopPIN, a lightweight index that maps unseen nodes to existing train set nodes used at calibration. The formulation of TopPIN is as follows:
We observe that GNN aggregation creates distinct activation patterns for different nodes based on their local topology. When a GNN repeatedly aggregates neighborhood information through layers, the variance of each node's activation accumulates differently depending on its position in the graph. Specifically, we can characterize this accumulation through a node index function . For unnormalized GNNs ( ), this accumulation is proportional to the number of paths reaching the nodes:
where nodes with denser neighborhoods accumulate more variance.
This idea suggests that nodes with similar values will exhibit similar activation distributions after multiple layers of aggregation. Rather than using uniform quantization parameters across all nodes, we can group nodes by their expected activation patterns based on local graph structure. This insight motivates our TopPIN index, which captures these topological patterns to enable efficient node-wise quantization by assigning similar quantization parameters to nodes that share similar neighborhood aggregation characteristics. To derive a practical approximation of that forms our TopPIN index, let denote the indegree of node v, and we approximate all summations beyond the first term as a constant :
For normalized GNNs ( ), the only difference is that degree normalization factors propagate through the aggregation. In this case, we approximate the summand of the second summation as a constant :
These approximations lead to our final TopPIN formulation, which effectively balances accuracy and efficiency. TopPIN(v) can be applied to various GNN architectures. Our empirical observations confirm that these first-order approximations capture most of the benefits with minimal computational overhead, making TopPIN practical for large-scale inductive GNN quantization.
Figure 4 illustrates how we apply TopPIN during quantization. In the calibration phase (Figure 4a), we first compute TopPIN(v) for each node v, as defined in Section 4.2. For each value, we calculate node-wise quantization parameters . If multiple nodes share the same TopPIN, we aggregate the statistics by taking the global maximum and minimum (Figure 4b), ensuring the quantization parameters cover the full range. This gives a pair of quantization parameters for each unique TopPIN. Finally, in inference, we only need to compute the TopPIN(v) for each unseen node v and use it as a key to retrieve the appropriate quantization parameters (Figure 4c). For this, we retrieve the k-nearest TopPIN groups and interpolate among their parameters. Such design leverages the finding that nodes with similar TopPIN(v) values exhibit similar activation distribution, as we theoretically demonstrated.
5 Experimental Results
5.1 Experimental Settings
We evaluate TopGQ on node-level and graph-level tasks against three QAT baselines: SGQuant [7], Degree-Quant [25] (DQ), [37], and one recent PTQ baseline: DRA [16]. For node classification, we use Cora, CiteSeer, Reddit, ogbn-products, and MAG240M. For graph classification, we use IMDB-BINARY, and COLLAB, and report 10-fold cross-validation accuracy. We calibrate fully-trained GCN [18], GraphSAGE (SAGE) [10], GIN [31], and GAT [26] for 4-bit and 8-bit integer quantization, with a fixed bitwidth across all layers for fair comparison. All datasets except MAG240M were evaluated in the inductive setting, better reflecting practical quantization use. MAG240M was evaluated in the original transductive setting, using R-GAT architecture from the ogb-lsc [12] challenge.
Table 1: Comparison of node classification task with graphs of varying sizes
| Bit | Method | Type | Cora | Citeseer | ogbn-products | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GCN | GraphSAGE | GCN | GraphSAGE | GCN | GraphSAGE | GCN | GraphSAGE | |||||||||||
| Acc. | Q.Time | Acc. | Q.Time | Acc. | Q.Time | Acc. | Q.Time | Acc. | Q.Time | Acc. | Q.Time | Acc. | Q.Time | Acc. | Q.Time | |||
| FP32 | - | 80.14 | - | 77.02 | - | 76.46 | - | 76.34 | - | 94.40 | - | 95.09 | - | 71.25 | - | 70.33 | - | |
| INT8 | SGQ | QAT | 79.93 | (6.4s) | 76.28 | (8.24s) | 76.21 | (9.3s) | 76.06 | (14.84s) | 92.10 | (4.64m) | 92.01 | (3.27h) | 39.13 | (2.52m) | 58.80 | (2.11h) |
| DQ | QAT | 78.94 | (11.5s) | 75.50 | (23.87s) | 75.62 | (25.7s) | 74.77 | (69.95s) | 87.01 | (10.59m) | 90.53 | (16.35h) | 72.34 | (14.05m) | 70.17 | (6.55h) | |
| QAT | 79.66 | (3.5s) | 76.94 | (4.56s) | 75.72 | (3.5s) | 75.08 | (4.96s) | 73.71 | (4.12m) | 75.13 | (2.83h) | 50.78 | (83.94s) | 60.15 | (1.67h) | ||
| DRA | PTQ | 79.76 | (1.7s) | 76.46 | (3.11s) | 76.26 | (1.6s) | 75.74 | (3.00s) | 93.15 | (42.99s) | 94.36 | (23.71m) | 36.22 | (41.63s) | 47.70 | (44.97m) | |
| TopGQ | PTQ | 79.96 | (0.2s) | 76.86 | (0.54s) | 76.52 | (0.2s) | 76.32 | (0.56s) | 94.41 | (1.88s) | 94.55 | (35.79s) | 71.33 | (1.16s) | 70.31 | (34.88s) | |
| INT4 | SGQ | QAT | 78.73 | (6.4s) | 75.52 | (8.41s) | 76.31 | (10.4s) | 75.94 | (14.65s) | 43.00 | (4.84m) | 87.42 | (3.27h) | 6.14 | (2.57m) | 27.95 | (2.13h) |
| DQ | QAT | 78.54 | (11.5s) | 74.36 | (23.49s) | 23.54 | (25.5s) | 74.99 | (69.91s) | 64.18 | (10.55m) | 89.61 | (16.33h) | 36.66 | (13.93m) | 69.90 | (6.52h) | |
| QAT | 50.00 | (3.6s) | 74.66 | (4.65s) | 43.52 | (3.5s) | 73.00 | (5.01s) | 23.24 | (4.12m) | 67.94 | (2.83h) | 25.95 | (83.30s) | 31.32 | (1.66h) | ||
| DRA | PTQ | 77.02 | (1.7s) | 76.18 | (3.24s) | 74.10 | (1.6s) | 74.60 | (2.93s) | 1.75 | (42.82s) | 5.31 | (23.71m) | 3.12 | (41.61s) | 26.40 | (44.96m) | |
| TopGQ | PTQ | 78.84 | (0.2s) | 76.30 | (0.53s) | 75.96 | (0.2s) | 75.76 | (0.57s) | 93.05 | (1.87s) | 89.88 | (35.28s) | 39.03 | (1.16s) | 61.83 | (34.90s) | |
*Q.Time: Quantization Time, SGQ: SGQuant, DQ: Degree-Quant, TopGQ: Proposed Method
Table 2: Quantized accuracy and time on GNN architectures with learnable edge weights
| Method Type | Cora | MAG240M | |||||
|---|---|---|---|---|---|---|---|
| INT8 | INT4 | INT8 | |||||
| Acc. | Q.Time | Acc. | Q.Time | Acc. | Q.Time | ||
| FP32 | - | 80.36 | - | 80.36 | - | 69.66 | - |
| SGQ | QAT | 80.30 | (7.7s) | 77.92 | (6.8s) | 46.76 | (5.50 days) |
| DQ | QAT | 78.66 | (14.6s) | 77.90 | (14.5s) | N/A | (37.5 days) |
| QAT | 75.29 | (6.3s) | 45.64 | (6.3s) | 57.97 | (2.46 days) | |
| DRA | PTQ | 80.20 | (3.6s) | 74.35 | (3.3s) | 66.13 | (2.06 days) |
| TopGQ | PTQ | 80.63 | (0.2 s) | 78.56 | (0.2s) | 69.14 | (58.8 minutes) |
All experiments are conducted using A6000 GPU, RTX 4090 GPU, and Intel(R) Xeon(R) Gold 6442Y CPU. To evaluate the practical deployment potential on edge devices, we used NVIDIA Jetson AGX Orin. We report both the accuracy and the quantization time. Bold indicates the best accuracy, and red indicates quantization times with unit changes (e.g., h → m, m → s) by TopGQ.
5.2 Evaluation Results of Node-level Tasks
Table 1 reports node classification results, where the graph size spans from small (Cora, Citeseer), middle (Reddit), to large (ogbn-products). Across all sizes, TopGQ is the fastest while matching or exceeding the baseline accuracy: Baselines take up to hours (16.35h, Reddit, GraphSAGE) for quantization whilst TopGQ takes less than a minute. Notably in INT4, TopGQ achieves the best accuracy, with up to a 28.87%p gain over the strongest baseline for GCN.
We also evaluate on GAT, a representative architecture for using dynamic edge weights, shown in Table 2. TopGQ preserves the accuracy of the original model, demonstrating generalization across different GNN structures. On Cora, TopGQ achieves the best accuracy while keeping quantization time under half a second. Notably in 4-bit quantization, we observe at most 32.92%p accuracy gain compared to the baselines. We further emphasize the benefit of TopGQ by using a hyper-scale graph with 240 million nodes (MAG240M). We do not report accuracy for DQ because its training time (37.5 days) is prohibitive given our computational budget.
Table 3: Comparison of quantization accuracy and time for the graph-classification datasets
| Method Type | IMDB-BINARY | COLLAB | |||||||
|---|---|---|---|---|---|---|---|---|---|
| GCN | GIN | GCN | GIN | ||||||
| Acc. | Q.Time | Acc. | Q.Time | Acc. | Q.Time | Acc. | Q.Time | ||
| FP32 | - | 79.58 | - | 79.72 | - | 82.54 | - | 82.31 | - |
| INT8 | |||||||||
| SGQ | QAT | 68.28 | (5.88m) | 68.26 | (6.74m) | 80.96 | (39.35m) | 81.80 | (40.26m) |
| DQ | QAT | 77.32 | (8.98m) | 76.00 | (9.08m) | 82.30 | (2.39h) | 81.62 | (2.30h) |
| QAT | 75.12 | (3.24m) | 75.97 | (3.78m) | 64.10 | (14.75m) | 80.21 | (14.50m) | |
| DRA | PTQ | 78.88 | (2.24m) | 78.52 | (2.29m) | 82.08 | (11.49m) | 82.18 | (10.19m) |
| TopGQ | PTQ | 79.34 | (2.18s) | 79.50 | (2.05s) | 82.52 | (13.86s) | 82.28 | (11.71s) |
| INT4 | |||||||||
| SGQ | QAT | 67.64 | (5.89m) | 63.72 | (6.71m) | 78.14 | (38.87m) | 72.06 | (40.44m) |
| DQ | QAT | 76.02 | (9.03m) | 75.98 | (9.22m) | 73.24 | (2.40h) | 77.61 | (2.31h) |
| QAT | 74.09 | (3.13m) | 75.62 | (3.79m) | 69.32 | (14.94m) | 74.78 | (14.40m) | |
| DRA | PTQ | 74.32 | (2.22m) | 70.28 | (2.30m) | 64.16 | (11.45m) | 66.24 | (10.18m) |
| TopGQ | PTQ | 76.71 | (2.08s) | 76.00 | (2.13s) | 81.75 | (13.85s) | 77.39 | (11.71s) |
Other methods take at least 2.06 days, up to 5.50 days to quantize a GNN on such a hyper-scale graph, while TopGQ cuts it down to 58.8 minutes, showing at least speedup. At the same time, TopGQ presents a negligible difference to the FP32 model, setting a new standard for practical quantization of large-scale GNNs.
5.3 Evaluation Results of Graph-level Tasks
Table 3 presents the graph-level classification results on IMDB-BINARY and COLLAB. TopGQ significantly improves quantization speed while maintaining task performance. For instance, while Degree-Quant is the strongest baseline in GCN COLLAB, it takes 2.40 hours for quantization. However, TopGQ shows superior accuracy while cutting down the overhead to 13.85 seconds. While TopGQ takes the least time to quantize, in many cases TopGQ also shows the best accuracy with minimal degradation compared to FP32. We attribute this to TopGQ's explicit integration of GNN-aware design, leveraging TopPIN to effectively capture local topology, while QAT baselines neglect these properties. Overall, the experimental results demonstrate that TopGQ provides a robust
Dain Kwon et al.
Table 4: GCN inference time (sec) on GPU and edge device using ogbn-products, with mini-batching
| Method | Type | RTX4090 | Jetson AGX Orin | ||
|---|---|---|---|---|---|
| Time | Speedup | Time | Speedup | ||
| FP32 | - | 34.51 | - | 754.09 | - |
| SGQ | QAT | 20.53 | 1.68× | 470.89 | 1.60× |
| DQ | QAT | 20.37 | 1.69× | 463.96 | 1.63× |
| QAT | 27.74 | 1.24× | 635.15 | 1.19× | |
| On-the-fly PTQ | PTQ | 27.73 | 1.24× | 689.82 | 1.09× |
| TopGQ | PTQ | 20.53 | 1.68× | 473.25 | 1.59× |
Table 5: Accuracy and computation time comparison for various indexing strategies on IMDB-BINARY
| Bit | Node Index | GCN | SAGE | GIN | Time |
|---|---|---|---|---|---|
| INT4 | Naive PTQ | 60.14 | 74.76 | 56.50 | - |
| Betweenness | 50.00 | 50.00 | 50.00 | 1.85s | |
| Closeness | 72.90 | 75.36 | 67.78 | 1.48s | |
| Katz | 69.34 | 74.26 | 72.58 | 20.04s | |
| TopPIN | 76.71 | 75.72 | 76.00 | 0.00059s |
balance between accuracy and quantization speed, making it well-suited for both small and large-scale GNN tasks.
5.4 Evaluation Results of Inference Latency
Table 4 reports the inference latency of TopGQ and baselines with the minibatch setting of ogbn-products. Measurements were conducted on both GPU and edge devices, reflecting practical scenarios for quantized GNN deployment. A key observation is that and on-the-fly PTQ are expensive and slow. This is because both methods require row-wise scans per intermediate activations to derive quantization parameters. This highlights the importance of storing quantization parameters and retrieving them via an efficient mapping function. TopGQ leverages TopPIN, where computation incurs negligible overhead, enabling efficient inference (Section 4.2).
5.5 Analysis on TopPIN and Ablation Study
We assess the effectiveness of TopPIN by comparing it against a naive PTQ strategy as well as commonly used centrality measures, including betweenness, closeness, and Katz centrality (Table 5). We report both accuracy and the total computation time required to perform indexing for all nodes. The naive PTQ approach, which utilize a single global quantization parameter, shows significant accuracy degradation due to high variance in node magnitudes. The centrality measures may mitigate the degradation, compared to naive PTQ. However, they require costly graph traversal per node, making them impractical for inference. In contrast, TopPIN only depends on 1-hop neighborhood information, thereby significantly reducing the computational overhead. Despite its lightweight design, TopPIN outperforms other baselines, highlighting its practicality and effectiveness as an indexing strategy for GNN quantization.
Table 6 shows the ablation study, where each row corresponds to the incremental addition of TopPIN and selective dual-axis scale absorption to the naive PTQ baseline, ultimately forming TopGQ. While naive PTQ fails to exploit quantization bins, TopPIN mitigates
Table 6: Ablation Study of TopGQ
| Bit | Method | ogbn-products | |||
|---|---|---|---|---|---|
| GCN | SAGE | GCN | SAGE | ||
| INT4 | Naive PTQ | 3.79 | 2.97 | 1.33 | 24.74 |
| Only TopPIN | 93.05 | 85.83 | 1.43 | 52.45 | |
| TopGQ | 93.05 | 89.88 | 39.03 | 63.18 | |
this limitation with topology. However, as graph size increases (e.g., ogbn-products, GCN), TopPIN alone proves insufficient. By adding dual-axis scale absorption, the node-wise quantization effects are preserved across layers, leading to additional accuracy recovery.
6 Related Work
GNN quantization efficiently reduces extensive memory and computational costs of GNNs [10, 18, 26, 31]. Degree-Quant [25] is the first work to quantize GNN using QAT, excluding high-degree node activations in calibration for robust quantization parameters and compressing later at inference. SGQuant [7] and [37] are also QAT methods, but they differ in that they allow mixed-precision to assign a higher bitwidth to high-magnitude features. The quantization parameters are optimized with gradients in DRA [16] to reconstruct the FP32 distributions. Thus, they require significant and redundant quantization overheads, whereas TopGQ allows orders of magnitude shorter quantization time.
Graph topology in GNNs is often integrated during training to help the model effectively learn the structural information [4, 8, 11, 30, 34, 35]. For example, [8] uses degree centrality to find central nodes for effective representation learning. Also, [35] uses betweenness centrality to assign weights to each node at aggregation. There are prior attempts to use topology for GNN binarization [3, 17]. However, these methods do not incorporate topology in relation to node feature patterns for GNN quantization.
7 Conclusion
We introduce TopGQ, a topology-aware PTQ framework for GNNs, eliminating retraining costs while preserving task accuracy. By leveraging a novel node index (TopPIN) and dual-axis scale absorption, TopGQ handles unseen node features of differing magnitudes. The node-level strategies enable fast and precise quantization while preserving the computational benefits of integer operations. Experiments across various GNN architectures and datasets show that TopGQ achieves QAT-level accuracy, while reducing quantization time by an order of magnitude compared to prior works.
Acknowledgments
This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (RS-2026-25495605), the Institute of Information & communications Technology Planning & Evaluation (IITP) (RS-2024-00395134, RS-2024-00347394, IITP-2025-RS-2023-00256081), in part by Samsung Electronics (IO230407-05813-01), and the Korea Basic Science Institute (National research Facilities and Equipment Center) grant funded by the Ministry of Science and ICT (No. RS-2025-00564840). Jinho Lee is the corresponding author.
References
[1] Marco Arazzi, Marco Cotogni, Antonino Nocera, and Luca Virgili. 2023. Predicting tweet engagement with graph neural networks. In ICMR.
[2] Saleh Ashkboos, Amirkeivan Mohtashami, Maximilian Croci, Bo Li, Pashmina Cameron, Martin Jaggi, Dan Alistarh, Torsten Hoefler, and James Hensman. 2024. Quarot: Outlier-free 4-bit inference in rotated llms. NeurIPS (2024).
[3] Mehdi Bahri, Gaétan Bahl, and Stefanos Zafeiriou. 2021. Binary graph neural networks. In CVPR.
[4] Andrei Dragos Brasoveanu, Fabian Jogl, Pascal Welke, and Maximilian Thiessen. 2023. Extending Graph Neural Networks with Global Features. In LoG.
[5] Defu Cao, Yujing Wang, Juanyong Duan, Ce Zhang, Xia Zhu, Congrui Huang, Yunhai Tong, Bixiong Xu, Jing Bai, Jie Tong, et al. 2020. Spectral temporal graph neural network for multivariate time-series forecasting. NeurIPS (2020).
[6] Chaoyi Chen, Dechao Gao, Yanfeng Zhang, Qiang Wang, Zhenbo Fu, Xuecang Zhang, Junhua Zhu, Yu Gu, and Ge Yu. 2023. NeutronStream: A Dynamic GNN Training Framework with Sliding Window for Graph Streams. arXiv preprint arXiv:2312.02473 (2023).
[7] Boyuan Feng, Yuke Wang, Xu Li, Shu Yang, Xueqiao Peng, and Yufei Ding. 2020. Sgquant: Squeezing the last bit on graph neural networks with specialized quantization. In ICTAI.
[8] Hongyang Gao and Shuiwang Ji. 2019. Graph U-Nets. In ICML.
[9] Mingyu Guan, Saumia Singhal, Taesoo Kim, and Anand Padmanabha Iyer. 2025. ReInc: Scaling Training of Dynamic Graph Neural Networks. arXiv preprint arXiv:2501.15348 (2025).
[10] Will Hamilton, Zhitao Ying, and Jure Leskovec. 2017. Inductive representation learning on large graphs. NeurIPS (2017).
[11] Man Hu, Dezhi Sun, Fucheng You, and Han Xiao. 2022. Hybrid Structure Encoding Graph Neural Networks with Attention Mechanism for Link Prediction. In ICTAI. IEEE.
[12] Weihua Hu, Matthias Fey, Hongyu Ren, Maho Nakata, Yuxiao Dong, and Jure Leskovec. 2021. OGB-LSC: A Large-Scale Challenge for Machine Learning on Graphs. arXiv preprint arXiv:2103.09430 (2021).
[13] Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. 2020. Open graph benchmark: Datasets for machine learning on graphs. NeurIPS (2020).
[14] Linyong Huang, Zhe Zhang, Zhaoyang Du, Shuangchen Li, Hongzhong Zheng, Yuan Xie, and Nianxiong Tan. 2022. EPQuant: A Graph Neural Network compression approach based on product quantization. Neurocomput. 503, C (2022), 49–61. doi:10.1016/j.neucom.2022.06.097
[15] Benoit Jacob, Skirmantas Kligys, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam, and Dmitry Kalenichenko. 2018. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In CVPR.
[16] Hadi Mousanejad Jeddi, Mahdieh Grailoo, and Jose Nunez-Yanez. 2024. Leveraging Dynamic Range Analysis for Efficient Post-Training Quantization in Graph Convolutional Networks. In NorCAS. doi:10.1109/NorCAS64408.2024.10752486
[17] Yongcheng Jing, Yiding Yang, Xinchao Wang, Mingli Song, and Dacheng Tao. 2021. Meta-aggregator: Learning to aggregate for 1-bit graph neural networks. In ICCV.
[18] Thomas N Kipf and Max Welling. 2016. Semi-Supervised Classification with Graph Convolutional Networks. In ICLR.
[19] Muyang Li, Yujun Lin, Zhekai Zhang, Tianle Cai, Junxian Guo, Xiuyu Li, Enze Xie, Chenlin Meng, Jun-Yan Zhu, and Song Han. [n. d.]. SVDQuant: Absorbing Outliers by Low-Rank Component for 4-Bit Diffusion Models. In ICLR.
[20] Xiuyu Li, Yijiang Liu, Long Lian, Huanrui Yang, Zhen Dong, Daniel Kang, Shanghang Zhang, and Kurt Keutzer. 2023. Q-diffusion: Quantizing diffusion models. In ICCV.
[21] Juncheng Liu, Bryan Hooi, Kenji Kawaguchi, Yiwei Wang, Chaosheng Dong, and Xiaokui Xiao. 2024. Scalable and effective implicit graph neural networks on large graphs. In ICLR.
[22] Zechun Liu, Changsheng Zhao, Igor Fedorov, Bilge Soran, Dhruv Choudhary, Raghuraman Krishnamoorthi, Vikas Chandra, Yuandong Tian, and Tijmen Blankevoort. 2024. SpinQuant: LLM quantization with learned rotations. CoRR (2024).
[23] Zhuoran Liu, Leqi Zou, Xuan Zou, Caihua Wang, Biao Zhang, Da Tang, Bolin Zhu, Yijie Zhu, Peng Wu, Ke Wang, and Youlong Cheng. 2022. Monolith: Real Time Recommendation System with Collisionless Embedding Table. In CEUR Workshop in RecSys.
[24] Xiuyan Ni, Shujian Bu, Lucas Adams, and Igor L Markov. 2021. Prioritizing original news on Facebook. In CIKM.
[25] Shyam Anil Tailor, Javier Fernandez-Marques, and Nicholas Donald Lane. 2020. Degree-Quant: Quantization-Aware Training for Graph Neural Networks. In ICLR.
[26] Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. 2018. Graph Attention Networks. In ICLR.
[27] Nikil Wale, Ian A Watson, and George Karypis. 2008. Comparison of descriptor spaces for chemical compound retrieval and classification. Knowledge and
Information Systems 14 (2008), 347–375.
[28] Shuang Wang, Bahaeddin Eravci, Rustam Guliyev, and Hakan Ferhatosmanoglu. 2023. Low-bit quantization for deep graph neural networks with smoothness-aware message propagation. In CIKM.
[29] Dan Wu, Zhaoying Li, and Tulika Mitra. 2023. InkStream: Real-time GNN Inference on Streaming Graphs via Incremental Update. arXiv preprint arXiv:2309.11071 (2023).
[30] Zhenqin Wu, Bharath Ramsundar, Evan N Feinberg, Joseph Gomes, Caleb Gennesse, Aneesh S Pappu, Karl Leswing, and Vijay Pande. 2018. MoleculeNet: a benchmark for molecular machine learning. Chemical science 9, 2 (2018).
[31] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. 2019. How Powerful are Graph Neural Networks?. In ICLR.
[32] Zhibo Xu, Shangqi Lai, Xiaoning Liu, Alsharif Abuadbba, Xingliang Yuan, and Xun Yi. 2024. OblivGNN: Oblivious Inference on Transductive and Inductive Graph Neural Network. In USENIX Security.
[33] Jiaxuan You, Tianyu Du, and Jure Leskovec. 2022. ROLAND: graph learning framework for dynamic graphs. In SIGKDD.
[34] Jiaxuan You, Jonathan M Gomes-Selman, Rex Ying, and Jure Leskovec. 2021. Identity-aware graph neural networks. In AAAI.
[35] Li Zhang and Haiping Lu. 2020. A feature-importance-aware and robust aggregator for GCN. In CIKM.
[36] Yiming Zhang, Lingfei Wu, Qi Shen, Yitong Pang, Zhihua Wei, Fangli Xu, Ethan Chang, and Bo Long. 2023. Graph learning augmented heterogeneous graph neural network for social recommendation. ACM TORS (2023).
[37] Zeyu Zhu, Fanrong Li, Zitao Mo, Qinghao Hu, Gang Li, Zejian Liu, Xiaoyao Liang, and Jian Cheng. 2022. : Aggregation-Aware Quantization for Graph Neural Networks. In ICLR.