Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reward measurement in Adversarial learning for Neural Dialogue Generation #2

Open
ghost opened this issue Feb 16, 2017 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Feb 16, 2017

Many thanks for your great work. I am trying to reimplement your work via tensorflow. But I am a little confused about the reward measurement. As mentioned in your paper, the policy gradient is
∇ J(\theta)=[Q+({x, y}) − b({x, y})]∇\sum{t}logp(y{t}|x, y_{1:t-1}).
I have looked into your code. I just find how [Q+({x, y}) − b({x, y})] is measured in here. But as for the term ∇\sum{t}logp(y{t}|x, y_{1:t-1}), I have no idea. Could you please tell me how to measure it? And given the policy gradient value, shall I send it back to the generator as the optimization target directly? Indeed I have no experience of LUA before. Thus I may misunderstood your implementation. Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants