Uncertainty-Aware Candidate Generation for Entity Linking in Cyber Threat Intelligence
Organizations: LUCID Lab, School of Computer Science, University of Nottingham, Nottingham, UK · COL Lab, School of Computer Science, University of Nottingham, UK
Abstract
Entity Resolution (ER) pipelines often collapse ambiguity into early hard decisions: upstream Named Entity Recognition (NER) selects a single span and type, and downstream Entity Linking (EL) treats that choice as ground truth. This discards valuable information about the ambiguity of the underlying data (e.g., span boundary disagreement and type confusion), leading to brittle systems that fail unpredictably when faced with uncertainty in inputs. Therefore, this work presents a proof-of-concept for uncertainty-aware ER that treats uncertainty as native data that should be preserved and exploited throughout ER pipelines. We (i) capture uncertainty signals in the NER stage and (ii) leverage these signals into the EL stage to improve candidate retrieval under ambiguity. Using a BERT-based NER model augmented with two auxiliary span-boundary prediction heads, we apply Monte Carlo (MC) dropout at inference time to derive three mention-level proxy signals: the MC-averaged start-boundary probability, the MC-averaged end-boundary probability, and De Luca-Termini fuzzy entropy computed over the Begin-Inside-Outside (BIO) predictive distribution. These signals are used to adapt the fuzzy cutoff in candidate generation (CG) for EL. Because CG is treated as a blocking step, we evaluate retrieval recall. On the AnnoCTR dataset linked to the MITRE ATTCK knowledge base, the boundary-aware and dual-signal fuzzy linking approaches improve Recall@10 from 0.6186 to 0.7966. The contribution lies not in an end-to-end optimised ER pipeline but in establishing uncertainty preservation as a viable and beneficial component of ER pipelines, enabling downstream EL to make better-informed decisions under uncertainty.
Figures & tables
| Method | Exact | Fuzzy | Cutoff Type | Uncertainty Signal | Adaptive Behaviour | Final Candidate Set |
|---|---|---|---|---|---|---|
| EX | ✓ | None | None | No adaptation | Exact alias matches only | |
| FT | ✓ | ✓ | Fixed | None | Fixed cutoff for all mentions | Exact + fuzzy matches above fixed threshold |
| BA | ✓ | ✓ | Adaptive | Start/end boundary probabilities | Lower cutoff when start/end boundary confidence is low | Exact + fuzzy matches with boundary-adjusted threshold |
| EA | ✓ | ✓ | Adaptive | Mention entropy | Lower cutoff when entropy is high | Exact + fuzzy matches with entropy-adjusted threshold |
| DS | ✓ | ✓ | Adaptive | Boundary + entropy | Combine boundary- and entropy-based retrieval cues | Merge the boundary- and entropy-based candidate sets, then remove duplicates |
| Case | Candidate Alias Example | KB Type | Final Score | ||
|---|---|---|---|---|---|
| 1 | TinyNuke (exact alias, type match) | MALWARE | 1.00 | 1.0 | 1.00 |
| 2 | TinyNuke (exact alias, type mismatch) | TOOL | 1.00 | 0.5 | 0.50 |
| 3 | MiniDuke (lexically similar, type match) | MALWARE | 0.625 | 1.0 | 0.625 |
| 4 | CosmicDuke (some overlap, type mismatch) | TOOL | 0.64 | 0.5 | 0.32 |
| Method | Candidates Found | Candidate Ranking (Top 10) |
|---|---|---|
| EX | 0 | No candidates |
| FT | 0 | No candidates |
| BA | 8 | 1. MiniDuke (0.3125) ; 2. TinyTurla (0.2941) ; 3. CosmicDuke (0.2941) ; 4. PinchDuke (0.2941) ; 5. OnionDuke (0.2941) ; 6. QUIETCANARY (0.2857) ; 7. GeminiDuke (0.2778) ; 8. TINYTYPHON (0.2778) |
| EA | 49 | 1. Winexe (0.4286) ; 2. MiniDuke (0.3125) ; 3. OnionDuke (0.2941) ; 4. PinchDuke (0.2941) ; 5. CosmicDuke (0.2941) ; 6. TinyTurla (0.2941) ; 7. QUIETCANARY (0.2857) ; 8. GeminiDuke (0.2778) ; 9. TINYTYPHON (0.2778) ; 10. HAMMERTOSS (0.2667) |
| DS | 49 | 1. Winexe (0.4286) ; 2. MiniDuke (0.3125) ; 3. TinyTurla (0.2941) ; 4. CosmicDuke (0.2941) ; 5. PinchDuke (0.2941) ; 6. OnionDuke (0.2941) ; 7. QUIETCANARY (0.2857) ; 8. GeminiDuke (0.2778) ; 9. TINYTYPHON (0.2778) ; 10. HAMMERTOSS (0.2667) |
Entity Resolution
Entity resolution links records that refer to the same real-world entity across datasets despite differences in names, attributes, formats, and languages.
See all 48 papers