Skip to content

DisentangledSelfAttention implementation incosistent with paper #3

@zhujiem

Description

@zhujiem

Hi, we plan to integreate your model to FuxiCTR, a library for CTR prediction.

But we found that the layer DisentangledSelfAttention used in DESTINE.py seems not consist with your paper description about unary attention weights.

  • The paper uses the multiplication of mean_query and key to get unary attention weights.
  • The code use the key itself to map the dimension to num_heads and then use a softmax to get unary attention weights. See code.

Is the version wrong? Or could you suggest which version to implement in FuxiCTR, according to your code or paper? Thanks!

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