Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible mistake in local aggregation #46

Open
fratajcz opened this issue Apr 20, 2023 · 2 comments
Open

Possible mistake in local aggregation #46

fratajcz opened this issue Apr 20, 2023 · 2 comments

Comments

@fratajcz
Copy link

Hi!

First of all I wanted to thank you for you code, I know it is a bit older but it is still the most legible resource on hyperbolic GNNs that I could find. I am currently dissecting the mechanisms and re-implementing them for pytorch geometric so I would be very happy if you could take a minute of your time.

I encountered what I think is a mistake in the exponential mapping of the locally aggregated feature matrix (hyp_layers.py, line 145):

output = self.manifold.proj(self.manifold.expmap(x, support_t, c=self.c), c=self.c)

where x is the intransformed input features in hyperbolic space and support_t is the result of the neighborhood aggregation in euclidean space.

according to you implementation of expmap(), the first argument is the tensor that should be mapped and the second is the reference point. The way line 145 is written, the input features which are already in hyperbolic space are mapped into hyperbolic space again w.r.t the euclidean aggregated neighborhoods. Did you mean this the other way round? Then it would also line up with equation 9 in the paper.

A short confirmation would be very nice, Thanks in advance!

@Tai-Xinwei
Copy link

Hi! I am also confused about it? Have you solved it yet? Thank you!

@a912289748
Copy link

wo yun,it is a same mistake for me,can you help the people and me ,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants