Skip to content

Embedding of head entity, relation and tail entity #9

@dr-GitHub-account

Description

@dr-GitHub-account

The true value function is designed to minimize || ei + rij - ej ||p for the embedding of positive triplet samples, and to maximize || ei + rij - ej ||p for the embedding of negative triplet samples. Thus, true value in loss enforces that || ei + rij - ej ||p of the embeddings of triplets in KGs are as small as possible. True value in loss can be considered as a restriction, making sure that positive triplets samples forms a "triangle" in vector space.

When not considering the restriction, I am wondering is it a nature of MuGNN encoder to calculate ej to be close to ei + rij? In other word, is this "triangle" relationship between ei, rij, ej only introduced by the restriction of loss, or not only introduced by the restriction of loss, but also by the nature of MuGNN encoder as well?

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