Manuscript Offprint
arXiv:2610.41710Advancing Clinical Trial Outcome Prediction with Domain-Specific Large Language Models
Abstract
Clinical trial failures are a major barrier to efficient drug development, incurring substantial costs and delaying patient access to effective therapies. Structured approaches such as the Hierarchical Interaction Network (HINT) predict trial outcomes by explicitly modelling interactions between drugs, diseases and protocols, but make limited use of the free text in trial registrations. We evaluate two domain-specific language models, BioBERT (108M parameters) and BioMistral (7B parameters), for phase-level outcome prediction on the TOP benchmark (12,477 trials), representing each trial as text built from ten ClinicalTrials.gov fields. We compare fine-tuning (full fine-tuning for BioBERT, low-rank adaptation for BioMistral) with probing, in which the pretrained model is frozen and only a lightweight classifier is trained on its embeddings. On the held-out test set of each phase, all four language-model variants achieved higher ROC-AUC (0.613–0.772) and PR-AUC (0.649–0.901) than the published HINT results, corresponding to relative PR-AUC gains of 10–20%. F1 differences were small and mixed, and no model, including HINT, clearly exceeded the F1 of a trivial classifier that predicts success for every trial. Under the configurations tested, probing performed comparably to fine-tuning: fine-tuned models scored highest on ROC-AUC and PR-AUC in Phases I and II, and frozen BioMistral embeddings in Phase III (ROC-AUC 0.772; PR-AUC 0.901), although most differences between variants were below 0.03 and were not tested for significance. These results suggest that pretrained biomedical representations already encode signal relevant to trial outcome, and that probing is a computationally cheaper alternative to fine-tuning for this task.
Keywords: biomedical NLP; clinical trial outcome prediction; domain-specific language models; fine-tuning; probing; phase-level analysis
1 Introduction
Clinical trials are the most costly and failure-prone stage of drug development. Roughly 86–90% of drug candidates that enter clinical testing never receive regulatory approval [1, 2], and attrition remains high in the later, more expensive phases [2, 3]. Each failed trial represents a large research and development loss and delays patient access to effective therapies [3]. Reliable estimates of a trial's probability of success before it starts could help sponsors prioritise portfolios, refine protocols and allocate resources.
Early computational approaches relied on structured data and manual feature engineering. Drug, disease and trial characteristics were encoded as handcrafted variables, with drug properties often represented through simplified molecular-input line-entry system (SMILES) strings or chemical descriptors, and then passed to classical machine-learning models [4–6]. These representations captured basic chemical and design information but not the interactions among drugs, diseases and patient populations, and their performance often failed to generalise across therapeutic areas.
The Hierarchical Interaction Network (HINT) addressed this by modelling these interactions explicitly [7]. HINT combines molecular, disease-ontology, pharmacokinetic and eligibility-criteria encoders with a graph neural network, and was introduced together with the Trial Outcome Prediction (TOP) benchmark for phase-level trial outcome prediction. HINT's only free-text input, however, is the eligibility criteria; other free text in trial registrations, such as brief summaries, intervention descriptions and outcome definitions, is not used.
Domain-specific pretrained language models offer a way to exploit this text. Models such as BioBERT [8] and PubMedBERT [9], and more recent large models such as BioMistral [10], learn contextual representations of biomedical terminology from large literature corpora, and have performed well on a wide range of biomedical language tasks [8–10]. Recent work has begun to apply language models to trial outcome prediction, representing trials partly or wholly as text [11, 12]. It remains unclear, however, how much of the predictive signal is already present in pretrained representations and how much must be learned through task-specific fine-tuning, and how compact encoder models compare with larger decoder models on this task.
In this work, we follow this text-based approach: we represent each trial as text assembled from ten ClinicalTrials.gov fields that describe its summary, condition, intervention, design and primary outcome, and evaluate BioBERT and BioMistral on the TOP benchmark under two training strategies. Our contributions are threefold. First, we provide a systematic comparison of fine-tuning and probing for an encoder model (BioBERT, 108M parameters) and a decoder model (BioMistral, 7B parameters), evaluated separately for Phase I, II and III trials and compared against published HINT results. Second, we introduce a prevalence-aware evaluation for this benchmark: we report a trivial always-success reference and a prevalence-normalised area under the precision–recall curve (PR-AUC), and show that F1 at a fixed threshold does not separate the models from this reference. Third, we show that, under the configurations tested, frozen biomedical representations with a small classifier perform comparably to fine-tuned models.
HINT and the TOP benchmark. HINT introduced the TOP benchmark and a hierarchical interaction network that integrates drug molecules, disease codes, pharmacokinetic properties and eligibility criteria [7]. Several methods build on this benchmark. SPOT (sequential predictive modelling of clinical trial outcome) clusters trials into topics, orders them over time and applies meta-learning, reporting PR-AUC gains over earlier methods in all three phases [14]. Lu et al. added selective classification to HINT, allowing the model to abstain on low-confidence trials, and reported a Phase III PR-AUC of 0.902 on the trials it retained [15]; because that score is computed on a subset of the test set, it is not directly comparable to full-test-set results.
Language models for trial outcome prediction. The Language Interaction Network (LINT) predicts trial outcomes primarily from free-text trial descriptions and reported areas under the receiver operating characteristic curve (ROC-AUC) of 0.770, 0.740 and 0.748 for Phases I–III on trials of biologic interventions [11]. LIFTED converts each data modality into natural-language descriptions with a large language model and combines the resulting representations through mixture-of-experts modules [12]. Language models have also been applied to related trial-level tasks such as predicting enrollment success [16].
Biomedical language models and probing. Domain-specific pretraining on biomedical literature improves performance on biomedical language tasks: BioBERT continues the pretraining of BERT (Bidirectional Encoder Representations from Transformers) on PubMed abstracts and, in some versions, PubMed Central full-text articles [8, 17], and PubMedBERT is pretrained on PubMed text from scratch [9]. Large models such as Med-PaLM encode substantial clinical knowledge [18], and BioMistral adapts the instruction-tuned Mistral 7B model (Mistral-7B-Instruct-v0.1) [19] through further pretraining on PubMed Central [10]. Pretraining has also been applied to structured electronic health records [20]. Probing classifiers, which are trained on frozen representations, are a standard tool for measuring what information a pretrained model already encodes [21].
Positioning. Our study is closest to LINT, which also relies on trial text. It differs in three respects: we evaluate on the full TOP benchmark rather than on biologic interventions only; we compare an encoder model with a 7B decoder model; and we contrast fine-tuning with probing to separate the contribution of pretrained representations from that of task-specific training. Because the cited studies use different subsets, splits or evaluation protocols, their reported scores should not be compared directly with ours.
3 Methods
Our pipeline covers data collection, preprocessing, text representation, model training and evaluation for predicting whether a clinical trial succeeds or fails (Fig. 1).

