thunlp / EntityDuetNeuralRanking

Entity-Duet Neural Ranking Model
MIT License
153 stars 20 forks source link

Add batch norm for a nice boost #7

Closed pommedeterresautee closed 6 years ago

pommedeterresautee commented 6 years ago

As explained in previous messages, my training stops learning quite rapidly (after seeing few thousands queries). Performance are good but I had the feeling I got some overfitting and regularization may help. I tried many tricks including, as said in previous message, dropout. Finally I added batch norm on each CNN -> +8 abs points on MAP!! (I manually checked the results after) I have of course absolutely no idea how well it generalizes to other dataset, just saw a small boost on Wikiqa dataset but training loss reached 0 during the first epoch, so I think it s a slightly too strong regul for such a small dataset. May be you want to try it on SOGOU and Bing logs...

pommedeterresautee commented 6 years ago

2 things :

If you try dont forget to user eval() mode on the model before evaluation

image

EdwardZH commented 6 years ago

Thank you for your opinion. I will do some experience about it. And welcome to pay attention to our work continuously.

pommedeterresautee commented 6 years ago

You will publish your next work on live in this repo ?

pommedeterresautee commented 6 years ago

Made more experiences. Used 2 other of our website logs both using relevancy measures (BM25 from ES), normalization didn't help for both. I think it was very specific to the first dataset (lots of noise in the results, very rapid learning). I am closing the issue as it seems to not generalize.