Parsing Clinical Trial Eligibility Criteria for Cohort Query by a Multi-Input Multi-Output Sequence Labeling Model

Shubo Tian, Pengfei Yin, Hansi Zhang, Arslan Erdengasileng, Jiang Bian, Zhe He

Abstract

To enable electronic screening of eligible patients for clinical trials, free-text clinical trial eligibility criteria should be translated to a computable format. Natural language processing (NLP) techniques have the potential to automate this process. In this study, we explored a supervised multi-input multi-output (MIMO) sequence labeling model to parse eligibility criteria into combinations of fact and condition tuples. Our experiments on a small manually annotated training dataset showed that the performance of the MIMO framework with a BERT-based encoder using all the input sequences achieved an overall lenient-level AUROC of 0.61. Although the performance is suboptimal, representing eligibility criteria into logical and semantically clear tuples can potentially make subsequent translation of these tuples into database queries more reliable.

Introduction

Clinical trials are the gold standard for medical research, yet they face a significant logistical hurdle: identifying eligible patients. Recruitment is often slow and expensive, leading to delayed or even terminated trials. While Electronic Health Records (EHRs) contain the necessary data for screening, eligibility criteria are typically written in unstructured natural language. This text is often saturated with semantic ambiguity, negations, and complex temporal constraints (e.g., "must have taken X for at least 6 months"), making automated matching a significant challenge.

Existing solutions are often either too rigid, such as rule-based systems, or require massive amounts of annotated data. This paper explores a robust parser designed to handle multiple extraction tasks simultaneously, even when working with a limited labeled dataset.

Methodology

The researchers employed a Multi-Input Multi-Output (MIMO) sequence labeling framework. This architecture is designed to handle the complexity of medical text by processing it through multiple parallel "lenses."

Multi-Input Module

The model integrates four distinct sequences to capture linguistic and semantic features:

  • Pre-trained word embeddings.
  • Part-of-Speech (POS) tags to identify grammatical structure.
  • Pre-trained language model outputs (BERT) for contextual representation.
  • CAP tags: A specialized layer identifying Concepts, Attributes, and Phrases (e.g., identifying "donepezil" as a drug).

Multi-Output Module and Tuple Structure

Instead of a single label per word, the model predicts multiple tag sequences to build structured "tuples." These tuples represent:

  • Facts: The core requirement (e.g., "Patient takes Drug X").
  • Conditions: The constraints under which the fact is true (e.g., "for 3 months").

Each tuple is decomposed into five components: Subject, Subject Attribute, Predicate, Object, and Object Attribute.

Example of the MIMO sequence labeling approach for a clinical trial criterion.

Datasets and Annotation

The study focused on Alzheimer’s Disease (AD) trials, sourcing 13 Phase III and IV trials from ClinicalTrials.gov. Due to the labor-intensive nature of manual annotation, the authors used 8 trials for training and 5 for testing. To generate the "CAP" tags, they utilized a RoBERTa model fine-tuned on the Chia dataset (1,000 trials) and the MIMIC-III clinical database.

Distribution of tuples and components across training and test datasets.

Results and Discussion

The model was evaluated using F1 scores at both strict (exact match) and lenient (partial overlap) levels.

  • Overall Performance: At the lenient level, the model achieved an F1 score of 0.61 for entire tuples.
  • Component Recognition: The model performed well at identifying individual components. For "Fact" components, it achieved a lenient F1 of 0.81.
  • Fact vs. Condition Gap: There was a clear performance disparity. Fact tuples reached a lenient F1 of 0.75, while condition tuples only reached 0.41, reflecting the higher linguistic complexity of conditions.
  • Precision vs. Recall: The model generally showed higher recall than precision, indicating a tendency to "over-extract" potential criteria.

The MIMO approach is strategically advantageous because it performs named-entity recognition, relationship extraction, and negation detection in a single pass, rather than as a pipeline of separate, error-prone steps.

Conclusion

The primary limitation of this study is the small sample size; training a deep learning model on only 8 trials is a significant challenge. However, the results demonstrate that representing eligibility criteria as structured tuples provides a promising middle ground between raw text and computable database queries. Future work will focus on scaling the annotated dataset and integrating this parser with EHR systems to evaluate its performance in real-world patient cohort identification.

Summary updated

BibTeX
@inproceedings{tian2023parsing,
  author = {Shubo Tian and Pengfei Yin and Hansi Zhang and Arslan Erdengasileng and Jiang Bian and Zhe He},
  title = {{Parsing Clinical Trial Eligibility Criteria for Cohort Query by a Multi-Input Multi-Output Sequence Labeling Model}},
  booktitle = {BIBM},
  year = {2023},
  doi = {10.1109/bibm58861.2023.10385876},
}
Figure