context attentive document ranking and query suggestion
play

Context Attentive Document Ranking and Query Suggestion Wasi Uddin - PowerPoint PPT Presentation

Context Attentive Document Ranking and Query Suggestion Wasi Uddin Ahmad Kai-Wei Chang Hongning Wang University of California, University of California, University of Virginia Los Angeles Los Angeles


  1. Context Attentive Document Ranking and Query Suggestion Wasi Uddin Ahmad Kai-Wei Chang Hongning Wang University of California, University of California, University of Virginia Los Angeles Los Angeles https://github.com/wasiahmad/context_attentive_ir Codes will be released soon!

  2. Search Logs Provide Rich Context to Understand Users’ Search Tasks 5/29/2012 5/29/2012 5/29/2012 14:06:04 5/29/2012 14:06:04 coney island cincinnati coney island cincinnati 5/29/2012 14:11:49 5/29/2012 14:11:49 sas sas 5/29/2012 14:12:01 5/29/2012 14:12:01 sas shoes sas shoes 5/30/2012 5/30/2012 5/30/2012 12:12:04 5/30/2012 12:12:04 exit #72 and 275 lodging exit #72 and 275 lodging 5/30/2012 12:25:19 5/30/2012 12:25:19 6pm.com 6pm.com 5/30/2012 12:49:21 5/30/2012 12:49:21 coupon for 6pm coupon for 6pm 5/31/2012 5/31/2012 5/31/2012 19:40:38 5/31/2012 19:40:38 motel 6 locations motel 6 locations 5/31/2012 19:45:04 5/31/2012 19:45:04 hotels near coney island hotels near coney island Task : an atomic information need that may result in one or more queries. CS@UCLA Context Attentive Ranking and Suggestion 2

  3. Clicks Further Enrich Context to Understand Users’ Search Tasks Summary of clicked documents Clicked Skipped document document decoration options for home, patio, decorate bedroom on a outdoor etc. low cost bedroom limited budget decorations. 𝑅 " Guides to reformulate query 𝑅 $ cheap furniture for bedroom. buying low cost decoration used furniture is an alternative route. Previous clicks help to rank documents 𝑅 # furniture for decoration used and cheap futon, dressers, cupboards. CS@UCLA Context Attentive Ranking and Suggestion 3

  4. Our Proposal • Attend on previous queries/clicks to perform retrieval tasks • Learning to utilize context in multiple retrieval activities Predict next query q 0 q 2 q 3 q 5 q 6 q 7 D 3 D 5 Rank candidate D 2 documents D 6 CS@UCLA Context Attentive Ranking and Suggestion 4

  5. master’s … ……… master’s ……… … master’s … C ontext A ttentive R anking and S uggestion A Context Attentive master’s degree hospital jobs Solution … .. lower-level Document Inner Attention Encoder • A two-level hierarchical Session-Click Encoder structure initial state • Task context embedding Context-Attentive Representation • Session-query and Recommender Ranker session-click encoders Clicked Documents • Context attentive Session-Query Encoder Context-Attentive representations Representation initial state • Multi-task Learning • Document Ranking Query Encoder Inner Attention Inner Attention Inner Attention • Query Suggestion lower-level software engineer ny it masters ny 2018 it position ny healthcare CS@UCLA Context Attentive Ranking and Suggestion 5

  6. master’s … ……… master’s ……… … master’s … C ontext A ttentive R anking and S uggestion A Context Attentive master’s degree hospital jobs Solution … .. Document Inner Attention upper-level Encoder • A two-level hierarchical Session-Click Encoder structure initial state • Task context embedding Context-Attentive Representation • Session-query and Recommender Ranker session-click encoders Clicked Documents upper-level • Context attentive Session-Query Encoder Context-Attentive representations Representation initial state • Multi-task Learning • Document Ranking Query Encoder Inner Attention Inner Attention Inner Attention • Query Suggestion software engineer ny it masters ny 2018 it position ny healthcare CS@UCLA Context Attentive Ranking and Suggestion 6

  7. master’s … ……… master’s ……… … master’s … C ontext A ttentive R anking and S uggestion A Context Attentive master’s degree hospital jobs Solution … .. Document Inner Attention Encoder • A two-level hierarchical Session-Click Encoder structure initial state • Task context embedding Context-Attentive Representation • Session-query and Recommender Ranker session-click encoders Clicked Documents • Context attentive Session-Query Encoder Context-Attentive representations Representation initial state • Multi-task Learning • Document Ranking Query Encoder Inner Attention Inner Attention Inner Attention • Query Suggestion software engineer ny it masters ny 2018 it position ny healthcare CS@UCLA Context Attentive Ranking and Suggestion 7

  8. master’s … ……… master’s ……… … master’s … C ontext A ttentive R anking and S uggestion A Context Attentive master’s degree hospital jobs Solution … .. Document Inner Attention Encoder • A two-level hierarchical Session-Click Encoder structure initial state • Task context embedding Context-Attentive Representation • Session-query and Recommender Ranker session-click encoders Clicked Documents • Context attentive Session-Query Encoder Context-Attentive representations Representation initial state • Multi-task Learning • Document Ranking Query Encoder Inner Attention Inner Attention Inner Attention • Query Suggestion software engineer ny it masters ny 2018 it position ny healthcare CS@UCLA Context Attentive Ranking and Suggestion 8

  9. Multi-task Learning Objective • Optimized via Regularized Multi-task Learning Regularization Negative log-likelihood decorate bedroom on 𝑅 " a limited budget 𝑅 $ Task 1: document ranking low cost decoration 𝑅 # Task 2: next query prediction furniture for decoration Wasi Uddin Ahmad@UCLA Context Attentive Ranking and Suggestion 9

  10. Experiments CS@UCLA Context Attentive Ranking and Suggestion 10

  11. Data Source • AOL search log – 13 weeks search log of ~650k users • Background set – 5 weeks • Training set – 6 weeks • Validation and Test set – 2 weeks • Aggregation of candidate documents for ranking • Candidates are sampled from the top 1000 documents retrieved by BM25 from a pool of 1M documents • Task Segmentation • Averaging the query term vectors → Query embedding • Consecutive queries* with cosine similarity > 0.5 * within 30 mins interval CS@UCLA Context Attentive Ranking and Suggestion 11

  12. Data Statistics • Only the document titles are utilized in the experiments CS@UCLA Context Attentive Ranking and Suggestion 12

  13. Evaluation Metrics and Baselines • Document Ranking • Metrics – MAP, MRR, NDCG@k (where k=1,3,10) • Baselines – BM25, QL, FixInt, DSSM, DUET, MNSRF etc. • Query Suggestion • Metrics – MRR, F1, BLEU-k (where k=1,2,3,4) • Baselines – HRED-qs, Seq2seq+Attn, MNSRF etc. MRR – assesses discrimination ability, rank a list of candidate queries that might follow a given query CS@UCLA Context Attentive Ranking and Suggestion 13

  14. Evaluation Metrics and Baselines • Document Ranking • Metrics – MAP, MRR, NDCG@k (where k=1,3,10) • Baselines – BM25, QL, FixInt, DSSM, DUET, MNSRF etc. • Query Suggestion • Metrics – MRR, F1, BLEU-k (where k=1,2,3,4) • Baselines – HRED-qs, Seq2seq+Attn, MNSRF etc. F1, BLEU-k – assesses generation ability, measures overlapping between the generated query term sequence and ground-truth sequence. CS@UCLA Context Attentive Ranking and Suggestion 14

  15. Evaluation on Document Ranking − Vocabulary gap limits the performance − Do not utilize any search context information CS@UCLA Context Attentive Ranking and Suggestion 15

  16. Evaluation on Document Ranking − Do not utilize any search context information CS@UCLA Context Attentive Ranking and Suggestion 16

  17. Evaluation on Document Ranking + Jointly learns ranking and suggestion − Utilizes query history but no click history CS@UCLA Context Attentive Ranking and Suggestion 17

  18. Evaluation on Document Ranking + Jointly learns ranking and suggestion + Utilizes both query and click history CS@UCLA Context Attentive Ranking and Suggestion 18

  19. Evaluation on Query Suggestion Do not utilize any context CS@UCLA Context Attentive Ranking and Suggestion 19

  20. Evaluation on Query Suggestion Do not utilize click history CS@UCLA Context Attentive Ranking and Suggestion 20

  21. Evaluation on Query Suggestion + Utilizes both in-task query and click history CS@UCLA Context Attentive Ranking and Suggestion 21

  22. Ablation Study • Modeling search context is beneficial • Joint learning of related retrieval tasks results in improvements ∗ indicates that the attention in the query recommender CS@UCLA Context Attentive Ranking and Suggestion 22

  23. Ablation Study • Modeling search context is beneficial • Joint learning of related retrieval tasks results in improvements Performance drops ∗ indicates that the attention in the query recommender CS@UCLA Context Attentive Ranking and Suggestion 23

  24. Ablation Study • Modeling search context is beneficial • Joint learning of related retrieval tasks results in improvements Performance drops Performance increases ∗ indicates that the attention in the query recommender CS@UCLA Context Attentive Ranking and Suggestion 24

  25. Short tasks (with 2 queries) Medium tasks (with 3–4 queries) Long tasks (with 5+ queries) Effect of Context Modeling Hypothesis – longer tasks are intrinsically more difficult. CS@UCLA Context Attentive Ranking and Suggestion 25

  26. Effect of Context Modeling • Context information helps more on short/medium tasks • Longer tasks are intrinsically more difficult. CS@UCLA Context Attentive Ranking and Suggestion 26

Recommend


More recommend