Uncertainty Awareness: A New Approach to Entity Linking Candidate Generation

Proposes an uncertainty-aware entity resolution framework that preserves NER ambiguity signals to improve EL candidate retrieval recall.
This article addresses the problem of traditional entity resolution pipelines compressing ambiguity into early hard decisions by proposing a proof of concept for uncertainty-aware ER. The method uses a BERT-based model with boundary prediction heads in the NER stage, obtains mention-level uncertainty signals (start/end boundary probabilities and fuzzy entropy) via Monte Carlo dropout, and uses these signals in the EL candidate generation stage to dynamically adjust the fuzzy matching cutoff value. Experiments on the AnnoCTR dataset show that the boundary-aware and dual-signal methods improve Recall@10 from 0.6186 to 0.7966. The study emphasizes that the contribution is not end-to-end optimization but establishing uncertainty preservation as a beneficial component of ER pipelines, enabling downstream EL to make more informed decisions under uncertainty, especially in high-risk domains such as cybersecurity.
Entity Resolution (ER) pipelines often compress ambiguity into early hard decisions: upstream Named Entity Recognition (NER) selects a single entity span and type, and downstream Entity Linking (EL) treats that selection as gold. This approach discards valuable information about the ambiguity of the underlying data (such as span boundary disagreements and type confusion), making the system brittle and prone to unpredictable failures when faced with input uncertainty. Therefore, this study proposes a proof of concept for uncertainty-aware ER, treating uncertainty as native data that should be preserved and exploited throughout the ER pipeline. We (i) capture uncertainty signals during the NER stage, and (ii) use these signals in the EL stage to improve candidate retrieval under ambiguity. Using a BERT-based NER model enhanced with two auxiliary span boundary prediction heads, we apply Monte Carlo (MC) dropout at inference time to derive three mention-level proxy signals: MC mean start boundary probability, MC mean end boundary probability, and De Luca-Termini fuzzy entropy computed over the Begin-Inside-Outside (BIO) prediction distribution. These signals are used to adjust the fuzzy cutoff value in EL candidate generation (CG). Since CG is treated as a blocking step, we evaluate retrieval recall. On the AnnoCTR dataset linked to the MITRE ATT&CK knowledge base, the boundary-aware and dual-signal fuzzy linking methods improve Recall@10 from 0.6186 to 0.7966. The contribution is not an end-to-end optimized ER pipeline, but rather establishing uncertainty preservation as a viable and beneficial component of ER pipelines, enabling downstream EL to make more informed decisions under uncertainty.

