Abstract
Graph tokenization aims to convert components of graphs into discrete representations, which are potentially useful for foundation models. Recent methods propose to use vector quantization to map nodes or subgraphs into discrete token IDs. However, it remains unclear how well these quantized tokenizers can capture high-level, transferable graph patterns across diverse domains. In this work, we conducted a comprehensive study to analyze the representational consistency of quantized graph tokens. Specifically, we propose a new metric, Graph Token Information Discrepancy Score (GTID), to measure the consistency of structural and feature information assigned to the same token. Our results reveal that current quantized graph tokenizers tend to assign the same token to structurally inconsistent nodes/subgraphs, resulting in high GTID and degraded transfer performance. Furthermore, we demonstrate that GTID is positively correlated with the generalization performance gap in downstream tasks. Finally, we propose a simple yet effective structural hard encoding (SHE) strategy to explicitly make the tokenizer aware of the structural similarity. SHE leads to lower GTID and improved transferability, highlighting the importance of transferable graph structural information in token construction.