The invention relates to the technical field of
graph neural networks, in particular to a graph
neural network architecture optimization method based on grammar
genetic programming, and the method comprises the steps: S1, constructing a grammar rule
library of a graph
neural network architecture GNN; s2, based on the grammar rule base, generating an initial GNN architecture
population through
genetic programming; s3, predicting the performance of the individual GNN architecture in the
population by using a
Gaussian process proxy model; s4, searching an optimal GNN architecture in the
syntax tree space through a
genetic algorithm; s5, for the individual GNN architecture in the
population, calculating a training probability based on an expected improvement function of the individual GNN architecture, if the training probability is higher than a preset evaluation threshold, selecting the individual GNN architecture to carry out actual
training evaluation, obtaining the authenticity performance of the individual GNN architecture, and updating the
Gaussian process agent model by using the authenticity performance; and S6, judging whether a preset optimization termination condition is met or not, if so, outputting the optimized GNN architecture, and otherwise, returning to the step S3. According to the method, the
automation degree, efficiency and model performance of GNN
model architecture search can be improved.