325-hid-hierarchical-multiscale-representation-learning-for-information-diffusion
Science Score: 18.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.6%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
·
Repository
Basic Info
- Host: GitHub
- Owner: SZU-AdvTech-2023
- Language: Python
- Default Branch: main
- Size: 1.6 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Created over 2 years ago
· Last pushed over 2 years ago
Metadata Files
Citation
https://github.com/SZU-AdvTech-2023/325-HID-Hierarchical-Multiscale-Representation-Learning-for-Information-Diffusion/blob/main/
# HID: Hierarchical Multiscale Representation Learning for Information Diffusion
If this code helps with your work, please cite:
Honglu Zhou, Shuyuan Xu, Zuohui Fu, Gerard de Melo, Yongfeng Zhang and Mubbasir Kapadia. [HID: Hierarchical Multiscale Representation Learning for Information Diffusion](https://www.ijcai.org/Proceedings/2020/0468.pdf). In International Joint Conference on Artificial Intelligence (IJCAI), 2020.
```
@inproceedings{zhou2020hid,
title = {{HID: Hierarchical Multiscale Representation Learning for Information Diffusion}},
author = {Zhou, Honglu and Xu, Shuyuan and Fu, Zuohui and de Melo, Gerard and Zhang, Yongfeng and Kapadia, Mubbasir},
booktitle = {IJCAI},
year = 2020
}
```
## Dataset
Please go to data folder to find the download links of datasets used in the paper.
## Code
* hid.py is the framework.
* utils.py has many general-purpose function including "upscaling" and "downscaling" (both are called by hid.py).
* metrics.py has function implementation for various metrics.
* test.py is the code to run testing and get the testing performance, by calling "test" function from specific model (e.g. CDK).
Run 'conda env create -f environment.yml' to create a conda environment that satisfies the package requirement. Check or modify the conda environment name in the first line of 'environment.yml'.
## How to run
Hyper-parameters:
- s: num_scales
- p: coarse_portion
- upscaling operator: upoperator
#### How to run HID without using upscaling and downscaling (just run baseline) for training and learning:
```time python hid.py --corpus_path=./data/digg_500user/ --output_path=./data/digg_CDK_s0 --num_scales=0 --max_epochs=8000 --diffuser=CDK```
See [training log](https://github.com/hongluzhou/HID/blob/master/digg_CDK_s0_train_log.log).
See [testing log](https://github.com/hongluzhou/HID/blob/master/digg_CDK_s0_test_log.log).
#### How to run HID with upscaling and downscaling for training and learning (e.g. s=2, p=1.2):
```time python hid.py --corpus_path=./data/digg_500user/ --output_path=./data/digg_CDK_HAC_s2_p1dot2 --num_scales=2 --coarse_portion=1.2 --max_epochs=2666 --diffuser=CDK --upoperator=HAC```
See [training log](https://github.com/hongluzhou/HID/blob/master/digg_CDK_HAC_s2_p1dot2_train_log.log).
See [testing log](https://github.com/hongluzhou/HID/blob/master/digg_CDK_HAC_s2_p1dot2_test_log.log).
#### How to check testing performance (first, modify config in test.py):
```time python test.py```
Owner
- Name: SZU-AdvTech-2023
- Login: SZU-AdvTech-2023
- Kind: organization
- Repositories: 1
- Profile: https://github.com/SZU-AdvTech-2023
Citation (citation.txt)
@inproceedings{REPO325,
author = "Zhou, Honglu and Xu, Shuyuan and Fu, Zuohui and de Melo, Gerard and Zhang, Yongfeng and Kapadia, Mubbasir",
booktitle = "IJCAI",
title = "{{HID: Hierarchical Multiscale Representation Learning for Information Diffusion}}",
year = "2020"
}