unif icon indicating copy to clipboard operation
unif copied to clipboard

question on wide and deep

Open kiminh opened this issue 2 years ago • 1 comments

Hi, I've noticed that you have implemented the wide and deep structure which is differnt from the classical "youtube wide and deep". Here is my question:

  1. what is the input of wide side
  2. what's the purpose to use attention mechanism between wide side and deep feature.

Thanks a lot.

kiminh avatar Jul 28 '22 11:07 kiminh

I think the core value of wide and deep structure is the thought to structurally unify discrete and continuous features. So I wasn't intented to follow all the details from the original work. Another reason is that there are outstanding ideas proposed after wide and deep model came out, like attention machanism and BERT, which could further enhance the performance of the model.

The answers are:

  1. The input of wide side could be any discrete features. It can be a text string, an interger or even float if you want.
  2. Attention machanism was proved to be a successful design. Using it properly improves the performance of NLP tasks (in most of times).

Hope this reply meet your needs :)

geyingli avatar Jul 29 '22 04:07 geyingli