Molecule Ring & Close Atoms Lifting (Graph to Combinatorial) - geometric-intelligence/TopoBench GitHub Wiki

This notebook imports QM9 dataset and applies a lifting from a graph molecular representation to a combinatorial complex. Then, a neural network is run using the loaded data.

Using QM9 dataset, we implement a lifting from a molecule graph to a combinatorial complex based on two points:

  • The ring information of the molecule. Rings will be represented as 2-cells in the combinatorial complex.
  • The distance between atoms in the molecule. Distances between atoms will be computed. If the atoms are under a predefined threshold, they will be considered as close and groupped together. This clusters will be introduced as hyperedges in the combinatorial complex.

So far, from our knowledge it is the first representation of a cell as a combinatorial complex, combining both hypergraphs and cell complexes.

Here, the elements are the following:

  • Nodes: Atoms in the molecule.
  • Edges: Bonds between atoms.
  • Hyperedges: Clusters of atoms that are close to each other.
  • 2-cells: Rings in the molecule.

From https://github.com/pyt-team/challenge-icml-2024/pull/16