The Bottleneck of Traditional Entity Resolution: Early Hard Decisions
Traditional ER pipelines are typically divided into two stages: NER and EL. The NER stage identifies entity mentions from text (e.g., "APT28") and assigns them a type (e.g., "organization"); the EL stage then links these mentions to unique entities in a knowledge base (e.g., G0007 in MITRE ATT&CK). A typical problem with this pipeline is that the NER stage often outputs a single deterministic mention span and type, ignoring the inherent ambiguity in the input. For example, the same entity may have different boundaries depending on context (e.g., "U.S. National Security Agency" vs. "National Security Agency"), or its type may be confused (e.g., "organization" vs. "malware"). Downstream EL treats the NER output as gold, leading to error propagation and making the system brittle when ambiguity arises.
This study points out that such hard decisions discard valuable ambiguity information, such as span boundary disagreements and type confusion. This information could be used to guide downstream linking and improve system robustness. Therefore, the authors propose treating uncertainty as native data, preserving and exploiting it throughout the ER pipeline.
Entity Resolution (ER) is a core task in natural language processing, aimed at associating entities mentioned in text with unique entities in a knowledge base. A typical ER pipeline consists of two main stages: Named Entity Recognition (NER) and Entity Linking (EL). NER is responsible for extracting entity mentions from text (e.g., person names, organization names) and classifying them; EL is responsible for linking these mentions to corresponding entries in a knowledge base (e.g., Wikipedia pages or IDs in a domain-specific knowledge base). Traditionally, these two stages are often designed as serial and independent modules, with the NER output treated as deterministic input passed to EL. This design simplifies the pipeline but ignores the inherent ambiguity in natural language—the same entity may appear in different forms (boundary ambiguity), or the same mention may correspond to multiple entity types (type ambiguity). Early hard decisions refer to NER outputting only the single most probable result while discarding other possible options and their probability distributions. Although this reduces computational complexity, it causes errors to propagate downstream, potentially leading to serious consequences in high-risk domains (such as cybersecurity). Therefore, how to preserve and exploit uncertainty information has become a key challenge for improving the robustness of ER pipelines.
Uncertainty-Aware ER: Preserving Ambiguity Signals
The core idea of uncertainty-aware ER is to capture uncertainty signals during the NER stage and pass them to the EL stage. Specifically, the authors use a BERT-based NER model and add two auxiliary span boundary prediction heads to predict start and end boundaries, respectively. At inference time, Monte Carlo (MC) dropout is applied to approximate model uncertainty. Through multiple forward passes, three mention-level proxy signals are computed:
- MC mean start boundary probability: the average probability of the start position across multiple samples.
- MC mean end boundary probability: the average probability of the end position across multiple samples.
- De Luca-Termini fuzzy entropy: fuzzy entropy computed based on the BIO prediction distribution, measuring the uncertainty of type assignment.
These signals reflect the NER model's uncertainty about mention boundaries and types. For example, high fuzzy entropy indicates that the model is hesitant about type assignment, possibly confusing "organization" and "malware."
Monte Carlo (MC) dropout is a commonly used technique for estimating model uncertainty at inference time. Traditionally, dropout is used only during training to prevent overfitting; MC dropout keeps dropout layers active during inference as well, obtaining multiple prediction results through multiple forward passes (e.g., T times). The distribution of these results can approximate the model's confidence in its predictions: if the sampled results differ greatly, it indicates that the model is uncertain about the input. Specifically for NER tasks, MC dropout can be used to estimate the uncertainty of each mention's boundaries and type. De Luca-Termini fuzzy entropy originates from fuzzy set theory and is used to measure the fuzziness of a probability distribution (here, the BIO label distribution). The BIO tagging scheme is a commonly used sequence labeling format in NER, where B indicates the beginning of an entity, I indicates the inside of an entity, and O indicates non-entity. The higher the fuzzy entropy, the more the model hesitates among multiple labels, i.e., the greater the uncertainty of type assignment. These proxy signals provide downstream EL with a basis for quantifying mention uncertainty, enabling the system to dynamically adjust linking strategies based on the degree of ambiguity.
Exploiting Uncertainty in Candidate Generation: Adaptive Fuzzy Cutoff
In the EL stage, candidate generation (CG) is responsible for retrieving possible entity candidates from the knowledge base, commonly using fuzzy matching techniques (e.g., based on string similarity). Traditional methods use a fixed cutoff value to filter candidates, but this study uses uncertainty signals from the NER stage to dynamically adjust the cutoff value. Specifically, the boundary-aware and dual-signal fuzzy linking methods adjust the fuzzy matching threshold based on mention boundary uncertainty: for mentions with ambiguous boundaries, the cutoff value is relaxed to capture more candidates; for mentions with clear boundaries, the cutoff value is tightened to improve precision. Since CG is treated as a blocking step (i.e., the retrieval stage), the authors evaluate retrieval recall, measuring the system's ability to retrieve the correct entity during candidate generation.
Candidate Generation (CG) is a key step in entity linking, whose goal is to quickly retrieve a set of candidate entities potentially related to a mention from a large-scale knowledge base for subsequent disambiguation. Since knowledge bases often contain millions of entries, directly fine-scoring all entities is infeasible, so CG typically employs a blocking strategy: using methods such as inverted indexes, string similarity, or embedding vector similarity to filter out a small number of candidates. Fuzzy matching is a common technique in CG, for example, computing the similarity between a mention and candidate entity names based on edit distance or Jaccard similarity, and setting a cutoff to retain candidates with similarity above the threshold. The choice of cutoff directly affects recall and efficiency: too low introduces a large number of noisy candidates, increasing the burden on downstream disambiguation; too high may miss the correct entity. Traditional methods use a fixed cutoff value and cannot adapt to the degree of ambiguity of different mentions. The adaptive fuzzy cutoff proposed in this study dynamically adjusts the cutoff value using uncertainty signals from the NER stage—relaxing the threshold for mentions with ambiguous boundaries to improve recall, and tightening the threshold for mentions with clear boundaries to maintain precision. This dynamic adjustment makes the CG process more robust, especially suitable for domains where ambiguity is prevalent.
Experiments and Results: Significant Improvement in Recall@10
The authors conduct experiments on the AnnoCTR dataset, which is linked to the MITRE ATT&CK knowledge base and serves as an entity linking benchmark in the cybersecurity threat intelligence domain. The experiments compare baseline methods with uncertainty-aware methods. The baseline method uses fuzzy matching with a fixed cutoff value. The boundary-aware method uses only boundary signals to adjust the cutoff value, while the dual-signal method uses both boundary and type uncertainty signals.
The results show that the boundary-aware and dual-signal fuzzy linking methods improve Recall@10 from 0.6186 to 0.7966. This improvement indicates that using uncertainty signals from the NER stage can significantly improve candidate retrieval recall, especially under ambiguity. The authors emphasize that the contribution is not an end-to-end optimized ER pipeline, but rather establishing uncertainty preservation as a viable and beneficial component of ER pipelines. By preserving uncertainty, downstream EL can make more informed decisions and improve system robustness.
Implications and Outlook
This study provides a new perspective on ER pipeline design: uncertainty should not be eliminated prematurely but should be exploited as useful information. In high-risk domains such as cybersecurity threat intelligence, where ambiguity is prevalent, uncertainty-aware methods are expected to reduce error propagation and improve system reliability. Future work may include integrating uncertainty signals into subsequent stages of EL (such as entity disambiguation) and exploring more efficient uncertainty estimation methods.

This article is based on a paper abstract from an RSS source and introduces a proof of concept for uncertainty-aware ER. By preserving uncertainty signals from the NER stage and using them in EL candidate generation, the method significantly improves recall on the AnnoCTR dataset. This approach suggests that in entity resolution, ambiguity management is key to improving system robustness.
Related articles

Pure-Code Video Generation Tested: Which AI Model Actually Follows Instructions?
A Bilibili creator tested three AI models' pure-code video generation with unified prompts and three revisions each: Xiaonaomao has a high ceiling but lacks stability, GPT 6.2 Extra models well but only follows half the instructions, and OPAS 5.5 remains the benchmark.

GPT-6 Six-Tier Hands-On Test: Astra Ultra Dominates but Bills Double
GPT-6 six-tier test: Astra Ultra sweeps 3:0 in 3D tasks thanks to sub-agents and runs 14% faster, but hidden backend bills make its real cost 2.6x single-threaded.

GPT-6.2 Astra vs Fable 5.2: Huge Cost-Efficiency Gap Across 12 Real-World Tests
Bilibili creator tests GPT-6.2 Astra vs Fable 5.2 across 12 real tasks: Fable wins 7-5 but costs 7.2x more and takes nearly 5x longer. Token efficiency emerges as the key selection metric.