working-yuhao / DEAL

IJCAI2020
MIT License
20 stars 6 forks source link

Easier reproducibility #7

Open Lemour-sudo opened 3 years ago

Lemour-sudo commented 3 years ago

Kindly assist on these two problems:

Thank you.

mohitagarwal0212 commented 2 years ago

Looks like it. Graph's structure I think comes into play in the loss function only. Also, since you were able to reproduce, did you try the attribute encoder as an MLP as mentioned in the paper? In the code it looks like only a linear layer is used.

Lemour-sudo commented 2 years ago

Yes, I do believe the the graph's structure is only accounted for in the loss function in the authors' original code. I had to refactor the code a bit to allow changing between attribute encoders and structure encoders. So I managed to try an MLP as an attribute encoder.

mohitagarwal0212 commented 2 years ago

Thanks, was able to figure out MLP. Also, another thing, while reproducing did you figure out , in the ind_eval() function here https://github.com/working-yuhao/DEAL/blob/e58b2601b6102e2ebc80f20e7a92343c9e08daec/utils.py#L673, node_emb is a clone of anode_emb, so how does attr_layer and inter_layer behave any differently in that case?

Lemour-sudo commented 2 years ago

They way I see it, the attr_layer represents the attribute model part, and inter_layer may be meant to represent the layer that connects the attribute and structure parts.