Haar Wavelet Feature Compression for Quantized Graph Convolutional Networks

Moshe Eliasof, Benjamin Bodner, Eran Treister

Abstract

Graph Convolutional Networks (GCNs) are widely used in a variety of applications, and can be seen as an unstructured version of standard Convolutional Neural Networks (CNNs). As in CNNs, the computational cost of GCNs for large input graphs (such as large point clouds or meshes) can be high and inhibit the use of these networks, especially in environments with low computational resources. To ease these costs, quantization can be applied to GCNs. However, aggressive quantization of the feature maps can lead to a significant degradation in performance. On a different note, Haar wavelet transforms are known to be one of the most effective and efficient approaches to compress signals. Therefore, instead of applying aggressive quantization to feature maps, we propose to utilize Haar wavelet compression and light quantization to reduce the computations and the bandwidth involved with the network. We demonstrate that this approach surpasses aggressive feature quantization by a significant margin, for a variety of problems ranging from node classification to point cloud classification and part and semantic segmentation.

Introduction

Graph Convolutional Networks (GCNs) have emerged as a standard for processing unstructured data, including social networks and 3D point clouds. However, the deployment of GCNs on resource-constrained edge devices is hindered by high computational and memory demands, particularly as graph sizes increase. While quantization—reducing the precision of weights and activations—is a common mitigation strategy, aggressive quantization (e.g., below 4 bits) often results in a "performance cliff." This drop in accuracy is particularly pronounced in dense tasks like 3D semantic segmentation, where fine-grained spatial information is critical.

Methodology: Haar Wavelets and Joint Shrinkage

This work proposes a hybrid compression scheme combining Haar wavelet transforms with light quantization. The approach leverages the inherent sparsity of signals in the wavelet domain to achieve high compression ratios without the accuracy loss associated with low-bit quantization.

The Graph Haar Transform

The method adapts the classic Haar wavelet transform to graphs by hierarchically pairing nodes and calculating their averages and differences. This process transforms the graph signal into a domain where most coefficients are near zero, facilitating effective compression.

Joint Channel Shrinkage

To ensure hardware efficiency, the authors introduce "joint channel shrinkage." Instead of selecting different sparse indices for each feature channel, the top $k$ indices with the highest cumulative energy across all channels are retained. This maintains the data in a dense, rectangular format suitable for modern GPU architectures.

Visualization of joint channel shrinkage: (a) original features, (b) wavelet domain representation, and (c) compressed features after joint shrinkage.

Computational Efficiency

A key mathematical insight is that $1 \times 1$ convolutions commute with the shrinkage operator. This allows the most computationally expensive layers to operate on a compressed tensor in the wavelet domain, significantly reducing both bandwidth and FLOPs. The system is further optimized using Quantization-Aware Training (QAT), applying 8-bit quantization to activations and variable bit-widths to weights.

Evaluation and Results

The proposed models, WGCN and WGCNII, were evaluated across diverse benchmarks, including citation networks (Cora, Citeseer, Pubmed) and large-scale 3D semantic segmentation (S3DIS).

Performance vs. Compression

The core finding is that maintaining a few high-precision wavelet coefficients is superior to keeping all values at extremely low precision. For instance, on the S3DIS dataset, a standard DGCNN model's performance drops from 56.5 mIoU to 32.1 when quantized to 1-bit activations. In contrast, the wavelet-compressed WDGCNN maintains a healthy 51.3 mIoU even at 64x compression.

Mean Squared Error (MSE) vs. Compression ratio, comparing uniform quantization with Haar-based shrinkage methods.

Robustness in Dense Tasks

The method proves exceptionally robust for "dense" tasks like segmentation. While 1-bit GCNs often collapse on node classification tasks (e.g., Cora), the wavelet-compressed versions maintain high accuracy by preserving the global structure and receptive field through the wavelet domain's "wide view."

Conclusion

By combining the sparsity of Haar wavelets with light quantization, this research provides a pathway for deploying high-performance GCNs on edge hardware. Future work includes exploring non-uniform bit allocation and integrating wavelet compression with weight pruning to further push the boundaries of system-wide efficiency.

Summary updated

BibTeX
@article{eliasof2024haar,
  author = {Moshe Eliasof and Benjamin Bodner and Eran Treister},
  title = {{Haar Wavelet Feature Compression for Quantized Graph Convolutional Networks}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2024},
  doi = {10.1109/tnnls.2023.3285874},
}
Figure