benedekrozemberczki / pytorch_geometric_temporal

PyTorch Geometric Temporal: Spatiotemporal Signal Processing with Neural Machine Learning Models (CIKM 2021)
MIT License
2.62k stars 369 forks source link

Hetero support #142

Closed doGregor closed 2 years ago

doGregor commented 2 years ago

I couldn't find any literature on layers for temporal graph machine learning for heterogeneous graphs. The intention is to model dictionaries for all node types (keys) with hidden/cell state matrices (values) instead of a single matrix as it is the case for homogeneous graphs. As PyG's ChebConv is not compatible with HeteroData objects I changed it with SAGEConv (had a talk with mathematicians working on Graph ML at our university and they think that shouldn't make too much of a difference). This layer works for the new heterogeneous data structure for now and could be improved in the future. Are you okay with that @benedekrozemberczki ?

benedekrozemberczki commented 2 years ago

Thank you!