Knowledge_Graph_based_Intent_Network
Knowledge_Graph_based_Intent_Network copied to clipboard
Questions about the latent_emb.
What is the latent_emb used for? It is the user intent embedding? But shouldn't the user intent embedding be the disen_weight according to the defination in the paper? Look forward to your answer. Thank you!
I have the same question. I turned score_ = torch.mm(user_emb, latent_emb.t()) into score_ = torch.mm(user_emb, torch.mm(nn.Softmax(dim=-1)(disen_weight_att),weight).t()) and found my test result didn't change
我也有同样的疑问,代码中latent_emb变量跟disen_weight 变量代表的不是一个意思吗?为什么需要一个训练的latent_emb呢?不是很理解这一点。
我也产生了同样的疑问,disen_weight 在代码里起到一个什么样的作用呢