Evaluating Different Node Feature Extraction Methods for Graph Coloring Problem with Graph Neural Network
The graph coloring problem (GCP) is a classical NP-hard problem that aims to assign different colors to adjacent nodes while minimizing the total number of colors used. While previous studies have used graph neural networks (GNNs) to solve GCP, they rely only on randomly initialized node features or a trainable embedding layer, leaving other alternative node feature extraction methods unexplored. Therefore, this study explores eight node feature extraction methods, including positional and structural node features. We assess their impact on GNN performance for GCP and provide insights into why certain methods outperform others. Across 12 COLOR graphs and three large citation graphs, experimental results show that both the trainable embedding layer and node2vec achieve the strongest performance. Under different hyperparameter settings, embedding layer demonstrates consistent effectiveness in minimizing conflicts across GNN architectures, while node2vec demonstrates greater average performance and stability on large graphs. Compared to the embedding layer baseline, node2vec reduces mean conflicts by [Formula: see text] and standard deviation by [Formula: see text] on large citation graphs. However, their performance gains involve a computational trade-off: embedding layer requires backpropagation, and node2vec requires pre-computation for its biased random walks. Furthermore, positional node features give better prediction performance than structural ones, having approximately [Formula: see text] lower mean conflicts in the best case.
Authors
- Tjeng Wawan Cenggoro
- Kenzie Raditya Tirtarahardja
- Ellen Kosasi
- Jack Julius Ryadi Lie
Institutions
- Binus University (ID)
Publication Details
- Journal
- Vietnam Journal of Computer Science
- Published
- 2026-02-27
- DOI
- https://doi.org/10.1142/s2196888826500053
- Primary Topic
- Scheduling and Timetabling Solutions
- Type
- article
- Field-Weighted Citation Impact
- 0.00