HKUST-KnowComp / MNE

Source Code for IJCAI 2018 paper "Scalable Multiplex Network Embedding"
75 stars 25 forks source link

Does base embedding only update when sending aggregate graph? #10

Closed Yujun-Yan closed 6 years ago

Yujun-Yan commented 6 years ago

Hi, I have a question about your code. Correct me if I am wrong. It seems that you use the base_weight to control whether to update the vectors. But base vectors are updated only when base_weight=0, that means, your base vector is not co-learned with the local vectors and the transition matrix, right? So you first compute the base vectors using the aggregate graph(base network in your code) and then compute local vectors and transition matrix for other graphs? Or do I miss something?

panda0881 commented 6 years ago

Dear Yujun,

Yes, we train the base network first. As this code was originally used for the tencent data, which has a base friendship network.

Best regards, Hongming

Yujun-Yan notifications@github.com 于 2018年8月25日周六 上午5:14写道:

Hi, I have a question about your code. Correct me if I am wrong. It seems that you use the base_weight to control whether to update the vectors. But base vectors are updated only when base_weight=0, that means, your base vector is not co-learned with the local vectors and the transition matrix, right? So you first compute the base vectors using the aggregate graph(base network in your code) and then compute local vectors and transition matrix for other graphs? Or do I miss something?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HKUST-KnowComp/MNE/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/AM7XSImU_TfPiBx_yl7jkTKJvCXuVvlbks5uUGybgaJpZM4WL__8 .

Yujun-Yan commented 6 years ago

OK. But in the later training, why do we not update the base weight? since the base weight is set to 0.

panda0881 commented 6 years ago

As this code was originally used for the social network and for the social network, as we introduced in the paper, we use the friendship relation as the base network, which is the most important (we believe) relation between users and we do not want the base network to lose that property during the training process. That is why we keep it unchanged during the training process and only use the additional vecter to record the additional information. For other networks, you can view it as a hyper-parameter and tune it based on your need.

Best regards, Hongming


发件人: Yujun-Yan notifications@github.com 发送时间: 2018年8月25日 8:22:25 收件人: HKUST-KnowComp/MNE 抄送: Hongming ZHANG; Comment 主题: Re: [HKUST-KnowComp/MNE] Does base embedding only update when sending aggregate graph? (#10)

OK. But in the later training, why do we not update the base weight? since the base weight is set to 0.

― You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/HKUST-KnowComp/MNE/issues/10#issuecomment-415913949, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AM7XSPRwEeV434OnqwImgQ80Kd0aEf39ks5uUJjBgaJpZM4WL__8.