Active learning is a semi-supervised training strategy where the learning algorithm iteratively identifies the data points it is most uncertain about and requests their labels from a human annotator. Unlike passive learning, which trains on a randomly sampled, pre-labeled dataset, active learning prioritizes the annotation of high-value instances—those near the decision boundary or with low prediction confidence—to achieve higher accuracy with significantly fewer labeled examples.
Glossary
Active Learning

What is Active Learning?
A machine learning paradigm where the algorithm strategically selects the most informative unlabeled data points and queries a human oracle for their labels, maximizing model performance while minimizing annotation cost.
In pharmacovigilance signal extraction, active learning optimizes the curation of training corpora for adverse event mention detection. The model queries a domain expert to label ambiguous clinical text spans where it cannot confidently distinguish between a true adverse reaction and a negated finding or a pre-existing condition. This human-in-the-loop feedback loop directly addresses concept drift and ensures the resulting extraction model generalizes robustly to the long tail of rare drug-event combinations found in FAERS and EudraVigilance narratives.
Core Query Strategies
A machine learning training strategy where the algorithm iteratively queries a human oracle to label only the most informative or uncertain data points, optimizing annotation efficiency for building pharmacovigilance extraction models.
Uncertainty Sampling
The most common active learning strategy where the model identifies instances it is least confident about for human review.
- Least Confidence: Queries the instance with the lowest predicted probability for its most likely class.
- Margin Sampling: Queries the instance where the difference between the top two predicted probabilities is smallest, indicating class ambiguity.
- Entropy Sampling: Queries the instance with the highest entropy across all possible class predictions, maximizing information gain.
In pharmacovigilance, this efficiently targets ambiguous adverse event mentions where the model cannot distinguish between a drug causing a symptom versus the underlying disease.
Query-by-Committee (QBC)
A strategy that maintains an ensemble of distinct models trained on the same labeled data. The algorithm queries instances where the committee of models disagrees most.
- Measures disagreement using vote entropy or Kullback-Leibler divergence.
- Effective for identifying edge cases in Individual Case Safety Reports where different model architectures interpret clinical narratives differently.
- Reduces annotator bias by presenting genuinely ambiguous cases rather than random samples.
This approach is particularly valuable when building extraction models for rare adverse drug reactions where consensus among models is inherently low.
Diversity Sampling
A batch-mode strategy that selects a set of unlabeled instances that are both informative and representative of the underlying data distribution.
- Prevents redundant queries by ensuring selected samples are not clustered in the same region of feature space.
- Uses cosine similarity or determinantal point processes to enforce diversity.
- Critical for pharmacovigilance corpora where clinical notes contain repetitive templated language.
Without diversity constraints, uncertainty sampling may query 50 nearly identical seriousness criteria descriptions, wasting annotator effort.
Cold-Start Strategies
Techniques for initiating active learning when zero labeled data exists and the model cannot yet compute uncertainty.
- Random Sampling: Initial seed set selected purely at random to establish baseline labels.
- Clustering-Based: Unlabeled data is clustered, and a representative sample from each cluster is queried to ensure coverage.
- Domain-Rule Initialization: Weak labelers or regular expressions pre-label obvious cases, allowing the model to bootstrap from high-confidence examples.
In pharmacovigilance, leveraging MedDRA dictionaries and existing Standardised MedDRA Queries provides a strong cold-start signal before human annotation begins.
Stopping Criteria
The defined conditions under which the active learning loop terminates, balancing annotation cost against model performance.
- Performance Plateau: Training stops when F1-score improvements fall below a threshold (e.g., < 0.5%) over consecutive iterations.
- Budget Exhaustion: A hard limit on the number of labeled instances or annotation hours.
- Inter-Annotator Agreement Threshold: Stops when the model's predictions achieve sufficient agreement with human annotators, measured by Cohen's Kappa.
For FAERS extraction models, stopping criteria are often tied to achieving parity with existing rule-based systems before deployment.
Human-in-the-Loop Integration
The operational framework connecting the active learning algorithm to the annotation workflow and review interface.
- Queried instances are surfaced in a dedicated Human-in-the-Loop Review Interface designed for clinical reviewers.
- Annotations are captured with metadata: annotator ID, timestamp, and confidence.
- Inter-Annotator Agreement is continuously monitored to detect reviewer fatigue or drift.
- Resolved labels are immediately fed back into the training set, triggering model retraining.
This closed-loop architecture ensures that pharmacovigilance models continuously improve from expert causality assessment decisions.
Frequently Asked Questions
Concise answers to the most common technical and strategic questions about applying active learning to pharmacovigilance signal extraction workflows.
Active learning is a machine learning training paradigm where the algorithm itself selects the most informative unlabeled data points and queries a human oracle (annotator) to label them, rather than passively learning from a randomly selected, pre-labeled dataset. The process works iteratively: a model is initially trained on a small, labeled seed set. It then evaluates a large pool of unlabeled data, using a query strategy to identify instances where its prediction is most uncertain or where the data point would most improve the model's decision boundary. These selected instances are sent for human annotation, added to the training set, and the model retrains. This loop continues until a stopping criterion—such as a target performance metric or annotation budget exhaustion—is met, dramatically reducing the total labeling cost required to achieve a high-performance model.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

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

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Active learning is a sampling strategy, not an isolated technique. Its effectiveness depends on the interplay between the querying algorithm, the oracle interface, and the underlying model architecture. The following concepts define the operational landscape for active learning in pharmacovigilance.
Uncertainty Sampling
The most common query strategy where the model requests labels for instances it is least confident about. In pharmacovigilance NLP, this targets ambiguous adverse event mentions where the model's predicted probability for a class is closest to the decision boundary. Variants include:
- Least Confidence: Selects the instance with the lowest maximum predicted probability.
- Margin Sampling: Selects the instance with the smallest difference between the top two predicted probabilities.
- Entropy Sampling: Selects the instance with the highest information entropy across all possible class labels.
Query-by-Committee (QBC)
A strategy that maintains an ensemble of models trained on the same labeled data but with different initializations or hyperparameters. The algorithm selects instances where the committee disagrees most, measured by vote entropy or Kullback-Leibler divergence. This is particularly effective for identifying rare adverse event mentions where a single model might be overconfident in a spurious pattern.
Human Oracle Interface
The software layer through which a domain expert—such as a drug safety officer—reviews and labels queried instances. Effective interfaces display the original clinical context, highlight the ambiguous span, and often show the model's top-k predictions with confidence scores. Latency in this feedback loop is a critical bottleneck; optimized interfaces can reduce annotation time by 40-60% compared to raw text review.
Cold Start Problem
The initial phase where the model has zero labeled data and cannot compute uncertainty. Strategies to bootstrap include:
- Random Sampling: Selecting a statistically representative seed set.
- Clustering-Based Sampling: Using unsupervised embeddings to select diverse, representative instances.
- Domain Rule-Based Seeding: Using deterministic patterns to find high-yield examples, such as known adverse event keywords.
Diversity Sampling
A complementary approach that prevents the selection of redundant, similarly uncertain instances. By incorporating a diversity constraint, the algorithm ensures the batch of queried instances covers a broad region of the feature space. Common techniques include k-means clustering on model embeddings or determinantal point processes (DPP) to maximize the representativeness of each annotation batch.
Inter-Annotator Agreement (IAA)
A statistical measure of consensus among multiple human oracles, typically calculated using Cohen's Kappa or Krippendorff's Alpha. In active learning loops, low IAA on queried instances signals genuine ambiguity in the annotation guidelines, not model failure. Tracking IAA drift over time helps detect concept drift in how adverse events are defined and reported.

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