Table of contents:
Clinical development teams face a paradox: unprecedented data availability meets persistent delays in actionable insight. New sources like continuous sensors, electronic health records, high-resolution imaging and omics promise richer evidence. Yet operational friction from manual processing, site burden and data silos often negates the potential (Getz and Campo 2023). The result is a widening gap between what trials could measure and what teams can realistically collect, clean and interpret in time to inform decisions.
This article shows where AI is already reshaping trial economics and what it takes to deploy these capabilities responsibly. Each section follows a problem-first approach: the operational pain point, how AI addresses it, concrete examples across therapeutic areas and what implementation requires in practice.
Two pillars of AI transformation in clinical trials
AI is transforming clinical trials through two core pillars that directly address the gap that hinders smarter decision-making. The first pillar, patient screening and stratification, tackles the enrollment challenge: identifying the right patients at viable sites quickly, while searching for likely responders. Here, AI helps progressively optimize screening workflows to remove bottlenecks through constantly growing technological capabilities.
The second pillar, data collection with digital endpoints and safety surveillance, sustains the trial once patients are enrolled by automating endpoint derivation, reducing visit burden and generating reliable signals faster (ACRP 2025).
These efficiency gains manifest across four dimensions. Time savings come from reduced manual review and faster signal detection. Cost reductions emerge from optimized site visits and better resource utilization. Quality improvements appear as more consistent endpoints and richer longitudinal data. Scalability allows expansion across more sites without linearly increasing headcount (FDA 2023).
Types of AI technology used in clinical trials
In the patient screening domain of clinical trials, AI solutions typically cluster into three categories: rule-based screening engines, NLP-based eligibility matching and ML-based predictive enrollment. These modules are distinct system-level components used at different stages of patient recruitment.
In practice, different stakeholders mean different things when they talk about patient screening. Regulators primarily understand screening as rule-based protocol compliance, study coordinators work at the intersection of formal eligibility and information extraction from clinical records, while CTOs and Heads of Clinical Operations invest mainly in predictive models that optimize enrollment efficiency and resource allocation. Conflating these perspectives is a common reason why AI for screening initiatives fail to scale.
As a result, the solution becomes a black box from a regulatory perspective, insufficiently practical for study coordinators and ineffective at the portfolio level for clinical operations. Instead of clearly serving one decision context, it underperforms across all three. This article examines AI-driven screening and stratification from a platform and systems perspective, showing how distinct decision layers can be composed and orchestrated across the full patient recruitment lifecycle.
| Layer | Screening in terms of | Decision type |
|---|---|---|
| Rule-based | protocol compliance | yes / no |
| Natural language processing (NLP) | information extraction | fact / no fact detecte |
| Machine learning (ML) | operations | prediction |
Rule-based screening engines
A rule-based screening engine is an automated execution engine that applies explicitly coded inclusion/exclusion rules to patient data to flag eligible or ineligible candidates. In practice, it works like a clinical decision-support rule engine: for each patient, it evaluates predefined equation (e.g., if-then rules or decision trees) against demographic, lab and diagnosis data.
Rule-based screening engines were originally created to automate manual eligibility checks, encoding protocol criteria as Boolean filters. For example, an engine might exclude any patient over 65 or with creatinine above a threshold via hard-coded rules. The goal was to reduce coordinators’ workload by automatically filtering out obviously ineligible patients (Muhammad and Abdul 2024).
Data dependencies in rule-based search engines
Rule-based screening relies almost entirely on structured clinical data (demographics, laboratory values, coded diagnoses, medications, vitals, etc.). The logic is typically based on static fields (a snapshot of the patient record) rather than continuous streams. It rarely uses free text; any unstructured notes are generally not processed by pure rule engines.
These rules are based on clinical attributes (so “clinical” data) and often some operational metadata (trial registry criteria). In real platforms, the source data is normally the Electronic Health Record (EHR)/Clinical Information Systems (CIS) (via a data warehouse or Fast Healthcare Interoperability Resources feed), lab systems and claims or clinical data management systems (CDMS) that contain coded diagnoses, procedures, meds and lab results.
Implementation requires a robust rule engine or filter pipeline. Core logic is typically implemented as if-then conditions or decision trees, often using a clinical rules engine (e.g., Drools or custom code) or even database triggers. Supporting components include data normalization (mapping local codes to standard terminologies like RxNorm or SNOMED), a lookup service for code sets, and temporal logic modules if criteria involve time (e.g., “no prior therapy in last 6 months”). When needed, a simple temporal reasoning layer is added (e.g., to check criteria like “no cancer diagnosis in the last year”).
A typical architecture consists of an upstream data ingestion layer (an extract, transform, load [ETL] process that structures raw EHR data), feeding into the rule engine which then outputs “eligible/ineligible” flags. Many systems use a pipeline or message bus to orchestrate these checks in real time or batch (e.g., patient admissions feed into the rule engine, results go to a screening dashboard). For instance, some implementations pre-process EHR encounters by normalizing data and then apply logical constraint filters (LCFs) for exclusion.
Rule engines are deterministic: given the same data and rule set, they always make the same decision (yes/no on each criterion) with explainable logic. They can reliably enforce straightforward criteria (e.g., age ≥65, lab thresholds, specific diagnosis codes). However, they can’t handle ambiguous or narrative criteria at all; they simply ignore unmodeled conditions. In practice, they won’t predict or guess; they only filter. A common misconception is that “more rules equals better match,” but in reality, rigid rules can’t capture semantic nuance or synonyms. For example, a rule engine can deterministically exclude patients based on a coded diagnosis, but it can’t infer eligibility from messy notes.
Unlike ML or NLP systems, rule engines have no probabilistic component. They cannot resolve language ambiguity, adapt to new terminology or handle missing data. Indeed, studies have found that rule-based filters often miss important exclusions (e.g., prior participation or historical diagnoses) because the rules lack context or temporal nuance (Muhammad and Abdul 2024). In summary, rule engines perform well on clearly defined, structured criteria but fail when criteria are incomplete, unstructured or inherently fuzzy.
Regulatory and operational implications
Rule-based modules must be treated like clinical decision-support software. Because logic is explicitly coded, it must follow GxP-compliant change control and be fully version-audited (compliance with 21CFR Part 11 often applies here). Each rule should be traceable to a protocol document. Explainability is high (you can show the exact rule that fired), which eases audit expectations.
Still, all decisions must be logged so that a human can later verify eligibility determinations. Under the Food and Drug Administration (FDA) guidance, if the output influences patient management, it may fall under clinical decision support regulations (though simple rule filters are usually considered low-risk).
Typically, these engines require validation (unit tests for each rule) and documentation of acceptance criteria. During audits, failures often arise from undocumented rule changes, missing requirements traceability or lack of logging. Operationally, these engines are relatively easy to validate but require continuous maintenance of rule sets as protocols change, which is a common scalability challenge.
CTO insight into rule-based search engines
Rule-based screening is appropriate when eligibility criteria are simple, stable and well-structured (e.g., straightforward lab cutoffs or demographics). It becomes a liability if protocols change frequently or involve complex logic (making the rule set unmaintainable). At scale, rule engines must be paired with robust data normalization and human oversight to check edge cases. In practice, they work best as “a first-pass filter” combined with more flexible methods (like NLP) so that you can use rules to eliminate obvious non-matches and reserve advanced techniques for borderline cases.
Teams often overpromise rule-based screening as a “fully automated solution.” In reality, rule systems only catch what is explicitly encoded. A typical mistake is over-loading them with ever-changing or nuanced criteria; this leads to rule conflicts and brittle logic.
Another mistake is poor architecture: for example, embedding ad-hoc rules in code without a proper rule engine makes maintenance impossible at scale. Additionally, scaling up a rule set for many trials can lead to exponential growth of rules and exceptions, which quickly becomes unmanageable beyond a proof of concept. When deployed at scale, many organizations discover that data heterogeneity (different EHR fields across sites) breaks rules unexpectedly.
In short, a rule engine without accompanying data-mapping, monitoring and fallback processes often fails outside ideal conditions. A common pitfall is neglecting to update rules when trial amendments occur, causing systematic exclusion errors.
NLP-based eligibility matching
NLP-based eligibility matching is an analytics layer that automatically parses unstructured text (clinical notes, trial protocols) to match patients with trial criteria. It uses NLP engines (tokenizers, named-entity recognition, text classifiers or transformer models) to interpret free text from both patient records and trial descriptions.
Unlike rule engines, NLP matchers address the problem of free-text inclusion/exclusion criteria: they were created to reduce manual chart review by transforming written criteria into machine-readable logic. For example, an NLP system might extract “Stage IV lung cancer” from a physician’s note or break down a trial’s protocol narrative into semantic criteria (Lee et al. 2024). It essentially builds a computable eligibility profile by leveraging linguistic analysis.
Data dependencies in NLP-based eligibility matching
NLP matchers depend heavily on unstructured clinical and protocol text. Key inputs include EHR notes (progress notes, discharge summaries, pathology reports) and trial eligibility text (protocols or registry entries). They also use structured clinical data (International Classification of Diseases codes, lab values) as auxiliary input, but the primary value is in free text. This is a mix of static (patient history at screening time) and longitudinal data (e.g., “history of X” may require scanning prior notes).
Thus, the pipeline must access the patient’s entire narrative record, not just a snapshot. The information includes clinical data (diagnoses, symptoms, test results) and metadata from trial registries (structured repository and free-text descriptions). In practice, data comes from the EHR text repository and a clinical trials database (often ClinicalTrials.gov feeds or sponsor protocols). Valuable outcomes may be achieved by complementing data sources, where NLP pipelines extract both patient attributes and protocol terms from EHRs and ClinicalTrials.gov to construct matching vectors (Yue et al. 2024).
An NLP system typically consists of a text-processing pipeline. Core algorithms include tokenization, part-of-speech tagging, named-entity recognition (NER) and semantic parsing. Many systems incorporate ontologies (UMLS, SNOMED) to normalize terms. For example, hospital notes are first broken into tokens and recognized medical entities (conditions, lab tests, medications) using an NLP library or framework (spaCy, Apache cTAKES or a custom library). Extracted terms are then mapped to standard vocabularies (e.g., mapped to RxNorm or an internal MED dictionary for labs) (Lee et al. 2024).
NLP systems also include trial text processors – often, a separate module converts trial inclusion/exclusion sentences into structured conditions (using rule-based segmentation or even deep learning). Supporting components include temporal reasoners (to handle “history of” vs. “current”), negation detectors (NegEx, etc.) and similarity metrics (to match patient concepts to trial concepts).
Architecturally, this is often implemented as a series of microservices or modules: an ETL job collects raw text, an NLP engine extracts attributes, a matching engine compares patient vs. trial vectors, and a recommendation API outputs scores. Common patterns include dataflow pipelines (e.g., Kafka streams, Airflow Directed Acyclic Graphs) that coordinate EHR data ingestion, NLP annotation and result storage. For example, one approach represents each patient as vectors of extracted terms and each trial as a vector from protocol criteria, then computes similarity between them.
NLP matchers have mixed deterministic and probabilistic behavior. Deterministically, they can extract explicit mentions (e.g., find “diabetes mellitus” in text). Probabilistically, they enable fuzzy matching by ranking the relevance of trial criteria to patient data (often via similarity scores). They can reliably parse well-written, well-annotated text, but cannot guarantee 100% accuracy.
Unlike rule engines, NLP often operates in a “suggestion” mode: it highlights potential eligibility but usually requires human review. For instance, NLP can catch nuanced criteria that rules miss (like text saying “active smoker” vs. a code). However, it might also introduce false positives. A study showed that simple bag-of-words NLP triggered many spurious matches when similar terms appeared (Yue et al. 2024).
A common misconception is that NLP systems alone can replace coordinators; in reality, they act as assistants. The explainability is lower than rule engines (an NLP model might output a score without clear logic). In summary, NLP can greatly improve screening throughput by reading free text (Muhammad and Abdul 2024), but it can’t deterministically resolve all eligibility nuances. Its accuracy depends on training data and ontology coverage, and it typically requires human oversight for final eligibility decisions.
Regulatory and operational implications
NLP systems must be validated and explainable enough for clinical use. Under GxP and the EU AI Act, they are usually considered higher risk than simple filters because they involve machine learning. Explainability is a key concern: systems should log which phrases or terms drove a match so that coordinators can audit the output. The FDA’s clinical decision-support guidance suggests that highly automated tools need clear clinical evidence and traceability.
Operationally, teams should maintain model documentation (version, training data) and allow human override. Auditors often look for evidence of dataset quality and bias mitigation. In practice, NLP modules are treated like other AI tools in pharma: they need a development report, performance metrics on validation sets and processes for monitoring drift. For example, explainable AI techniques or confidence thresholds are often implemented so that low-confidence matches are flagged for manual review.
CTO insight into NLP-based eligibility matching
NLP-based matching is appropriate when eligibility criteria are complex and text-heavy (for example, when trials have narrative requirements or when patient data is mainly unstructured). It becomes a liability if used without proper training data or when treaters rely on it without cross-checks. At scale, NLP must be combined with structured data filtering and human review (for instance, pairing NLP output with rule-based pre-filters and a clinician in the loop). In a mature platform, NLP engines should feed into broader data models (e.g., feeding results into predictive analytics) rather than operate standalone.
A frequent overpromise is that NLP can solve recruitment by itself. In reality, incomplete or poor-quality text data (scanned forms, shorthand) can derail these systems. One limitation is that clinical notes are highly variable; missing or inconsistent data (e.g., “history of asthma” vs. “Hx: asthma”) cause noise. Indeed, studies have reported that missing EHR fields and simplistic NLP approaches lead to missed or incorrect eligibility calls (Muhammad and Abdul 2024).
Another mistake is underestimating ontology gaps: if the NLP pipeline lacks certain medical terms or synonyms, it will fail to match. Teams also err by not integrating domain knowledge (for example, ignoring protocol amendments or changes in medical terminology). When scaled, NLP models can drift if underlying population or language use changes (e.g., new diagnoses emerge).
Architecturally, a common pitfall is coupling NLP too tightly to a single data source; a robust system should aggregate multiple input streams (notes, labs, prior claims) to minimize gaps. In short, NLP-based matching requires ongoing curation and cannot be treated as a “set-and-forget” tool.
ML-based predictive enrollment
ML-based predictive enrollment is a forecasting/prediction layer that uses historical data to predict how quickly a trial will recruit or whether it will meet its targets. It’s not an execution engine but an analytics service.
The original problem was uncertainty in trial planning: sponsors often underestimate time to recruit, causing delays. ML models (regression, time-series or deep learning) were introduced to forecast enrollment rates and to identify factors that influence recruitment performance. For example, such a model might predict “This trial will enroll 80% of its target by month six” based on patterns learned from past trials. In essence, it applies statistical and ML algorithms to operational trial data, rather than patient eligibility.
Data dependencies in ML-based predictive enrollment
Predictive enrollment relies on structured historical trial and site data. Key inputs include past trial enrollment curves, site performance metrics, patient demographics, disease prevalence and clinical availability indicators. The data is longitudinal (enrollment over time) and operational in nature (site start-up dates, screen failure rates). Predictive enrollment can also incorporate external real-world data (e.g., EHR-derived disease incidence in the intended population). Crucially, patient-level EHR data is typically not the focus here. Instead, summary or aggregate features drive the model. In practice, this data comes from clinical trial management systems (CTMS), feasibility databases and claims or registry analytics.
The core of predictive enrollment is a machine-learning pipeline. Algorithms might include gradient-boosted trees, deep & cross networks or even large language models for text features. For example, one study shows an approach that uses a deep & cross neural net with text features from eligibility criteria to forecast enrollment success (Yue et al. 2024). Supporting components include feature engineering (e.g., converting trial protocols into numeric features), cross-validation frameworks and model monitoring.
A typical architecture follows a standard ML workflow: data ingestion from past trials and external sources, feature extraction (demographics, historical rates, etc.), model training and validation (often on a GPU cluster) and a prediction API. It often runs as batch or streaming analytics (e.g., updated whenever new site or enrollment data arrives) and shares outputs to planning dashboards or feasibility tools.
Such models are inherently probabilistic. They can estimate expected enrollment speed or completion probability, but never deterministically guarantee outcomes. In practice, they can highlight potential bottlenecks or flag trials at risk of slow accrual. For example, they can identify that “trials in indication X historically reach 50% enrollment twice as fast as trials in indication Y.” However, they can’t handle edge cases not seen in training data.
A key limitation is data quality: clinical trial databases are often noisy or biased. Deterministically, ML can compute simple statistics (like mean accrual rates), but advanced models only give probabilistic confidence intervals. Common misconceptions include expecting these models to eliminate risk; instead, they assist planners by quantifying uncertainty. In short, predictive enrollment adds analytic insight to planning but can’t substitute for domain judgment. The models must be constantly retrained as new trial outcomes come in.
Regulatory and operational implications
Predictive models used in planning are generally considered lower risk from a regulatory standpoint since they do not directly affect patient care. However, they should still follow good machine learning practices, such as versioning code, keeping documentation of training data and performance and validating held-out trials. Since they guide business decisions, audit trails (e.g., storing the inputs and outputs of each prediction) are recommended for compliance.
If used to adjust study designs (like deciding to open extra sites), ML models might attract scrutiny under GxP as part of risk management. Transparency is important, and non-technical stakeholders should understand model limitations. Operationally, a failure mode is overfitted to past trials: models must be periodically re-evaluated to ensure they remain predictive in changing landscapes (e.g., when a new patient referral channel emerges).
CTO insight into ML-based predictive enrollment
Predictive enrollment models are appropriate for high-level planning when ample historical data exists. They become liabilities when forced beyond their data (e.g., predicting novel indications with no precedent). At scale, these models must be combined with human expertise and integrated into CTMS. Effective use requires feeding the model with high-quality, updated data (e.g., actual accruals) and using its forecasts as one input among many in trial design and risk mitigation.
A common mistake is treating predictive enrollment as a crystal ball. Teams might overtrain models on small datasets or ignore external factors (e.g., seasonal disease incidence). If the underlying data is poor or non-representative, predictions will be misleading. As one study notes, incomplete or noisy data severely hinders enrollment forecasting (Yue et al. 2024).
Another misuse is running the model once and never updating it. Without retraining, the model will quickly become stale as medical practices or patient behavior change. Architecturally, a common error is siloing this module: in reality, it should integrate with feasibility tools and be fed by real-time recruitment metrics. Finally, some assume these models can replace feasibility analysis; in truth, they should complement (not replace) epidemiological and site-selection studies. When scaled poorly, a prediction model can give a false sense of security and lead to protocol design flaws.
Effective AI transformation starts with high-quality data
Depending on the solution you choose, AI can help you enhance different elements of the clinical trial lifecycle – from automating eligibility checks and matching to predictive enrollment. However, each of the technologies discussed in this article requires high-quality, up-to-date data to perform well.
Rule-based engines, NLP eligibility matching pipelines and predictive enrollment models support different decision contexts within patient screening and enrollment. Understanding the strengths and limitations of these solutions enables you to streamline data processing at different levels like protocol compliance and operations. By using AI technologies to strategically complement and support human expertise, you can achieve higher clinical trial efficiency and improve decision-making processes.
In the next part of this article, we’ll examine how life science companies apply AI methods like NLP, sensor and ML solutions, imaging, omics and multimodal approaches to speed up patient stratification and improve safety surveillance.
FAQ
How does a rule-based screening engine work?
A rule-based screening engine flags eligible or ineligible candidates by evaluating explicitly coded inclusion/exclusion rules against patient data.
What kind of data is used in NLP-based eligibility matching?
NLP-based eligibility matching uses unstructured clinical and protocol text from EHR notes as well as trial protocols and registry entries.
What are some of the algorithms applied in ML-based predictive enrollment?
Common algorithms used in ML-based predictive enrollment include gradient-boosted trees, deep & cross networks and LLMs for text features.
Sources
Getz K., Campo R. Trial enrollment timelines and operational complexity in clinical research. Clinical Researcher. Jul 2023;37(4):22-28.
Association of Clinical Research Professionals. Unlocking the power of digital biomarkers in clinical trials. ACRP. Aug 2025. URL: https://acrpnet.org/2025/08/19/unlocking-the-power-of-digital-biomarkers-in-clinical-trials
US Food and Drug Administration. Digital Health Technologies for Remote Data Acquisition in Clinical Investigations: Guidance for Industry. FDA. Dec 2023. URL: https://www.fda.gov/media/155022/download
Muhammad T. S., Abdul R. Systematic Literature Review on Clinical Trial Eligibility Matching. arXiv, Mar 2025 arXiv:2503.00863 doi: 10.48550/arXiv.2503.00863 URL: https://arxiv.org/pdf/2503.00863
Lee K., Liu Z., Mai Y., Jun T., Ma M., Wang T., Ai L., Calay E., Oh W., Stolovitzky G., Schadt E., Wang X. Optimizing Clinical Trial Eligibility Design Using Natural Language Processing Models and Real-World Data: Algorithm Development and Validation. JMIR AI. 2024 Jul 29;3:e50800. doi: 10.2196/50800. PMID: 39073872; PMCID: PMC11319878. URL: https://ai.jmir.org/2024/1/e50800
Yue L., Xing S., Chen J., Fu T. TrialEnroll: Predicting Clinical Trial Enrollment Success with Deep & Cross Network and Large Language Models. arXiv [Preprint]. 2024 Jul 18: arXiv:2407.13115. URL: https://arxiv.org/pdf/2407.13115
Kreimeyer K., Foster M., Pandey A., et al. Natural language processing systems for capturing and standardizing unstructured clinical information: a systematic review. J Biomed Inform. Sep 2017;73:14-29. doi: 10.1016/j.jbi.2017.07.012. URL : https://pubmed.ncbi.nlm.nih.gov/28729030/
Battelino T., Danne T., Bergenstal R.M., et al. Clinical targets for continuous glucose monitoring data interpretation: recommendations from the international consensus on time in range. Diabetes Care. Aug 2019;42(8):1593-1603. doi: 10.2337/dci19-0028. URL : https://pubmed.ncbi.nlm.nih.gov/31177185/
Bot B.M., Suver C., Neto E.C., et al. The mPower study, Parkinson disease mobile data collected using ResearchKit. Sci Data. Mar 2016;3:160011. doi: 10.1038/sdata.2016.11. URL: https://www.nature.com/articles/sdata201611
Ouyang D., He B., Ghorbani A., et al. Video-based AI for beat-to-beat assessment of cardiac function. Nature. Mar 2020;580(7802):252-256. doi: 10.1038/s41586-020-2145-8. URL : https://pubmed.ncbi.nlm.nih.gov/32269341/
Gillies R.J., Kinahan P.E., Hricak H. Radiomics: images are more than pictures, they are data. Radiology. Feb 2016;278(2):563-577. doi: 10.1148/radiol.2015151169. URL : https://pubmed.ncbi.nlm.nih.gov/26579733/
Geyer P.E., Holdt L.M., Teupser D., Mann M. Revisiting biomarker discovery by plasma proteomics. Mol Syst Biol. Sep 2017;13(9):942. doi: 10.15252/msb.20156297. URL: https://pubmed.ncbi.nlm.nih.gov/28951502/
About the authorBaris Ersezer
Technical Program Director, Data & AI, Novartis
With decades of experience in digital transformation and innovation, Baris Ersezer, Program Director, Data & AI, Clinical Innovation – Novartis drives AI/ML and digital health technologies in clinical development, advancing biomarkers, digital endpoints and patient screening to deliver scalable, real-world impact. His leadership spans global organizations like Merck and Johnson & Johnson, as well as entrepreneurial ventures, including his role as Founder & CTO of Denodia, a digital innovation company.
About the authorDamian Adamczyk
Biotechnology Consulting Manager
With 10+ years of experience in R&D and three years in business development, startup growth, business analysis, and innovation management, Damian has played a key role in successfully bringing new life science products to market. Currently, he is deeply committed to enhancing the life sciences by adopting AI, data intelligence, and workflow orchestration.

















