[Paper Review] A Novel Genetic Algorithm with Hierarchical Evaluation Strategy for Hyperparameter Optimisation of Graph Neural Networks
This paper proposes HESGA, a novel genetic algorithm with a hierarchical evaluation strategy for hyperparameter optimization in Graph Neural Networks (GNNs). It combines fast early-stopping RMSE difference scoring with full training evaluation to reduce computational cost while maintaining high performance, outperforming Bayesian optimization on GC models and matching it on MPNN models across three molecular property prediction benchmarks.
Graph representation of structured data can facilitate the extraction of stereoscopic features, and it has demonstrated excellent ability when working with deep learning systems, the so-called Graph Neural Networks (GNNs). Choosing a promising architecture for constructing GNNs can be transferred to a hyperparameter optimisation problem, a very challenging task due to the size of the underlying search space and high computational cost for evaluating candidate GNNs. To address this issue, this research presents a novel genetic algorithm with a hierarchical evaluation strategy (HESGA), which combines the full evaluation of GNNs with a fast evaluation approach. By using full evaluation, a GNN is represented by a set of hyperparameter values and trained on a specified dataset, and root mean square error (RMSE) will be used to measure the quality of the GNN represented by the set of hyperparameter values (for regression problems). While in the proposed fast evaluation process, the training will be interrupted at an early stage, the difference of RMSE values between the starting and interrupted epochs will be used as a fast score, which implies the potential of the GNN being considered. To coordinate both types of evaluations, the proposed hierarchical strategy uses the fast evaluation in a lower level for recommending candidates to a higher level, where the full evaluation will act as a final assessor to maintain a group of elite individuals. To validate the effectiveness of HESGA, we apply it to optimise two types of deep graph neural networks. The experimental results on three benchmark datasets demonstrate its advantages compared to Bayesian hyperparameter optimization.
Motivation & Objective
- To address the high computational cost of hyperparameter optimization (HPO) for Graph Neural Networks (GNNs), which involves expensive full training for each candidate configuration.
- To reduce the time and resource burden of HPO by introducing a fast evaluation method based on early-stage RMSE differences during training.
- To develop a hierarchical evaluation strategy that uses fast evaluation to guide candidate selection and full evaluation to maintain elite individuals, balancing efficiency and accuracy.
- To validate the effectiveness of the proposed method on real-world molecular property prediction datasets using two common GNN architectures: Graph Convolution (GC) and Message Passing Neural Network (MPNN).
- To demonstrate that the method achieves better or comparable performance than Bayesian optimization while significantly reducing computational cost.
Proposed method
- HESGA employs a genetic algorithm framework with a population of hyperparameter configurations evolved over multiple generations.
- It uses a fast evaluation strategy that computes the difference in RMSE between the initial and early training epochs (e.g., after 10% of training) as a proxy fitness score.
- The fast evaluation is applied to all offspring in each generation to rank and select promising candidates for full evaluation.
- A subset of top-performing candidates from the fast evaluation undergo full training to compute the true RMSE on the validation set, which serves as the final fitness score for selection.
- The hierarchical strategy ensures that only a small fraction of candidates (determined by elite ratio) proceed to full evaluation, minimizing expensive training calls.
- The algorithm balances exploration and exploitation by using fast scores for selection and full scores for maintaining an elite population, with computational cost modeled as proportional to the number of full and fast evaluations.
Experimental results
Research questions
- RQ1Can a hierarchical evaluation strategy combining fast and full evaluation reduce the computational cost of GNN hyperparameter optimization without sacrificing solution quality?
- RQ2How effective is the fast evaluation method based on early RMSE differences in predicting the final performance of a GNN configuration?
- RQ3Does HESGA outperform Bayesian hyperparameter optimization in terms of final RMSE and computational efficiency on GNN architectures?
- RQ4How scalable is HESGA when applied to different datasets and GNN models, especially under varying training cost constraints?
- RQ5Can HESGA be extended to handle bi-objective optimization, such as balancing model performance and training cost?
Key findings
- HESGA achieved superior performance compared to Bayesian hyperparameter optimization (BHO) when optimizing Graph Convolution (GC) models on the ESOL, FreeSolv, and Lipophilicity datasets.
- On MPNN models, HESGA achieved performance comparable to BHO, demonstrating strong generalization across different GNN architectures.
- The computational cost of HESGA was estimated to be equivalent to approximately 3,000 full training operations (O_GC) for a single run with 10 populations, 10 generations, and 100 epochs, significantly reducing the cost of full search.
- The fast evaluation method based on early RMSE differences effectively predicted the final performance of GNNs, enabling efficient candidate ranking with minimal loss in accuracy.
- The hierarchical strategy successfully reduced the number of full evaluations to only 10% of the population per generation, maintaining high-quality solutions while minimizing expensive training.
- The method demonstrated scalability and adaptability, with potential for extension to surrogate models or partial data training in large-scale settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.