Glossary
Semantic Search and Entity Recognition

Dense Passage Retrieval
Terms related to modern neural retrieval models that encode text into dense vectors for semantic matching. Target: CTOs and Search Engineers.
Dense Passage Retrieval (DPR)
A neural retrieval framework that uses a dual-encoder architecture to independently embed queries and passages into a dense vector space for semantic similarity matching.
Bi-Encoder
A dual-encoder architecture that independently encodes queries and documents into dense vectors, enabling fast maximum inner product search for retrieval.
Embedding Space
A high-dimensional vector space where semantically similar text is mapped to proximate points, enabling similarity-based retrieval.
Cosine Similarity
A metric measuring the cosine of the angle between two vectors, used to quantify semantic similarity in dense retrieval systems.
Maximum Inner Product Search (MIPS)
The algorithmic task of finding the vector with the highest dot product to a query vector, fundamental to efficient dense retrieval.
Approximate Nearest Neighbor (ANN)
A class of algorithms that trade a small amount of accuracy for significant speedups in finding similar vectors in high-dimensional spaces.
FAISS
An open-source library developed by Meta for efficient similarity search and clustering of dense vectors, widely used for indexing embeddings.
Hierarchical Navigable Small World (HNSW)
A graph-based ANN algorithm that builds a multi-layered navigable structure to achieve fast and accurate vector search.
Inverted File Index (IVF)
A vector indexing technique that partitions the embedding space using clustering and searches only the partitions closest to the query.
Product Quantization (PQ)
A vector compression technique that decomposes high-dimensional vectors into smaller sub-vectors and quantizes them independently to reduce memory footprint.
Passage Embedding
A dense vector representation of a text passage generated by an encoder, stored in a vector index for semantic retrieval.
Query Embedding
A dense vector representation of a search query generated by an encoder, used to probe a vector index for semantically similar passages.
Contrastive Loss
A loss function that trains models to pull semantically similar pairs closer together in the embedding space while pushing dissimilar pairs apart.
In-Batch Negatives
A training technique that reuses other positive pairs within a mini-batch as negative examples, dramatically increasing training efficiency for dense retrievers.
Hard Negatives
Negative training examples that are superficially similar to the query but irrelevant, used to improve the discriminative power of a retriever.
Knowledge Distillation
A compression technique where a smaller student model is trained to mimic the relevance scores of a more powerful teacher model, such as a cross-encoder.
Cross-Encoder Distillation
A specific knowledge distillation process where a computationally expensive cross-encoder teaches a fast bi-encoder to improve its retrieval accuracy.
Late Interaction
A retrieval paradigm that stores token-level embeddings and performs partial computation at query time, balancing the efficiency of bi-encoders with the expressiveness of cross-encoders.
ColBERT
A late interaction retrieval model that encodes queries and documents into sets of token-level embeddings and computes relevance via a MaxSim operation.
Multi-Vector Encoding
An approach that represents a text passage as multiple dense vectors, typically one per token, to enable fine-grained late interaction scoring.
Sparse-Dense Hybrid
A retrieval strategy that combines the precision of sparse keyword matching with the semantic understanding of dense vector search.
Vector Compression
Techniques like scalar and product quantization that reduce the memory footprint of dense vectors to enable billion-scale similarity search.
Momentum Encoder
A slowly updating copy of the query encoder used to maintain a consistent representation space for large queues of negative samples during training.
Sentence-BERT (SBERT)
A modification of the BERT architecture using siamese and triplet networks to derive semantically meaningful sentence embeddings for efficient comparison.
Mean Pooling
A strategy for generating a fixed-size sentence embedding by averaging the output token vectors from the final layer of a transformer model.
Asymmetric Search
A retrieval setting where queries and documents are processed by separate, independently parameterized encoders, as in the standard DPR setup.
Top-K Retrieval
The process of returning the K documents from an index that have the highest similarity scores to a given query.
Recall@K
An evaluation metric measuring the proportion of relevant documents retrieved within the top-K results, critical for assessing retrieval coverage.
Mean Reciprocal Rank (MRR)
An evaluation metric that averages the reciprocal of the rank at which the first relevant document is retrieved across a set of queries.
Semantic Chunking
A text splitting strategy that divides documents based on semantic boundaries, such as sentence similarity thresholds, rather than fixed token lengths.
Transformer Attention Mechanisms
Terms related to the self-attention architectures that power contextualized word embeddings and sequence modeling. Target: Machine Learning Engineers.
Self-Attention
A mechanism allowing a model to weigh the importance of different tokens within a single input sequence to compute a contextualized representation of each token.
Scaled Dot-Product Attention
The core mathematical operation in Transformer architectures that computes attention weights by taking the dot product of Query and Key vectors, scaled by the square root of their dimension.
Multi-Head Attention
A module that runs multiple scaled dot-product attention operations in parallel, allowing the model to jointly attend to information from different representation subspaces.
Cross-Attention
An attention mechanism where the Query vectors originate from one sequence and the Key/Value vectors originate from another, enabling one sequence to extract relevant information from a different sequence.
Causal Attention
A masking mechanism that prevents a token from attending to future tokens in a sequence, ensuring the autoregressive property in decoder-only models during training and generation.
Query, Key, Value (QKV) Vectors
The three learned linear projections of an input embedding that form the basis of attention calculations, where the Query interacts with Keys to determine weights applied to Values.
Positional Encoding
A technique for injecting information about the absolute or relative position of tokens into the input embeddings, since the self-attention mechanism is inherently permutation-invariant.
Rotary Position Embedding (RoPE)
A method for encoding position information by rotating the Query and Key vectors in multi-head attention, which naturally incorporates relative position dependencies and has been widely adopted in models like Meta Llama.
Attention Score Matrix
An N x N matrix where each entry represents the raw compatibility score between a Query and a Key token, computed before softmax normalization to derive the final attention weights.
Transformer Block
The fundamental building block of the Transformer architecture, typically consisting of a multi-head self-attention sub-layer and a position-wise feed-forward network, each wrapped with residual connections and layer normalization.
Feed-Forward Network (FFN)
A position-wise, fully connected network within a Transformer block that applies a non-linear transformation to each token's representation independently, typically consisting of two linear layers with an activation function.
Layer Normalization
A normalization technique applied across the feature dimension of a single token's representation to stabilize the training of deep Transformer networks by reducing internal covariate shift.
Residual Connection
A pathway that adds the input of a sub-layer directly to its output, facilitating gradient flow and enabling the successful training of very deep Transformer architectures.
Key-Value (KV) Cache
An inference optimization technique that stores the previously computed Key and Value vectors for all generated tokens, preventing redundant re-computation during autoregressive decoding.
Multi-Query Attention (MQA)
A variant of multi-head attention where all attention heads share a single set of Key and Value projection weights, dramatically reducing the size of the KV cache and memory bandwidth requirements during inference.
Grouped-Query Attention (GQA)
An interpolation between multi-head and multi-query attention that partitions Query heads into groups, with each group sharing a single set of Key and Value heads, balancing inference speed and model quality.
FlashAttention
An exact-attention algorithm that minimizes high-bandwidth memory reads and writes between GPU HBM and SRAM by fusing operations in a tiled, IO-aware manner, significantly accelerating training and inference.
Quadratic Complexity Bottleneck
The inherent computational limitation of standard self-attention, where both memory and time complexity scale quadratically with the input sequence length, making it prohibitive for very long documents.
Sparse Attention
A class of techniques that reduces the quadratic complexity of attention by computing only a subset of the full attention score matrix, using predefined sparsity patterns like local windows or dilated strides.
Sliding Window Attention
A sparse attention pattern where each token attends only to a fixed-size window of neighboring tokens, reducing complexity to linear with respect to sequence length and enabling processing of long documents.
Context Window
The maximum number of tokens a language model can process in a single forward pass, defining the upper limit of text it can attend to for generating a response.
Encoder-Decoder Architecture
A Transformer configuration where an encoder processes the input sequence into a dense representation, and a separate decoder generates the output sequence autoregressively using cross-attention to the encoder's output.
Decoder-Only Architecture
A Transformer configuration consisting solely of decoder blocks with causal self-attention, used by modern autoregressive language models like GPT to generate text token by token.
Attention Head Pruning
A model compression technique that identifies and removes redundant or low-importance attention heads from a trained Transformer to reduce computational cost and memory footprint with minimal performance degradation.
Attention Temperature
A hyperparameter that scales the logits before the softmax operation in the attention mechanism, where a higher temperature flattens the distribution and a lower temperature makes it peakier, controlling the sharpness of attention focus.
Named Entity Recognition
Terms related to identifying and classifying named entities in unstructured text. Target: NLP Engineers and Data Architects.
Named Entity Recognition (NER)
An information extraction subtask that locates and classifies named entities in unstructured text into predefined categories such as persons, organizations, locations, and medical codes.
BIO Tagging
A token-level annotation scheme for sequence labeling where tokens are tagged as Beginning, Inside, or Outside of a named entity span.
Conditional Random Fields (CRF)
A discriminative probabilistic graphical model used for structured prediction that models the conditional probability of a label sequence given an observation sequence, commonly used as a decoding layer in NER.
Span Categorization
A NER paradigm that directly enumerates and classifies arbitrary text spans as entities, bypassing the need for token-level BIO tagging schemes.
Nested NER
The task of recognizing named entities that are hierarchically embedded within other entities, such as a street name inside a facility mention.
Fine-Grained Entity Typing (FET)
The task of assigning very specific semantic types to entity mentions from a large, hierarchically organized type ontology, moving beyond coarse categories like person or location.
Gazetteer
A structured dictionary or geographical index of entity names used as a lookup feature to improve the recall of known entities in rule-based or machine learning NER systems.
Distant Supervision
A method for automatically generating noisy labeled training data for NER by aligning a text corpus with an existing knowledge base or entity dictionary.
Few-Shot NER
A machine learning paradigm where a NER model is trained to generalize from only a very small number of labeled examples per entity type.
Domain Adaptation
The process of adjusting a NER model trained on a source domain to maintain high performance on a different target domain with distinct linguistic characteristics and entity types.
CoNLL-2003
A benchmark dataset and shared task for language-independent NER that established the standard evaluation methodology and four entity types: persons, locations, organizations, and miscellaneous.
Mention-Level F1
The primary evaluation metric for NER that computes the harmonic mean of precision and recall based on exact matches of entity span boundaries and their type classifications.
BERT-NER
A NER architecture that fine-tunes a pre-trained BERT model by feeding the final contextualized token representations into a linear classification layer for token-level labeling.
SpanBERT
A pre-training method designed to improve span-level representations by masking contiguous random spans and using a span-boundary objective, leading to state-of-the-art results on span selection tasks like NER.
MRC-NER
A machine reading comprehension framework that reformulates NER as a question-answering task, extracting entity spans by querying the text with type-specific natural language questions.
Prompt-Based NER
A technique that recasts entity extraction as a language modeling task by using a template with a masked slot that the model fills with the appropriate entity string.
Global Pointer
A NER architecture that uses a multiplicative attention mechanism to directly identify entity spans by scoring all possible start-end token pairs without a CRF layer.
Biaffine Classifier
A deep learning layer that applies a bilinear transformation to pairs of input vectors, commonly used in NER to score the relationship between the start and end tokens of an entity span.
Viterbi Decoding
A dynamic programming algorithm that finds the most probable sequence of hidden states in a linear-chain CRF by efficiently computing the maximum over all possible label paths.
Label Smoothing
A regularization technique that softens the hard one-hot training targets by assigning a small probability mass to incorrect classes, preventing a NER model from becoming overconfident.
Semi-Markov CRF
A segment-level sequence model that directly models the probability of entire entity spans rather than individual tokens, naturally handling segment-level features and non-contiguous structures.
Weak Supervision
A programmatic approach to generating training labels for NER using multiple noisy heuristic functions, such as pattern matching and gazetteers, managed by a generative model like Snorkel.
Active Learning
An iterative training strategy where a NER model intelligently queries a human annotator to label only the most informative and uncertain examples, minimizing annotation cost.
Document-Level NER
A NER variant that aggregates contextual information from an entire document to resolve entity types, leveraging cross-sentence consistency that is unavailable to sentence-level models.
Boundary Detection
The subtask of NER focused solely on identifying the start and end points of entity mentions in text, evaluated independently of the type classification accuracy.
Dictionary-Based NER
A high-precision NER method that identifies entities by matching text substrings against a pre-compiled list of known entity names, often using efficient trie data structures.
Fuzzy Matching
A string matching technique used in dictionary-based NER to find approximate matches for entity names, accounting for typographical errors and minor variations using edit distance metrics.
Knowledge Distillation
A model compression technique where a smaller, efficient student NER model is trained to replicate the output distribution of a larger, high-capacity teacher model.
Multi-Task Learning
An inductive transfer learning approach where a single model is trained jointly on NER and related auxiliary tasks like relation extraction or coreference resolution to improve generalization.
Cross-Domain NER
The challenge of applying a NER model to a new domain with zero or minimal labeled data, requiring the model to generalize across different entity schemas and linguistic styles.
Entity Linking and Disambiguation
Terms related to grounding textual mentions to unique entries in a knowledge base. Target: Knowledge Graph Engineers.
Entity Linking (EL)
The natural language processing task of grounding ambiguous textual mentions to their corresponding unique entries in a knowledge base.
Wikification
A specific form of entity linking that maps textual mentions to canonical Wikipedia page titles, often used as a benchmark task.
Knowledge Graph (KG)
A structured, semantically rich data model that represents entities as nodes and their interrelationships as typed edges, forming a machine-readable network of facts.
Disambiguation
The process of resolving the correct identity of an ambiguous entity mention by analyzing its surrounding context and comparing it against a set of candidate entities.
Nil Prediction (NIL)
The mechanism by which an entity linking system correctly identifies that a textual mention has no corresponding entry in the target knowledge base, preventing a false link.
Surface Form
The exact string of text in a document that refers to an entity, which serves as the input query for the entity linking process.
Entity Embedding
A dense, low-dimensional vector representation of a knowledge base entity, learned to capture its semantic properties and relationships for efficient similarity computation.
Bi-Encoder
A neural architecture that independently encodes a mention and a candidate entity into dense vectors, enabling fast, scalable candidate retrieval via dot product scoring.
Cross-Encoder Reranker
A high-precision neural architecture that processes the concatenated text of a mention and a single candidate entity jointly through full cross-attention to produce a relevance score.
Prior Probability
The static likelihood of a specific surface form linking to a particular entity, calculated from large-scale statistical analysis of annotated corpora or hyperlink structures.
Contextual Similarity
A dynamic measure of semantic relatedness between the textual context surrounding a mention and the descriptive text of a candidate entity.
Collective Entity Linking
A global disambiguation approach that jointly resolves all mentions in a document by maximizing the semantic coherence among the resulting set of linked entities.
Graph-Based Disambiguation
A collective linking method that uses algorithms like Personalized PageRank on a knowledge graph to identify the most central and coherent set of candidate entities for all mentions in a text.
Commonness
A specific type of prior probability that quantifies how frequently a surface form is used as the primary anchor text for a particular entity in a large corpus like Wikipedia.
Out-of-KB Entity (OOKB)
A real-world entity that is mentioned in text but does not yet have a corresponding entry in the target knowledge base, requiring NIL prediction.
Entity Normalization
The task of mapping diverse, non-standard textual expressions of an entity to a single, canonical identifier, often used in biomedical contexts with vocabularies like UMLS.
DBpedia Spotlight
An open-source, configurable system for automatically annotating mentions of DBpedia resources in natural language text.
BLINK (Billion-scale Entity Linking)
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.
GENRE (Generative Entity Retrieval)
An autoregressive model that frames entity linking as a sequence-to-sequence task, generating the unique name of the target entity token by token.
Distant Supervision
A method for automatically creating large-scale, weakly labeled training data for entity linking by heuristically aligning existing knowledge base entries with text mentions.
Fine-Grained Entity Typing
The task of assigning a specific, hierarchical type label from a deep ontology to an entity mention, which serves as a powerful constraint for disambiguation.
AIDA CoNLL-YAGO
The standard benchmark dataset for evaluating entity linking systems, consisting of Reuters news articles with hand-labeled mentions linked to YAGO entities.
GERBIL Platform
A unified benchmarking framework that provides a standardized interface and evaluation metrics for comparing the performance of different entity linking and annotation tools.
Linking Confidence Score
A numerical value between 0 and 1 output by an entity linking system that represents its certainty in a specific prediction, used for threshold tuning and NIL prediction.
FAISS (Facebook AI Similarity Search)
A high-performance library for efficient similarity search and clustering of dense vectors, commonly used as the retrieval index for Bi-Encoder entity linking systems.
Entity-Aware BERT
A class of pre-trained language models, such as LUKE and KnowBERT, that are designed to natively incorporate explicit knowledge base entity representations into their transformer architecture.
Entity Resolution
The data quality process of identifying and merging duplicate records that refer to the same real-world entity across different, often heterogeneous, data sources.
Toponym Resolution
A specialized form of entity linking focused on grounding ambiguous place name mentions in text to their precise geographic coordinates or a gazetteer entry.
Gazetteer
A structured geographical dictionary containing a comprehensive list of place names, their alternative names, hierarchical relationships, and precise spatial coordinates.
Zero-Shot Entity Linking
The capability of an entity linking system to correctly disambiguate mentions to entities that were never seen during its training phase, relying solely on entity descriptions.
Relationship Extraction
Terms related to identifying semantic relationships between entities in text. Target: Data Scientists and Ontologists.
Relation Extraction (RE)
The task of automatically identifying and classifying semantic relationships between named entities within unstructured text.
Semantic Triples
A data structure representing a relationship as a subject-predicate-object triple, forming the foundational unit of a knowledge graph.
Knowledge Graph Population
The process of adding new entities and relationships to an existing knowledge graph from external data sources.
Open Information Extraction (OpenIE)
A paradigm that extracts relation tuples from text without requiring a predefined schema or set of target relations.
Distant Supervision
A method for automatically generating training data for relation extraction by aligning a knowledge base with a text corpus.
Dependency Paths
The syntactic route through a dependency parse tree connecting two entities, used as a feature for classifying their relationship.
Slot Filling
The task of extracting specific attributes (slots) for a given entity from a text corpus to populate a knowledge base entry.
Causal Relation Extraction
The specialized task of identifying cause-and-effect relationships between events or entities mentioned in text.
Temporal Relation Extraction
The task of identifying and classifying the temporal ordering of events, such as before, after, or simultaneous.
Joint Entity and Relation Extraction
A modeling paradigm that simultaneously identifies entities and the relationships between them in a single step, rather than as a pipeline.
Document-Level Relation Extraction (DocRED)
The task of extracting relationships between entities that may span multiple sentences within a full document.
Few-Shot Relation Extraction
The ability of a model to identify new relation types after seeing only a very small number of labeled examples.
Zero-Shot Relation Extraction
The ability of a model to identify relation types it was never explicitly trained on, often guided by a textual description of the relation.
Hearst Patterns
A set of lexico-syntactic patterns, such as 'X such as Y', used to automatically extract hypernym-hyponym relationships from text.
Relation Embedding
A low-dimensional vector representation of a relationship, learned to capture its semantic properties for tasks like link prediction.
TransE
A foundational knowledge graph embedding model that represents a relationship as a translation vector between the embeddings of its head and tail entities.
Knowledge Base Completion (KBC)
The task of predicting missing links or relationships in a knowledge graph, often framed as a link prediction problem.
Link Prediction
The machine learning task of predicting the existence or likelihood of a relationship between two nodes in a graph.
Fact Verification
The task of automatically assessing the truthfulness of a claim, often by extracting supporting or refuting evidence from a knowledge base or text corpus.
Triple Classification
A binary classification task that determines whether a given subject-predicate-object triple represents a true fact.
Graph Neural Networks for RE (GNN)
The application of graph neural networks to relation extraction, modeling entities and their context as a graph to capture inter-entity dependencies.
SpanBERT
A pre-training method for BERT that masks contiguous spans of text, improving performance on span-level tasks like relation extraction.
Weak Supervision
A programmatic approach to generating noisy training labels using labeling functions, heuristics, or external knowledge bases instead of manual annotation.
Snorkel
A system for programmatically building and managing training datasets without manual labeling, widely used for weak supervision in relation extraction.
Event Extraction
The task of identifying event triggers and their arguments from text, a closely related field to relation extraction that focuses on dynamic occurrences.
Relation Ontology
A formal specification that defines the types of relationships, their properties, and constraints within a domain for guiding extraction.
Cross-Sentence Relation
A semantic relationship between two entities that are mentioned in different sentences within the same document.
Confidence Calibration
The process of adjusting a model's predicted probability for a relation to better reflect the true likelihood of its correctness.
Pattern-based Extraction
A rule-based approach to relation extraction that uses predefined textual patterns or regular expressions to identify relationships.
Multimodal Relation Extraction
The task of identifying relationships between entities using information from multiple data modalities, such as text and images.
Coreference Resolution
Terms related to identifying when different expressions refer to the same entity. Target: NLP Engineers.
Coreference Resolution
The NLP task of identifying all expressions in a text that refer to the same real-world entity, linking pronouns and noun phrases to their antecedents.
Anaphora
A linguistic expression whose interpretation depends on a preceding expression, typically a pronoun referring back to a previously mentioned noun phrase.
Cataphora
A linguistic expression whose interpretation depends on a subsequent expression, where a pronoun precedes the noun phrase it refers to.
Coreference Chain
The complete ordered set of all mentions within a discourse that refer to a single entity, forming a linked sequence from the first mention to the last.
Mention Detection
The subtask of identifying all spans of text that refer to an entity, serving as the prerequisite step for building coreference chains.
Mention Pair Model
A coreference architecture that classifies whether a pair of mentions are coreferent by scoring each candidate antecedent-mention relationship independently.
Entity Resolution
The process of disambiguating and linking textual mentions to their corresponding unique real-world entities, often used interchangeably with coreference resolution in NLP contexts.
Pronominal Resolution
The specific subtask of coreference resolution focused exclusively on resolving pronouns to their correct antecedent noun phrases.
Zero Anaphora
A phenomenon in pro-drop languages where a syntactically omitted argument is semantically understood through coreference with a previously introduced entity.
Bridging Anaphora
A non-identity anaphoric relationship where a definite noun phrase refers to an entity inferentially linked to a previously introduced discourse referent rather than directly coreferring with it.
Split Antecedent
A coreference scenario where a plural pronoun refers to multiple distinct entities introduced separately in the preceding discourse, requiring the merging of multiple antecedents.
Singleton Entity
An entity mentioned exactly once in a document, lacking any coreferring mentions, which must still be identified as a distinct discourse referent.
Discourse Deixis
A linguistic phenomenon where a demonstrative pronoun refers to an abstract entity, event, or proposition described in a preceding clause or sentence rather than a concrete noun phrase.
Mention-Ranking Model
A neural coreference architecture that scores all candidate antecedents for a given mention and selects the highest-ranked one, rather than making independent pairwise decisions.
SpanBERT
A pre-training method for BERT that masks contiguous spans of tokens and predicts them using span boundary representations, optimized for span-level tasks like coreference resolution.
Span Representation
A fixed-length vector encoding a contiguous sequence of tokens, typically computed by concatenating or attending over the hidden states of the span's start and end tokens.
Head-Finding Heuristic
A rule-based method for identifying the syntactic head word of a mention span, used to extract features or prune candidate antecedents during coreference resolution.
Higher-Order Inference
An iterative refinement technique in neural coreference where span representations are updated based on the representations of their predicted antecedents, enabling transitive reasoning across chains.
e2e-coref
A canonical end-to-end neural coreference resolution model by Lee et al. that jointly performs mention detection and coreference scoring using learned span representations.
Neural Coreference
Modern approaches to coreference resolution that use deep learning to learn dense span representations and scoring functions, replacing traditional rule-based and feature-engineered systems.
Rule-Based Sieve
A deterministic, multi-pass coreference architecture that applies a series of high-precision rules in a cascading order, with each sieve resolving progressively more ambiguous mentions.
Deterministic Coreference
A coreference resolution approach that uses a fixed set of hand-crafted linguistic rules and constraints rather than learned statistical models to link mentions.
Binding Theory
A syntactic theory governing the distribution of anaphors, pronominals, and referring expressions, providing structural constraints used as features in coreference systems.
Salience Model
A discourse model that assigns a real-valued prominence score to each entity based on recency, grammatical role, and mention frequency to guide pronoun resolution.
Centering Theory
A discourse coherence theory that models local focus by tracking a ranked set of forward-looking centers and a single backward-looking center to constrain pronoun interpretation.
Biaffine Attention
A scoring mechanism used in mention-ranking models that computes a pairwise score between mention and antecedent representations using a learned bilinear transformation.
Antecedent Pruning
A computational efficiency technique that restricts the candidate antecedent search space for a mention by applying heuristic filters based on distance, syntactic constraints, or agreement features.
Span Pruning
A preprocessing step that reduces the number of candidate mention spans considered by a coreference model by filtering out spans with low mention likelihood scores.
CoNLL-2012
The standard benchmark dataset for coreference resolution derived from OntoNotes 5.0, used to train and evaluate models on the shared task of end-to-end coreference.
Winograd Schema
A pronoun disambiguation challenge requiring deep world knowledge and commonsense reasoning, where two sentences differ by a single word that flips the pronoun's antecedent.
Semantic Role Labeling
Terms related to detecting the predicate-argument structure of a sentence. Target: Computational Linguists.
Semantic Role Labeling (SRL)
A natural language processing task that identifies the predicate-argument structure of a sentence, determining 'who did what to whom, when, where, and how' by assigning labels to words or phrases.
Predicate-Argument Structure
The linguistic framework representing a sentence as a predicate (typically a verb) and its associated arguments (such as agent, patient, and instrument) that define the core semantic relationships.
Thematic Roles
A set of generalized semantic categories, such as Agent, Patient, Theme, and Instrument, that describe the underlying relationship a noun phrase has with the main verb of a clause.
PropBank
A corpus annotated with predicate-argument relations and verb-specific semantic roles, serving as a foundational resource for training supervised semantic role labeling systems.
FrameNet
A lexical database based on semantic frames that groups words by the conceptual structures they evoke, defining the frame elements (roles) associated with each scenario.
VerbNet
A hierarchical verb lexicon that maps syntactic frames to explicit semantic representations, including thematic roles and selectional preferences, organized by verb class.
Semantic Frames
Conceptual structures describing a particular type of situation, object, or event, along with its participants and props, used to understand the meaning of a word in context.
Coreference Resolution
The task of identifying all linguistic expressions in a text that refer to the same real-world entity, a critical prerequisite for building coherent predicate-argument structures across sentences.
Argument Identification
The first sub-task of semantic role labeling that involves detecting which constituents in a parse tree are potential arguments of a given predicate.
Argument Classification
The second sub-task of semantic role labeling that assigns a specific semantic role label (e.g., Agent, Patient) to a previously identified argument of a predicate.
Predicate Disambiguation
The process of determining the exact sense of a predicate in context, often by linking it to a specific frameset in PropBank or a lexical unit in FrameNet.
Semantic Parsing
The task of converting natural language utterances into a formal, machine-readable meaning representation, such as logical forms or abstract meaning representations.
Shallow Semantic Parsing
A synonym for Semantic Role Labeling that focuses on identifying flat predicate-argument structures without resolving deep logical quantifier scope or complex compositional semantics.
Dependency-Based SRL
An approach to semantic role labeling that operates directly on dependency parse trees, identifying semantic roles based on syntactic head-dependent relations rather than phrase-structure constituents.
Span-Based SRL
A neural architecture for semantic role labeling that enumerates and scores arbitrary text spans as potential arguments, removing the reliance on pre-computed syntactic parse trees.
BIO Tagging Scheme
A sequence labeling encoding where tokens are tagged as Beginning, Inside, or Outside of a semantic argument, transforming SRL into a token classification problem.
Null Arguments
Implicit or omitted participants in a sentence that are syntactically unrealized but semantically understood, such as the dropped subject in a pro-drop language.
Core Arguments
The essential participants required by the meaning of a verb to form a grammatically complete clause, as distinct from optional peripheral adjuncts.
Selectional Preferences
The semantic constraints a predicate imposes on its arguments, specifying the ontological type or category of entity that can logically fill a given role.
Abstract Meaning Representation (AMR)
A rooted, directed graph representation of sentence meaning that abstracts away from syntax, encoding 'who is doing what to whom' as a semantic network of concepts and relations.
AMR Parsing
The computational task of automatically transforming a natural language sentence into its corresponding Abstract Meaning Representation graph.
Neural SRL
The application of deep learning models, such as BiLSTMs or Transformers, to the task of semantic role labeling, achieving state-of-the-art performance without extensive feature engineering.
BERT-based SRL
A high-performance approach to semantic role labeling that fine-tunes a pre-trained BERT model to generate contextualized word embeddings for predicate and argument classification.
Semantic Dependency Parsing
A unified parsing task that identifies a directed graph of semantic relations between words, integrating predicate-argument structures with other semantic relations like negation and modality.
Biaffine Attention
A deep learning scoring mechanism used in SRL and dependency parsing to compute pairwise scores between a predicate and its potential arguments using a low-rank bilinear transformation.
Syntax-Aware SRL
A modeling paradigm that explicitly incorporates syntactic parse tree information as a structural prior or scaffolding to improve the accuracy of semantic role predictions.
Multi-Task Learning
A training methodology where a single model is jointly optimized for multiple related NLP tasks, such as syntactic parsing and SRL, to improve generalization through shared representations.
Argument Pruning
A heuristic or learned filtering step that reduces the search space for potential arguments by discarding constituents that are highly unlikely to be associated with a given predicate.
CoNLL-2012 Shared Task
A landmark benchmarking challenge based on the OntoNotes corpus that drove significant progress in end-to-end coreference resolution and semantic role labeling systems.
OntoNotes Corpus
A large-scale, multi-genre corpus annotated with syntactic, semantic, and discourse information, serving as the standard dataset for training and evaluating SRL and coreference systems.
Dependency Parsing
Terms related to analyzing the grammatical structure of a sentence to establish relationships between words. Target: NLP Engineers.
Dependency Parsing
The syntactic analysis of a sentence to determine the grammatical relationships between words, constructing a directed graph where nodes are words and edges represent typed dependencies like subject or object.
Universal Dependencies (UD)
A cross-linguistically consistent framework for grammatical annotation that defines a universal set of part-of-speech tags and dependency relations to facilitate multilingual parser development and treebank creation.
CoNLL-U Format
The standard tab-separated text format used to represent annotated linguistic data, including token IDs, lemmas, part-of-speech tags, morphological features, and dependency relations, as defined by the Universal Dependencies project.
Transition-Based Parsing
A deterministic parsing paradigm that processes a sentence from left to right using a stack and buffer, applying a sequence of shift-reduce actions to incrementally build a dependency tree.
Graph-Based Parsing
A parsing paradigm that scores all possible dependency arcs in a sentence simultaneously to find the highest-scoring maximum spanning tree, often using the Chu-Liu/Edmonds algorithm.
Arc-Factored Model
A first-order parsing model where the score of a dependency tree is the sum of the scores of its individual arcs, assuming independence between edges for computational tractability.
Projectivity
A property of a dependency tree where there are no crossing arcs when the sentence is drawn linearly; a non-projective parse contains crossing dependencies common in languages with free word order.
Labeled Attachment Score (LAS)
The primary evaluation metric for dependency parsers measuring the percentage of tokens that are assigned both the correct syntactic head and the correct dependency relation label.
Biaffine Attention
A neural mechanism used in deep dependency parsers that applies a bilinear transformation to compute scores for all possible head-dependent pairs, enabling efficient global arc prediction.
Deep Biaffine Parser
A neural dependency parser architecture introduced by Dozat and Manning that uses deep biaffine attention over BiLSTM-encoded word representations to achieve state-of-the-art graph-based parsing accuracy.
Shift-Reduce Parsing
A transition-based parsing algorithm that uses SHIFT to push the next input token onto the stack and REDUCE to pop the top two items and attach them as a head-dependent pair.
Arc-Eager Parsing
A transition-based parsing strategy that builds dependencies as soon as the dependent is fully processed, allowing for left-arc and right-arc actions to be performed eagerly before the head is complete.
Beam Search
A heuristic search algorithm used in non-deterministic parsing that maintains a fixed number of the most probable partial parse states at each step to mitigate error propagation from greedy decisions.
Dynamic Oracle
A training technique for transition-based parsers that defines the set of optimal actions from any valid parser state, even after previous errors, enabling exploration of non-gold states during learning.
Enhanced Dependencies
An extended representation in Universal Dependencies that augments the basic syntactic tree with additional arcs to capture implicit predicates, shared arguments, and control relationships for improved semantic interpretation.
Semantic Dependency Parsing
The task of identifying predicate-argument structures and semantic relations that capture the meaning of a sentence, often abstracting away from surface syntax to represent who did what to whom.
Abstract Meaning Representation (AMR)
A semantic formalism that encodes the meaning of a sentence as a rooted, directed, acyclic graph where nodes are concepts and edges are semantic roles, abstracting away from syntactic idiosyncrasies.
MaltParser
A data-driven, transition-based dependency parsing system that uses history-based feature models and support vector machines to predict the next parsing action from a predefined feature template set.
MSTParser
An early graph-based dependency parser that uses the maximum spanning tree algorithm to find the globally optimal projective or non-projective dependency tree for a given sentence.
Part-of-Speech Tagging
The foundational NLP task of assigning a grammatical category such as noun, verb, or adjective to each token in a text, serving as a critical input feature for downstream dependency parsing.
Syntactic Head
The word in a dependency relation that governs or determines the grammatical behavior of its dependent; in a noun phrase, the noun is the head of its modifying adjectives.
Non-Projective Parse
A dependency tree structure containing crossing arcs, typically required to accurately represent long-distance dependencies, wh-movement, or the free word order found in morphologically rich languages.
Prepositional Phrase Attachment
A classic syntactic ambiguity problem where a parser must decide whether a prepositional phrase modifies the preceding verb or the preceding noun phrase, requiring semantic or world knowledge to resolve.
Cross-Lingual Parsing
The task of training a dependency parser on one or more source languages and applying it to a target language with little to no annotated data, often leveraging multilingual BERT or XLM-RoBERTa representations.
Dependency Treebank
A corpus of sentences manually annotated with dependency structures, such as the Penn Treebank converted to Stanford Dependencies, used as gold-standard training and evaluation data for parsers.
spaCy Dependency Parser
A fast, production-ready transition-based dependency parser integrated into the spaCy NLP library, designed for efficiency with a feature-rich linear model and optional neural network components.
Stanza
A Python NLP toolkit developed by Stanford NLP that provides state-of-the-art neural dependency parsing models for over 70 languages, built on a BiLSTM architecture with deep biaffine scoring.
Chu-Liu/Edmonds Algorithm
A combinatorial optimization algorithm used in graph-based dependency parsing to find the maximum spanning tree in a directed graph, enabling the efficient decoding of non-projective dependency structures.
Higher-Order Parsing
An extension of arc-factored models that incorporates features from sibling or grandparent arcs to capture richer syntactic contexts, improving accuracy at the cost of increased computational complexity.
Greedy Parsing
A deterministic parsing strategy where the single most probable action is selected at each step without backtracking, offering fast linear-time complexity but susceptibility to cascading error propagation.
Tokenization Strategies
Terms related to segmenting text into tokens, including subword algorithms like BPE. Target: Machine Learning Engineers.
Tokenization
The foundational process of segmenting a sequence of text into discrete units called tokens, which serve as the atomic inputs for natural language processing models.
Subword Tokenization
A strategy that segments words into smaller, meaning-bearing units like morphemes or frequent character sequences, balancing vocabulary size with the ability to represent rare and unseen words.
Byte-Pair Encoding (BPE)
A data compression algorithm repurposed for tokenization that iteratively merges the most frequent adjacent pairs of bytes or characters to build a subword vocabulary from a training corpus.
WordPiece
A subword tokenization algorithm, developed for the BERT model, that selects merge rules based on maximizing the likelihood of the training data rather than raw frequency.
Unigram Language Model
A probabilistic subword tokenization method that starts with a large vocabulary and iteratively removes tokens that least increase the overall likelihood of the training corpus.
SentencePiece
A language-independent tokenization framework that treats the input text as a raw Unicode sequence, eliminating the need for pre-tokenization and enabling lossless decoding.
Vocabulary
The fixed set of unique tokens that a language model recognizes, typically constructed during training and mapping each token to a unique integer identifier.
Out-of-Vocabulary (OOV)
A condition where a word or character sequence is absent from a model's fixed vocabulary, a problem largely mitigated by subword tokenization strategies.
Byte-level BPE
A variant of Byte-Pair Encoding that operates on a raw byte sequence rather than Unicode characters, guaranteeing a base vocabulary of 256 tokens and eliminating unknown tokens.
Special Tokens
Reserved vocabulary entries with specific control functions, such as [CLS] for classification, [SEP] for separation, [MASK] for masked language modeling, and [PAD] for batching.
Normalization
The pre-processing step in a tokenization pipeline that standardizes text by applying transformations like lowercasing, Unicode normalization, and whitespace stripping.
Pre-tokenization
The initial splitting of raw text into coarse units, often by whitespace and punctuation, before a subword tokenization model applies its merge rules.
Hugging Face Tokenizers
A high-performance library written in Rust that provides implementations of modern tokenization algorithms with a focus on speed, offline usage, and training custom vocabularies.
Tiktoken
A fast BPE tokenizer developed by OpenAI, specifically designed for use with their models and optimized for speed and accurate token counting.
Chat Template
A structured formatting script within a tokenizer that converts a sequence of chat messages into a single tokenized string with the appropriate control tokens for a specific instruction-tuned model.
Encoding
The process of converting a raw text string into a sequence of token IDs using a tokenizer's vocabulary and merge rules.
Decoding
The inverse process of converting a sequence of token IDs back into a human-readable text string, which may involve lossless reconstruction in models like SentencePiece.
Padding
The strategy of adding a special [PAD] token to shorter sequences in a batch to ensure all input tensors have a uniform length for efficient parallel processing.
Attention Mask
A binary tensor generated during tokenization that instructs the model's attention mechanism to ignore padding tokens and only process genuine content tokens.
Subword Regularization
A technique, often implemented via BPE-Dropout, that stochastically samples different segmentations during training to improve a model's robustness to tokenization variance.
Vocabulary Size
A critical hyperparameter defining the total number of tokens in a model's vocabulary, representing a trade-off between encoding efficiency and model embedding parameters.
Token ID
The unique integer index assigned to each token in a vocabulary, serving as the numerical representation that is fed into a model's embedding layer.
Morphological Analysis
The linguistic process of decomposing words into their constituent morphemes, such as stems and affixes, to understand their internal structure and meaning.
Stemming
A heuristic, rule-based process of reducing words to a base or root form by stripping affixes, often resulting in a non-linguistic stem for information retrieval tasks.
Lemmatization
The process of reducing a word to its canonical dictionary form or lemma using morphological analysis and a vocabulary, ensuring the result is a valid word.
Token Embedding
A learned, dense vector representation associated with each token ID in a model's vocabulary, capturing the semantic and syntactic properties of the token.
Stop Words
Common, high-frequency words like 'the' and 'is' that are often filtered out during pre-processing for traditional sparse retrieval to reduce noise and index size.
Lossless Tokenization
A property of a tokenizer, such as SentencePiece, where the original input text can be perfectly reconstructed from the token sequence without any information loss.
Tokenization Pipeline
The sequential series of operations—including normalization, pre-tokenization, model application, and post-processing—that a tokenizer executes to convert raw text into model inputs.
Compression Ratio
A metric for evaluating tokenization efficiency, calculated as the number of raw bytes divided by the number of tokens produced, with higher ratios indicating more efficient encoding.
Text Normalization
Terms related to standardizing text via stemming, lemmatization, and stop word filtering. Target: Data Engineers.
Stemming
A heuristic process of removing affixes from a word to reduce it to a common base form, often resulting in a non-dictionary stem, to improve recall in information retrieval.
Lemmatization
The process of reducing a word to its canonical dictionary form, or lemma, by using a vocabulary and morphological analysis of the word's part of speech.
Stop Word Filtering
The process of removing high-frequency, low-information words from a text corpus before indexing or analysis to reduce noise and improve computational efficiency.
Porter Stemmer
A widely implemented, rule-based stemming algorithm that iteratively applies a sequence of five phases of suffix stripping to produce a common stem for related words.
Morphological Analysis
The computational task of parsing a word into its constituent morphemes to identify its root form and grammatical features, such as tense, number, and part of speech.
Case Folding
The process of converting all characters in a text string to a single case, typically lowercase, to ensure that tokens like 'Apple' and 'apple' are treated as identical.
Unicode Normalization
A standard process for transforming Unicode text into a consistent canonical or compatibility form to ensure that visually and semantically identical characters have a single binary representation.
Text Canonicalization
The comprehensive process of converting text data into a standardized, consistent format by applying a pipeline of normalization techniques such as case folding, Unicode normalization, and punctuation stripping.
Tokenization
The fundamental NLP task of segmenting a continuous string of text into discrete units, or tokens, which can be words, subwords, characters, or sentences.
Byte-Pair Encoding (BPE)
A data compression algorithm adapted for subword tokenization that iteratively merges the most frequent pair of bytes or characters to build a vocabulary, effectively handling out-of-vocabulary words.
Spelling Correction
The computational task of automatically detecting and correcting typographical errors in text, often using a noisy channel model or edit distance metrics to find the most probable intended word.
Levenshtein Distance
A string metric measuring the minimum number of single-character edits—insertions, deletions, or substitutions—required to change one word into another, fundamental to fuzzy string matching.
Phonetic Hashing
An algorithmic technique that encodes a word into a representation of its pronunciation, allowing for the matching of homophones and words with similar sounds despite spelling differences.
Soundex
A classic phonetic hashing algorithm that indexes names by their English pronunciation, converting a string into a four-character code consisting of a letter followed by three digits.
Part-of-Speech Tagging (POS Tagging)
The process of assigning a grammatical category, such as noun, verb, or adjective, to each token in a text, which is a critical prerequisite for lemmatization and syntactic parsing.
Contraction Expansion
A text normalization step that converts contracted forms like 'don't' and 'it's' into their full, separated equivalents 'do not' and 'it is' to standardize token representation.
Truecasing
The task of restoring the correct capitalization to text that has been lowercased or inconsistently cased, often using a statistical model to determine the most likely case for each word.
Acronym Expansion
The normalization process of mapping a short-form acronym to its full textual form, such as converting 'NLP' to 'Natural Language Processing', to resolve ambiguity and improve semantic understanding.
Text Denoising
The process of removing irrelevant or extraneous artifacts from text data, such as HTML tags, special characters, and boilerplate content, to isolate the core linguistic signal.
Bag-of-Words (BoW)
A text representation model that describes a document as an unordered collection of its constituent words, discarding grammar and word order but keeping track of term frequency.
Out-of-Vocabulary (OOV)
A term for any token encountered during inference that was not present in a model's fixed vocabulary, a critical challenge managed by subword tokenization strategies like BPE.
Term Frequency-Inverse Document Frequency (TF-IDF)
A statistical weighting scheme that reflects how important a word is to a document in a corpus, increasing proportionally with its frequency in the document but offset by its frequency across all documents.
Zipf's Law
An empirical law in corpus linguistics stating that the frequency of any word is inversely proportional to its rank in the frequency table, where the most frequent word occurs approximately twice as often as the second most frequent word.
Language Identification
The computational task of automatically determining the natural language in which a given text is written, a crucial preprocessing step for applying language-specific normalizers.
Charset Detection
The process of automatically inferring the character encoding of a raw byte sequence, such as UTF-8 or Latin-1, to correctly decode it into a valid Unicode string and prevent mojibake.
N-gram
A contiguous sequence of N items from a given text sample, where the items can be characters, bytes, or tokens, used as features for language modeling and text classification.
String Similarity
A general metric for quantifying the lexical likeness between two text strings, often using algorithms like Levenshtein distance or Jaro-Winkler distance for fuzzy deduplication and matching.
Preprocessing Pipeline
A sequenced, automated chain of text normalization and cleaning steps, such as tokenization, lowercasing, and stop word removal, applied to raw text before feature extraction or model training.
Feature Extraction
The process of transforming raw, unstructured text into a numerical feature vector, such as a TF-IDF or Bag-of-Words representation, that can be understood by a machine learning algorithm.
spaCy
An open-source, industrial-strength NLP library in Python and Cython designed for production use, providing fast and accurate implementations of tokenization, POS tagging, and named entity recognition.
BM25 Algorithm
Terms related to the classic probabilistic retrieval function and its role in sparse retrieval. Target: Search Engineers.
BM25 (Okapi BM25)
A probabilistic relevance ranking function used by search engines to estimate the relevance of documents to a given search query, based on term frequency, inverse document frequency, and document length normalization.
TF-IDF
A numerical statistic that reflects the importance of a word to a document in a collection, calculated by multiplying term frequency by inverse document frequency, and serving as a foundational concept for modern ranking functions.
Term Frequency
The number of times a specific term appears in a document, used as a primary signal for relevance scoring in information retrieval models.
Inverse Document Frequency
A measure of how much information a word provides, calculated by logarithmically scaling the inverse fraction of documents in the collection that contain the term, to downweight common words.
Document Length Normalization
A technique that adjusts a document's relevance score based on its length to prevent longer documents from having an unfair advantage in retrieval due to higher term frequencies.
Saturation Function
A mathematical component within BM25 that models the non-linear gain in relevance for additional term occurrences, preventing a term from dominating a score just because it appears many times.
Probabilistic Relevance Framework
A theoretical model for information retrieval that ranks documents by the probability of their relevance to a query, forming the mathematical basis for the BM25 algorithm.
Robertson-Spärck Jones Weighting
A method for estimating the probability of a term's occurrence in relevant versus non-relevant documents without relevance information, providing the theoretical foundation for the BM25 inverse document frequency formula.
Relevance Feedback
An iterative search technique that uses user-identified relevant documents from initial results to reformulate the query and improve subsequent retrieval precision.
Pseudo-Relevance Feedback
An automatic query expansion technique that assumes the top-ranked documents from an initial retrieval are relevant and extracts terms from them to augment the original query.
Sparse Retrieval
A retrieval paradigm that represents documents and queries as high-dimensional, mostly-zero vectors where non-zero dimensions correspond to explicit term weights, enabling efficient matching via inverted indices.
Lexical Matching
The process of identifying relevant documents based on the exact overlap of words or character sequences between a query and a document, as opposed to semantic understanding.
Bag-of-Words Retrieval
A simplifying representation in information retrieval where text is treated as an unordered collection of words, disregarding grammar and word order but keeping multiplicity for scoring.
Inverted Index
A database index data structure that maps each unique term to a list of documents containing it, enabling fast full-text search by avoiding a sequential scan of all documents.
Postings List
The list of document identifiers and associated metadata associated with a specific term in an inverted index, used during query evaluation to compute relevance scores.
BM25F
An extension of the BM25 model designed to handle structured documents with multiple fields of varying importance, such as a title and body, by combining per-field statistics.
Analyzer
A component in a search engine that processes text into a stream of tokens by applying a tokenizer and a chain of filters, such as lowercasing and stemming, to create searchable terms.
Tokenizer
A module that segments a raw character stream into discrete tokens, typically words, based on configurable rules like whitespace and punctuation boundaries.
Stemmer
An algorithm that reduces inflected or derived words to their root form, such as mapping 'running' to 'run', to improve recall by matching morphological variants.
Stop Words
High-frequency words like 'the' and 'is' that are filtered out during text analysis because they carry little discriminative value for relevance ranking.
Elasticsearch BM25
The default relevance scoring algorithm in Elasticsearch since version 5.0, implementing the Okapi BM25 function to calculate the similarity between a query and documents in a sharded index.
Lucene Practical Scoring Function
The formula used by the Apache Lucene library to compute a document's relevance score, which combines a BM25-based score with additional factors like coordination and field-length norms.
k1 Parameter
A free parameter in the BM25 formula that controls the scale of the term frequency saturation curve, determining how quickly the impact of additional term occurrences plateaus.
b Parameter
A free parameter in the BM25 formula that controls the degree of document length normalization, ranging from 0 (no normalization) to 1 (full scaling by average length).
Boolean Retrieval
An exact-match retrieval model where queries are expressed as Boolean expressions of terms using operators like AND, OR, and NOT, returning documents that precisely satisfy the logical condition.
Phrase Matching
A search technique that requires terms to appear in a document in the exact specified order and adjacency, often implemented using positional information stored in a postings list.
N-gram Indexing
A tokenization strategy that decomposes text into overlapping sequences of 'n' characters or words, enabling robust matching of sub-word patterns, misspellings, and compound words.
Synonym Filter
A component in a search analyzer that expands tokens to include their synonyms, allowing a query for 'car' to also match documents containing 'automobile'.
Vocabulary Mismatch
The fundamental retrieval problem where a relevant document uses different words to describe a concept than the words used in the query, causing a lexical matching failure.
Precision at K
An evaluation metric that measures the fraction of documents in the top-K retrieved results that are relevant, focusing on the quality of the first page of search results.
Approximate Nearest Neighbor Search
Terms related to efficient vector similarity search algorithms for high-dimensional embedding spaces. Target: Infrastructure Engineers.
Approximate Nearest Neighbor (ANN) Search
A class of algorithms that trade a small amount of accuracy for massive speedups in finding the closest vectors to a query in high-dimensional space, compared to exact brute-force search.
Hierarchical Navigable Small World (HNSW)
A graph-based ANN algorithm that builds a multi-layered structure of proximity graphs, enabling logarithmic scaling search complexity by traversing long-range edges in sparse upper layers and refining in dense lower layers.
Locality-Sensitive Hashing (LSH)
A hashing-based ANN technique that uses hash functions designed to maximize collisions for similar vectors, partitioning the space so that nearest neighbors fall into the same bucket with high probability.
Inverted File Index (IVF)
A clustering-based ANN structure that partitions the vector space into Voronoi cells using a coarse quantizer, restricting search to only the most promising partitions to reduce the number of distance computations.
Product Quantization (PQ)
A vector compression technique that decomposes high-dimensional vectors into smaller subvectors, quantizing each independently using a distinct codebook to dramatically reduce memory footprint and accelerate distance calculations.
IVFPQ
A composite indexing strategy combining an Inverted File Index for coarse partitioning with Product Quantization for compressed residual vector storage, balancing high recall with low memory consumption.
Facebook AI Similarity Search (FAISS)
A widely adopted open-source library developed by Meta that provides highly optimized GPU and CPU implementations of state-of-the-art ANN indexing algorithms and distance metrics.
ScaNN
A quantization-based ANN algorithm developed by Google that optimizes the recall-speed tradeoff through anisotropic vector quantization, prioritizing the preservation of inner product scores critical for Maximum Inner Product Search.
DiskANN
A graph-based ANN algorithm designed to index billion-scale datasets on a single commodity machine by storing the graph structure and compressed vectors on SSD, minimizing RAM requirements.
Curse of Dimensionality
The phenomenon where data becomes increasingly sparse as dimensionality grows, causing distance metrics to lose discriminative power and making exact nearest neighbor search computationally infeasible.
Cosine Similarity
A distance metric measuring the cosine of the angle between two vectors, commonly used in semantic search to assess orientation similarity independent of magnitude, with values ranging from -1 to 1.
Euclidean Distance
The straight-line distance between two points in vector space, calculated as the square root of the sum of squared differences, sensitive to both direction and magnitude.
Maximum Inner Product Search (MIPS)
The optimization problem of finding the database vector that maximizes the dot product with a query vector, critical for matrix factorization models and attention mechanisms where magnitude matters.
Recall@K
A standard evaluation metric measuring the fraction of true nearest neighbors found within the top K retrieved results, quantifying the accuracy loss introduced by approximate search.
Quantization Error
The distortion introduced when mapping a continuous vector to its nearest discrete representation in a codebook, representing the primary tradeoff between compression ratio and search accuracy.
Vector Index
A specialized data structure that organizes high-dimensional embeddings to enable efficient similarity search, replacing the brute-force flat index with algorithms like HNSW or IVF.
Brute-Force Search
The exact nearest neighbor retrieval method that computes the distance between a query vector and every database vector, guaranteeing perfect recall at the cost of linear time complexity.
Graph-Based ANN
A family of indexing algorithms that represent vectors as nodes in a proximity graph, using greedy traversal over edges connecting similar items to navigate the space efficiently during search.
Re-ranking
A two-stage retrieval pipeline where a fast ANN index retrieves a candidate set, and a more precise but expensive computation re-scores these candidates using the full-precision vectors to improve final accuracy.
SIMD
A hardware-level parallel processing paradigm that performs the same operation on multiple data points simultaneously, heavily leveraged in optimized vector search libraries to accelerate distance calculations.
Vector Compression
Techniques like scalar, binary, or product quantization that reduce the storage size of high-dimensional vectors, trading computational precision for lower memory footprint and faster I/O.
Codebook
A set of representative centroid vectors learned via clustering during the quantization process, used to encode original vectors as short codes referencing the nearest centroids.
Voronoi Cell
The region of space containing all points closer to a specific centroid than to any other centroid, forming the fundamental partition unit in clustering-based indices like IVF.
Coarse Quantizer
The initial, lightweight clustering step in a two-level index like IVF that assigns a query vector to a small number of relevant partitions, enabling a focused fine-grained search.
Residual Vector
The difference vector calculated by subtracting the assigned coarse centroid from the original vector, encoding the fine-grained local information that is subsequently compressed with product quantization.
Asymmetric Distance Computation (ADC)
An efficient distance approximation where only the database vectors are compressed via quantization, while the query vector remains in full precision, yielding higher accuracy than symmetric computation.
Filtered ANN
The constrained search problem of finding nearest neighbors that also satisfy a structured metadata filter, implemented via pre-filtering or post-filtering strategies with distinct recall-performance tradeoffs.
Index Build Time
The total wall-clock time required to construct an ANN data structure from a raw set of vectors, a critical operational metric for dynamic datasets requiring frequent re-indexing.
Graph Degree
The number of outgoing edges per node in a graph-based index, representing a critical hyperparameter that balances search speed and memory usage against graph connectivity and recall.
Dimensionality Reduction
The preprocessing step of projecting high-dimensional vectors into a lower-dimensional space using techniques like PCA or random projection to mitigate the curse of dimensionality before indexing.
Hybrid Search Fusion
Terms related to combining sparse and dense retrieval results using techniques like reciprocal rank fusion. Target: CTOs and Search Architects.
Reciprocal Rank Fusion (RRF)
An algorithm that combines multiple ranked result sets into a single ranking by summing the reciprocal of each document's rank position across all lists, effectively prioritizing items that appear consistently near the top.
Hybrid Search
A retrieval architecture that combines the precision of sparse lexical matching (like BM25) with the semantic understanding of dense vector search to improve result relevance for complex queries.
Score Normalization
The process of rescaling relevance scores from different retrieval subsystems into a common, comparable range before merging, preventing one system's raw score magnitude from dominating the final ranking.
Min-Max Normalization
A linear score normalization technique that rescales a set of values to a fixed range, typically [0, 1], by subtracting the minimum score and dividing by the difference between the maximum and minimum scores.
Weighted Sum Fusion
A linear combination method that merges multiple retrieval signals by multiplying each system's normalized score by a predefined weight and summing the results to produce a final relevance score.
Late Fusion
An architectural pattern where retrieval is performed independently on separate sparse and dense indexes, and the final result lists are merged and re-ranked only after each subsystem has completed its search.
Sparse-Dense Hybrid
A retrieval system that maintains both an inverted index for exact term matching and a vector index for semantic similarity, executing queries against both simultaneously to bridge the lexical-semantic gap.
Combined Score Normalization (CombSUM)
A fusion technique that sums the normalized relevance scores from multiple retrieval systems for each document, assuming that higher combined scores indicate stronger overall relevance.
CombMNZ
A score aggregation method that multiplies the sum of normalized scores by the number of retrieval systems that returned the document, boosting items that are found by multiple independent sources.
Candidate Pool Merging
The process of combining the unique document identifiers retrieved by sparse and dense search pipelines into a single, deduplicated set before applying a final re-ranking or fusion algorithm.
Lexical-Semantic Gap
The fundamental disconnect between keyword-based retrieval, which matches exact terms, and semantic retrieval, which understands intent, often requiring hybrid fusion to resolve vocabulary mismatches.
Multi-Stage Retrieval
A cascading pipeline architecture where a fast, lightweight initial retriever (e.g., BM25) generates a candidate set, and a slower, more precise re-ranker (e.g., a Cross-Encoder) refines the top results.
Fusion Weight Tuning
The systematic optimization of the relative importance assigned to sparse and dense retrieval scores in a hybrid system, often performed via grid search or Bayesian optimization against a relevance metric.
Learned Fusion
A machine learning approach where a model is trained to optimally combine sparse and dense retrieval signals, learning non-linear weighting patterns from labeled relevance data rather than using a fixed formula.
Cross-Encoder Re-Ranking
A precision-focused re-ranking stage where a Transformer model processes the query and a candidate document jointly through full self-attention to produce a highly accurate relevance score.
Bi-Encoder Scoring
An efficient retrieval architecture where the query and document are encoded independently into dense vectors, and relevance is computed as a simple similarity metric like cosine similarity between the two embeddings.
Late Interaction (ColBERT)
A retrieval paradigm that stores token-level embeddings for documents and computes relevance via a sum of maximum cosine similarities (MaxSim) between query and document token representations, balancing efficiency and precision.
Query Intent Classification
A preprocessing step that analyzes a user's search query to determine whether it is navigational, informational, or transactional, enabling the dynamic adjustment of fusion weights or retrieval strategies.
Mean Reciprocal Rank (MRR)
An evaluation metric for ranked retrieval that averages the reciprocal of the rank position of the first relevant document across a set of queries, heavily rewarding systems that place the correct answer near the top.
Normalized Discounted Cumulative Gain (NDCG)
A rank-aware evaluation metric that measures retrieval quality by discounting the gain of a relevant document logarithmically based on its position, normalized against an ideal ranking.
Precision@K
An evaluation metric measuring the fraction of the top K retrieved documents that are relevant, focusing strictly on the quality of the first page of results without considering rank order within that set.
Fallback Strategy
A predefined retrieval logic path that activates when the primary hybrid search pipeline returns zero or low-confidence results, often reverting to pure lexical search or query relaxation to prevent empty result pages.
Semantic Boosting
A query-time technique that increases the fusion weight of dense vector similarity scores for queries identified as conceptual or intent-heavy, amplifying the influence of semantic understanding.
Lexical Boosting
A query-time technique that increases the fusion weight of exact term matching scores (like BM25) for queries containing rare keywords, codes, or specific identifiers where precision is paramount.
Pre-Filtering
An architectural pattern where metadata constraints (e.g., date range, category) are applied to the index before the vector similarity search is executed, ensuring the semantic search operates only on valid candidates.
Post-Filtering
An architectural pattern where the top K results from a semantic vector search are retrieved first, and metadata filters are applied afterward, which can lead to fewer than K results if many top matches are filtered out.
Learning to Rank (LTR)
A supervised machine learning framework that trains a model to combine multiple relevance features (sparse scores, dense scores, recency) into an optimal ranking function using labeled query-document pairs.
LambdaMART
A powerful gradient-boosted tree ensemble algorithm for Learning to Rank that directly optimizes listwise ranking metrics like NDCG by using gradients derived from the LambdaRank framework.
Query Rewriting
A preprocessing technique that transforms a user's raw query into an alternative form better suited for retrieval, such as expanding acronyms or correcting spelling, before sending it to both sparse and dense indexes.
Elasticsearch Hybrid Search
The capability within the Elasticsearch platform to combine traditional BM25 text queries with k-nearest neighbor vector searches using a reciprocal rank fusion combiner to generate a unified result set.
Query Expansion Techniques
Terms related to rewriting and augmenting queries with synonyms, spelling correction, and hypernyms. Target: Search Relevance Engineers.
Synonym Expansion
A query expansion technique that adds words with identical or highly similar meanings to the original query terms to increase recall.
Hypernym Expansion
A query expansion technique that broadens a query by adding more general terms from the semantic hierarchy, such as adding 'vehicle' to a query for 'car'.
Hyponym Expansion
A query expansion technique that narrows or specifies a query by adding more specific terms, such as adding 'sedan' and 'SUV' to a query for 'car'.
Lemmatization
The process of reducing a word to its canonical dictionary form, or lemma, by considering its morphological analysis and part of speech.
Stemming
A heuristic, rule-based process of reducing inflected or derived words to their word stem, base, or root form, often by simply chopping off affixes.
Acronym Expansion
A query rewriting technique that replaces an acronym with its full form, or vice versa, to bridge the vocabulary gap between a query and documents.
Spelling Correction
The process of automatically detecting and correcting typographical errors in a search query before it is executed against an index.
Fuzzy Matching
A technique for finding strings that approximately match a pattern, measured by edit distance, to provide typo tolerance in search.
Levenshtein Distance
A string metric for measuring the minimum number of single-character edits—insertions, deletions, or substitutions—required to change one word into another.
Phonetic Expansion
A query expansion method that adds words that sound similar to the original query terms to account for spelling variations based on pronunciation.
Query Rewriting
The broad process of transforming a user's raw search query into an alternative, more effective query to improve retrieval performance.
Query Reformulation
The process of iteratively modifying a search query based on initial results, often driven by user interaction or session context.
Query Relaxation
A technique that removes or weakens query constraints to return a broader set of results when the original query is too restrictive.
Query Segmentation
The process of dividing a long, unsegmented query string into meaningful semantic chunks or phrases for structured analysis.
Query Scoping
The process of identifying and applying categorical or attribute-based filters to a query to restrict results to a specific domain or product type.
Pseudo-Relevance Feedback
An automatic query expansion technique that assumes the top-k documents from an initial retrieval are relevant and extracts expansion terms from them.
Relevance Feedback
An iterative search technique that uses explicit user judgments on the relevance of initial results to refine and improve the subsequent query.
Rocchio Algorithm
A classic relevance feedback algorithm that reformulates a query vector by adding the centroid of relevant document vectors and subtracting the centroid of non-relevant ones.
Contextual Query Expansion
A technique that uses information from the user's session, location, or profile to add contextually relevant terms to a search query.
WordNet Expansion
A query expansion method that leverages the WordNet lexical database to add synonyms, hypernyms, and hyponyms based on structured semantic relationships.
Word Embedding Expansion
A technique that uses static word vectors, like Word2Vec, to find and add semantically similar terms to a query based on distributional similarity.
Contextualized Embedding Expansion
A query expansion method that uses deep language models like BERT to generate expansion terms that are semantically appropriate for the query's specific context.
doc2query
A document expansion technique that uses a sequence-to-sequence model to generate potential queries that a document might answer, which are then appended to the document's index.
Query2vec
A neural approach that learns a vector representation for a whole search query to find similar queries or expansion terms in a dense embedding space.
Paraphrase Generation
A query expansion technique that uses a model to generate alternative phrasings of the original query that convey the same meaning.
Back-Translation Expansion
A paraphrase-based technique that translates a query into an intermediate language and back to the original language to generate syntactically diverse expansion terms.
Generative Query Expansion
The use of large language models, such as T5 or GPT, to generate relevant expansion terms, synonyms, or full alternative queries from a prompt.
Stop Word Removal
The process of filtering out high-frequency, low-information words like 'the' and 'is' from a query to focus matching on more meaningful terms.
Query Normalization
The process of standardizing a raw query into a consistent canonical form, including lowercasing, removing diacritics, and applying Unicode normalization.
Knowledge Graph Expansion
A technique that enriches a query by traversing an entity's relationships in a knowledge graph to add related entities and attributes.
Ontology Alignment
Terms related to mapping concepts between different ontologies and constructing taxonomies. Target: Knowledge Graph Architects.
Ontology Alignment
The computational process of determining correspondences between heterogeneous ontologies to achieve semantic interoperability, also known as ontology matching.
Semantic Heterogeneity
The divergence in meaning or interpretation of data across different schemas or ontologies, representing the primary obstacle to automated knowledge graph interlinking.
Upper Ontology
A high-level, domain-independent framework defining abstract, philosophical categories such as time, space, and object, used to facilitate broad semantic interoperability between domain-specific knowledge bases.
Domain Ontology
A formal representation of the concepts, properties, and relationships specific to a constrained field of interest, such as medicine or finance, enabling precise knowledge sharing within that vertical.
SKOS (Simple Knowledge Organization System)
A W3C standard data model for representing thesauri, classification schemes, and taxonomies within the Semantic Web using RDF, emphasizing hierarchical and associative concept relationships.
OWL (Web Ontology Language)
A W3C-standardized computational logic-based language designed to represent rich and complex knowledge about things, groups of things, and relations between things, enabling rigorous automated reasoning.
Description Logic
A family of formal knowledge representation languages that form the logical foundation of OWL, enabling decidable reasoning over ontologies through constructors like intersection, union, and existential restriction.
TBox
The terminological component of a knowledge base containing the schema-level axioms, class definitions, and property restrictions that define the intensional structure of an ontology.
ABox
The assertional component of a knowledge base containing instance-level facts and individual membership assertions that populate the schema defined by the TBox.
Materialization
The forward-chaining inference process of computing and explicitly storing all implicit logical consequences of an ontology and its instance data, enabling efficient query-time retrieval.
Alignment API
A standardized programmatic interface for representing, serializing, and sharing ontology correspondences, typically using the Alignment Format to ensure tool interoperability.
String Similarity Metric
A mathematical function, such as edit distance or the Jaccard coefficient, used as a primary lexical matcher to quantify the textual likeness of entity labels during ontology alignment.
Graph Convolutional Network Alignment
A neural ontology matching technique that uses GCNs to encode the structural neighborhood of entities into embedding vectors, which are then compared to identify equivalent nodes across graphs.
Stable Marriage Problem
An algorithmic solution applied to ontology matching that finds a stable one-to-one mapping between two sets of entities based on mutual preference scores, optimizing global alignment cardinality.
Cross-Lingual Ontology Alignment
The process of mapping concepts across ontologies labeled in different natural languages, often leveraging multilingual embeddings or pivot languages to bridge the lexical gap.
Owl:sameAs
A core OWL property that asserts two named individuals refer to the exact same real-world entity, forming the critical identity link for interlinking distributed Linked Data graphs.
Alignment Repair
The post-matching process of detecting and removing incoherent or logically inconsistent correspondences from a generated alignment to restore the satisfiability of the merged ontology.
Tree Edit Distance
A structural similarity measure that calculates the minimum-cost sequence of node operations required to transform one hierarchical taxonomy tree into another.
Ontology-Based Data Access
A virtual data integration paradigm that uses an ontology as a high-level conceptual schema to mediate and reformulate SPARQL queries into native SQL for underlying relational databases.
SPARQL Entailment
A query answering regime that evaluates SPARQL queries not just against explicitly asserted triples but against the full logical closure of the RDF graph derived from inference rules.
Knowledge Graph Embedding Alignment
A technique that learns low-dimensional vector representations for entities across different knowledge graphs in a unified space, where geometric proximity indicates semantic equivalence.
Formal Concept Analysis
A mathematical method for deriving a concept lattice from a formal context of objects and attributes, used for bottom-up taxonomy induction and ontology restructuring.
Ontology Partitioning
The process of splitting a large, monolithic ontology into smaller, self-contained modules to improve scalability, maintenance, and distributed reasoning performance.
Semantic Web Rule Language
A W3C submission combining OWL with rule-based logic to express Horn-like rules, enabling the deduction of new relationships that are beyond the expressivity of description logic alone.
Alignment Coherence Measure
A quantitative evaluation metric that assesses the logical consistency of an alignment by checking if the merged ontology introduces unsatisfiable classes or disjointness violations.
LogMap
A highly scalable, open-source ontology matching system that uses logic-based reasoning and repair techniques to produce coherent alignments for large biomedical ontologies.
BFO (Basic Formal Ontology)
A top-level, realist upper ontology used extensively in biomedical informatics that partitions reality into continuants and occurrents to serve as a common integration hub.
Ontology Mediation
The overarching process of resolving mismatches between different ontologies at query time or design time, encompassing mapping, merging, and rewriting to enable transparent data access.
Conservativity Principle
A logical constraint in alignment repair stipulating that a mapping should not introduce new subsumption relationships between named classes in the original ontologies.
R2RML
A W3C recommendation that defines a language for expressing customized mappings from relational databases to RDF datasets, enabling the generation of virtual or materialized knowledge graphs.
Topic Modeling
Terms related to unsupervised discovery of latent themes in document collections, such as LDA. Target: Data Scientists.
Latent Dirichlet Allocation (LDA)
A generative probabilistic model that represents documents as random mixtures over latent topics, where each topic is characterized by a distribution over words.
Non-Negative Matrix Factorization (NMF)
A linear algebra technique that decomposes a document-term matrix into two lower-dimensional non-negative matrices, revealing additive, parts-based topic representations.
Correlated Topic Model (CTM)
An extension of LDA that uses a logistic normal distribution to explicitly model correlations between topic proportions within a document corpus.
Dynamic Topic Model (DTM)
A topic model that captures the evolution of topics over time by chaining sequential models where topic-word distributions drift according to a state-space model.
Hierarchical Dirichlet Process (HDP)
A nonparametric Bayesian model that infers the number of topics from data by placing a Dirichlet process prior on the topic space, allowing for infinite topic mixtures.
Dirichlet Prior
A probability distribution over probability vectors used as a conjugate prior in Bayesian topic models to control the sparsity of topic distributions.
Perplexity Score
A predictive metric measuring how well a topic model generalizes to unseen documents by calculating the inverse probability of the test set, normalized by word count.
Topic Coherence
An evaluation metric that measures the semantic interpretability of a topic by quantifying the degree of co-occurrence between its top-ranked words in reference corpora.
Pointwise Mutual Information (PMI)
An information-theoretic measure of association between two words, used as a foundational component in calculating topic coherence scores.
C_V Coherence
A robust topic coherence measure that combines normalized pointwise mutual information with cosine similarity over word context vectors, correlating highly with human interpretability judgments.
Topic Intrusion
An evaluation method where human annotators identify an injected outlier word within a topic's top terms, measuring the interpretability of the latent space.
Topic Diversity
A metric assessing the uniqueness of topics by calculating the percentage of unique words across the top-N terms of all discovered topics in a model.
Topic Evolution
The analysis of how latent thematic structures change, merge, split, or fade over sequential time slices in a temporal document collection.
Document-Topic Distribution
The posterior probability vector representing the mixture of latent topics that constitute a specific document in a probabilistic topic model.
Gibbs Sampling
A Markov Chain Monte Carlo algorithm used for approximate inference in topic models by iteratively sampling latent topic assignments for each word token conditioned on all other assignments.
Variational Inference
An optimization-based approximate inference method that finds the closest tractable distribution to the true posterior by minimizing the Kullback-Leibler divergence.
Alpha Hyperparameter
The Dirichlet prior concentration parameter controlling the sparsity of the per-document topic distribution in LDA; lower values enforce documents to contain fewer topics.
Beta Hyperparameter
The Dirichlet prior concentration parameter controlling the sparsity of the per-topic word distribution in LDA; lower values enforce topics to be composed of fewer, more specific words.
Number of Topics (K)
A critical hyperparameter in parametric topic models specifying the fixed dimensionality of the latent topic space to be discovered from the corpus.
Document-Term Matrix (DTM)
A sparse matrix representation of a corpus where rows correspond to documents, columns correspond to unique terms, and cell values represent term frequencies.
Gensim
An open-source Python library designed for unsupervised topic modeling and natural language processing, featuring efficient implementations of LDA and word2vec.
Structural Topic Model (STM)
A topic modeling framework that allows researchers to incorporate document-level metadata as covariates influencing topic prevalence and topical content.
Seeded LDA
A semi-supervised variant of LDA where prior knowledge is injected by setting asymmetric priors on topic-word distributions to guide the model toward specific semantic themes.
BERTopic
A modern topic modeling technique that leverages pre-trained transformer embeddings and class-based TF-IDF to create dense clusters representing coherent topics.
pyLDAvis
An interactive visualization library for interpreting topic models by projecting inter-topic distances onto a two-dimensional plane and displaying salient term relevance.
Intertopic Distance Map
A visualization component of pyLDAvis that uses multidimensional scaling to project topic centroids into two dimensions, allowing users to assess topic overlap and distinctness.
Salient Terms
Words identified by a relevance metric that balances a term's frequency within a topic against its lift over the corpus-wide background frequency to aid topic interpretation.
Bag-of-Words (BoW)
A text representation model that treats documents as an unordered multiset of words, discarding grammar and word order to create a fixed-length vector of token counts.
Expectation-Maximization Algorithm (EM)
An iterative optimization method used to find maximum likelihood estimates of parameters in probabilistic models with latent variables, alternating between expectation and maximization steps.
Topic Labeling
The process of automatically or manually assigning a concise, human-readable phrase to a discovered topic based on its most representative terms and documents.
Keyphrase Extraction
Terms related to automatically identifying the most relevant phrases in a document. Target: NLP Engineers.
TF-IDF
A statistical measure that evaluates the importance of a word to a document within a corpus, balancing term frequency against inverse document frequency.
RAKE
An unsupervised, domain-independent algorithm for extracting keyphrases by analyzing word co-occurrence and stopword-delimited sequences.
YAKE
A lightweight, unsupervised keyphrase extraction method that relies on statistical text features extracted from a single document without external corpora.
TextRank
A graph-based ranking algorithm that builds a word or phrase co-occurrence network and applies PageRank to identify the most salient keyphrases.
KeyBERT
A method that leverages BERT embeddings to extract keywords and keyphrases most similar to a document's overall semantic representation.
EmbedRank
An embedding-based approach that ranks candidate phrases by the cosine similarity between their sentence embeddings and the document embedding.
Keyphrase Generation
The task of using sequence-to-sequence models to produce both present and absent keyphrases for a given source text.
Present Keyphrase Extraction
The process of identifying and selecting keyphrases that appear verbatim within the source document text.
Absent Keyphrase Extraction
The generative task of predicting relevant keyphrases that do not appear as contiguous spans in the source document.
Unsupervised Keyphrase Extraction
Techniques that identify keyphrases without labeled training data, typically using graph-based ranking or statistical feature scoring.
Supervised Keyphrase Extraction
Methods that frame keyphrase identification as a binary classification or sequence labeling task requiring annotated training corpora.
Phrase Candidate Generation
The initial step of keyphrase extraction that produces a set of potential n-grams, often using POS tagging and noun phrase chunking.
Maximal Marginal Relevance (MMR)
A re-ranking algorithm that balances a phrase's relevance to the document against its redundancy with already selected keyphrases.
Graph-based Ranking
A family of algorithms that represent text units as vertices in a graph and use structural centrality measures to determine salience.
F1@K
An evaluation metric computing the harmonic mean of precision and recall for the top-K predicted keyphrases against a gold-standard set.
Mean Reciprocal Rank (MRR)
An evaluation metric that averages the reciprocal of the rank at which the first correct keyphrase appears in an ordered prediction list.
Keyphrase Boundary Detection
The task of accurately identifying the start and end tokens of a multi-word keyphrase within a sequence labeling framework.
Phraseness
A scoring component measuring how linguistically well-formed a candidate sequence is as a phrase, independent of its topical relevance.
Informativeness
A scoring component measuring how well a candidate phrase captures the core topical content or domain specificity of a document.
Candidate Scoring
The process of assigning a numerical weight to each candidate phrase based on features like frequency, position, and semantic similarity.
Ensemble Scoring
A technique that combines the ranked outputs of multiple keyphrase extraction algorithms using fusion methods to improve robustness.
Reciprocal Rank Fusion
A robust data fusion method that combines ranked lists by summing the reciprocal of the rank positions assigned to each candidate.
Entity Salience
A measure of the prominence or importance of a named entity within a document, often used to filter or weight entity-based keyphrases.
Wikification
The process of automatically linking textual phrases to their corresponding Wikipedia articles, serving as a keyphrase grounding mechanism.
Automatic Indexing
The process of assigning controlled vocabulary terms or free-text keyphrases to documents without human intervention to facilitate retrieval.
Document Keywording
The application of keyphrase extraction to assign descriptive metadata tags to documents for organization, search, and recommendation systems.
TF-ICF
A weighting scheme that adapts TF-IDF by replacing the inverse document frequency with inverse corpus frequency to measure domain specificity.
Co-occurrence Graph
A network representation where nodes are words or phrases and edges are weighted by their frequency of co-occurrence within a sliding window.
Semantic Similarity
A metric that quantifies the conceptual relatedness between two text spans using distributional semantics or knowledge graph path lengths.
KP20k
A large-scale benchmark dataset for keyphrase extraction containing over 20,000 scientific article abstracts with author-assigned keyphrases.
Contrastive Representation Learning
Terms related to training embedding models using Siamese or Bi-Encoder architectures. Target: Machine Learning Engineers.
Siamese Network
A neural architecture consisting of two or more identical subnetworks that share the same weights and parameters to process distinct inputs, producing comparable output vectors for similarity measurement.
Bi-Encoder
An architecture that independently encodes two separate inputs, such as a query and a document, into dense vector representations for efficient asymmetric similarity search and retrieval.
Triplet Loss
A metric learning objective function that minimizes the distance between an anchor and a positive sample while maximizing the distance between the anchor and a negative sample by a defined margin.
Contrastive Loss
A loss function that trains embeddings by pulling representations of semantically similar pairs closer together in vector space while pushing dissimilar pairs apart beyond a specified margin.
InfoNCE
Information Noise-Contrastive Estimation, a loss function based on categorical cross-entropy that identifies a positive pair among a set of negative samples, maximizing mutual information between representations.
NT-Xent Loss
Normalized Temperature-scaled Cross Entropy Loss, the specific variant of InfoNCE used in SimCLR that operates on L2-normalized embeddings with a temperature parameter to control concentration.
Positive Pair
Two distinct data samples derived from the same semantic source or instance, such as two augmented views of the same image, that a contrastive model is trained to map to nearby vector representations.
Negative Pair
Two data samples originating from different semantic sources or instances that a contrastive learning model is explicitly trained to map to distant locations in the embedding space.
Hard Negative Mining
The strategic selection of negative samples that are deceptively similar to the anchor but belong to a different class, forcing the model to learn more discriminative and fine-grained feature boundaries.
In-Batch Negatives
A training efficiency technique where other samples within the same mini-batch are reused as negative examples for a given positive pair, eliminating the need for a separate memory bank.
Cross-Encoder
An architecture that processes a concatenated pair of inputs simultaneously through full self-attention to generate a relevance score, offering higher accuracy than a Bi-Encoder at the cost of inference speed.
Two-Tower Model
A dual-encoder architecture with separate query and candidate towers that allows the document index to be pre-computed offline, enabling fast dot-product scoring during online retrieval.
Representation Collapse
A failure mode in contrastive learning where the encoder maps all inputs to a constant or highly similar output vector, trivializing the loss function and destroying the utility of the embedding space.
Temperature Parameter
A hyperparameter in contrastive loss functions that scales the logits, controlling the concentration of the distribution and determining the penalty strength applied to hard negative samples.
Cosine Similarity
A metric measuring the cosine of the angle between two non-zero vectors, commonly used to judge semantic relatedness in normalized embedding spaces where magnitude is ignored.
Supervised Contrastive Learning
An extension of self-supervised contrastive methods that leverages explicit class labels to treat all samples from the same category as positive pairs, leading to tighter intra-class clusters.
Self-Supervised Contrastive Learning
A representation learning paradigm where the supervisory signal is generated from the data structure itself, typically by creating positive pairs through data augmentation without requiring human annotations.
SimCLR
A Simple Framework for Contrastive Learning of Visual Representations that relies on large batch sizes and strong data augmentation to define positive pairs without a memory bank or momentum encoder.
MoCo
Momentum Contrast, a framework that builds a dynamic dictionary with a queue and a slowly progressing momentum encoder to enable contrastive learning with smaller batch sizes.
Momentum Encoder
A slowly evolving copy of the main encoder network updated via exponential moving average, used in frameworks like MoCo to maintain consistent negative sample representations in the memory bank.
BYOL
Bootstrap Your Own Latent, a self-supervised architecture that trains an online network to predict the output of a target momentum network without using negative pairs, preventing collapse via a predictor MLP.
SimSiam
Simple Siamese networks that explore the hypothesis that stop-gradient operations are the critical component for preventing representation collapse in contrastive learning, rather than momentum encoders or negative pairs.
Barlow Twins
A redundancy-reduction objective that learns representations by making the cross-correlation matrix of two distorted views of a batch close to the identity matrix, decorrelating vector components.
VICReg
Variance-Invariance-Covariance Regularization, a joint embedding architecture that prevents collapse by explicitly regularizing the variance and covariance of the embeddings alongside an invariance term.
DINO
Self-DIstillation with NO labels, a framework where a student network learns to match the output of a momentum teacher network, using sharpened centering to avoid collapse in Vision Transformers.
CLIP
Contrastive Language-Image Pre-training, a model trained on a massive dataset of image-text pairs to learn a joint embedding space where matched visual and textual concepts have high cosine similarity.
Contrastive Predictive Coding
A framework that extracts shared information between high-dimensional context vectors and future latent observations using a probabilistic contrastive loss, originally designed for sequential data compression.
Negative Sampling
A computational approximation technique that updates only a small subset of negative class weights during training, replacing the full softmax with a binary classification task for efficiency.
ArcFace
Additive Angular Margin Loss, a metric learning function that adds an angular margin penalty to the target logit to enhance intra-class compactness and inter-class discrepancy for face recognition.
Debiased Contrastive Loss
A correction to standard contrastive objectives that accounts for the sampling bias introduced when unlabeled negative samples share the same latent class as the anchor, preventing repulsion of similar concepts.
Cross-Encoder Re-Ranking
Terms related to improving retrieval precision by scoring query-document pairs with full attention. Target: Search Engineers.
Cross-Encoder Re-Ranking
A neural reranking architecture that processes a query and a candidate document jointly through a full self-attention mechanism to produce a fine-grained relevance score, offering higher precision than Bi-Encoder dot-product scoring at the cost of computational latency.
Bi-Encoder
A dual-tower neural architecture that independently encodes queries and documents into dense vector representations for efficient, pre-computable similarity search, typically used as the first-stage retriever before a Cross-Encoder reranker.
Full-Attention Scoring
The mechanism within a Cross-Encoder where every token in the query attends to every token in the candidate document simultaneously, enabling rich token-level semantic interaction that captures exact match signals and lexical overlap.
Late Interaction
A retrieval paradigm, exemplified by the ColBERT model, that delays the costly query-document interaction to a final MaxSim computation step, balancing the efficiency of a Bi-Encoder with the expressiveness of token-level matching.
ColBERT
A late interaction retrieval model that encodes queries and documents into sets of contextualized token embeddings and computes relevance via a scalable MaxSim operation, enabling efficient top-k re-ranking without full cross-attention.
MaxSim
A scoring operator used in late interaction models that computes the maximum cosine similarity between each query token embedding and the most aligned document token embedding, then sums these maximums to produce a relevance score.
Cascade Ranking
A multi-stage retrieval architecture where a lightweight, high-recall model retrieves a broad candidate set, and a computationally intensive Cross-Encoder reranks only the top-k candidates to optimize the latency-relevance trade-off.
MonoBERT
A pointwise Cross-Encoder re-ranker that fine-tunes a pre-trained BERT model on passage relevance classification, using the [CLS] token representation to output a single relevance probability for a query-document pair.
DuoBERT
A pairwise Cross-Encoder re-ranker that takes a query and two candidate documents simultaneously to predict which is more relevant, typically applied as a second refinement stage after a MonoBERT pointwise scorer.
Knowledge Distillation for Re-Ranking
A compression technique where a computationally expensive teacher Cross-Encoder transfers its full-attention scoring distribution to a lightweight student Bi-Encoder, enabling the student to approximate the teacher's precision at lower latency.
Hard Negative Mining
A training data curation strategy that selects negative document samples which receive high scores from the current retriever but are irrelevant to the query, forcing the Cross-Encoder to learn fine-grained discriminative boundaries.
Contrastive Loss
A loss function that trains a re-ranker to minimize the distance between a query and a relevant document while maximizing the distance to negative samples, often implemented with in-batch negatives for computational efficiency.
Margin Ranking Loss
A pairwise loss function that penalizes the model when the score difference between a positive and a negative document falls below a specified margin, enforcing a strict separation boundary in the relevance score space.
Score Calibration
The process of adjusting the raw logit outputs of a Cross-Encoder so that the resulting scores reflect true empirical relevance probabilities, often using Platt scaling or temperature scaling to correct overconfident predictions.
Reciprocal Rank Fusion (RRF)
A rank aggregation algorithm that combines the ranked lists from multiple retrieval or re-ranking stages by computing a weighted sum of the reciprocal of each document's rank position, effectively normalizing disparate score distributions.
Learning to Rank (LTR)
A supervised machine learning paradigm that trains a model to predict an optimal ordering of documents for a query using hand-engineered features, with LambdaMART being a classic gradient-boosted tree implementation.
LambdaMART
A gradient boosted decision tree algorithm for Learning to Rank that directly optimizes a listwise ranking metric like NDCG by using the gradient of the lambda function, which encodes the cost of swapping document pairs.
NDCG (Normalized Discounted Cumulative Gain)
A standard listwise evaluation metric for re-ranking that measures the quality of a ranked list by discounting relevance gains logarithmically by position and normalizing against the ideal ranking, heavily weighting top-ranked precision.
Mean Reciprocal Rank (MRR)
An evaluation metric that averages the reciprocal of the rank position of the first relevant document across a set of queries, heavily penalizing systems that fail to place a correct answer near the top of the list.
Inference Latency Optimization
Techniques to reduce the computational time of Cross-Encoder scoring, including INT8 quantization, ONNX Runtime graph optimizations, and dynamic batching, to meet the strict latency budgets of real-time search applications.
Query-Document Pair Scoring
The fundamental operation in Cross-Encoder re-ranking where a query string and a candidate passage are concatenated into a single input sequence and passed through a transformer to generate a joint relevance representation.
Token-Level Interaction
The granular semantic matching enabled by the Cross-Encoder's self-attention mechanism, allowing the model to weigh the importance of specific term alignments and exact match signals between the query and the document.
Dense-Sparse Hybrid Re-Ranking
A re-ranking strategy that concatenates the dense semantic similarity score from a Cross-Encoder with a sparse lexical score like BM25 as input features to a final scoring model, capturing both semantic meaning and keyword precision.
Multi-Stage Retrieval Architecture
A system design pattern that chains a fast vector search index, a lightweight Bi-Encoder, and a precise Cross-Encoder sequentially, progressively narrowing the candidate set from millions to a final ranked list of ten documents.
Position Bias in Re-Ranking
A systematic error where user click feedback used to train re-rankers is confounded by the tendency of users to click on top-ranked items regardless of relevance, requiring inverse propensity scoring to debias the training data.
Diversity Re-Ranking
A post-processing step that re-orders a relevance-ranked list to maximize the variety of subtopics or facets covered, often using Maximal Marginal Relevance (MMR) to penalize documents that are too similar to those already selected.
Cross-Encoder Distillation
The specific process of training a faster Bi-Encoder student model to mimic the softmax score distribution or the margin between positive and negative pairs produced by a slower Cross-Encoder teacher, often using KL divergence loss.
Long Document Re-Ranking
Strategies for applying Cross-Encoders to documents exceeding the maximum sequence length, including sliding window scoring with max-pooling or hierarchical segment-level aggregation to produce a single document-level relevance score.
Fine-Tuning for Domain Adaptation
The process of further training a general-purpose pre-trained Cross-Encoder on a domain-specific relevance dataset to calibrate its semantic understanding to specialized jargon, entity types, and user intent patterns.
Listwise Ranking Loss
A training objective that optimizes the entire ordering of a list of documents for a query rather than individual pairs, with ListMLE and ListNet being neural implementations that directly maximize list-level metrics.
Multilingual Semantic Search
Terms related to cross-lingual embeddings and zero-shot entity linking across languages. Target: CTOs and Globalization Engineers.
Cross-Lingual Embeddings
Vector representations that map words or sentences from multiple languages into a shared semantic space, enabling direct comparison of meaning across language boundaries.
Multilingual Universal Sentence Encoder
A model that encodes text from 16+ languages into high-dimensional vectors optimized for semantic similarity, classification, and cross-lingual transfer tasks.
LaBSE (Language-Agnostic BERT Sentence Embedding)
A multilingual sentence embedding model supporting 109 languages, trained on translation ranking and masked language modeling to produce language-agnostic representations.
XLM-RoBERTa
A cross-lingual language model trained on 100 languages using masked language modeling on a massive multilingual corpus, serving as a strong baseline for multilingual NLP.
mBERT (Multilingual BERT)
A single BERT model pre-trained on the Wikipedia text of 104 languages simultaneously, enabling zero-shot cross-lingual transfer of NLP capabilities.
Zero-Shot Entity Linking
The task of grounding a textual mention to a knowledge base entry in a language the model has never explicitly seen during training, relying on cross-lingual transfer.
Cross-Lingual Transfer
The technique of applying a model trained on a high-resource source language to perform tasks in a low-resource target language without target-language fine-tuning data.
Language-Agnostic Sentence Representations
Encoded sentence vectors designed to be independent of the source language, such that semantically equivalent sentences in different languages map to identical vector regions.
Multilingual Knowledge Distillation
A compression technique where a smaller multilingual student model is trained to mimic the output distributions of a larger, more powerful teacher model across multiple languages.
Parallel Corpora
A collection of texts in two or more languages that are exact translations of each other, aligned at the sentence or document level, serving as essential training data for machine translation.
Bitext Mining
The automated process of identifying and extracting parallel sentence pairs from large, noisy, and comparable web-crawled datasets to build training corpora for translation models.
LASER (Language-Agnostic SEntence Representations)
A toolkit by Meta that provides a BiLSTM encoder and a single shared sentence representation space for over 100 languages, enabling zero-shot cross-lingual transfer.
Multilingual Masked Language Modeling
A pre-training objective where a model learns to predict randomly masked tokens in a concatenated stream of text from multiple languages, building a shared multilingual representation.
Code-Switching
The linguistic phenomenon of alternating between two or more languages within a single conversation or sentence, presenting a unique challenge for multilingual NLP models.
Transliteration
The process of converting a word from one script to another based on phonetic equivalence, such as mapping the Greek name 'ΕλÎνη' to the Latin script 'Eleni'.
Script Normalization
The pre-processing step of converting text into a canonical script form, such as converting traditional Chinese to simplified Chinese, to reduce lexical sparsity in multilingual models.
Unicode Normalization
The process of transforming Unicode text into a standard canonical form (NFC or NFD) to ensure that visually identical characters with different byte representations are treated as the same string.
Language Identification
The classification task of automatically detecting the natural language in which a given text is written, a critical pre-processing step for routing queries in multilingual search systems.
Cross-Lingual Word Embeddings
A mapping of monolingual word vector spaces into a single shared space, allowing a model to find the translation of a word by locating its nearest neighbor in the target language's embedding space.
MUSE (Multilingual Unsupervised and Supervised Embeddings)
A library by Meta for learning cross-lingual word embeddings using a Generative Adversarial Network to align monolingual spaces without parallel data.
VecMap
An open-source framework for learning cross-lingual word embedding mappings from monolingual corpora using a seed bilingual dictionary and a linear transformation.
Bilingual Lexicon Induction
The task of automatically generating a word-to-word translation dictionary by aligning independently trained monolingual embedding spaces using a small seed dictionary.
Hubness Reduction
A technique to mitigate the 'hubness' problem in high-dimensional cross-lingual spaces where some vectors become universal nearest neighbors, degrading the accuracy of bilingual lexicon induction.
Cross-Lingual Natural Language Inference (XNLI)
A benchmark corpus for evaluating cross-lingual sentence understanding, where models must determine if a hypothesis in one language is entailed by a premise in another.
Multilingual Question Answering (MLQA)
A benchmark dataset for evaluating cross-lingual question answering, where questions and answers are in English but the context passages are in one of seven target languages.
TyDi QA
A question answering benchmark covering 11 typologically diverse languages, designed to evaluate a model's ability to answer questions without relying on direct lexical overlap with the passage.
Cross-Lingual Information Retrieval (CLIR)
The task of retrieving relevant documents in a language different from the language of the user's query, a core component of multilingual search engines.
Multilingual Dense Passage Retrieval (mDPR)
A retrieval architecture that encodes queries and documents from multiple languages into a shared dense vector space, enabling efficient semantic matching across language boundaries.
Cross-Lingual Re-Ranking
A two-stage retrieval process where a fast multilingual retriever first fetches candidate documents, and a more powerful cross-encoder then scores the relevance of each query-document pair.
SentencePiece
A language-independent subword tokenizer and detokenizer implementing BPE and unigram language model algorithms, essential for processing text in languages without natural whitespace segmentation.
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