BLINK (Billion-scale Entity Linking) is a neural entity linking model that grounds ambiguous textual mentions to unique entries in a knowledge base by combining a scalable Bi-Encoder for rapid candidate retrieval with a high-precision Cross-Encoder for final disambiguation. This two-stage architecture enables accurate linking against a knowledge base containing millions of entities.
Glossary
BLINK (Billion-scale Entity Linking)

What is BLINK (Billion-scale Entity Linking)?
BLINK is a state-of-the-art entity linking model from Facebook AI that uses a fast Bi-Encoder for candidate retrieval and a precise Cross-Encoder for final disambiguation.
The Bi-Encoder independently encodes the mention context and each entity description into dense vectors, using FAISS for efficient approximate nearest neighbor search to retrieve top-k candidates. The Cross-Encoder then processes the mention and each candidate jointly through full cross-attention, producing a precise relevance score that resolves the correct entity identity.
Key Features of BLINK
BLINK (Billion-scale Entity Linking) is a state-of-the-art entity linking model from Facebook AI that uses a two-stage, retrieval-and-reranking pipeline to ground textual mentions to a knowledge base of millions of entities.
Two-Stage Retrieval & Reranking Pipeline
BLINK decomposes entity linking into a fast candidate retrieval stage followed by a high-precision reranking stage. This architecture is the key to scaling to millions of entities without sacrificing accuracy.
- Stage 1 (Bi-Encoder): Independently encodes the mention context and each entity description into dense vectors. Uses FAISS for fast maximum inner product search to retrieve the top-k candidates from the entire knowledge base.
- Stage 2 (Cross-Encoder): Concatenates the mention and each candidate entity description, feeding them jointly through a transformer with full cross-attention. This yields a precise relevance score for final disambiguation.
- Why it works: The Bi-Encoder handles scale (billion-scale retrieval in milliseconds), while the Cross-Encoder handles ambiguity (modeling subtle interactions between mention context and entity description).
Bi-Encoder Candidate Retrieval
The Bi-Encoder independently encodes the mention context and each entity description into fixed-size dense vectors, enabling billion-scale retrieval via dot product similarity.
- Architecture: A dual-encoder based on BERT that produces separate embeddings for mentions and entities. No cross-attention between the two towers.
- Training: Trained with a contrastive loss (in-batch negatives) where the correct entity is scored higher than all other entities in the batch.
- Indexing: All entity embeddings are pre-computed and indexed using FAISS for exact or approximate nearest neighbor search.
- Key insight: By decoupling mention and entity encoding, the Bi-Encoder allows pre-computation of entity embeddings, making retrieval constant-time with respect to knowledge base size.
Cross-Encoder Reranker
The Cross-Encoder performs joint encoding of the mention and a single candidate entity, using full cross-attention to model fine-grained semantic interactions.
- Input: The concatenation of the mention context and the entity description, separated by a special [SEP] token.
- Output: A single scalar relevance score representing the likelihood that the candidate is the correct entity.
- Why it's precise: Unlike the Bi-Encoder, the Cross-Encoder allows every token in the mention to attend to every token in the entity description, capturing subtle disambiguation signals.
- Computational cost: Too expensive to run over all entities, which is why it only reranks the top-k candidates from the Bi-Encoder (typically k=10 or k=64).
Entity Description Encoding
BLINK represents each knowledge base entity by encoding its textual description (title + first paragraph from Wikipedia) rather than relying solely on structured triples or graph embeddings.
- Description format: The entity title and its Wikipedia abstract are concatenated and encoded by the Bi-Encoder's entity tower.
- Zero-shot capability: Because entities are represented by natural language descriptions, BLINK can link to entities never seen during training—a property called zero-shot entity linking.
- Nil prediction: If no candidate scores above a learned threshold, BLINK predicts that the mention has no corresponding entity in the knowledge base, correctly handling out-of-KB (OOKB) mentions.
- Pre-computation: All entity embeddings are computed offline and stored in a FAISS index, enabling fast retrieval without re-encoding at inference time.
Training with Distant Supervision
BLINK is trained using distant supervision from Wikipedia hyperlinks, automatically generating large-scale training data without manual annotation.
- Data generation: Each Wikipedia hyperlink provides a mention (the anchor text) and a ground-truth entity (the linked page). The surrounding paragraph serves as context.
- Scale: This yields millions of training examples across diverse domains, far exceeding manually annotated datasets like AIDA CoNLL-YAGO.
- Negative sampling: During Bi-Encoder training, other entities in the same batch serve as in-batch negatives, creating an efficient contrastive learning signal.
- Hard negative mining: The Cross-Encoder is fine-tuned using the top-ranked candidates from the Bi-Encoder as hard negatives, teaching it to distinguish between highly confusable entities.
Integration with FAISS for Billion-Scale Indexing
BLINK leverages FAISS (Facebook AI Similarity Search) to index and query millions of entity embeddings with sub-millisecond latency.
- Index construction: Pre-computed entity embeddings are added to a FAISS index using exact search (IndexFlatIP) or approximate search (IndexIVFFlat with product quantization) for larger scales.
- Retrieval: At inference, the mention embedding queries the FAISS index to retrieve the top-k entities by inner product similarity.
- Scalability: FAISS supports GPU-accelerated search and compressed indexes, enabling BLINK to scale to knowledge bases with tens of millions of entities.
- Production readiness: The combination of pre-computed embeddings and FAISS indexing makes BLINK suitable for real-time applications requiring entity linking over large knowledge bases.
Frequently Asked Questions
Deep-dive answers to the most common technical questions about Facebook AI's billion-scale entity linking model, covering its two-stage retrieval architecture, training methodology, and production deployment considerations.
BLINK (Billion-scale Entity Linking) is a state-of-the-art entity linking model from Facebook AI that grounds ambiguous textual mentions to unique entries in a knowledge base containing millions of entities. It operates in two distinct stages: first, a fast Bi-Encoder independently encodes the mention context and all candidate entity descriptions into dense vectors, retrieving the top-k candidates via efficient maximum inner product search. Second, a high-precision Cross-Encoder processes the concatenated mention and each candidate entity description jointly through full cross-attention, producing a refined relevance score that selects the single best entity. This two-stage architecture solves the fundamental speed-accuracy trade-off in large-scale entity linking by combining scalable retrieval with deep semantic re-ranking.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
BLINK vs. Other Entity Linking Approaches
A technical comparison of BLINK's two-stage Bi-Encoder and Cross-Encoder architecture against traditional single-stage and generative entity linking methods.
| Feature | BLINK (Bi-Encoder + Cross-Encoder) | Single-Stage Bi-Encoder | GENRE (Generative Entity Retrieval) |
|---|---|---|---|
Architecture | Two-stage: fast retrieval + precise reranking | Single-stage: retrieval only | Autoregressive sequence-to-sequence generation |
Candidate Retrieval Speed | < 1 ms per mention (FAISS-indexed) | < 1 ms per mention | N/A (generates entity name directly) |
Disambiguation Precision | State-of-the-art (Cross-Encoder with full cross-attention) | Moderate (dot product scoring only) | High (constrained beam search with prefix tree) |
Scalability to Millions of Entities | |||
Zero-Shot Entity Linking Capability | |||
Nil Prediction Mechanism | Threshold on Cross-Encoder linking confidence score | Threshold on Bi-Encoder similarity score | Generates special 'no-link' token |
Training Data Requirement | Large-scale distant supervision (Wikipedia hyperlinks) | Large-scale distant supervision | Large-scale distant supervision |
Inference Latency (per mention) | ~10-20 ms (retrieval + reranking) | ~1-5 ms (retrieval only) | ~50-100 ms (autoregressive decoding) |
Related Terms
BLINK's architecture relies on a specific stack of retrieval, representation, and disambiguation technologies. Understanding these related concepts is crucial for implementing a billion-scale linking pipeline.
Zero-Shot Entity Linking
The ability to link mentions to entities never seen during training. BLINK achieves this by relying solely on the textual entity description provided at inference time. The model compares the mention context against the description of a new entity, bypassing the need for a fixed entity vocabulary. This is critical for dynamic knowledge bases that constantly ingest new facts.
Hard Negative Mining
A training strategy to teach the model fine-grained distinctions. Standard negative sampling is insufficient for disambiguation. BLINK's training mines hard negatives: entities that have a high surface-level similarity to the correct entity but are factually wrong. Training the Cross-Encoder to reject these confusing candidates dramatically improves precision on ambiguous mentions.
Wikipedia as Training Data
The source of distant supervision for BLINK. Hyperlinks in Wikipedia articles provide a massive, weakly-labeled dataset. The anchor text serves as the surface form, the surrounding paragraph is the mention context, and the linked page's first section is the entity description. This allows training on millions of examples without manual annotation.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us