GLOW : Global Weighted Self-Attention Network for Web Search
arXiv:2007.05186
Abstract
Deep matching models aim to facilitate search engines retrieving more relevant documents by mapping queries and documents into semantic vectors in the first-stage retrieval. When leveraging BERT as the deep matching model, the attention score across two words are solely built upon local contextualized word embeddings. It lacks prior global knowledge to distinguish the importance of different words, which has been proved to play a critical role in information retrieval tasks. In addition to this, BERT only performs attention across sub-words tokens which weakens whole word attention representation. We propose a novel Global Weighted Self-Attention (GLOW) network for web document search. GLOW fuses global corpus statistics into the deep matching model. By adding prior weights into attention generation from global information, like BM25, GLOW successfully learns weighted attention scores jointly with query matrix and key matrix . We also present an efficient whole word weight sharing solution to bring prior whole word knowledge into sub-words level attention. It aids Transformer to learn whole word level attention. To make our models applicable to complicated web search scenarios, we introduce combined fields representation to accommodate documents with multiple fields even with variable number of instances. We demonstrate GLOW is more efficient to capture the topical and semantic representation both in queries and documents. Intrinsic evaluation and experiments conducted on public data sets reveal GLOW to be a general framework for document retrieve task. It significantly outperforms BERT and other competitive baselines by a large margin while retaining the same model complexity with BERT.
arXiv comment8pages,2figures
References in corpus (14)
- Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation
- Universal Sentence Encoder
- Convolutional Neural Network Architectures for Matching Natural Language Sentences
- A Deep Relevance Matching Model for Ad-hoc Retrieval
- End-to-End Open-Domain Question Answering with BERTserini
- Passage Re-ranking with BERT
- Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
- Document Expansion by Query Prediction
- Multi-Stage Document Ranking with BERT
- Understanding the Behaviors of BERT in Ranking
- Simple Applications of BERT for Ad Hoc Document Retrieval
- Context-Aware Sentence/Passage Term Importance Estimation For First Stage Retrieval
- TF-Ranking: Scalable TensorFlow Library for Learning-to-Rank
- Dual Co-Matching Network for Multi-choice Reading Comprehension