ETGNN
codes of Element-guided Temporal Graph Representation Learning for Temporal Sets Prediction
Install / Use
/learn @yule-BUAA/ETGNNREADME
Element-guided Temporal Graph Representation Learning for Temporal Sets Prediction
The description of "Element-guided Temporal Graph Representation Learning for Temporal Sets Prediction" at WWW 2022 is available here.
Original data:
The original data could be downloaded from here.
You can download the data and then put the data files in the ./original_data folder.
To run the code:
-
run
./preprocess_data/preprocess_data_{dataset_name}.pyto preprocess the original data, wheredataset_namecould be DC, TaoBao, JingDong and TMS. We also provide the preprocessed datasets at here, which should be put in the./datasetfolder. -
run
./train/train_ETGNN.pyto train the model on different datasets using the configuration in./utils/config.json. -
run
./evaluate/evaluate_ETGNN.pyto evaluate the model. Please make sure theconfiginevaluate_ETGNN.pykeeps identical to that in the model training process.
Environments:
Hyperparameter settings:
Hyperparameters can be found in ./utils/config.json file, and you can adjust them when training the model on different datasets.
| Hyperparameters | DC | TaoBao | JingDong | TMS | | ------- | ------- | ------- | ------- | ------- | | learning rate | 0.001 | 0.001 | 0.001 | 0.001 | | embedding dimension | 64 | 32 | 64 | 64 | | embedding dropout | 0.2 | 0.0 | 0.2 | 0.3 | | temporal attention dropout | 0.5 | 0.5 | 0.5 | 0.5 | | number of hops | 3 | 3 | 3 | 2 | | temporal information importance | 0.3 | 0.05 | 0.01 | 1.0 |
Citation
Please consider citing our paper when using the codes or datasets.
@inproceedings{DBLP:conf/www/YuWS0L22,
author = {Le Yu and
Guanghui Wu and
Leilei Sun and
Bowen Du and
Weifeng Lv},
title = {Element-guided Temporal Graph Representation Learning for Temporal
Sets Prediction},
booktitle = {{WWW} '22: The {ACM} Web Conference 2022, Virtual Event, Lyon, France,
April 25 - 29, 2022},
pages = {1902--1913},
publisher = {{ACM}},
year = {2022}
}
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
sec-edgar-agentkit
10AI agent toolkit for accessing and analyzing SEC EDGAR filing data. Build intelligent agents with LangChain, MCP-use, Gradio, Dify, and smolagents to analyze financial statements, insider trading, and company filings.
last30days-skill
4.4kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
