Skip to content

Correspondences of normalization between code and paper #17

@grigvardanyan

Description

@grigvardanyan

In the paper described random walk normalization instead of symmetric normalization.

image

In the source code, I think it is implemented in an incorrect way.

image

Here we normalize each node based on the inverse of its degree, then we do aggregation. I think we have to aggregate all features, then in the end apply an inverse degree normalization.

Assume x1, x2, x3 are nodes. If we want update representation of x3 node and it is connected with x1 and x2, we calculate in the following way relu(x1/degree_x1 + x2/degree_x2), but actually we have to do relu(x1/degree_x1 + x2/degree_x1).
So I think we have to normalize based on source node degree.

Please correct me if I understood something wrong.
Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions