Skip to content

PDN 中的 PATH 分数计算与论文中的公式不符 #509

@wangzhe258369

Description

@wangzhe258369

trigger_out = self._build_trigger_net()
sim_out = self._build_similarity_net()
logits = tf.multiply(sim_out, trigger_out)

代码中实现的是:

trigger_out = tf.exp(<dnn output>)
sim_out = tf.exp(<dnn output>)
logits = tf.multiplay(sim_out, trigger_out)

相当于是:

$$ PATH_{uji} = e^{t_{uj}} e^{s_{ji}} $$

论文中的合并公式(公式(10))是:

$$ PATH_{uji} = MEG(t_{uj}, s_{ji}) = \ln(1 + e^{t_{uj}} e^{s_{ji}}) $$

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