Proximity Based Relevance Scoring

26 concepts21 papers1 proposal

Traditional information retrieval models treat documents as "bags of words." If a user queries "renewable energy policy," a standard probabilistic model like BM25 counts how many times each word appears across the document, largely independent of their relative positions. However, human language is inherently spatial. If the words "renewable," "energy," and "policy" appear scattered across three different pages of a document, the text might just be a broad survey. Conversely, if they appear within a five-word span, the document is highly likely to address the exact concept the user intended.

Proximity-based relevance scoring bridges this gap by incorporating the physical distance between terms into ranking algorithms. By treating the spatial distribution of keywords as a proxy for semantic relationships, these models move beyond simple keyword matching to capture the underlying linguistic structure of a query.

Measuring the Spatial Span of Queries

To integrate physical distance into document ranking, systems must mathematically quantify term proximity. The most common strategies rely on calculating minimal spans or utilizing sliding windows to isolate dense clusters of keywords.

Christof Monz et al. in Approaches to Robust and Web Retrieval demonstrated that calculating the smallest contiguous text segment containing all query terms provides a highly robust signal for web search. Instead of evaluating the entire document uniformly, teams like Xu Chen et al. (ICTNET at Web Track 2010 Ad-hoc Task) implemented sliding windows to evaluate local keyword density. The intuition here is simple: a high concentration of query terms within a narrow window serves as a strong indicator of topical focus, signaling that the text segment is actively discussing the intersection of those concepts.

This spatial integration directly extends classic probabilistic retrieval models. For instance, Yuanhai Xue et al. (ICTNET at Web Track 2013) and Heyuan Li et al. (ICTNET at Web Track 2011 Ad-Hoc Track) showed that rewarding documents where query terms appear within a minimal window size significantly improves retrieval performance over baseline bag-of-words models.

Later, Yuanhai Xue et al. (ICTNET at Web Track TREC2014) formalized this into proximity-enhanced ranking functions (such as BM25PF) that jointly optimize for phrase frequency and physical term distance. Similarly, Ming Yue et al. (RUCIR at NTCIR-13 WWW Task) utilized span-based matching within a Learning to Rank (LTR) framework to explicitly capture term dependencies, proving that physical proximity remains one of the most robust features in competitive search benchmarks.

The Role of Connective Tissue and Stop Words

In traditional information retrieval, stop words (such as "the", "and", or "of") are routinely discarded to save index space and eliminate statistical noise. However, proximity-based models invert this logic.

As Alejandro Bellogin et al. (CWI and TU Delft Notebook TREC 2013: Contextual Suggestion, Federated Web Search, KBA, and Web Tracks) discovered, retaining stop words is crucial when extending language models with term distance. Because proximity scoring relies on the exact physical distance between keywords, removing stop words artificially compresses the text. By preserving these minor words, the system maintains the true syntactic structure and "connective tissue" of the text, allowing for highly accurate phrase-based matching that reflects how language is naturally written.

Pinpointing Answers and Entities

The utility of proximity scoring scales down seamlessly from ranking whole documents to extracting precise sentences, answers, and entities. In open-domain Question Answering (QA) and Information Extraction (IE), the challenge shifts from finding a relevant document to isolating the exact snippet that satisfies a query.

Early automated QA systems leveraged this spatial heuristic to locate answers within candidate documents. Dan Moldovan et al. (LASSO: A Tool for Surfing the Answer Net) sorted candidate text segments by evaluating both the closeness and the specific order of query keywords, ensuring the conceptual relationship was preserved. To refine this process, Abraham Ittycheriah et al. (Question Answering Using Maximum-Entropy Components) combined spatial dispersion metrics with keyword density within a maximum entropy framework to pinpoint exact factual answers.

The reason proximity operates as a powerful filter in QA is that correct answers are almost always co-located with the question's core subjects. If a query asks "When was Einstein born?", the target entity (a date) must appear in immediate proximity to "Einstein" and "born" to be valid. Conglei Yao et al. (Peking University at the TREC 2005 Question and Answering Track) and Carlos Amaral et al. (Priberam's Question Answering System for Portuguese) demonstrated that passages with dense keyword proximity are exponentially more likely to contain the correct answer than passages where the terms are widely dispersed.

Yllias Chali et al. (University of Lethbridge's Participation in TREC 2007 QA Track) formalized this by measuring the exact distance between a candidate answer string and the primary subject of the query, successfully filtering out irrelevant entities that matched the required data type but lacked a direct semantic connection to the topic.

[Einstein] ... (15 words of unrelated text) ... [born] ... [1879]  --> Low Proximity Score
[Einstein] was [born] in [1879]                                  --> High Proximity Score (Correct Answer)

This spatial heuristic applies equally to structured data extraction tasks like slot filling and entity retrieval:

  • Slot Filling: Roderik Lagerweij et al. (University of Amsterdam at TAC 2011: English slot filling task (Draft)) assigned higher weights to candidate facts that appeared closest to a target entity mention, relying on the principle that related attributes and values are typically co-located within the same sentence or paragraph.
  • Entity Ranking: Zhanyi Wang et al. (PRIS at TREC 2011 Entity Track: Related Entity Finding and Entity List Completion) incorporated word-count distances into ranking algorithms to evaluate the strength of the relationship between keywords and candidate entities, outperforming document-level relevance metrics.
  • Dynamic Activation: To capture this mathematically without rigid boundaries, Romaric Besançon et al. (The OEDipe System at CLEF-QA 2005) utilized an activation spreading mechanism. Encountering a query term dynamically boosts the relevance scores of all neighboring tokens within a local window, creating a continuous gradient of relevance that peaks where keywords cluster.

Modern Adaptations in Generation and Evaluation

While proximity scoring originated in classical keyword search, its core mechanics have been adapted to solve modern challenges in conversational AI and long-form document evaluation.

In conversational search, systems must often generate clarifying questions to resolve ambiguous user intent. Zhenduo Wang et al. (Zero-shot Clarifying Question Generation for Conversational Search) demonstrated that proximity-based candidate ranking can select the most effective question from a pool of generated outputs. By measuring the distance between user query terms and target constraint terms within the generated text, the system prioritizes clarifications where the relationship between the user's intent and the proposed subtopic is most explicit and natural.

Proximity has also transformed how retrieval performance is measured in long-form, sequential narratives. Nigel Collier et al. (An Individualized News Affective Response Dataset) argued that traditional binary retrieval metrics fail when evaluating long documents, as they do not account for how close a model's output is to the true target context. By implementing distance-weighted metrics, evaluation frameworks can reward models that navigate to the immediate physical vicinity of the correct information, providing a more granular and realistic assessment of a model's capacity to handle complex text layouts.

Key Foundational Work

LASSO: A Tool for Surfing the Answer Net (1999) — contributed 1 concept elements to this direction.
Linguistic Knowledge can Improve Information Retrieval (2000) — contributed 1 concept elements to this direction.
History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 20 papers
  2. Version 1 · 2026-10-04 · 20 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_proximity_based_relevance_scoring_0a991dea,
  title = {proximity-based relevance scoring},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/proximity-based-relevance-scoring/rdr_0a991dead55e4d0d847f45792d33f588},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 2, frozen text):

@misc{lacuna_proximity_based_relevance_scoring_0a991dea_v2,
  title = {proximity-based relevance scoring},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/proximity-based-relevance-scoring/rdr_0a991dead55e4d0d847f45792d33f588/v/2},
  note = {Version 2, frozen 2026-10-04. Accessed 2026-11-23},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake