KEQA_WSDM19 icon indicating copy to clipboard operation
KEQA_WSDM19 copied to clipboard

The training of TransE

Open WeiQi1995 opened this issue 5 years ago • 1 comments

I didn't find the ‘ transE_emb.py ’ file in your code, so I would like to ask how the initialization vector of transE is represented in the training, or can you give me the ‘ transE_emb.py ’ file? At the same time, I have a question about KEQA. The vectorized representation obtained after KEQA is not in the same vector space as the embedded representation TransE, so when the Euclidean distance between the two is found, will there be an error match?

WeiQi1995 avatar Sep 23 '19 02:09 WeiQi1995

Thank you so much for the comments.

Knowledge graph embedding is not the focus of our paper. For the TransE embedding, we directly use the implementation from https://github.com/ZichaoHuang/TransE. I cannot put "transE_emb.py" in this repo since the contribution should be credited to https://github.com/ZichaoHuang/TransE.

Yes, you are right. It is not an error match, but an inaccurate match. Our goal is to make the predicted entity representation as close as possible to the representation of the correct head entity. The goal is NOT to recover exactly the same representation, but a close one, so that the learned vector could be used as a pointer to lead us to the current head entity.

Thanks.

xhuang31 avatar Sep 23 '19 04:09 xhuang31