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

baseline in the code and paper #5

Open
Victor0118 opened this issue Jul 24, 2018 · 1 comment
Open

baseline in the code and paper #5

Victor0118 opened this issue Jul 24, 2018 · 1 comment

Comments

@Victor0118
Copy link

In the paper, the baseline is not detailed. In the code,

https://github.com/nyu-dl/QueryReformulator/blob/master/run.py#L556

r = reward - reward_last - bl, according to my understanding, reward is the recall by querying with the reformulated query text. reward_last is the recall by querying with the raw query text. But I did not understand what bl means. I know it is the output of NN for each query. But I did not think it means baseline. I think reward_last is the baseline. Correct? If true, what is bl?

@rodrigonogueira4
Copy link
Collaborator

bl is the baseline. reward_last is the recall by querying with the original query and it is used as a heuristic to slightly speed up training. However, the model should reach an equally good recall if you just use r = reward - bl.

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

2 participants