Figure 1: Clinical trial outcome prediction pipeline. Trial records are parsed from ClinicalTrials.gov, cleaned and tokenized, and then used either to train a classifier on frozen language-model embeddings (probing, top) or to fine-tune the language model end to end (bottom). Orange components are trained; blue components are frozen. Abbreviations: LoRA, low-rank adaptation; MLP, multi-layer perceptron; PR-AUC, area under the precision-recall curve; ROC-AUC, area under the receiver operating characteristic curve; XML, Extensible Markup Language.
3.1 Task definition
The task is binary classification. For a set of trials with outcomes , denotes success and failure. Following the HINT definition [7], a trial is labelled successful when it was completed and met its primary endpoint.
3.2 Dataset
We used the TOP clinical trial outcome prediction benchmark of Fu et al. [7, 22] for trial selection, labels and data splits. TOP contains interventional trials of small-molecule drugs, whose binary outcome labels were manually curated by an internal IQVIA team [7]. The splits are defined by time: training and validation trials were completed before 1 January 2014, and test trials started after that date. The benchmark is released for non-commercial use only [22]. We used the data files of its public repository at commit d1f5c4a (30 December 2021), the last commit that modified them. They contain 1,788 Phase I, 6,105 Phase II and 4,584 Phase III trials (12,477 in total), each with predefined training, validation and test splits (Table 1). This differs slightly from the version described in the HINT publication, which has 12,465 trials and test sets of 627, 1,653 and 1,140 trials [7]. Success rates differ between splits: the Phase II and Phase III test sets have higher success rates than the corresponding training sets (55.5% versus 47.8%, and 75.0% versus 65.3%), whereas Phase I is similar (55.3% versus 56.7%).
Table 1: Dataset statistics by phase: number of trials in the training, validation and test splits, number of unique diseases, outcome distribution over all splits, and success rate in each split. Counts and rates were computed from the public TOP data files (commit d1f5c4a).
| Phase | Trials (train / val / test) | Diseases | Success | Failure | Success rate (%) (train / val / test) |
|---|---|---|---|---|---|
| Phase I | 1,044 / 117 / 627 | 1,392 | 1,006 (56.3%) | 782 (43.7%) | 56.7 / 57.3 / 55.3 |
| Phase II | 4,005 / 446 / 1,654 | 2,824 | 3,040 (49.8%) | 3,065 (50.2%) | 47.8 / 46.6 / 55.5 |
| Phase III | 3,094 / 344 / 1,146 | 1,619 | 3,109 (67.8%) | 1,475 (32.2%) | 65.3 / 66.6 / 75.0 |
3.2.1 Data curation
The benchmark was downloaded from its GitHub repository [22] and provides separate training, validation and test files for each phase. Because the per-phase training sets are small, we merged the three training files into a single training set and the three validation files into a single validation set, and kept the three test sets separate. Trials registered as combined phases (Phase I/II or Phase II/III) appear in more than one phase file; removing duplicate records reduced the merged training set from 8,143 to 7,641 unique trials and the merged validation set from 907 to 901 unique trials. We then removed the 106 validation trials that also appeared in the training set, leaving 795 validation trials. Fig. 2 summarises the composition of the cleaned training and validation data. No test trial appears in the merged training or validation sets.


Figure 2: Composition of the merged training and validation data (8,436 trials): outcome distribution (left), number of trials by registered phase (middle), and success rate by registered phase (right). The dashed line marks the overall success rate.
3.2.2 Feature extraction from ClinicalTrials.gov
The TOP files do not contain all the fields we required, so we retrieved each trial's full registry record from ClinicalTrials.gov [23] using its National Clinical Trial (NCT) identifier, a unique code of the form "NCT" followed by eight digits (for example, NCT00000419). Records were downloaded as Extensible Markup Language (XML) files on 12 September 2024 and parsed into a table of 253 variables. All 12,477 trials in the benchmark were matched. These records reflect each registry entry as of the download date rather than as originally registered; we return to this point in Section 5.1.
3.3 Trial representation
Each trial is represented by ten fields that describe its design and intent. Fig. 3 shows how the two training strategies use them.

Figure 3: Input representation. For fine-tuning, the ten fields are concatenated into one sequence that is passed through the trainable language model. For probing, each field is encoded separately by the frozen model, token embeddings are mean-pooled per field and averaged across fields, and the result is passed to an MLP classifier. Abbreviations: LoRA, low-rank adaptation; MLP, multi-layer perceptron.
The ten fields are:
-
brief summary (brief_summary/textblock);
-
condition (condition);
-
intervention name and type (intervention/intervention_name, intervention/intervention_type);
-
study design: allocation, intervention model, masking and primary purpose (study_design_info/allocation, intervention_model, masking, primary_purpose);
-
primary outcome measure and description (primary_outcome/measure, primary_outcome/description).
The phase of the trial is not among these fields. Because a single model is trained on trials from all phases, phase information is available to the model only where it is mentioned in the text itself.
The two training strategies use these fields differently (Fig. 3). For fine-tuning, the fields are concatenated into a single text sequence in the following order: brief summary, condition, intervention, study design and primary outcome. For probing, each field is encoded separately and the resulting field embeddings are averaged (Section 3.6). For fine-tuning, the concatenated input was truncated to 512 tokens for both models. For probing, each field was truncated separately, to 512 tokens for BioBERT and 2,048 tokens for BioMistral, the sequence length used in BioMistral's pretraining.
3.4 Language models
BioBERT (108M parameters) [8] is initialised from the cased BERT-base model [17] and further pretrained on biomedical text. We used version 1.1 (dmis-lab/biobert-v1.1), which was pretrained on PubMed abstracts for 1M steps. BioMistral (7B parameters) [10] is obtained by further pretraining Mistral-7B-Instruct-v0.1, the instruction-tuned version of Mistral 7B [19], on PubMed Central open-access articles with a sequence length of 2,048 tokens. We used the BioMistral/BioMistral-7B checkpoint. BioBERT produces 768-dimensional hidden states and BioMistral 4,096-dimensional hidden states.
3.5 Fine-tuning
We fine-tuned BioBERT with full fine-tuning and BioMistral with low-rank adaptation (LoRA) [24], a parameter-efficient fine-tuning method (Fig. 4a,b).

Figure 4: Training strategies. (a) Full fine-tuning updates all transformer weights and the classification head. (b) LoRA keeps the pretrained weights frozen and trains low-rank adapters () inserted into the attention projections, together with the classification head. (c) Probing uses the frozen model only as a feature extractor; token embeddings are mean-pooled and only the MLP classifier is trained. Abbreviations: LoRA, low-rank adaptation; MLP, multi-layer perceptron.
In full fine-tuning, all pretrained weights are updated by gradient descent on the downstream task. This gives the model maximum flexibility to adapt its representations but requires storing gradients and optimiser states for every parameter. LoRA instead keeps the pretrained weights frozen and adds a trainable low-rank update to selected weight matrices, where , , and is a scaling factor. Only , and the classification head are trained, which greatly reduces memory and compute.
3.5.1 Hyperparameter settings
We evaluated several configurations, including mixed-precision training and different learning-rate schedulers (OneCycleLR, ReduceLROnPlateau and others). All models were trained with the Adam optimiser [25] without weight decay, using the unweighted binary cross-entropy loss. Configurations were compared on the validation set, and we report the best-performing configuration for each model.
BioBERT full fine-tuning. Up to five epochs, mini-batch size 32, float16 mixed precision, Adam optimiser with learning rate (no weight decay), and early stopping on the validation loss (patience 2, minimum improvement ). No learning-rate scheduler was used for the reported run.
BioMistral LoRA fine-tuning. LoRA with rank , scaling factor and dropout 0.01, applied to the query and value projections (q_proj, v_proj) for sequence classification. This yields 13,631,488 trainable adapter parameters (0.19% of all parameters). The model was trained for up to five epochs with mini-batch size 2 in float16 mixed precision, using the Adam optimiser with a learning rate of and no learning-rate scheduler. Early stopping was applied to the validation loss with a patience of 2 and a minimum improvement of .
3.6 Probing
Probing measures how much predictive signal is already present in pretrained representations, independently of task-specific adaptation [21]. The weights of the pretrained model are kept frozen and only a lightweight classifier is trained (Fig. 4c). Because the frozen model is run only once for each field of each trial to compute embeddings, which are then stored, probing is also much cheaper to train than fine-tuning.
For a text field tokenized into tokens, the frozen model produces hidden states , where for BioBERT and for BioMistral. We obtain a fixed-size field embedding by masked mean pooling,
where is the attention mask that excludes padding tokens. The hidden states are taken from the final layer. The trial embedding is the average of the field embeddings .
The trial embedding is passed to a multi-layer perceptron (MLP) with hidden layers. Starting from , each hidden layer applies a linear transformation, a rectified linear unit (ReLU) activation and dropout:
(2) for , followed by an output layer that produces a single logit . The predicted probability of success is , and the classifier is trained with the binary cross-entropy loss
Text representations were taken from the transformer's final hidden layer. Fine-tuned BioBERT used the classification ([CLS]) token, and both probing models (BioBERT and BioMistral) used attention-masked mean pooling over tokens (Eq. 1). All MLP hidden layers contained 512 units and used ReLU activation with dropout 0.2. Both probing classifiers used hidden layers, giving 1,182,209 trainable parameters for BioBERT (input size 768) and 2,886,145 for BioMistral (input size 4,096).
3.6.1 Probing hyperparameter settings
Probing classifiers were trained with the Adam optimiser and float16 mixed precision. We compared several learning-rate schedules (OneCycleLR, ReduceLROnPlateau, StepLR and others) and used early stopping on the validation loss.
BioBERT probing. Batch size 64, base learning rate , dropout 0.2, up to 20 epochs, and no learning-rate scheduler. Training stopped early if the validation loss did not improve by for three consecutive epochs.
BioMistral probing. Batch size 64, base learning rate , OneCycleLR with a maximum learning rate of updated per batch, dropout 0.2, up to 20 epochs with the same early-stopping rule.
3.7 Baselines
HINT. We compare against HINT [7], which combines a drug-molecule encoder based on a message-passing neural network [26], a disease-ontology encoder based on the graph-based attention model (GRAM) [27], a BERT-based eligibility-criteria encoder and a pharmacokinetics encoder, and models their interactions with a graph neural network. HINT results are taken from Table 2 of the original publication, where they are reported as means over 30 independent runs. A separate HINT model was trained for each phase, on the earlier version of the TOP data described in Section 3.2 (test sets of 627, 1,653 and 1,140 trials). HINT was not retrained in our pooled-phase setting or on our exact test sets, and it uses different input modalities, so the comparison is not fully controlled.
Trivial reference. As a reference point, we also report a classifier that predicts success for every trial. With test-set success rate , its F1 is , its PR-AUC equals and its ROC-AUC is 0.5.
3.8 Evaluation metrics
Models were evaluated separately on the test set of each phase using three metrics:
-
F1: the harmonic mean of precision and recall for the success class, computed at a fixed decision threshold of 0.5.
-
ROC-AUC: the area under the receiver operating characteristic curve, which summarises the trade-off between true- and false-positive rates across all thresholds and equals 0.5 for a random classifier.
-
PR-AUC: the area under the precision-recall curve, computed using average precision, which summarises precision across recall levels. Its value for a random classifier equals the proportion of successful trials, so it should be interpreted relative to the test-set success rate in Table 1.
To compare PR-AUC across phases with different success rates, we also report prevalence-normalised PR-AUC, , where is the test-set success rate; it is 0 for a random classifier and 1 for a perfect one. We also report calibration curves, which compare the mean predicted probability with the observed success rate within bins of predicted probability.
4 Results
Table 2 and Fig. 5 report the test-set performance of the four language-model variants (BioBERT and BioMistral, each fine-tuned and probed) alongside the published HINT results and the trivial always-success reference.
Table 2: Test-set performance by phase (I, II, III). †HINT results are taken from Fu et al. [7], where a separate model was trained for each phase on an earlier version of the TOP data; values are means over 30 runs (standard deviations 0.006–0.010). The last row is a trivial classifier that predicts success for every trial; its F1 and PR-AUC depend only on the test-set success rate (55.3%, 55.5% and 75.0% for Phases I–III).
| Model | F1 (phase) | ROC-AUC (phase) | PR-AUC (phase) | ||||||
|---|---|---|---|---|---|---|---|---|---|
| I | II | III | I | II | III | I | II | III | |
| HINT† | 0.665 | 0.620 | 0.847 | 0.576 | 0.645 | 0.723 | 0.567 | 0.629 | 0.811 |
| BioBERT (fine-tuning) | 0.694 | 0.695 | 0.843 | 0.639 | 0.698 | 0.769 | 0.680 | 0.741 | 0.899 |
| BioMistral (fine-tuning) | 0.662 | 0.673 | 0.850 | 0.653 | 0.701 | 0.761 | 0.649 | 0.707 | 0.888 |
| BioBERT (probing) | 0.704 | 0.683 | 0.839 | 0.613 | 0.676 | 0.750 | 0.677 | 0.734 | 0.889 |
| BioMistral (probing) | 0.688 | 0.712 | 0.857 | 0.618 | 0.688 | 0.772 | 0.661 | 0.738 | 0.901 |
| Always predict success | 0.713 | 0.714 | 0.857 | 0.500 | 0.500 | 0.500 | 0.553 | 0.555 | 0.750 |

Figure 5: Test-set F1 (left), ROC-AUC (middle) and PR-AUC (right) by phase for HINT and the four language-model variants (values from Table 2). Colour indicates the model and marker shape the training strategy. Dashed grey lines show the trivial classifier that predicts success for every trial (for ROC-AUC, chance level 0.5). Abbreviations: HINT, Hierarchical Interaction Network; PR-AUC, area under the precision-recall curve; ROC-AUC, area under the receiver operating characteristic curve.
All results come from a single training run per model. With 627 to 1,654 test trials per phase, the standard error of ROC-AUC is roughly 0.01–0.02, so many of the differences between the four language-model variants, which are typically below 0.03, are of the same order as this sampling uncertainty. The comparisons below should be read with this in mind.
4.1 Comparison with HINT
All four language-model variants achieved higher ROC-AUC and PR-AUC than HINT in every phase. Relative to HINT, ROC-AUC improved by 3.7–13.4% and PR-AUC by 9.5–19.9% (computed from the values in Table 2). The largest gains were in Phase I, where fine-tuned BioMistral reached a ROC-AUC of 0.653 (HINT: 0.576) and fine-tuned BioBERT a PR-AUC of 0.680 (HINT: 0.567).
F1 results were mixed, ranging from -0.9% to +14.8% relative to HINT. Three results were below HINT: fine-tuned BioMistral in Phase I (0.662 vs. 0.665), and fine-tuned BioBERT (0.843) and BioBERT probing (0.839) in Phase III (HINT: 0.847). Moreover, every model, including HINT, had an F1 at or below that of the trivial always-success classifier in every phase (0.713, 0.714 and 0.857). Because F1 at a fixed threshold is dominated by the proportion of successful trials on this benchmark, we treat the threshold-independent ROC-AUC and PR-AUC as the primary comparison. PR-AUC should likewise be read relative to its baseline: in Phase III, for example, the highest PR-AUC (0.901) compares with 0.750 for the trivial classifier. Table 3 expresses PR-AUC relative to this baseline. On this scale, HINT is barely above chance in Phase I (0.030), whereas the language-model variants reach up to 0.283, 0.418 and 0.605 in Phases I–III.
Table 3: Prevalence-normalised PR-AUC, , by phase, computed from Table 2 and the test-set success rates (55.3%, 55.5% and 75.0%). A random classifier scores 0 and a perfect classifier 1. HINT values are based on the published results (see Table 2).
| Model | Phase I | Phase II | Phase III |
|---|---|---|---|
| HINT | 0.030 | 0.166 | 0.245 |
| BioBERT (fine-tuning) | 0.283 | 0.418 | 0.597 |
| BioMistral (fine-tuning) | 0.214 | 0.342 | 0.553 |
| BioBERT (probing) | 0.277 | 0.402 | 0.557 |
| BioMistral (probing) | 0.241 | 0.411 | 0.605 |
The HINT results were obtained with per-phase training and different input modalities, and were not reproduced under our setting; the comparison is therefore indicative rather than fully controlled (Section 5.1).
4.2 Performance across trial phases
ROC-AUC, which does not depend on class balance, increased from Phase I to Phase III for every model, including HINT. For the language-model variants it ranged from 0.613–0.653 in Phase I to 0.676–0.701 in Phase II and 0.750–0.772 in Phase III. F1 and PR-AUC were also highest in Phase III, but part of this reflects the higher success rate in the Phase III test set (75.0%, compared with about 55% in Phases I and II), which raises the baseline for both metrics. F1 did not increase consistently from Phase I to Phase II. Phase I trials are also the smallest group in the training data (711 of 8,436 trials, or 8%), so weaker Phase I performance may partly reflect limited training data rather than a harder task.
4.3 Fine-tuning
Fine-tuned models achieved the highest ROC-AUC and PR-AUC in Phases I and II: fine-tuned BioMistral had the highest ROC-AUC (0.653 and 0.701), and fine-tuned BioBERT the highest PR-AUC (0.680 and 0.741). For BioBERT, fine-tuning exceeded probing on both ROC-AUC and PR-AUC in all three phases, although by small margins (0.003–0.026).
The calibration curves (Figs. 6 and 7) show that fine-tuned BioBERT produced probabilities between about 0.2 and 0.9 that broadly follow the diagonal. Its Phase III probabilities are somewhat too low in the middle of the range, and its Phase I probabilities too high above about 0.6. Fine-tuned BioMistral produced a wider range of probabilities; it underestimated the probability of success below about 0.3, where the observed success rate was 0.3–0.5, and overestimated it above 0.8 in Phases I and II.

Figure 6: ROC curves (left), precision-recall curves (middle) and calibration curves (right) for fine-tuned BioBERT on the test set of each phase (Phase I, n = 627; Phase II, n = 1,654; Phase III, n = 1,146). The dashed lines show chance-level performance (ROC) and perfect calibration (calibration plot). Abbreviations: AUC, area under the curve; ROC, receiver operating characteristic.

Figure 7: ROC curves (left), precision-recall curves (middle) and calibration curves (right) for BioMistral fine-tuned with LoRA on the test set of each phase (Phase I, n = 627; Phase II, n = 1,654; Phase III, n = 1,146). Dashed lines and abbreviations as in Fig. 6; LoRA, low-rank adaptation.
4.4 Probing
Probing frozen representations performed comparably to fine-tuning (Figs. 8 and 9). BioMistral probing achieved the highest Phase III ROC-AUC (0.772) and PR-AUC (0.901) of all models. Compared with fine-tuned BioMistral, it had higher F1 in all three phases (0.688, 0.712 and 0.857 vs. 0.662, 0.673 and 0.850) and higher PR-AUC in all three phases (0.661, 0.738 and 0.901 vs. 0.649, 0.707 and 0.888), but lower ROC-AUC in Phases I and II (0.618 and 0.688 vs. 0.653 and 0.701). BioBERT probing was within 0.03 of fine-tuned BioBERT on every metric and had the highest Phase I F1 (0.704), although this is still below the trivial reference of 0.713. Together, these results suggest that a substantial part of the predictive signal is already present in the pretrained biomedical representations. The comparison with LoRA should be read with caution, however: LoRA was run with a single configuration (learning rate , mini-batch size 2, adapters on the query and value projections only), which may understate what fine-tuning can achieve.

Figure 8: ROC curves (left), precision-recall curves (middle) and calibration curves (right) for BioBERT probing on the test set of each phase (Phase I, n = 627; Phase II, n = 1,654; Phase III, n = 1,146). Dashed lines and abbreviations as in Fig. 6.

Figure 9: ROC curves (left), precision-recall curves (middle) and calibration curves (right) for BioMistral probing on the test set of each phase (Phase I, n = 627; Phase II, n = 1,654; Phase III, n = 1,146). Dashed lines and abbreviations as in Fig. 6.
In the calibration curves, BioMistral probing lies closest to the diagonal across phases, with more variability in Phase I. BioBERT probing is less consistent: its Phase III probabilities are too low in the middle of the range, its Phase I probabilities too high above about 0.7, and its lowest-probability Phase II bin shows an outlying observed rate of 1.0, most likely because it contains very few trials.
5 Discussion
Representing trials as text built from registry fields and processing that text with biomedical language models ranked trials more accurately than the published HINT results in all three phases, with relative PR-AUC gains of 10–20%. This held for both model sizes and both training strategies, which suggests that the free-text and design fields of trial registrations carry predictive signal that structured interaction models do not fully exploit. The gains were clear for the threshold-independent metrics but not for F1, which varied little between models and did not clearly exceed a trivial classifier.
Probing versus fine-tuning. The relative merit of probing depended on the model. For BioMistral, frozen embeddings with an MLP classifier matched or exceeded LoRA fine-tuning on F1 and PR-AUC in every phase and had the highest observed Phase III ROC-AUC and PR-AUC. One interpretation is that a 7B model pretrained on biomedical literature already produces representations that separate successful from unsuccessful trials; another, at least as likely, is that our LoRA configuration did not reach its full potential, since it used a single setting with a learning rate of , a mini-batch size of 2 and adapters on the query and value projections only. For BioBERT, full fine-tuning was slightly better than probing on ROC-AUC and PR-AUC in all phases; one possible explanation, which we did not test, is that a smaller model benefits more from task-specific adaptation. In both cases the differences were small. From a practical standpoint, probing requires one forward pass of the frozen model per field (ten per trial) to compute embeddings, which are computed once and stored, after which only a small classifier is trained (1.2M parameters for BioBERT and 2.9M for BioMistral), whereas full fine-tuning updates all 108M BioBERT parameters and LoRA trains 13.6M adapter parameters (0.19% of BioMistral) but still requires forward and backward passes through the full 7B model at every step.
Relation to prior work. Other methods have also reported improvements over HINT on this task. LINT, which likewise relies on trial text, reported higher ROC-AUC values than ours in Phases I and II, but on trials of biologic interventions only [11]. HINT with selective classification reached a Phase III PR-AUC of 0.902 on the subset of trials it chose to classify [15], and SPOT and LIFTED report gains over HINT through meta-learning and mixture-of-experts architectures [12, 14]. Because these studies differ in data subsets, splits or evaluation protocols, a comparison on identical test sets would be needed to rank the approaches.
Choice of metrics. On the TOP benchmark, F1 at a fixed threshold is strongly determined by class prevalence: a classifier that predicts success for every trial reaches F1 values of 0.713, 0.714 and 0.857 in Phases I–III, which none of the evaluated models, including HINT, clearly exceeded. This applies equally to earlier work that reports F1 on this benchmark. We therefore recommend that studies on TOP report the prevalence baseline alongside F1 and PR-AUC (or a prevalence-normalised PR-AUC), emphasise threshold-independent metrics, and, where a decision threshold is needed, choose it on the validation set and complement F1 with metrics such as balanced accuracy or the Matthews correlation coefficient.
5.1 Limitations
Statistical uncertainty. Each model was trained once, and no confidence intervals or significance tests are reported. Many differences between the language-model variants are of the same order as the sampling uncertainty of the test sets.
Baseline comparability. HINT results were taken from the original publication rather than reproduced. HINT was trained separately for each phase with different input modalities, whereas our models were trained on pooled data from all phases. We also did not compare against general-domain models, such as term frequency-inverse document frequency (TF-IDF) features with logistic regression, BERT-base or Mistral-7B-Instruct-v0.1, so the improvement cannot be attributed specifically to biomedical pretraining.
Registry snapshot. Trial records were downloaded in September 2024 and reflect their latest version rather than the version available when each trial started, so the text may include edits made after a trial began.
Pretraining overlap. BioBERT and BioMistral were pretrained on PubMed and PubMed Central, which include publications reporting the results of some test-set trials. The models may therefore partly recall reported outcomes rather than infer them from trial design.
Scope. The study uses a single benchmark of small-molecule trials, English-language registry text and a binary outcome label.
Future work will address these limitations and explore combining textual representations with the structured drug and disease features used by HINT.
6 Conclusion
We evaluated BioBERT and BioMistral for phase-level clinical trial outcome prediction on the TOP benchmark, using a text-only representation of each trial built from ten ClinicalTrials.gov fields. Both fine-tuned and probed models ranked trials more accurately than the published HINT results in all three phases, as measured by ROC-AUC and PR-AUC, while F1 remained close to that of a trivial classifier for all models. Under the configurations tested, probing frozen representations performed comparably to fine-tuning, and BioMistral probing had the highest observed Phase III ROC-AUC and PR-AUC. This suggests that pretrained biomedical language models already encode much of the relevant signal, and that probing offers a computationally cheaper way to use them: the frozen model is run once to compute embeddings, and only a small classifier is trained. Confidence intervals, a simple text baseline, a controlled re-evaluation of HINT and the use of originally registered trial records are the most important next steps for confirming these findings.
Acknowledgements
We thank Ahmed Cheikh Rouhou and Imen Jendoubi for reviewing the manuscript and for their helpful comments, which improved its quality.
Data availability
The TOP benchmark is publicly available from its GitHub repository [22] under a non-commercial licence; we used the data files as of commit d1f5c4a. Trial records were obtained from the public ClinicalTrials.gov registry [23].
References
[1] Duxin Sun, Wei Gao, Hongxiang Hu, and Simon Zhou. Why 90% of clinical drug development fails and how to improve it? Acta Pharmaceutica Sinica B, 12(7):3049–3062, 2022. doi: 10.1016/j.apsb.2022.02.002.
[2] Chi Heem Wong, Kien Wei Siah, and Andrew W. Lo. Estimation of clinical trial success rates and related parameters. Biostatistics, 20(2):273–286, 2019. doi: 10.1093/biostatistics/kxx069.
[3] David B. Fogel. Factors associated with clinical trials that fail and opportunities for improving the likelihood of success: A review. Contemporary Clinical Trials Communications, 11:156–164, 2018. doi: 10.1016/j.conctc.2018.08.001.
[4] Kaitlyn M. Gayvert, Neel S. Madhukar, and Olivier Elemento. A data-driven approach to predicting successes and failures of clinical trials. Cell Chemical Biology, 23(10):1294–1301, 2016. doi: 10.1016/j.chembiol.2016.07.023.
[5] Andrew W. Lo, Kien Wei Siah, and Chi Heem Wong. Machine learning with statistical imputation for predicting drug approvals. Harvard Data Science Review, 1(1), 2019. doi: 10.1162/99608f92.5c5f0525.
[6] Zhen-Yu Hong, Jooyong Shim, Woo Chan Son, and Changha Hwang. Predicting successes and failures of clinical trials with an ensemble LS-SVR. medRxiv preprint, 2020.
[7] Tianfan Fu, Kexin Huang, Cao Xiao, Lucas M. Glass, and Jimeng Sun. HINT: Hierarchical interaction network for clinical-trial-outcome predictions. Patterns, 3(4):100445, 2022. doi: 10.1016/j.patter.2022.100445.
[8] Jinhyuk Lee, Wonjin Yoon, Sungdong Kim, Donghyeon Kim, Sunkyu Kim, Chan Ho So, and Jaewoo Kang. BioBERT: a pre-trained biomedical language representation model for biomedical text mining. Bioinformatics, 36(4):1234–1240, 2020. doi: 10.1093/bioinformatics/btz682.
[9] Yu Gu, Robert Tinn, Hao Cheng, Michael Lucas, Naoto Usuyama, Xiaodong Liu, Tristan Naumann, Jianfeng Gao, and Hoifung Poon. Domain-specific language model pretraining for biomedical natural language processing. ACM Transactions on Computing for Healthcare, 3(1): 1–23, 2021. doi: 10.1145/3458754.
[10] Yanis Labrak, Adrien Bazoge, Emmanuel Morin, Pierre-Antoine Gourraud, Mickael Rouvier, and Richard Dufour. BioMistral: A collection of open-source pretrained large language models for medical domains. In Findings of the Association for Computational Linguistics: ACL 2024, pages 5848–5864, 2024. doi: 10.18653/v1/2024.findings-acl.348.
[11] Chufan Gao, Tianfan Fu, and Jimeng Sun. Language interaction network for clinical trial approval estimation. arXiv preprint arXiv:2405.06662, 2024.
[12] Wenhao Zheng, Liaoyaqi Wang, Dongshen Peng, Hongxia Xu, Yun Li, Hongtu Zhu, Tianfan Fu, and Huaxiu Yao. LIFTED: Multimodal clinical trial outcome prediction via large language models and mixture-of-experts. In Findings of the Association for Computational Linguistics: EMNLP 2025, pages 7503–7517, 2025. doi: 10.18653/v1/2025.findings-emnlp.396.
[13] Douglas Teodoro, Nona Naderi, Anthony Yazdani, Boya Zhang, and Alban Bornet. A scoping review of artificial intelligence applications in clinical trial risk assessment. npj Digital Medicine, 8:486, 2025. doi: 10.1038/s41746-025-01886-7.
[14] Zifeng Wang, Cao Xiao, and Jimeng Sun. SPOT: Sequential predictive modeling of clinical trial outcome with meta-learning. In Proceedings of the 14th ACM International Conference on Bioinformatics, Computational Biology, and Health Informatics, pages 1–11, 2023.
[15] Yingzhou Lu, Tianyi Chen, Nan Hao, Capucine Van Rechem, Jintai Chen, and Tianfan Fu. Uncertainty quantification and interpretability for clinical trial approval prediction. Health Data Science, 4:0126, 2024. doi: 10.34133/hds.0126.
[16] Ling Yue, Sixue Xing, Jintai Chen, and Tianfan Fu. TrialEnroll: Predicting clinical trial enrollment success with deep & cross network and large language models. In Proceedings of the 15th ACM International Conference on Bioinformatics, Computational Biology and Health Informatics, pages 1–9, 2024. doi: 10.1145/3698587.3701375.
[17] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT), pages 4171–4186, 2019. doi: 10.18653/v1/N19-1423.
[18] Karan Singhal, Shekoofeh Azizi, Tao Tu, S. Sara Mahdavi, Jason Wei, Hyung Won Chung, Nathan Scales, Ajay Tanwani, Heather Cole-Lewis, Stephen Pfohl, Perry Payne, Martin Seneviratne, Paul Gamble, Chris Kelly, Abubakr Babiker, Nathanael Schärli, Aakanksha Chowdhery, Philip Mansfield, Dina Demner-Fushman, Blaise Agüera y Arcas, Dale Webster, Greg S. Corrado, Yossi Matias, Katherine Chou, Juraj Gottweis, Nenad Tomasev, Yun Liu, Alvin Rajkomar, Joelle Barral, Christopher Semturs, Alan Karthikesalingam, and Vivek Natarajan. Large language models encode clinical knowledge. Nature, 620:172–180, 2023. doi: 10.1038/s41586-023-06291-2.
[19] Albert Q. Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, Lélio Renard Lavaud, Marie-Anne Lachaux, Pierre Stock, Teven Le Scao, Thibaut Lavril, Thomas Wang, Timothée Lacroix, and William El Sayed. Mistral 7B. arXiv preprint arXiv:2310.06825, 2023.
[20] Laila Rasmy, Yang Xiang, Ziqian Xie, Cui Tao, and Degui Zhi. Med-BERT: pretrained contextualized embeddings on large-scale structured electronic health records for disease prediction. npj Digital Medicine, 4:86, 2021. doi: 10.1038/s41746-021-00455-y.
[21] Yonatan Belinkov. Probing classifiers: Promises, shortcomings, and advances. Computational Linguistics, 48(1):207–219, 2022. doi: 10.1162/coli_a_00422.
[22] Tianfan Fu. Clinical-trial-outcome-prediction: TOP benchmark dataset. GitHub repository, 2021. URL https://github.com/futianfan/clinical-trial-outcome-prediction. Data files at commit d1f5c4a (30 December 2021); released for non-commercial use only.
[23] U.S. National Library of Medicine. ClinicalTrials.gov, 2024. URL https://clinicaltrials.gov. Records downloaded 12 September 2024.
[24] Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations (ICLR), 2022.
[25] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations (ICLR), 2015.
[26] Kexin Huang, Tianfan Fu, Lucas M. Glass, Marinka Zitnik, Cao Xiao, and Jimeng Sun. DeepPurpose: a deep learning library for drug-target interaction prediction. Bioinformatics, 36(22-23):5545–5547, 2020. doi: 10.1093/bioinformatics/btaa1005.
[27] Edward Choi, Mohammad Taha Bahadori, Le Song, Walter F. Stewart, and Jimeng Sun. GRAM: Graph-based attention model for healthcare representation learning. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 787–795, 2017. doi: 10.1145/3097983.3098126.