Extracting the Sample Size From Randomized Controlled Trials in Explainable Fashion Using Natural Language Processing
Open accessThe DOI matches its Crossref record; 13 of the 13 references it cites were found in a registry or an index; none of the 2 sources its claims cite is checked for support yet.
Abstract
Background: Extracting the sample size from randomized controlled trials (RCTs) remains a challenge to developing better search functionalities or automating systematic reviews. Most current approaches rely on the sample size being explicitly mentioned in the abstract. Methods: 847 RCTs from high-impact medical journals were tagged with six different entities that could indicate the sample size. A named entity recognition (NER) model was trained to extract the entities and then deployed on a test set of 150 RCTs. The entities’ performance in predicting the actual number of trial participants who were randomized was assessed and possible combinations of the entities were evaluated to create predictive models. Results: The most accurate model could make predictions for 64.7% of trials in the test set, and the resulting predictions were within 10% of the ground truth in 96.9% of cases. A less strict model could make a prediction for 96.0% of trials, and its predictions were within 10% of the ground truth in 88.2% of cases. Conclusion: Training a named entity recognition model to predict the sample size from randomized controlled trials is feasible, not only if the sample size is explicitly mentioned but also if the sample size can be calculated, e.g., by adding up the number of patients in each arm.
Overview
CoChat Summary
TL;DR
This preprint trains a named entity recognition model to extract sample-size-related entities from RCT abstracts and combine them into predictions of the number randomized. The most accurate model predicted for 64.7% of test trials, with 96.9% of those predictions within 10% of ground truth.
Key findings
- The conditional model made predictions for 64.7% of the 150-trial test set; 92.8% were within 1% and 96.9% within 10% of ground truth, with a mean absolute percentage error of 1.82%.
- The accurate entities model predicted for 96.0% of trials; 80.6% were within 1% and 88.2% within 10%, with a mean absolute percentage error of 7.9%.
- The ordered model predicted for 98.0% of trials; 78.9% were within 1% and 86.4% within 10%, with a mean absolute percentage error of 13.7%.
- Among individual entities, randomized total was extracted in 42.0% of trials and had a mean absolute percentage error of 2.4%; arms was extracted in 74.0% with a mean absolute percentage error of 11.1%; general total was extracted in 65.3% with a mean absolute percentage error of 19.0%.
Methods
- A random sample of 996 RCTs from seven major journals (British Medical Journal, JAMA, JAMA Oncology, Journal of Clinical Oncology, Lancet, Lancet Oncology, New England Journal of Medicine) published between 2010 and 2022 was labeled; abstracts were retrieved from PubMed and parsed with regular expressions.
- Six entities were tagged in each abstract: randomized total, analysis total, completion total, general total, arm, and arm event. Ground truth was the number of people randomized, retrieved from the abstract and, if uncertain, the full publication.
- 150 annotated examples were randomly assigned to an unseen test set; the remaining 846 were used to train and validate a RoBERTa-base named entity recognition model with Adam, using an 85:15 training/validation split. Entities were cleaned with regular expressions and conditional statements, then combined into ordered, accurate entities, and conditional prediction models.
Limitations
- The paper states that only trials from seven journals were used for training and testing, so the model’s ability to generalize to trials from other journals, especially those with unstructured abstracts, cannot be assessed.
- Evident from the text: the approach depends on abstracts, and predictions are made only when relevant entities are found or meet model conditions, so trials without extractable sample-size information may receive no prediction or less accurate estimates.
- Evident from the text: the abstract reports 847 RCTs tagged, while the Methods report 996 labeled RCTs and 846 used for training/validation after a 150-trial test set, an inconsistency in the reported dataset size.
Model-written summary. Check it against the paper before relying on it.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
0 Valid · 0 Not valid · 1 Not checked · 18 Own results and interpretations
A result the paper reports from its own data — it cites no other source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“On the other end of the spectrum, the ordered model was able to make a prediction on 98.0% of trials in the test set. However, these predictions were less accurate, with 78.9% being within 1% of the ground truth and 86.4% within 10%.”
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
A result the paper reports from its own data — it cites no other source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“On the other end of the spectrum, the ordered model was able to make a prediction on 98.0% of trials in the test set. However, these predictions were less accurate, with 78.9% being within 1% of the ground truth and 86.4% within 10%.”
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: unclear — It is unclear whether the paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
A result the paper reports from its own data — it cites no other source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“While the conditional model exhibited the best performance and made predictions that were within 1% of the ground truth in 92.8% of cases and within 10% in 96.9% of cases, it could only make predictions on 64.7% of all the trials in the test set due to the strict conditions regarding entities that need to be present for making predictions.”
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
A result the paper reports from its own data — it cites no other source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“While the conditional model exhibited the best performance and made predictions that were within 1% of the ground truth in 92.8% of cases and within 10% in 96.9% of cases, it could only make predictions on 64.7% of all the trials in the test set due to the strict conditions regarding entities that need to be present for making predictions.”
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
A result the paper reports from its own data — it cites no other source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“While the conditional model exhibited the best performance and made predictions that were within 1% of the ground truth in 92.8% of cases and within 10% in 96.9% of cases, it could only make predictions on 64.7% of all the trials in the test set due to the strict conditions regarding entities that need to be present for making predictions.”
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
5 more claims
Create a free account to see all 19 claims and to verify the 2 references still open.
- It may state two separate claims as one. 7
- Probably not a substantial claim. 2
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“Although used more frequently in the past, the 15 publications published between 2017 and now that use this approach alongside other architectures such as LLM, 148 Transformer, 33,37 -39,148,156,174 conditional random fields (CRF), 40,156 use it with SVM 41 or other binary classifiers.”
From Data extraction methods for systematic review (semi)automation: Update of a living systematic review (2025) · cites this paper as [174]
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
Each contradiction between two passages listed here was confirmed by an independent check.
Rated minor: it would not touch a result — a value no result rests on, a p-value that stays on the same side of the significance level, or a conflict that is clerical, resolved elsewhere in the paper, or outside its own findings.
In the paper
§ * Correspondence :
“847 RCTs from high-impact medical journals were tagged with six different entities that could indicate the sample size.”
§ Methods
“150 annotated examples were randomly assigned to an unseen test set. The remaining 846 examples were used to train and validate a named entity recognition model using a random 85:15 split into training and validation.”
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404
Adam: A Method for Stochastic Optimization
Kingma, D. P., & Ba, J. (2014) · arXiv · doi:10.48550/arxiv.1412.6980 · Cited by 98,946
RoBERTa: A Robustly Optimized BERT Pretraining Approach
Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., & Stoyanov, V. (2019) · arXiv · doi:10.48550/arxiv.1907.11692 · Cited by 16,515
SciBERT: A Pretrained Language Model for Scientific Text
Beltagy, I., Lo, K., & Cohan, A. (2019) · Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) · doi:10.18653/v1/d19-1371 · Cited by 3,218 · cited 1×
“4,5 In clinical research, randomized controlled trials (RCTs) are the gold standard for testing the effectiveness of an intervention.”
BackgroundImproving the Quality of Reporting of Randomized Controlled Trials: The CONSORT Statement
Begg, C. (1996) · JAMA · doi:10.1001/jama.1996.03540080059030 · Cited by 3,127
Deploying an interactive machine learning system in an evidence-based practice center: abstrackr
Wallace, B. C., Small, K., Brodley, C. E., Lau, J., & Trikalinos, T. A. (2012) · Proceedings of the 2nd ACM SIGHIT International Health Informatics Symposium · doi:10.1145/2110363.2110464 · Cited by 532
CONSORT for reporting randomised trials in journal and conference abstracts
Hopewell, S., Clarke, M., Moher, D., Wager, E., Middleton, P., Altman, D. G., & Schulz, K. F. (2008) · The Lancet · doi:10.1016/s0140-6736(07)61835-2 · Cited by 458 · cited 1×
“13,14 To enable readers to judge the model's performance, a sample-size filter based on the model presented herein can be tested at https://www.scantrials.com/.”
MethodThe history and fate of the gold standard
Jones, D. S., & Podolsky, S. H. (2015) · The Lancet · doi:10.1016/s0140-6736(15)60742-5 · Cited by 250
Dennstädt, F., Zink, J., Putora, P. M., Hastings, J., & Cihoric, N. (2024) · Systematic Reviews · doi:10.1186/s13643-024-02575-4 · Cited by 145
Self-citationTrialstreamer: A living, automatically updated database of clinical trial reports
Marshall, I. J., Nye, B., Kuiper, J., Noel-Storr, A., Marshall, R., Maclean, R., Soboczenski, F., Nenkova, A., Thomas, J., & Wallace, B. C. (2020) · Journal of the American Medical Informatics Association · doi:10.1093/jamia/ocaa163 · Cited by 83 · cited 1×
“5,9 This makes sense for them, as their approach is to extract the sample size if it is explicitly mentioned in the paper.”
Background
Research works printed but not linked: 1
- Reidsma D , Hofs DHW , Jovanovic N. Designing Focused and Efficient Annotation Tools. In: Measuring Behaviour, 5th International Conference on Methods and Techniques in Behavioral Research. Noldus Information Technology; 2005:149–152.
Cited by
Data extraction methods for systematic review (semi)automation: a living systematic review
Schmidt, L., Olorisade, B. K., McGuinness, L. A., Thomas, J., & Higgins, J. P. T. (2021) · F1000Research · doi:10.12688/f1000research.51117.1 · Cited by 106
Data extraction methods for systematic review (semi)automation: Update of a living systematic review
Schmidt, L., Finnerty Mutlu, A. N., Elmore, R., Olorisade, B. K., Thomas, J., & Higgins, J. P. T. (2025) · F1000Research · doi:10.12688/f1000research.51117.3 · Cited by 27
Windisch, P. Y., Dennstädt, F., Koechli, C., Schroeder, C., Aebersold, D. M., Foerster, R., & Zwahlen, D. R. (2024) · medRxiv · doi:10.1101/2024.10.23.24316005 · Cited by 3
Self-citation
Metadata
- Authors
- Windisch, P., Dennstädt, F., Koechli, C., Förster, R., Schröder, C., Aebersold, D. M., & Zwahlen, D. R.
- Affiliations
- Kantonsspital Winterthur (CH)
- University of Bern (CH)
- Corresponding author
- Windisch, Paul
- ORCID
- Venue
- medRxiv
- Publisher
- openRxiv
- Published
- 2024-07-10
- OpenAlex
- W4400491757
- Semantic Scholar
- e7d5485c95272b78ae245a0a72d52f10248d98d6
- Cited by
- 2
- References
- 11
- Citations by year
- 2025: 1 · 2024: 1
- Type
- posted content
- Language
- en
- Open access
- green
- doi.org
- Locations
- medRxiv (acceptedVersion)
- Topics
- Health Sciences › Medicine › Health Informatics › Biomedical Text Mining and Ontologies
- Social Sciences › Decision Sciences › Statistics, Probability and Uncertainty › Meta-analysis and systematic reviews
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Keywords
- randomized controlled trials, named entity recognition, explainable AI, natural language processing, systematic review automation, entity tagging, prediction model
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
A language model drew the claims from the paper on 2026-10-04, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).
A second model labelled each claim on 2026-10-04 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Extracting the Sample Size From Randomized Controlled Trials in Explainable Fashion Using Natural Language Processing. https://app.cochat.ai/papers/10.1101/2024.07.09.24310155
- The paper
- Windisch, P., Dennstädt, F., Koechli, C., Förster, R., Schröder, C., Aebersold, D. M., & Zwahlen, D. R. (2024). Extracting the Sample Size From Randomized Controlled Trials in Explainable Fashion Using Natural Language Processing. medRxiv. https://doi.org/10.1101/2024.07.09.24310155
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.