Graph neural network

Graph neural networks (GNN) are specialized artificial neural networks that are designed for tasks whose inputs are graphs.[1][2][3][4][5]

One prominent example is molecular drug design.[6][7][8] Each input sample is a graph representation of a molecule, where atoms form the nodes and chemical bonds between atoms form the edges. In addition to the graph representation, the input also includes known chemical properties for each of the atoms. Dataset samples may thus differ in length, reflecting the varying numbers of atoms in molecules, and the varying number of bonds between them. The task is to predict the efficacy of a given molecule for a specific medical application, like eliminating E. coli bacteria.

The key design element of GNNs is the use of pairwise message passing, such that graph nodes iteratively update their representations by exchanging information with their neighbors. Several GNN architectures have been proposed,[2][3][9][10][11] which implement different flavors of message passing,[12][13] started by recursive[2] or convolutional constructive[3] approaches. As of 2022, it is an open question whether it is possible to define GNN architectures "going beyond" message passing, or instead every GNN can be built on message passing over suitably defined graphs.[14]

Basic building blocks of a graph neural network (GNN). Permutation equivariant layer. Local pooling layer. Global pooling (or readout) layer. Colors indicate features.

In the more general subject of "geometric deep learning", certain existing neural network architectures can be interpreted as GNNs operating on suitably defined graphs.[12] A convolutional neural network layer, in the context of computer vision, can be considered a GNN applied to graphs whose nodes are pixels and only adjacent pixels are connected by edges in the graph. A transformer layer, in natural language processing, can be considered a GNN applied to complete graphs whose nodes are words or tokens in a passage of natural language text.

Relevant application domains for GNNs include natural language processing,[15] social networks,[16] citation networks,[17] molecular biology,[18] chemistry,[19][20] physics[21] and NP-hard combinatorial optimization problems.[22]

Open source libraries implementing GNNs include PyTorch Geometric[23] (PyTorch), TensorFlow GNN[24] (TensorFlow), Deep Graph Library[25] (framework agnostic), jraph[26] (Google JAX), and GraphNeuralNetworks.jl[27]/GeometricFlux.jl[28] (Julia, Flux).

  1. ^ Cite error: The named reference wucuipeizhao2022 was invoked but never defined (see the help page).
  2. ^ a b c Cite error: The named reference scarselli2009 was invoked but never defined (see the help page).
  3. ^ a b c Cite error: The named reference micheli2009 was invoked but never defined (see the help page).
  4. ^ Cite error: The named reference sanchez2021 was invoked but never defined (see the help page).
  5. ^ Cite error: The named reference daigavane2021 was invoked but never defined (see the help page).
  6. ^ Stokes, Jonathan M.; Yang, Kevin; Swanson, Kyle; Jin, Wengong; Cubillos-Ruiz, Andres; Donghia, Nina M.; MacNair, Craig R.; French, Shawn; Carfrae, Lindsey A.; Bloom-Ackermann, Zohar; Tran, Victoria M.; Chiappino-Pepe, Anush; Badran, Ahmed H.; Andrews, Ian W.; Chory, Emma J. (2020-02-20). "A Deep Learning Approach to Antibiotic Discovery". Cell. 180 (4): 688–702.e13. doi:10.1016/j.cell.2020.01.021. ISSN 1097-4172. PMC 8349178. PMID 32084340.
  7. ^ Yang, Kevin; Swanson, Kyle; Jin, Wengong; Coley, Connor; Eiden, Philipp; Gao, Hua; Guzman-Perez, Angel; Hopper, Timothy; Kelley, Brian (2019-11-20). "Analyzing Learned Molecular Representations for Property Prediction". arXiv:1904.01561 [cs.LG].
  8. ^ Marchant, Jo (2020-02-20). "Powerful antibiotics discovered using AI". Nature. doi:10.1038/d41586-020-00018-3. PMID 33603175.
  9. ^ Cite error: The named reference kipf2016 was invoked but never defined (see the help page).
  10. ^ Cite error: The named reference hamilton2017 was invoked but never defined (see the help page).
  11. ^ Cite error: The named reference velickovic2018 was invoked but never defined (see the help page).
  12. ^ a b Cite error: The named reference bronstein2021 was invoked but never defined (see the help page).
  13. ^ Cite error: The named reference hajij2022 was invoked but never defined (see the help page).
  14. ^ Cite error: The named reference velickovic2022 was invoked but never defined (see the help page).
  15. ^ Cite error: The named reference wuchen2023 was invoked but never defined (see the help page).
  16. ^ Cite error: The named reference ying2018 was invoked but never defined (see the help page).
  17. ^ Cite error: The named reference stanforddata was invoked but never defined (see the help page).
  18. ^ Zhang, Weihang; Cui, Yang; Liu, Bowen; Loza, Martin; Park, Sung-Joon; Nakai, Kenta (5 April 2024). "HyGAnno: Hybrid graph neural network-based cell type annotation for single-cell ATAC sequencing data". Briefings in Bioinformatics. 25 (3): bbae152. doi:10.1093/bib/bbae152. PMC 10998639. PMID 38581422.
  19. ^ Cite error: The named reference gilmer2017 was invoked but never defined (see the help page).
  20. ^ Coley, Connor W.; Jin, Wengong; Rogers, Luke; Jamison, Timothy F.; Jaakkola, Tommi S.; Green, William H.; Barzilay, Regina; Jensen, Klavs F. (2019-01-02). "A graph-convolutional neural network model for the prediction of chemical reactivity". Chemical Science. 10 (2): 370–377. doi:10.1039/C8SC04228D. ISSN 2041-6539. PMC 6335848. PMID 30746086.
  21. ^ Cite error: The named reference qasim2019 was invoked but never defined (see the help page).
  22. ^ Cite error: The named reference li2018 was invoked but never defined (see the help page).
  23. ^ Cite error: The named reference fey2019 was invoked but never defined (see the help page).
  24. ^ Cite error: The named reference tfgnn2022 was invoked but never defined (see the help page).
  25. ^ "Deep Graph Library (DGL)". Retrieved 2024-09-12.
  26. ^ Cite error: The named reference jraph2022 was invoked but never defined (see the help page).
  27. ^ Cite error: The named reference Lucibello2021GNN was invoked but never defined (see the help page).
  28. ^ FluxML/GeometricFlux.jl, FluxML, 2024-01-31, retrieved 2024-02-03

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search