Skip to content
/ IONE Public

Source Code and data for IJCAI 2016 paper "Aligning Users Across Social Networks Using Network Embedding"

Notifications You must be signed in to change notification settings

ColaLL/IONE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IONE

Source Code and anonymous twitter_foursquare data for IJCAI 2016 paper "Aligning Users Across Social Networks Using Network Embedding"

With the permission of sharing anonymous twitter_foursquare data from Prof.Jiawei Zhang, we share the anonymous data and code of IONE here. If you use the data and code of this project, please cite the following three papers. Note that the data and code only can be used for research purposes

@inproceedings{zhang2015integrated,
title={Integrated Anchor and Social Link Predictions across Social Networks.},
author={Zhang, Jiawei and Philip, S Yu},
booktitle={IJCAI},
pages={2125--2132},
year={2015}
}

@article{DBLP:journals/corr/abs-1804-09874,
author = {Jiawei Zhang},
title = {Social Network Fusion and Mining: {A} Survey},
journal = {CoRR},
volume = {abs/1804.09874},
year = {2018},
url = {http://arxiv.org/abs/1804.09874},
archivePrefix = {arXiv},
eprint = {1804.09874},
timestamp = {Mon, 13 Aug 2018 16:47:39 +0200},
biburl = {https://dblp.org/rec/bib/journals/corr/abs-1804-09874},
bibsource = {dblp computer science bibliography, https://dblp.org}
}

@inproceedings{liu2016aligning,
title={Aligning Users across Social Networks Using Network Embedding.},
author={Liu, Li and Cheung, William K and Li, Xin and Liao, Lejian},
booktitle={IJCAI},
pages={1774--1780},
year={2016}
}

When running the code, firstly check the Vars.java to make sure that the path of the data is correct. New two folds which are named as "embeddings" in foursquare fold and twitter fold.

Description of Data directory

AcrossNetworkEmbeddingData

	foursquare:
	
		following: the relation file, "1  2" means user 1 is the follower of user 2.  			   			
		following.reverse: the reverse relation file, for model which considers only one direction context. ONE model.
		
	twitter:
	
		the same as the foursquare fold
		
	twitter_foursquare_groundtruth:
	
		groundtruth: the groundtruth for our experiment, the anchor users between twitter and foursquare. 
		Note that pls make the anchors as the *same* id during the pre-preparation, 
		although the testing anchors will have the same id, 
		they will *not* take part in the training progress as they are not contained in the groundtruth.x.foldtrain.train file.	
		
		groundtruth.x.foldtrain.train, the traning anchors, which are the 0.x of all the anchors.
		
		groundtruth.x.foldtrain.test,  the testing anchors, which are the 1-0.x of all the anchors.

There are four models of our paper, INE, ONE , IONE and IONE-S

For the INE and ONE, run the INE.java. If you run the INE model, use "test.Train(10000000, "", 100);". For ONE model, reverse the relationship between users for a new following file, then run the INE.java.

For the IONE, run the IONE.java.

We will add the IONES model with anonymous data as soon as possible.

All the embeddings in the embedding directory of foursquare and twitter.

The getPrecision.java is used for p@1-p@30 calculation of our model。 Note that in the evaluation, we use the |UnalignedUsers|=(|UnalignedAnchors|+|UnalignedNonAnchors|) as the candidate list. The Precison may be lower than metrics which only use |UnalignedAnchors| as the candidate list

Feel free to contact me (Liu Li liuli0407@hotmail.com) when you have any problems about the paper or the code.

About

Source Code and data for IJCAI 2016 paper "Aligning Users Across Social Networks Using Network Embedding"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages