---
title: "Biomedical language models outperform prompted GPT-5.2 for automated outcome classification in systematic reviews"
authors: ["Shiyin Li", "Han Han", "Fahad M. Al Amer", "Mengli Xiao", "Chong Wu", "Lifeng Lin"]
date: "2026-12-03"
version: "v1"
address: "https://iraven.io/papers/biomedical-language-models-outperform-pdig-0001872"
source: "https://doi.org/10.1371/journal.pdig.0001872"
venue: "PLOS Digital Health"
licence: "Creative Commons Attribution 4.0 International"
licence_url: "https://creativecommons.org/licenses/by/4.0/"
---

## 1\. Introduction

Systematic reviews and meta-analyses are fundamental tools in evidence-based medicine, synthesizing results from multiple clinical trials to inform clinical practice and policy decisions \[1\]. A key step in conducting these analyses is classifying trial outcomes into standardized categories, which enables meaningful comparisons across studies and supports appropriate statistical synthesis. Accurate outcome classification is critical for assessing bias in the RoB 2 framework \[2\] and plays a central role in modeling between-study heterogeneity, which allows researchers to incorporate empirical information across multiple meta-analyses. Seminal work by Turner et al. \[3\] analyzed over 14,000 meta-analyses from the Cochrane Database of Systematic Reviews (CDSR) and showed that the magnitude and distribution of heterogeneity vary systematically by outcome type in binary data. Their findings showed that subjective outcomes (e.g., pain) exhibit consistently higher between-study heterogeneity compared to semi-objective (e.g., obstetric outcomes; cause-specific mortality) measures and objective outcomes like all-cause mortality, consistent with empirical findings that subjective measures are more susceptible to bias in outcome measurement (including lack of blinding of outcome assessment) \[4\]. Subsequent research has refined these distributions and shown that these patterns also extend to continuous outcomes \[5,6\], and demonstrated the substantial impact of heterogeneity on prediction intervals in Cochrane meta-analyses \[7\]. These outcome-specific heterogeneity distributions are essential for constructing informative priors in Bayesian meta-analysis, allowing researchers to benefit from external empirical evidence when study counts are low, given that the median number of studies in Cochrane meta-analyses is typically small \[8\]. This study does not conduct a new systematic review or meta-analysis but instead analyzes outcome data extracted from existing reviews.

To use the priors derived by Turner et al. and Rhodes et al. effectively \[3,5\], a new meta-analysis must first reliably classify its outcomes into Turner’s three-part taxonomy: objective, semi-objective, or subjective. The Cochrane Handbook discusses the use of empirical information to inform heterogeneity priors \[1\]. These priors have also been applied in evidence syntheses, such as the comparative efficacy study of antidepressants by Cipriani et al. \[9\]. Misclassifying subjective outcomes as objective risks underestimates the variance representing between-study heterogeneity. However, applying this taxonomy to large-scale contemporary evidence bases faces a critical barrier: manual classification is labor-intensive and impractical for datasets with tens of thousands of outcomes. This scalability challenge calls for the integration of machine learning to support living systematic reviews, a paradigm that relies on combining human and machine effort \[10\].

While foundational work by O’Mara-Eves et al. \[11\] has established the utility of text mining for study identification and eligibility screening, existing efforts to automate evidence synthesis have mainly focused on other tasks, such as identifying populations, interventions, comparators, and outcomes (PICO) \[12\], screening abstracts and full texts for eligibility, or assigning outcomes to broad clinical domains \[13\]. These tools do not directly address the predefined outcome categories proposed by Turner et al. and Rhodes et al. \[3,5\].

The primary objective of this study was to assess the feasibility of using computationally efficient and automated methods for classifying clinical trial outcomes into three predefined categories: objective, semi-objective, and subjective. Secondary objectives were to compare fine-tuned biomedical BERT-family models with a few-shot general-purpose LLM, evaluate an exploratory hybrid approach that uses the general-purpose model only for uncertain cases, assess an ensemble strategy, and compare the computational efficiency and cost of each method. We also compared model-reference agreement with reviewer-reviewer agreement in a separate quality-control subset and conducted a post hoc review-level group-disjoint analysis to assess performance on held-out Cochrane review identifiers.

## 2\. Results

### 2\.1 Dataset characteristics

After exact text-plus-label deduplication, the final dataset included 22,518 outcomes from 3,617 Cochrane reviews. Outcomes were distributed across the three categories as follows: 1,567 (7.0%) objective outcomes, 9,833 (43.7%) semi-objective outcomes, and 11,118 (49.4%) subjective outcomes. In this implementation, the objective class was intentionally restricted to all-cause mortality, whereas the semi-objective and subjective classes combined multiple outcome subgroups. Table I in S1 Appendix lists the 16 original subgroups, examples, and their mapping to the three primary classes. For the primary item-level benchmark, we allocated the data into training (15,763), validation (2,252), and testing (4,503) sets while maintaining these baseline proportions.

A post hoc leakage-risk audit showed that 1,881 of 2,090 test-set reviews (90.0%) also contributed training records, and 4,262 of 4,503 test outcomes (94.6%) came from reviews represented in training. No record with the same trimmed outcome text and label appeared in both partitions. After additional normalization, 244 test outcomes (5.4%) matched training text, including 194 (4.3%) with the same normalized text and label. Performance did not increase monotonically with similarity to training outcomes. Accuracy was 87.41%, 94.76%, 97.94%, and 84.92% for character 5-gram Jaccard similarity \<0.50, 0.50-0.75, 0.75-0.90, and ≥0.90, respectively; the corresponding macro F1 values were 0.8855, 0.9460, 0.9758, and 0.7964. The overlapping normalized exact-text-match subset (n = 244) had 80.74% accuracy and a macro F1 of 0.7544. Because reference-class distributions were similar across groups, these differences were not explained by major shifts in class composition. Overall, 955 test outcomes (21.2%) had similarity ≥0.75 and 325 (7.2%) had similarity ≥0.90, indicating substantial same-review overlap and near-duplicate risk; complete group sizes and cluster-bootstrap 95% CIs are reported in Table K in S1 Appendix.

### 2\.2 Primary Bioformer-8L performance

On the primary item-level test set (Table 1), the validation-selected Bioformer-8L checkpoint correctly classified 4,122 of 4,503 outcomes, corresponding to 91.54% accuracy (95% CI, 90.58%-92.49%), macro F1 of 0.9152 (95% CI, 0.9019-0.9271), and Cohen’s κ of 0.8498 (95% CI, 0.8327-0.8664). Class-specific F1 scores were 0.9158, 0.9066, and 0.9232 for objective, semi-objective, and subjective outcomes, respectively.

**Table 1.** Classification performance of the validation-selected Bioformer-8L checkpoint on the primary test set (n = 4,503).

| **Panel A. Overall performance** |  |  |  |  |
|---|---|---|---|---|
| **Metric** | **Estimate** | **Review-cluster bootstrap 95% CI** |  |  |
| *Overall accuracy* | 91\.54% (4,122/4,503) | 90\.58%-92.49% |  |  |
| *Macro F1* | 0\.9152 | 0\.9019-0.9271 |  |  |
| *Weighted F1* | 0\.9154 | 0\.9059-0.9249 |  |  |
| *Cohen’s κ* | 0\.8498 | 0\.8327-0.8664 |  |  |
| **Panel B. Class-specific performance** |  |  |  |  |
| **Outcome class** | **Number of test outcomes, n** | **Precision** | **Recall** | **F1 score (95% CI)** |
| *Objective (all-cause mortality)* | 313 | 0\.8794 | 0\.9553 | 0\.9158 (0.8851-0.9424) |
| *Semi-objective* | 1,967 | 0\.9052 | 0\.9080 | 0\.9066 (0.8950-0.9177) |
| *Subjective* | 2,223 | 0\.9301 | 0\.9163 | 0\.9232 (0.9132-0.9326) |

Note: The primary checkpoint was the validation-selected Bioformer-8L sweep winner (learning rate 3 × 10${}^{-5}$, warmup 0.04, eight unfrozen transformer blocks, R-Drop α = 1.0; n = 4,503 test samples).

We compared this performance with a simple baseline and with blinded reviewer-reviewer agreement in the quality-control subset. A naïve approach that labels every outcome as the most common class (subjective) would achieve 49.4% accuracy and κ = 0.00, indicating no agreement beyond chance. In the 948-outcome subset, reviewer-reviewer κ was 0.934 at the 16-subgroup level and 0.942 after mapping to the three primary classes. The subset overrepresented subjective outcomes (63.8% vs. 49.4%) and underrepresented objective (1.2% vs. 7.0%) and semi-objective outcomes (35.0% vs. 43.7%) relative to the full corpus (Table H in S1 Appendix). Bioformer-8L substantially exceeded the majority-class baseline; however, its model-reference κ of 0.8498 should not be directly compared with reviewer-reviewer κ because the estimates were calculated on different samples.

To evaluate outcomes from unseen Cochrane reviews, we performed a post hoc review-separated internal validation. The review-separated test set comprised 4,429 outcomes from 722 reviews. A newly initialized Bioformer-8L trained with the selected configuration achieved 87.06% test accuracy (95% CI, 85.35%-88.85%), macro F1 of 0.879 (95% CI, 0.860-0.897), weighted F1 of 0.871, and κ of 0.770. Class-specific F1 scores were 0.901 for objective, 0.857 for semi-objective, and 0.879 for subjective outcomes. Despite review separation, 199 test outcomes (4.49%) had normalized text observed in training, including 160 (3.61%) with the same label. Accuracy was 4.48, and macro F1 was 0.0363 lower than in the primary item-level analysis. These results support generalization to unseen review identifiers within the same Cochrane corpus but do not constitute independent external validation.

### 2\.3 Results across pre-trained models

Among the four biomedical and scientific encoders, PubMedBERT had the highest accuracy (92.23%; 95% CI, 91.29%-93.11%), followed by BioBERT (92.07%; 95% CI, 91.15%-92.95%), SciBERT (91.74%; 95% CI, 90.76%–92.65%), and Bioformer-8L (91.54%; 95% CI, 90.58%-92.49%). None of the six prespecified comparisons of accuracy or macro F1 with Bioformer-8L remained significant after Holm correction (all adjusted p ≥ 0.074); \[14\] therefore, the analyses did not establish superiority of any comparator (Table 2).

**Table 2.** Comparative performance of fine-tuned biomedical and scientific language models on the test set.

| Model | Accuracy (95% CI) | Macro F1 (95% CI) |
|---|---|---|
| *Bioformer-8L (Baseline)* | 91\.54% (90.58%-92.49%) | 0\.9152 (0.9019-0.9271) |
| *PubMedBERT* | 92\.23% (91.29%-93.11%) | 0\.9249 (0.9128-0.9357) |
| *BioBERT* | 92\.07% (91.15%-92.95%) | 0\.9228 (0.9106-0.9337) |
| *SciBERT* | 91\.74% (90.76%-92.65%) | 0\.9235 (0.9118-0.9340) |

In the post hoc general-domain encoder sensitivity analysis, ModernBERT-base achieved 90.27% accuracy (95% CI, 89.25%-91.24%) and macro F1 of 0.9044 (95% CI, 0.8910-0.9166) on the same 4,503-outcome test set. Its accuracy was 1.27-1.95 lower and its macro F1 was 0.0107-0.0204 lower than those of the four biomedical and scientific encoders. All eight paired comparisons remained significant after Holm correction (accuracy, adjusted p ≤ 0.0054; macro F1, adjusted p ≤ 0.0239). Because ModernBERT-base also differs in architecture, model scale, and pretraining design, these results do not isolate a causal effect of biomedical pretraining.

### 2\.4 Hyperparameter search results

Across these 16 configurations, held-out test accuracy ranged from 90.10% to 91.78%. The configuration selected by validation accuracy, with validation macro F1 as the tie-breaker, achieved 91.92% validation accuracy, 91.54% test accuracy, and macro F1 of 0.9152 (Table 3).

**Table 3.** Full ranking of all 16 configurations from the reduced hyperparameter sweep, ordered by validation accuracy.

| Rank | Learning Rate | Warmup | Unfrozen Blocks | R-Drop α | Validation Accuracy | Test Accuracy | Macro F1 |
|---|---|---|---|---|---|---|---|
| *1* | 3 × 10${}^{-5}$ | 0\.04 | 8 | 1 | 91\.92% | 91\.54% | 0\.9152 |
| *2* | 5 × 10${}^{-5}$ | 0\.06 | 8 | 1 | 91\.87% | 91\.65% | 0\.9164 |
| *3* | 5 × 10${}^{-5}$ | 0\.06 | 8 | 0\.5 | 91\.87% | 91\.78% | 0\.9194 |
| *4* | 5 × 10${}^{-5}$ | 0\.04 | 8 | 1 | 91\.47% | 91\.54% | 0\.9151 |
| *5* | 5 × 10${}^{-5}$ | 0\.04 | 8 | 0\.5 | 91\.03% | 91\.36% | 0\.9120 |
| *6* | 3 × 10${}^{-5}$ | 0\.04 | 8 | 0\.5 | 90\.94% | 90\.65% | 0\.9079 |
| *7* | 3 × 10${}^{-5}$ | 0\.06 | 8 | 1 | 90\.90% | 91\.54% | 0\.9143 |
| *8* | 3 × 10${}^{-5}$ | 0\.06 | 8 | 0\.5 | 90\.85% | 91\.67% | 0\.9161 |
| *9* | 5 × 10${}^{-5}$ | 0\.06 | 4 | 0\.5 | 90\.23% | 91\.12% | 0\.9128 |
| *10* | 5 × 10${}^{-5}$ | 0\.04 | 4 | 0\.5 | 90\.14% | 91\.01% | 0\.9111 |
| *11* | 5 × 10${}^{-5}$ | 0\.06 | 4 | 1 | 89\.70% | 91\.14% | 0\.9140 |
| *12* | 3 × 10${}^{-5}$ | 0\.06 | 4 | 0\.5 | 89\.56% | 90\.58% | 0\.9088 |
| *13* | 3 × 10${}^{-5}$ | 0\.04 | 4 | 0\.5 | 89\.52% | 90\.63% | 0\.9098 |
| *14* | 3 × 10${}^{-5}$ | 0\.06 | 4 | 1 | 89\.52% | 90\.16% | 0\.9055 |
| *15* | 3 × 10${}^{-5}$ | 0\.04 | 4 | 1 | 89\.39% | 90\.10% | 0\.9057 |
| *16* | 5 × 10${}^{-5}$ | 0\.04 | 4 | 1 | 89\.39% | 91\.27% | 0\.9153 |

### 2\.5 Ablation study

Relative to the retrained reference model using the selected configuration (91.96% accuracy; macro F1, 0.9250), removing R-Drop reduced accuracy by 0.27 and macro F1 by 0.0049, whereas removing class weights reduced accuracy by 0.49 and macro F1 by 0.0071. Limiting fine-tuning to the final four, two, or one transformer blocks reduced accuracy by 0.78, 3.22, and 6.19, respectively. Removing both R-Drop and class weights reduced accuracy by 0.09 and macro F1 by 0.0019. Thus, the largest losses occurred when only one or two transformer blocks were unfrozen; the exact validation-selected checkpoint is shown in Table 4.

**Table 4.** Exact primary checkpoint and retraining-based ablation sensitivity runs on the primary item-level stratified split.

| Configuration | Test Accuracy | Macro F1 | Run Type |
|---|---|---|---|
| *Primary Checkpoint (exact)* | 91\.54% | 0\.9152 | Exact selected checkpoint |
| *Retrained reference model using the selected configuration (R-Drop + Class Weights + 8 Blocks)* | 91\.96% | 0\.925 | Retrained primary-recipe reference |
| *Remove R-Drop* | 91\.69% | 0\.9201 | Retrained sensitivity run |
| *Remove Class Weights* | 91\.47% | 0\.9179 | Retrained sensitivity run |
| *Unfreeze 4 Blocks* | 91\.18% | 0\.9176 | Retrained sensitivity run |
| *Unfreeze 2 Blocks* | 88\.74% | 0\.8965 | Retrained sensitivity run |
| *Unfreeze 1 Block* | 85\.77% | 0\.8689 | Retrained sensitivity run |
| *No R-Drop + No Class Weights* | 91\.87% | 0\.9231 | Retrained sensitivity run |

### 2\.6 Comparative analysis

The original GPT-5.2 implementation achieved 59.29% accuracy and macro F1 of 0.6285, more than 32% below Bioformer-8L in accuracy. In the principal post hoc taxonomy-aligned sensitivity, the 10-example configuration selected low reasoning effort on the validation set achieved 78.61% test accuracy (95% CI, 76.99%–80.16%) and macro F1 of 0.8021 (95% CI, 0.7835–0.8194). A later 18-example boundary-focused configuration achieved 78.77% accuracy (95% CI, 77.18%–80.32%) and macro F1 of 0.8039 (95% CI, 0.7860–0.8206). The 0.16-percentage-point accuracy difference between the two taxonomy-aligned configurations had a paired cluster-bootstrap 95% CI of -0.35 to 0.67 and did not indicate an improvement. Both configurations remained approximately 13% below Bioformer-8L. Because the test partition had been evaluated previously and multiple prompt and inference components changed together, these analyses are post hoc exploratory sensitivities.

Batch size had little effect on the rerun of the original GPT-5.2 implementation. Accuracy was 59.76%, 59.78%, and 59.78%, and macro F1 was 0.6311, 0.6306, and 0.6302, for batches of 10, 25, and 50 outcomes, respectively. Cluster-bootstrap 95% CIs for paired differences relative to batch size 50 included zero for both metrics, and prediction agreement with batch size 50 exceeded 96% for the smaller batches. These findings provided no evidence of aggregate degradation at batch size 50 under this protocol.

The validation procedure selected a confidence threshold of 0.55. This threshold routed 33 of 2,252 validation outcomes (1.47%) and 61 of 4,503 test outcomes (1.35%) to GPT-5.2. Hybrid accuracy was 91.52% (4,121/4,503) and macro F1 was 0.9139, compared with 91.54% (4,122/4,503) and 0.9152 for Bioformer-8L alone. Thus, the validation-selected hybrid did not improve test performance (Table 5).

**Table 5.** Comparisons of performance, computational efficiency, and cost estimation between outcome-classification methods.

| Method | Overall Accuracy | Macro F1 | F1 (objective) | F1 (semi-objective) | F1 (subjective) | Inference Time (per sample) | Est. Cost (per 1k samples) |
|---|---|---|---|---|---|---|---|
| *Fine-tuned Bioformer-8L* | 91\.54% | 0\.9152 | 0\.9158 | 0\.9066 | 0\.9232 | 2\.0 ms | Negligible\* |
| *Hybrid (Model + LLM)* | 91\.52% | 0\.9139 | 0\.9116 | 0\.9071 | 0\.9230 | Not re-estimated | Not re-estimated |
| *LLM API (GPT-5.2)* | 59\.29% | 0\.6285 | 0\.8139 | 0\.6602 | 0\.4115 | 687 ms | \$0.34 |

Note: The hybrid used the validation-selected confidence threshold of 0.55. Comparable latency, token-use, and API-cost data were not recorded for the selected 0.55 run. Bioformer-8L incurred no API charge; local compute and energy costs were not estimated.

### 2\.7 Computational cost and inference efficiency

Bioformer-8L required one-time task-specific training and local compute and energy at inference, whereas GPT-5.2 required no model training by the investigators but incurred recurring token-based API charges. Because the original item-level token ledger was not retained, the historical estimate of approximately \$0.34 per 1,000 GPT-5.2 predictions is approximate rather than independently reproducible.

### 2\.8 Error analysis

The main source of error was the confusion between the semi-objective and subjective classes (Table 6). These two directions accounted for 326 of 4,503 test outcomes (7.24%) and 326 of 381 errors (85.6%). The objective class had 14 errors among 313 outcomes (4.47%). Subgroup-stratified results in Table J in S1 Appendix show that performance also varied across the underlying 16 outcome families, although estimates for sparse subgroups should be interpreted cautiously.

**Table 6.** Confusion matrix of predictions generated by the fine-tuned Bioformer-8L model in the test set. Counts are shown with percentages of the total test set in parentheses. Darker shading indicates a higher proportion of samples in that cell.

| True Predicted | Objective | Semi-objective | Subjective | Total |
|---|---|---|---|---|
| Objective | 299 (6.6%) | 13 (0.3%) | 1 (0.0%) | 313 (7.0%) |
| Semi-objective | 29 (0.6%) | 1,786 (39.7%) | 152 (3.4%) | 1,967 (43.7%) |
| Subjective | 12 (0.3%) | 174 (3.9%) | 2,037 (45.2%) | 2,223 (49.4%) |
| Total | 340 (7.6%) | 1,973 (43.8%) | 2,190 (48.6%) | 4,503 (100.0%) |

## 3\. Discussion

We developed and evaluated an automated method for classifying outcome types to support outcome-stratified meta-analysis. Although large language models have been explored for related evidence-synthesis tasks and for outcome-focused applications in clinical research, prior work has rarely evaluated them for this specific classification framework using systematic-review data. This study extends prior evidence-synthesis automation work to the Turner/Rhodes three-class outcome framework. A separately trained Bioformer-8L retained high performance when review identifiers were held out. These results suggest that automated outcome-type labeling may be feasible for internal item-level workflows and could reduce some manual classification burden, although the remaining errors still require careful review.

Point-estimate differences among the four biomedical and scientific encoders were small and were not statistically significant after Holm correction \[14\]. The validation-selected hybrid produced no improvement over Bioformer-8L, and the five-seed ensemble did not exceed the separately selected primary checkpoint. The taxonomy-aligned 10-example configuration increased GPT-5.2 accuracy from 59.29% to 78.61%, demonstrating sensitivity to prompt and inference design, but it remained 12.92% below Bioformer-8L. Because the prompt, demonstration examples, reasoning setting, and response-validation procedure changed together, the analysis cannot isolate the contribution of any single component. Reviewer-reviewer κ in the independently double-coded subset exceeded model-reference κ, but the estimates came from different samples and should not be interpreted as a direct model-human comparison.

Most Bioformer-8L errors (85.6%) exchanged semi-objective and subjective labels. This distinction matters because outcome type may be used to select empirical distributions or informative priors for between-study heterogeneity. A misclassified outcome could therefore be assigned an inappropriate distribution, potentially altering uncertainty estimates; the magnitude of any downstream effect would depend on the frequency and direction of misclassification and on how strongly the relevant distributions differ. Accordingly, automated labels should be audited before they are used to determine meta-analytic priors.

Fine tuning more transformer layers consistently improved accuracy; this suggests that the model benefits from adapting more of its internal representations to this specific classification task. Regularization strategies such as R-Drop and class weighting made only modest differences in these sensitivity runs. ModernBERT-base also performed below the biomedical and scientific encoders; however, differences in architecture, scale, and pretraining design prevent attribution of this gap specifically to biomedical pretraining.

This study has several limitations. First, the three-class taxonomy collapses a more detailed outcome framework: the objective class contains only all-cause mortality, whereas the semi-objective and subjective classes combine clinically diverse subgroups. Some assignments, particularly biological markers, also differ from ordinary clinical notions of measurement objectivity; the operational mapping and decision rules are provided in Table I in S1 Appendix. Second, all outcome descriptions came from a single English-language Cochrane corpus, limiting generalizability to other registries, languages, disease areas, and document types. Third, the primary item-level split had substantial same-review overlap and near-duplicate risk, and the review-separated analysis remained a post hoc internal validation based on one split. Fourth, the full corpus used single-rater reference labels. The independently double-coded 948-outcome subset was not adjudicated into a consensus standard and did not reproduce the class distribution of the full corpus. Fifth, multiple model and prompt variants were evaluated on fixed data partitions, so small post hoc differences should be interpreted cautiously; an untouched external test set was not available. Sixth, the models treated the three categories as nominal and assigned equal loss to all error types, although their downstream consequences may differ. Seventh, some normalized outcome descriptions were associated with different reference labels across records. Because review context was not provided to the classifiers, these conflicts may reflect labeling inconsistency or context-dependent classification and may impose an irreducible limitation on text-only prediction. Finally, the benchmark consisted of short outcome descriptions, and performance should not be assumed to transfer to longer, noisier, or more context-dependent clinical text.

Future work should assess this framework in other languages, registries, and evidence synthesis settings. Future work should use these automated labels to generate outcome-stratified empirical predictive distributions and informative Bayesian priors for binary effect measures, including odds ratios, relative risks, and risk differences \[3\]. These priors are particularly vital for stabilizing estimation in meta-analyses with few studies, where heterogeneity is often imprecisely estimated using conventional frequentist methods. The integration of active learning and continual adaptation could further enhance the model’s performance over time \[15\]. Although the post hoc taxonomy-informed analysis evaluated one stronger prompting and inference configuration, future benchmarking should prespecify and compare alternative prompting, structured-reasoning, self-consistency, retrieval-augmentation, ensemble, and routing strategies across repeated API runs and an untouched external test set. Such work should also directly compare prompted and task-specifically fine-tuned versions of the same open-weight LLM on suitable accelerator hardware. Adequately powered hierarchical modeling of the 16 subgroups could also clarify which outcome families drive semi-objective-subjective confusion.

Under the evaluated implementations, fine-tuned biomedical and scientific encoders were more accurate and faster than prompted GPT-5.2 for classifying short Cochrane outcome descriptions. Bioformer-8L achieved 91.54% accuracy in the primary item-level analysis and 87.06% in the post hoc review-separated internal validation; the validation-selected hybrid did not improve on Bioformer-8L alone. These findings indicate that domain-specific fine-tuning of biomedical BERT-family encoders should be the preferred strategy for this type of outcome classification in systematic reviews, particularly when manual classification would be time-consuming and resource-intensive at scale.

## 4\. Materials and methods

### 4\.1 Dataset

The dataset used in this study came from the CDSR, a source widely recognized for its stronger methodological rigor and reporting standards compared to non-Cochrane publications \[16–18\]. The raw dataset contained 43,339 records, of which 43,332 had non-empty outcome text and valid three-class labels before exact text-label deduplication. One co-author (FMAA) labeled the full raw dataset after reviewing the Turner and Rhodes outcome definitions and coding examples. For each record, the rater first assigned one of the 16 Turner/Rhodes subgroups; the subgroup label was subsequently mapped to one of the three primary classes. After cleaning and exact outcome-text-label deduplication, these single-rater mapped labels served as the reference labels for all model training, validation, and testing. For the primary item-level internal test set, the post-deduplication data were split at the outcome level into training (70%), validation (10%), and testing (20%) sets, with the same proportions of outcome categories in each split.

The three-class labels were normalized to integers 0, 1, and 2 from valid numeric or recognized textual representations. We excluded records with missing outcome text or labels, text that was empty after trimming leading and trailing whitespace, or labels that could not be mapped to a valid class. No case folding, punctuation normalization, stemming, or semantic deduplication was applied. Duplicate records were defined as those with identical whitespace-trimmed text and the same normalized three-class label; only the first occurrence was retained.

To characterize leakage risk in the primary split, we quantified overlap of Cochrane review identifiers between training and test partitions, identified normalized exact-text matches with and without label agreement, and calculated the maximum character 5-gram Jaccard similarity between each test outcome and any training outcome. Test outcomes were grouped into four mutually exclusive similarity strata (\<0.50, 0.50 to \<0.75, 0.75 to \<0.90, and ≥0.90), and normalized exact-text matches were analyzed as an overlapping subset of the ≥ 0.90 stratum. For each group, we reported the numbers of outcomes and reviews, reference-class distribution, Bioformer-8L accuracy, and macro F1. We estimated 95% CIs using 10,000 bootstrap replicates that resampled Cochrane reviews as clusters within each group (seeds 43–47).

The objective class includes all-cause mortality, as this outcome is least susceptible to detection bias. The semi-objective class encompassed six outcome types: obstetric outcomes; cause-specific mortality, major morbidity, or composite endpoints; resource use or hospital stay; surgical or device success/failure; withdrawals; and structure-related outcomes (e.g., radiograph findings). The subjective class comprised the remaining nine types: general physical health indicators (e.g., BMI); adverse events; infections or new disease onset; signs and symptoms; pain; quality of life or functioning; mental health indicators; biological markers (e.g., HbA1c, HBV-DNA, and HBeAg); and miscellaneous outcomes (e.g., patient satisfaction). The placement of biological markers in this operational class follows the prespecified empirical mapping and does not imply that laboratory assays are inherently subjective. The complete 16-subgroup mapping, examples, and decision rules are provided in Table I in S1 Appendix.

To assess labeling consistency, a second reviewer independently assigned 16-subgroup labels to an available subset of 948 records while blinded to the original labels. Disagreements were retained for the κ analyses, were not adjudicated, and did not replace the full-corpus reference labels.

### 4\.2 Fine-tuned domain-specific models

The primary model for this study was Bioformer-8L, an eight-layer biomedical language model selected for domain coverage and computational efficiency \[19\]. We initialized bioformers/bioformer-8L with its corresponding fast Hugging Face tokenizer and added a three-class sequence-classification head. Outcome descriptions were truncated at 128 tokens and dynamically padded within each batch with DataCollatorWithPadding. The selected configuration used a learning rate of 3 × 10${}^{-5}$, warmup ratio of 0.04, eight unfrozen transformer blocks, R-Drop α = 1.0, weight decay of 0.02, maximum gradient norm of 1.0, training and evaluation batch sizes of 16, gradient accumulation of 1, and up to eight epochs. Checkpoints were evaluated after each epoch. Within each run, the checkpoint with the highest validation macro F1 was retained. Mean-normalized inverse-frequency class weights calculated from the training partition were 2.307, 0.368, and 0.325 for objective, semi-objective, and subjective outcomes, respectively. Training used fused AdamW (β1 = 0.9, β2 = 0.999, ε = 1 × 10${}^{-8}$) with linear warmup over the first 4% of planned steps followed by linear decay, early-stopping patience of two evaluation epochs. R-Drop used two stochastic forward passes; the loss was the mean of the two class-weighted cross-entropy losses plus α times the sum of the bidirectional Kullback-Leibler divergences, with no label smoothing. PubMedBERT \[20\], BioBERT \[21\], and SciBERT \[22\] were fine-tuned on the same split using a common cross-model protocol.

### 4\.3 Hyperparameter tuning strategy

Hyperparameter and checkpoint selection used only the training and validation partitions. Within each run, the checkpoint with the highest validation macro F1 was retained. Across the 16-configuration sweep, configurations were ranked by validation accuracy, with validation macro F1 as the tie-breaker. We evaluated a 2 × 2 × 2 × 2 grid crossing learning rates of 3 × 10${}^{-5}$ and 5 × 10${}^{-5}$, warmup ratios of 0.04 and 0.06, four or eight unfrozen transformer blocks, and R-Drop coefficients of 0.5 and 1.0.

### 4\.4 Review-level group-disjoint analysis

For the post hoc review-separated internal validation, we used StratifiedGroupKFold with 10 folds, shuffling, and seed 42, treating Cochrane review identifiers as groups. Two folds were selected for testing and one for validation by minimizing deviations from the overall class proportions; the remaining seven folds were used for training. The resulting training, validation, and test partitions contained 15,795, 2,294, and 4,429 outcomes from 2,534, 361, and 722 reviews, respectively, with no review overlap.

A new Bioformer-8L model was initialized from the pretrained checkpoint and trained only on the review-separated training partition with the selected configuration. Mean-normalized inverse-frequency class weights were recalculated as 2.312, 0.365, and 0.323 for objective, semi-objective, and subjective outcomes, respectively. The checkpoint with the highest validation macro F1 was evaluated once on the review-separated test partition.

We also conducted retraining-based ablation analyses on the primary item-level split. The reference rerun used R-Drop, class weights, and eight unfrozen blocks; sensitivity runs removed R-Drop or class weights, used four, two, or one unfrozen block, or removed both R-Drop and class weights. The separately selected primary checkpoint was included in Table 4 for context but was not the reference for these contrasts.

### 4\.5 Other methods

To benchmark the fine-tuned model against general-purpose alternatives, we evaluated GPT-5.2 through OpenRouter without task-specific fine-tuning. The system prompt used an expert reviewer persona, defined the three-class task, and required a strict JSON array output of integer class labels; the primary API calls used temperature 0, a maximum output length of 2,000 tokens, and prespecified parsing and fallback rules (see the GPT-5.2 section of S1 Appendix for prompt specifications).

In a separate post hoc sensitivity analysis, we evaluated taxonomy-aligned GPT-5.2 configurations on the same seed-42 validation and test partitions. The prompt encoded the 16-subgroup-to-three-class mapping and precedence rules, and the 10-example and later 18-example demonstration sets were independently authored and screened to exclude normalized exact-text matches to validation or test outcomes. For each set, reasoning effort (none or low) was selected by validation accuracy, with macro F1 and then no reasoning as tie-breakers. The prompt, examples, model identifier, batch size, and selected reasoning setting were fixed before one test-set evaluation of each configuration. Requests used GPT-5.2 through OpenRouter (openai/gpt-5.2), batches of 50, a maximum output length of 4,000 tokens, strict structured output with exact ID validation, and no default labels after invalid or missing responses. Complete specifications and results are provided in the GPT-5.2 section of S1 Appendix.

In the post hoc batch-size sensitivity analysis, all 4,503 test outcomes were evaluated in batches of 10, 25, and 50 using the original prompt and demonstration set, a shared randomized item order (seed 43), and interleaved requests (seed 45). Because historical item-level predictions and raw responses were unavailable, the batch-size-50 condition was rerun contemporaneously. Paired differences relative to batch size 50 were summarized with 95% percentile intervals from 10,000 cluster-bootstrap replicates that resampled Cochrane reviews (seed 44); response validity and default-label events were also recorded.

In the hybrid analysis, Bioformer-8L classified every outcome first, and confidence was defined as the maximum softmax probability across the three classes. Candidate thresholds of 0.00 (no routing) and 0.50-0.95 in increments of 0.05 were evaluated on the 2,252-outcome validation set. Predictions below each threshold were routed to GPT-5.2, whose label replaced the Bioformer-8L label without averaging, voting, or rule-based reconciliation. Threshold selection prioritized hybrid accuracy, followed by macro F1, a lower routing rate, and a lower threshold; this procedure selected 0.55.

We evaluated a majority-vote ensemble of five Bioformer-8L models trained on the same split with prespecified random seeds and the selected hyperparameter configuration (see the Bioformer-8L seed stability and ensemble performance section in S1 Appendix). Ensemble performance was compared descriptively with the mean and best performance of the five fresh runs and with the separately selected primary checkpoint.

As a post hoc general-domain encoder sensitivity analysis, we fine-tuned answerdotai/ModernBERT-base \[23\] on the fixed training, validation, and test split using the common cross-model protocol described earlier.

### 4\.6 Evaluation metrics

We reported accuracy; class-specific precision, recall, and F1; macro and weighted F1; and Cohen’s κ. Macro F1 weighted the three classes equally, whereas κ quantified agreement beyond chance.

We calculated pooled item-level metrics on the 4,503 test outcomes rather than averaging review-specific performance. To account for within-review dependence, 95% CIs were estimated from 10,000 cluster-bootstrap replicates that resampled the 2,090 test review identifiers with replacement and retained all outcomes from each selected review (seed 43). Six prespecified contrasts, accuracy and macro F1 for PubMedBERT, BioBERT, and SciBERT versus Bioformer-8L, were evaluated with two-sided paired permutation tests at the review level using 10,000 replicates per comparison; Holm correction controlled the family-wise error rate across the six tests. In the post hoc ModernBERT analysis, the same procedure compared ModernBERT-base with each of the four biomedical and scientific encoders for accuracy and macro F1, with Holm correction across eight tests. For the review-separated test set, CIs were estimated by resampling held-out reviews as clusters.

Reviewer-reviewer κ was calculated separately in the 948-outcome independently double-coded subset at the 16-subgroup and mapped three-class levels \[24\]. Because this subset was not adjudicated into a consensus standard and did not reproduce the full-corpus class distribution, it was used as a labeling-consistency assessment rather than as a representative model-validation reference.

We compared inference time and approximate marginal cost across methods, contrasting the one-time training and local-compute requirements of the fine-tuned models with the recurring per-token API costs reported by OpenRouter \[25\].

### 4\.7 Computational environment and reproducibility

All experiments were run on a MacBook Air with an Apple M4 chip using the Apple Silicon Metal Performance Shaders backend in PyTorch on macOS. Seed 42 generated the primary data split and was reset before model initialization for each hyperparameter configuration; no additional deterministic-computation setting was imposed. The five ensemble models used seeds 42, 123, 456, 789, and 1011. Tied ensemble votes were resolved in favor of the lower numerical label; this occurred for 120 of 4,503 test outcomes. GPT requests used openai/gpt-5.2 through OpenRouter without a fixed upstream provider. The date and provider route of the original GPT-5.2 evaluation were not retained; the batch-size analysis was conducted on August 5, 2026 UTC, and all 723 responses returned the same model identifier. Reported inference times came from one complete test-set evaluation without warm-up or repeated timing runs; GPT measurements included network and request-processing time.

## Acknowledgments

We used ChatGPT 5.5 Codex to assist with Python coding tasks. ChatGPT 5.5 was used to improve the writing of this manuscript. We thank Kristine Rosenberger for her assistance in double-checking the classifications of a subset of outcomes.

**Ethics approval:** Not applicable. This study used outcome descriptions extracted from published systematic reviews and did not involve direct recruitment of human participants, patient contact, or identifiable private information.

## References

1. Higgins JPT, Thomas J, Chandler J, Cumpston M, Li T, Page MJ, et al. Cochrane Handbook for Systematic Reviews of Interventions version 6.4. Cochrane; 2023.
2. Sterne JAC, Savović J, Page MJ, Elbers RG, Blencowe NS, Boutron I, et al. RoB 2: a revised tool for assessing risk of bias in randomised trials. BMJ. 2019;366:l4898. doi: [10.1136/bmj.l4898](https://doi.org/10.1136/bmj.l4898)
3. Turner RM, Davey J, Clarke MJ, Thompson SG, Higgins JP. Predicting the extent of heterogeneity in meta-analysis, using empirical data from the Cochrane Database of Systematic Reviews. Int J Epidemiol. 2012;41(3):818–27. doi: [10.1093/ije/dys041](https://doi.org/10.1093/ije/dys041)
4. Wood L, Egger M, Gluud LL, Schulz KF, Jüni P, Altman DG, et al. Empirical evidence of bias in treatment effect estimates in controlled trials with different interventions and outcomes: meta-epidemiological study. BMJ. 2008;336(7644):601–5. doi: [10.1136/bmj.39465.451748.AD](https://doi.org/10.1136/bmj.39465.451748.AD)
5. Rhodes KM, Turner RM, Higgins JPT. Predictive distributions were developed for the extent of heterogeneity in meta-analyses of continuous outcome data. J Clin Epidemiol. 2015;68(1):52–60. doi: [10.1016/j.jclinepi.2014.08.012](https://doi.org/10.1016/j.jclinepi.2014.08.012)
6. Turner RM, Jackson D, Wei Y, Thompson SG, Higgins JPT. Predictive distributions for between-study heterogeneity and simple methods for their application in Bayesian meta-analysis. Stat Med. 2015;34(6):984–98. doi: [10.1002/sim.6381](https://doi.org/10.1002/sim.6381)
7. Al Amer FM, Lin L. Empirical assessment of prediction intervals in Cochrane meta-analyses. Eur J Clin Invest. 2021;51(7):e13524. doi: [10.1111/eci.13524](https://doi.org/10.1111/eci.13524)
8. Davey J, Turner RM, Clarke MJ, Higgins JPT. Characteristics of meta-analyses and their component studies in the Cochrane Database of Systematic Reviews: a cross-sectional, descriptive analysis. BMC Med Res Methodol. 2011;11:160. doi: [10.1186/1471-2288-11-160](https://doi.org/10.1186/1471-2288-11-160)
9. Cipriani A, Furukawa TA, Salanti G, Chaimani A, Atkinson LZ, Ogawa Y, et al. Comparative efficacy and acceptability of 21 antidepressant drugs for the acute treatment of adults with major depressive disorder: a systematic review and network meta-analysis. Lancet. 2018;391(10128):1357–66. doi: [10.1016/S0140-6736(17)32802-7](https://doi.org/10.1016/S0140-6736%2817%2932802-7)
10. Thomas J, Noel-Storr A, Marshall I, Wallace B, McDonald S, Mavergames C, et al. Living systematic reviews: 2. Combining human and machine effort. J Clin Epidemiol. 2017;91:31–7. doi: [10.1016/j.jclinepi.2017.08.011](https://doi.org/10.1016/j.jclinepi.2017.08.011)
11. O’Mara-Eves A, Thomas J, McNaught J, Miwa M, Ananiadou S. Using text mining for study identification in systematic reviews: a systematic review of current approaches. Syst Rev. 2015;4(1):5. doi: [10.1186/2046-4053-4-5](https://doi.org/10.1186/2046-4053-4-5)
12. Nye B, Li JJ, Patel R, Yang Y, Marshall IJ, Nenkova A, et al. A corpus with multi-level annotations of patients, interventions and outcomes to support language processing for medical literature. Proc Conf Assoc Comput Linguist Meet. 2018;2018:197–207. doi: [10.18653/v1/p18-1019](https://doi.org/10.18653/v1/p18-1019)
13. Marshall IJ, Wallace BC. Toward systematic review automation: a practical guide to using machine learning tools in research synthesis. Syst Rev. 2019;8(1):163. doi: [10.1186/s13643-019-1074-9](https://doi.org/10.1186/s13643-019-1074-9)
14. Holm S. A simple sequentially rejective multiple test procedure. Scand J Stat. 1979;6(2):65–70.
15. Wallace BC, Small K, Brodley CE, Lau J, Trikalinos TA. Deploying an interactive machine learning system in an evidence-based practice center. In: Proceedings of the 2nd ACM SIGHIT International Health Informatics Symposium; 2012. pp. 819–24. [https://doi.org/10.1145/2110363.2110464](https://doi.org/10.1145/2110363.2110464)
16. Jadad AR, Cook DJ, Jones A, Klassen TP, Tugwell P, Moher M, et al. Methodology and reports of systematic reviews and meta-analyses: a comparison of Cochrane reviews with articles published in paper-based journals. JAMA. 1998;280(3):278–80. doi: [10.1001/jama.280.3.278](https://doi.org/10.1001/jama.280.3.278)
17. Jørgensen AW, Hilden J, Gøtzsche PC. Cochrane reviews compared with industry supported meta-analyses and other meta-analyses of the same drugs: systematic review. BMJ. 2006;333(7572):782. doi: [10.1136/bmj.38973.444699.0B](https://doi.org/10.1136/bmj.38973.444699.0B)
18. Moseley AM, Elkins MR, Herbert RD, Maher CG, Sherrington C. Cochrane reviews used more rigorous methods than non-Cochrane reviews: survey of systematic reviews in physiotherapy. J Clin Epidemiol. 2009;62(10):1021–30. doi: [10.1016/j.jclinepi.2008.09.018](https://doi.org/10.1016/j.jclinepi.2008.09.018)
19. Fang L, Chen Q, Wei CH, Lu Z, Wang K. Bioformer: an efficient transformer language model for biomedical text mining. arXiv:2302.01588 v1 \[Preprint\]. 2023. [https://doi.org/10.48550/arXiv.2302.01588](https://doi.org/10.48550/arXiv.2302.01588)
20. Gu Y, Tinn R, Cheng H, Lucas M, Usuyama N, Liu X, et al. Domain-specific language model pretraining for biomedical natural language processing. ACM Trans Comput Healthcare. 2021;3(1):1–23. doi: [10.1145/3458754](https://doi.org/10.1145/3458754)
21. Lee J, Yoon W, Kim S, Kim D, Kim S, So CH, et al. BioBERT: a pre-trained biomedical language representation model for biomedical text mining. Bioinformatics. 2020;36(4):1234–40. doi: [10.1093/bioinformatics/btz682](https://doi.org/10.1093/bioinformatics/btz682)
22. Beltagy I, Lo K, Cohan A. SciBERT: a pretrained language model for scientific text. In: Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), 2019. 3613–8. [https://doi.org/10.18653/v1/d19-1371](https://doi.org/10.18653/v1/d19-1371)
23. Warner B, Chaffin A, Clavié B, Weller O, Hallström O, Taghadouini S, et al. Smarter, better, faster, longer: A modern bidirectional encoder for fast, memory efficient, and long context finetuning and inference. In: Proceedings of the 63rd annual meeting of the association for computational linguistics; 2025; 2526–47. [https://doi.org/10.18653/v1/2025.acl-long.127](https://doi.org/10.18653/v1/2025.acl-long.127)
24. Cohen J. A coefficient of agreement for nominal scales. Educ Psychol Meas. 1960;20(1):37–46. doi: [10.1177/001316446002000104](https://doi.org/10.1177/001316446002000104)
25. OpenRouter \[cited January 29 2026\]. 2026. Available from: [https://openrouter.ai](https://openrouter.ai)
