yule-BUAA / HGConv

codes of HGConv model for Heterogeneous Graph Learning
9 stars 5 forks source link

Support for Temporal Graph #1

Closed QAQOAO closed 3 years ago

QAQOAO commented 3 years ago

Hi, nice work in GNN! I just found this paper on the OGB leaderboard.

I wonder how could HGConv handle temporal information. In HGT, it uses RTE to encode temporal information.

I notice that the paper says HGT can be treated as a special case of HGConv, so I want to know whether it can already deal with temporal information.

If not, please tell me how to achieve that, is it just adding the RTE class of HGT into the HGConv model or is there a better way of doing that?

Thanks a lot!

yule-BUAA commented 3 years ago

Hi,

Thanks for your interest in our work.

In our paper, we propose a general framework to summarize the learning paradigm of existing heterogeneous graph methods. The additional consideration of temporal information in HGT is a detailed operation in the neighbor information aggregate process, which can be involved in the aggregate process. Hence, we conclude that HGT can be treated as a special case of HGConv from a general perspective.

In HGT, the temporal information is considered via the relative temporal encoding technique.

Currently, in the implementation of HGConv, the temporal information is still not utilized, but you could add the temporal encoding into HGConv just like what HGT does.

An intuitive way you could achieve that is to feed the relative temporal information in HGConv, and then encode the temporal information into a vector and combine the vector with the source node feature in the micro-level convolution process above this line.

Maybe a better way to consider the temporal information is to capture its semantic meanings (e.g., year, month, or week of the time) and design a dedicated encoding module to describe the temporal information.

Best wishes,

Le Yu