Graph is a Natural Regularization: Revisiting Vector Quantization for Graph Representation Learning

Zian Zhai, Fan Li, Xingyu Tan, Xiaoyang Wang, Wenjie Zhang
8/8/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Vector Quantization (VQ) has recently emerged as a promising approach for learning discrete representations of graph-structured data. However, a fundamental challenge, i.e., codebook collapse, remains underexplored in the graph domain, significantly limiting the expressiveness and generalization of graph tokens.In this paper, we present the first empirical study showing that codebook collapse consistently occurs when applying VQ to graph data, even with mitigation strategies proposed in vision or language domains. To understand why graph VQ is particularly vulnerable to collapse, we provide a theoretical analysis and identify two key factors: early assignment imbalances caused by redundancy in graph features and structural patterns, and self-reinforcing optimization loops in deterministic VQ. To address these issues, we propose RGVQ, a novel framework that integrates graph topology and feature similarity as explicit regularization signals to enhance codebook utilization and promote token diversity. RGVQ introduces soft assignments via Gumbel-Softmax reparameterization, ensuring that all codewords receive gradient updates. In addition, RGVQ incorporates a structure-aware contrastive regularization to penalize the token co-assignments among dissimilar node pairs. Extensive experiments demonstrate that RGVQ substantially improves codebook utilization and consistently boosts the performance of state-of-the-art graph VQ backbones across multiple downstream tasks, enabling more expressive and transferable graph token representations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhai2025graph,
  title  = {Graph is a Natural Regularization: Revisiting Vector Quantization for Graph Representation Learning},
  author = {Zian Zhai and Fan Li and Xingyu Tan and Xiaoyang Wang and Wenjie Zhang},
  year   = {2025},
  eprint = {2508.06588},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.06588v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.06588.svg)](https://codeofpaper.com/paper/2508.06588)

Discussion