SACN icon indicating copy to clipboard operation
SACN copied to clipboard

Theoretical question - How is translation property for the embeddings maintained?

Open kiranramnath007 opened this issue 4 years ago • 1 comments

First of all, thanks for sharing your great work!

I am reading through your paper, and I am finding it difficult to understand how the translation property for the embeddings is maintained. I do see that when you remove the reshape operation, every 2 x K convolutional filter becomes a dimension-wise weighted sum of subject and relationship embeddings for each fact triple.

However, since this is followed by A) vectorizing many channels, B) a non-linearity after a matrix multiplication with weight W, and C) inner product with object embeddings, it seems that the final embeddings are no longer translational.

How can I use your architecture but derive embeddings that are translational (i.e. head + rel ~ tail) ? One of my use-cases is highly dependent on the translational property.

Thanks in advance! Kiran

kiranramnath007 avatar Jul 26 '20 17:07 kiranramnath007

Hi Kiran, The ConvTransE uses the 1d convolution, as shown in the formula (6). This is a weighted sum operation. So it can keep the translational property. Thanks for your question.

chaoshangcs avatar Sep 22 '20 22:09 chaoshangcs