BERT for IR (2019) › The Problem
History of Language AIAll chapters BERT for IR (2019) › The ProblemOne section · Sections in this chapter2 / 7 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Traditional neural information retrieval systems struggled to understand how particular query terms changed the relevance of document passages. The dual encoder architectures that had emerged as the dominant approach in 2016 learned separate representations for queries and documents, then compared them using vector similarity. While this approach was computationally efficient and enabled real-time search, it had inherent limitations in capturing fine-grained interactions between query and document content. When a user searched for "affordable luxury hotels," a dual encoder might struggle to understand how "affordable" and "luxury" interacted, potentially ranking documents that contained these terms in incompatible ways or missing the subtle meaning created by their combination.
The semantic gap between learned embeddings and actual relevance was another significant challenge. Dual encoder models learned to map queries and documents to a shared embedding space where similarity indicated relevance. However, this approach assumed that all relevant query-document relationships could be captured through a single similarity score in a fixed-dimensional space. In reality, relevance can take several forms: a document might directly answer a query, provide context, offer alternative perspectives, or contain related information. A single embedding might struggle to capture these different dimensions of relevance, particularly when queries and documents required understanding complex relationships, negations, or conditional relevance.
The computational efficiency of dual encoders came at the cost of limited interaction modeling. By encoding queries and documents separately, these systems could not directly model how specific query terms interacted with specific document passages. For example, if a query asked "what are the side effects of medication X," a dual encoder might retrieve documents that mentioned both "side effects" and "medication X" but miss that these mentions appeared in unrelated contexts. The system could not attend to where and how query terms appeared in documents, limiting its ability to understand local relevance signals that could be critical for accurate ranking.
The vocabulary and context mismatch problem remained challenging even with neural approaches. While dual encoders could learn some semantic relationships, they often struggled with rare terms, domain-specific terminology, or emerging vocabulary that appeared infrequently in training data. When documents used specialized terminology that queries expressed in everyday language, or vice versa, dual encoders might fail to establish the connection. BERT's extensive pre-training on diverse text corpora offered the potential to understand a much wider range of vocabulary and contexts, but applying this understanding to retrieval tasks required careful architectural choices.
Query length and document length variation created additional challenges. Dual encoders typically learned to encode queries and documents into fixed-size vectors, requiring sophisticated pooling strategies to compress variable-length text into a fixed representation. For very long documents, important information might be lost in the pooling process, and the system might struggle to focus on the most relevant passages. Short queries, meanwhile, might not provide enough signal for effective embedding, particularly when they contained ambiguous terms that required context to disambiguate. BERT's ability to process variable-length sequences with full attention could potentially address these limitations, but adapting this capability to efficient retrieval required innovative approaches.
The cold start problem for new content and queries persisted with dual encoder approaches. Neural retrieval models learned from historical relevance data, meaning they could struggle with new documents that had limited interaction history or queries about emerging topics. While pre-trained embeddings helped by providing general semantic knowledge, the fine-tuning process still required task-specific relevance data. New content or queries that didn't match patterns in the training data could receive poor rankings, limiting the ability of neural retrieval systems to adapt to rapidly changing information needs.