Skip to content

Question about EquivariantFFN implementation & paper formulas Eq. 13 & Eq. 14  #3

@alexbui91

Description

@alexbui91

Dear authors,

Thank you for the interesting work. I am reading your manuscript & supplementary info and also read through your source code.

In the paper, you define in Eq. 13 and Eq. 14 as follows:

Image

However, in line 330 of get_clean/get.py file, you update Z differently using Z_c not Z, where Z_c is centroid of each block if I understand correctly.

Z = Z_c + self.mlp_z(inputs).unsqueeze(-1) * Z_o

https://github.com/THUNLP-MT/GET/blob/main/get_clean/get.py

In the supplementary, you still provide a proof for equivariance for x = x + delta_x * psi.

Image

Can you please explain this modification?

Hope to hear from you soon.

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