Graphormer icon indicating copy to clipboard operation
Graphormer copied to clipboard

About atoms and nodes

Open monsteryi0314 opened this issue 2 years ago • 7 comments

What does atom stand for? Isn't it the node? What are the factors that set its size? Very confusing

monsteryi0314 avatar Oct 14 '22 01:10 monsteryi0314

And doesn't grapphormer support input of node features? Thx!

monsteryi0314 avatar Oct 14 '22 01:10 monsteryi0314

What does atom stand for? Isn't it the node? What are the factors that set its size? Very confusing

Yes, Graphormer uses nodes to represent atoms. A vector with certain size is used to embedding a atom. In my opinion, the dimention of the vector depends on the complexity of the problem.

whu-dft avatar Oct 14 '22 07:10 whu-dft

What does atom stand for? Isn't it the node? What are the factors that set its size? Very confusing

Yes, Graphormer uses nodes to represent atoms. A vector with certain size is used to embedding a atom. In my opinion, the dimention of the vector depends on the complexity of the problem.

If I intend to apply such a powerful model to a non-molecular domain, and I only use nodes instead of atoms (nodes contain features), how should I go about changing this parameter? Thx!

monsteryi0314 avatar Oct 14 '22 08:10 monsteryi0314

What does atom stand for? Isn't it the node? What are the factors that set its size? Very confusing

Yes, Graphormer uses nodes to represent atoms. A vector with certain size is used to embedding a atom. In my opinion, the dimention of the vector depends on the complexity of the problem.

What nodes have to do with atoms is particularly puzzling to me, thanks for the answer.

monsteryi0314 avatar Oct 19 '22 05:10 monsteryi0314

I think you just need to replace the embedding with your feature, then it should works. And this would requires some studies on the code implementation of Graphormer. (Note graphormer also takes the edges into consideration, see the following suggestion)

In addition, Graphormer is designed to combine Graph representation of molecule and the architecture of transformer. If you only want to apply the model to a non-molecular domain, I think it will be more beneficial to go to transformer directly.

whu-dft avatar Oct 21 '22 01:10 whu-dft

Have you tested the 'replacing embeddings with features'? and are there any benchmarks for non-molecular problems using Graphormer?

doloresgarcia avatar Nov 14 '22 14:11 doloresgarcia

Sorry, I haven't try any tests yet and I also don't know any benchmarks for non-molecular problems.

whu-dft avatar Nov 15 '22 09:11 whu-dft