Abstract
Background/Objectives: To determine whether a coagulation-immune index, vaginal microbiome composition, and colposcopic imaging carry non-redundant information about HPV-associated lower genital tract co-infection when integrated within a single learned model. Methods: This retrospective three-center study analyzed 560 women referred for colposcopy: 420 formed the development cohort, and 140 were a withheld external cohort from a third center. All three modalities were sampled within one visit. Participants were classified as HPV-negative, HPV-positive without co-infection, or HPV-positive with co-infection, the latter confirmed by nucleic acid amplification for Chlamydia trachomatis, Neisseria gonorrhoeae, Trichomonas vaginalis, or Mycoplasma genitalium, with overlapping taxa masked a priori. TIM-Fusion combined a ConvNeXt-Tiny image encoder, a feature-tokenizer transformer for the D-dimer-to-lymphocyte ratio, and a perceptron for centered log-ratio abundances through modality-confidence weighting and bottleneck cross-attention. Results: On the external cohort, TIM-Fusion achieved a macro-AUC of 0.92 (95% CI 0.86 to 0.96) and accuracy of 0.90 across the three categories, exceeding the image-only baseline at 0.81, the tabular-only baseline at 0.76, and the best pairwise combination at 0.86. All thirteen comparisons, differences of 0.03 to 0.16, retained significance under Holm correction. Ablation attributed 0.05 (0.01 to 0.10) to bottleneck fusion, the only component with an interval excluding zero; withholding imaging, microbiome, or the ratio cost 0.13, 0.06, and 0.04. Imaging was therefore the dominant contributor, its removal costing three times as much as either of the other modalities. Entering D-dimer and lymphocyte count separately rather than as a ratio gave 0.89 (0.82 to 0.93), so the ratio form is an estimation convenience at this sample size and not a requirement. Co-infection-class AUC was 0.87 (0.75 to 0.94) on 26 events. In a secondary analysis restricted to the 84 HPV-positive external participants, binary discrimination of co-infection was 0.86 (0.76 to 0.93) with sensitivity 0.85 and specificity 0.91, lower than the one-versus-rest figure, which includes HPV-negative women in the negative class. Conclusions: Colposcopic morphology carries most of the discriminatory signal, while vaginal microbial ecology and coagulation-immune status each add information the others do not. Discrimination of co-infection status itself is more modest than the macro-averaged figure suggests, since within the HPV-positive stratum alone it falls to 0.86 on 26 events.
1. Introduction
Cervical cancer remains one of the most common malignancies affecting women worldwide, with an estimated 661,000 new cases and 348,000 deaths annually and a burden projected to rise absent accelerated intervention [1]. Persistent infection with high-risk HPV genotypes is its principal necessary cause, and the World Health Organization has set 90-70-90 targets for vaccination, screening, and treatment coverage, respectively, though most countries remain off track [2]. The trajectory from acquisition to persistent infection and lesion progression is nonetheless shaped by host and microenvironmental factors beyond viral presence, and concurrent infection of the lower genital tract is increasingly recognized as one such factor: Latorre-Millán et al. [3] found co-infection with other sexually transmitted pathogens more frequent among women with persistent high-risk HPV infection, supporting co-infection status as a clinically meaningful stratum rather than an incidental finding.
Two largely separate strands of biomarker research show that host physiological state carries signal for cervical disease independent of direct viral detection. The first concerns systemic coagulation and immune activation, in which coagulation-cascade activation mediated through tissue factor expression and platelet-fibrin-tumor cell interaction underlies the rationale for markers such as D-dimer [4]. Zhuang et al. [5] synthesized 38 cohort studies comprising 10,246 patients and confirmed that pretreatment neutrophil-to-lymphocyte ratio predicts survival, while Chen Q et al. [6], in 888 patients, found elevated D-dimer independently predicted postoperative recurrence in early-stage disease (adjusted OR 2.16, 95% CI 1.28 to 3.62). The second concerns the local vaginal environment, where a shift away from Lactobacillus-dominant communities toward a diverse, dysbiotic state correlates with HPV persistence and lesion severity [7,8].
Throughout that literature, coagulation and immune-cell indices are treated as standalone variables evaluated against a single endpoint by cutoff, hazard ratio, or odds ratio. The reframing proposed here concerns that role rather than the algebra of the index: the D-dimer-to-lymphocyte ratio (DLR) is treated not as an isolated marker read against a threshold, but as one encoded input stream within a network that learns how it interacts with two other biological compartments. The ratio form rests on the narrower hypothesis that D-dimer and absolute lymphocyte count capture two limbs of the same host response moving in opposite directions under sustained mucosal inflammation, so that their quotient attenuates between-individual variation while retaining the direction of the joint signal. This is a hypothesis about convenience of parameterization rather than about information content, since the quotient is a deterministic function of its components and cannot contain anything they do not, so the parameterization is tested empirically in Section 3.4 rather than assumed.
The index is described as coagulation-immune rather than as a marker of thromboinflammation, since D-dimer lies predominantly within the reference range here, no other marker of coagulation activation was measured, and the stronger term would assert a mechanism these data cannot support. Because the supporting evidence derives almost entirely from patients with established carcinoma, whether such an index retains value earlier in the disease spectrum is untested, and the branch’s contribution can be quantified against two modalities that sample the affected compartment directly.
Deep learning has meanwhile been applied extensively to colposcopic imaging [9], motivated by the variability and training burden of expert interpretation, with meta-analytic estimates indicating clinically acceptable discrimination and continuing calls for external validation before translation [10]. Aquilina and Papagiannakis [11] showed that a classifier on images alone achieved moderate discrimination but that fusing image-based predictions with structured clinical and referral data materially improved it. Madathil et al. [12] found transformer-based fusion best among five strategies on internal validation, which motivated the attention-based fusion adopted here [13], and Himabindu et al. [14] reported high internal-validation accuracy from a Swin-transformer ensemble; all three are reimplemented as comparators, each in its original two-modality form and a three-modality extension.
No study identified by the search strategy applied here has combined all three modalities within a single learned model, and the imaging and multimodal studies identified relied on internal rather than fully independent external validation. This study develops such a model, TIM-Fusion, and uses it as an instrument to ask whether the three compartments carry non-redundant information, with four objectives: to test whether combining them improves classification over any single modality or pairwise combination; to compare the architecture against published fusion paradigms reimplemented under an identical protocol with identical inputs; to attribute any gain to specific architectural components; and to characterize calibration, subgroup consistency, and interpretability. A fifth question, added during revision and therefore secondary and post hoc, asks how well the model separates co-infection within the HPV-positive stratum alone, which is the contrast of most direct clinical interest and the one the three-class formulation reports only indirectly. The aim is not a clinical tool. The scale of the experiments follows from that aim, since attributing information to individual modalities and architectural components under multiplicity control requires many more fits than running a model would. Because the outcome is a laboratory result concurrent with the model inputs, the task is diagnostic rather than prognostic, and the same panel that defines the outcome would in practice answer the question the model addresses. The same holds for HPV status, which is determined by genotyping already performed in this referral pathway, so the three-category structure is adopted to keep the co-infection contrast in its native population rather than to propose prediction of viral status. What the analysis can establish is how the three compartments relate, not whether a model built on them should be used.
2. Materials and Methods
2.1. Study Design and Ethical Approval
This was a retrospective multicenter cohort study across three independent gynecologic and pathology centers, using consecutively identified records of women referred for colposcopic examination. The protocol was approved by the ethics committee of Wenzhou Medical University, with a waiver of informed consent granted because only routinely collected clinical data were used, and specific written consent for publication was obtained for every participant whose image appears in a figure. All identifiers were removed before analysis, and each participant was assigned a de-identified code used consistently across the three modalities.
2.2. Study Population and Eligibility
Participants entered through a colposcopy referral pathway rather than primary screening, so the case mix is not that of an unselected screening population, and their flow from eligibility assessment to analysis is given in Figure 1. Referral indication, cytology grade, and histopathological lesion grade were recorded for every participant and are reported with the cohort description below. Table 1 lists the eligibility and exclusion criteria applied.
Figure 1.
Participant flow.
Table 1.
Inclusion and exclusion criteria.
Eligibility required age 18 to 65 years with colposcopy, venous sampling, and vaginal swabbing within one visit window, the two draws separated by a median of 41 min (IQR 22 to 68) so that the three modalities describe the same state, plus a coagulation panel within 24 h and one interpretable transformation-zone image. Exclusions, listed in Table 1, covered conditions altering coagulation and immune-cell markers independently of genital tract status, antimicrobial exposure within 30 days, technical failures, and HPV-negative women with co-infection, whom the three-category outcome cannot accommodate.
2.3. Sample Size
Development sample size followed Riley et al. [15]. Assuming a C-statistic of 0.85, smallest-category prevalence 0.18, shrinkage 0.90, and 18 free parameters, the minimum was 391, met by the achieved 420. It is orienting only: the criterion assumes countable regression parameters, and effective degrees of freedom are undefined for a partially fine-tuned network. Regularization was therefore structural: the imaging backbone was frozen except for its final stage, the microbiome vector was compressed to 40 dimensions, and dropout was applied at one fusion representation.
External validation criteria [16] recommend at least 100 events and 100 non-events for a precise calibration slope; the external cohort of 140 contains at most 58 events per category and 26 with co-infection, so class-specific estimates are imprecise.
2.4. Multi-Center Data Partitioning
Two centers were pooled for development, with training and internal validation by five-fold patient-level cross-validation ensuring no patient contributed to more than one fold, while the third, geographically and institutionally independent center was withheld entirely as an external test set. That assignment was fixed and documented before any model was trained, and no outcome information from it informed any modelling or hyperparameter decision. Centers are denoted A and B for development and C for external testing. Colposcopy units, sequencing platforms, and coagulation assays differed between sites; D-dimer results were harmonized to fibrinogen-equivalent units, and the DLR is expressed as mg/L FEU per 109 lymphocytes/L. Figure 2 sets out the workflow from acquisition to external validation.
Figure 2.
Study workflow and model architecture.
2.5. Data Modalities and Acquisition
Venous sampling yielded D-dimer concentration and absolute lymphocyte count, from which the DLR was derived; platelet count, fibrinogen, and C-reactive protein were also recorded, the last two inconsistently across sites, and none was entered into the model. A vaginal swab was collected before colposcopy and before acetic acid application, followed by 16S rRNA sequencing of the V3 to V4 region, with reads resolved to amplicon sequence variants and classified against a curated cervicovaginal reference permitting species-level assignment of Lactobacillus [17], on which community state type was assigned; where assignment was ambiguous, the sample was categorized only as dominant or non-dominant. Colposcopic images were acquired after 5% acetic acid using digital colposcopy units under white light at a fixed working distance.
2.6. Data Preprocessing
Tabular: Outliers were screened by the interquartile range method. Missingness was 2.1% (D-dimer) and 0.9% (absolute lymphocyte count) for the two modelled variables, and 0.7% (platelet count), 14.3% (fibrinogen), and 18.6% (C-reactive protein). Missing values took the training-fold median, and externally the development-cohort median, with a complete-case sensitivity analysis below; continuous variables were z-standardized on development-cohort parameters.
Microbiome: Counts became relative abundances without rarefaction, which discards information in compositional data. Zeros received Bayesian-multiplicative replacement before centered log-ratio transformation, and taxa in fewer than 5% of samples were filtered out. The prevalence filter, geometric mean, and scaling constants came from the development cohort alone.
Imaging: Images were resized to 224 by 224 pixels and normalized on development-cohort channel statistics, with color standardization for inter-center illumination and camera differences and inpainting of specular reflection.
Batch effects: Microbiome data were harmonized across centers using MMUPHin with center as the batch variable [18], and Center C parameters estimated from its own unlabeled sequencing output. This uses no outcome information and places training and testing in one input space. Being transductive, harmonization requires a batch of samples rather than a single patient, which no prospective deployment on individual women could supply. The uncorrected results reported in Section 3.9 are therefore the deployment-relevant estimates, and the harmonized results reported elsewhere describe performance when a full external batch is available at once, as it was here.
2.7. Outcome Definition and Separation of Input from Outcome
Co-infection was laboratory-confirmed detection of Chlamydia trachomatis, Neisseria gonorrhoeae, Trichomonas vaginalis, or Mycoplasma genitalium by nucleic acid amplification, with per-organism counts reported per cohort. Participants were assigned to three categories: HPV-negative, HPV-positive without co-infection, or HPV-positive with co-infection; HPV status was determined by polymerase chain reaction genotyping that also separated HPV16 and HPV18. The three-category formulation is an analytical device, not a proposal to predict HPV status. Genotyping is available before colposcopy in this pathway, and no model output should substitute for it. Retaining HPV-negative women serves two purposes. It keeps the class structure of the population the model would encounter, so that class-specific estimates are not made in an artificially restricted stratum, and it provides a specificity check on the imaging branch, since a model that had learned only lesion appearance would be expected to confuse HPV-negative women with HPV-positive women without co-infection rather than to separate them. Section Secondary Analysis: Co-Infection Within the HPV-Positive Stratum reports the contrast of clinical interest, co-infection within the HPV-positive stratum, without the HPV-negative participants in the negative class. Because 16S is also an input, the panel was restricted to organisms that V3 to V4 sequencing captures poorly; bacterial vaginosis was excluded; Mycoplasma and Ureaplasma were masked a priori, and a prespecified sensitivity analysis bounds residual overlap, since genus-level masking leaves the correlated community structure intact.
2.8. Cohort Description, Class Handling, and Augmentation
Table 2 describes both cohorts as medians with interquartile ranges or counts with percentages. Standardized mean differences replace significance tests. Fibrinogen and C-reactive protein are descriptive only; referral cytology, histological grade, smoking, parity, intrauterine device use, lifetime partner number, and menopausal status enter as plausible confounders of the imaging branch or of vaginal composition. Ethnicity was not recorded. Imbalance was handled by stratified folds and focal loss without class weighting and calibration by temperature scaling.
Table 2.
Cohort characteristics, development, and external test sets.
Most standardized mean differences fall below 0.10; three exceed it, namely D-dimer (SMD 0.11), the derived ratio (0.13), and the proportion with CIN2 or worse (0.14), each higher at Center C. The external cohort therefore carries a modestly more advanced lesion spectrum, 26.4% with CIN2 or worse against 22.9% in development, together with slightly higher coagulation-immune values, which is consistent with a referral threshold that differs between institutions. All three imbalances are small in absolute terms, but the external estimates should be read as transfer to a case mix related to, rather than identical with, the one in which the model was trained. Training-fold images were augmented by random horizontal flipping, rotation within plus or minus 15 degrees, brightness and contrast jitter, and random cropping with resizing that preserves the transformation zone, with none applied to validation or external images. Mixup between paired same-class samples was applied to the tabular branch, and because mixup affects calibration, a variant trained without it appears in the component ablation.
Table 2 compares the two cohorts and therefore says nothing about how the coagulation-immune measures behave across the outcome categories themselves. Because the D-dimer-to-lymphocyte ratio is central to the study, its distribution and that of its two components are given by category in Table 3, pooling the development and external cohorts so that the co-infection group contains 102 rather than 26 participants. The contrast of interest, co-infection against no co-infection within HPV-positive women, is summarized beneath the table as a median shift and a rank-based effect size.
Table 3.
Coagulation-immune measures by outcome category, pooled development, and external cohorts (n = 560). Values are median (IQR).
Contrast of primary interest, co-infection against no co-infection within HPV-positive participants (n = 336): Hodges-Lehmann median shift in the ratio 0.05 (95% CI 0.02 to 0.09); Cliff’s delta 0.22 (95% CI 0.10 to 0.34); Mann-Whitney p = 0.001. All comparisons are descriptive and uncorrected.
The ratio is shifted upward in the co-infection category, but the distributions overlap substantially, and the effect size is small to moderate, with Cliff’s delta of 0.22 corresponding to roughly a 61% probability that a randomly chosen participant with co-infection has a higher ratio than one without. In a logistic model restricted to HPV-positive participants and adjusted for age, histological grade, smoking, and HPV16 or HPV18 status, each doubling of the ratio was associated with an odds ratio for co-infection of 1.31 (95% CI 1.02 to 1.69). With 102 events and four covariates, this is at the limit of what the data support; it was fitted after evaluation was complete and is reported as descriptive.
2.9. Proposed Architecture
TIM-Fusion (Tri-modal Integration Model) uses a ConvNeXt-Tiny image encoder (28.6 million parameters), ImageNet-1k initialized and domain-adapted by MoCo v3 pretraining on unlabeled development-cohort images [19], fine-tuned with only the final stage and classification neck unfrozen; no external colposcopy dataset was used, precluding overlap with the external cohort. A feature-tokenizer transformer [20] (three layers, eight heads, 192 dimensions) takes the DLR and age. The microbiome branch is a 256-128-40 perceptron whose input concatenates the masked centered log-ratio genus vector with a one-hot encoding of community state type, the latter supplied as a compact summary of the overall community configuration alongside the individual genus abundances. Age is carried in this branch as a covariate rather than as a variable of interest and is retained in every arm of the parameterization comparison in Section 3.4, so that the differences reported there concern the coagulation-immune inputs only. The three 256-dimensional embeddings are scaled by confidence weights from a shared two-layer scoring head, learned end-to-end; an entropy regularizer (0.05) and modality dropout (0.15) prevent modality collapse and permit missing-input inference. Fusion is a bottleneck cross-attention layer [21] (4 latent tokens, 2 layers, 4 heads, dimension 256) where all three embeddings attend jointly rather than pairwise, followed by a classifier with dropout 0.3 and softmax over three categories (Figure 2, middle panel).
2.10. Baseline and Comparator Models
All comparators shared preprocessing, folds, seeds, and training budget, with independently tuned hyperparameters. The tabular-only baseline applies gradient-boosted trees to the DLR, age, and transformed genus vector as a flat feature set; the image-only baseline adds a classification head to the image encoder. Three pairwise ablations use the proposed encoders and fusion, so the DLR-plus-microbiome model differs from the tabular-only baseline only in architecture. Feature-level concatenation and pairwise cross-attention complete the internal set.
Three published architectures were reimplemented: the hybrid early fusion of Aquilina and Papagiannakis [11], the transformer fusion of Madathil et al. [12], and the Swin-transformer ensemble of Himabindu et al. [14]. The first reproduced an AUC of 0.74 against 0.75 as published, and the third an accuracy of 98.9% against 99.44%; the second, lacking public source data, was verified against its specification alone. Each was evaluated in its original two-modality form and in a three-modality extension carrying the microbiome vector.
Colposcopic assessment used the Swede score, an ordinal 0 to 10 instrument recorded at the visit by eleven colposcopists (median 9 years’ experience) blinded to laboratory and microbiome results. It was the decision variable for each one-versus-rest curve, reversed for the HPV-negative category. Colposcopists are not trained to identify co-infection from appearance, so this baseline shows what current practice recovers incidentally.
2.11. Training Configuration
Models were trained in PyTorch 2.2 with mixed precision. The objective was focal loss plus the entropy regularizer, optimized with AdamW under cosine annealing and early stopping on validation macro-AUC. Hyperparameters were selected by nested search within training folds, isolating the external cohort from tuning; probabilities were recalibrated by temperature scaling fitted on validation folds and applied unchanged externally. Table 4 gives the settings. Training and validation loss and macro-AUC were logged at every epoch of every fit and are plotted in Supplementary Figure S1.
Table 4.
Training configuration for the proposed model.
Five-fold cross-validation across five seeds gave 25 models per configuration; external predictions were their mean softmax, identically for every comparator. Twenty-seven configurations at 25 fits each gave 675 runs and roughly 740 GPU-hours on an NVIDIA A100 (40 GB), with Ubuntu 22.04 LTS, CUDA 12.1, Python 3.10, scikit-learn 1.4, QIIME2 2023.9, shap 0.45, and R 4.3.2.
2.12. Evaluation Metrics
Performance was evaluated by accuracy, sensitivity, specificity, precision, F1 score, and AUC, computed per class one-versus-rest and macro-averaged without weighting. Calibration was assessed per class by intercept and slope with loess-smoothed curves [22]; the Hosmer-Lemeshow test was avoided as grouping-dependent and underpowered here. The multiclass Brier score uses the class-averaged convention:
where K = 3, against the no-information score from predicted prevalences.
Net benefit [23] was computed over thresholds of 0.05 to 0.50 for a hypothetical decision to intensify follow-up, the threshold encoding the exchange rate between a missed co-infection and an unnecessary intensification. Input acquisition costs are excluded; references are the trivial strategies. Intervals derive from 2000 bootstrap resamples, bias-corrected and accelerated.
2.13. Interpretability
t-SNE on external fused embeddings is illustrative only, since structure depends on perplexity and initialization and inter-cluster distances are not quantitative; separability is quantified by silhouette coefficient and k-nearest-neighbor accuracy in the 256-dimensional space. GradientSHAP [24] (background 200, 500 samples per attribution) was applied at two levels, both on development-cohort participants only, keeping feature selection independent of the external cohort. At the modality level, attributions were taken with respect to each of the three 256-dimensional embeddings before fusion and summed within each embedding, giving one value per modality per participant; these support the comparison of modalities against one another. At the input level, attributions were taken with respect to the model inputs themselves, that is, the DLR, age, the centered log-ratio genus vector, and the one-hot community state type, with the target set to the logit of the participant’s own category. The two attributions are computed independently, and embedding-level values are not projected back onto input features: the encoders are not invertible, and any such mapping would be arbitrary. Spatial saliency for the image branch was computed by Grad-CAM [25], since ConvNeXt-Tiny is fully convolutional and contains no attention mechanism from which weights could be read directly. Gradients were taken with respect to the logit of the participant’s own category and pooled over the output feature map of the final ConvNeXt stage, the 768-channel 7-by-7 tensor immediately preceding the classification neck, which is the deepest layer retaining spatial correspondence. Channel-wise gradient means weighted that feature map; the weighted sum was passed through a rectified linear unit, and the result was normalized to the unit interval by per-image minimum and maximum, then upsampled bilinearly to the 224 by 224 input resolution. Iso-saliency contours are drawn at 0.35, 0.55, and 0.80 of the per-image maximum.. Each participant has 25 maps, one per fit; these were normalized individually and then averaged, so that no single fit dominates through a difference in scale. Maps were rated on a prespecified 4-point scale by three uninvolved gynecologic oncologists blinded to category and output; agreement was assessed by Fleiss’ kappa; being alterable without changing predictions, they are descriptive only.
2.14. Statistical Analysis
Per-class AUC differences used DeLong’s test [26]; because it does not extend to macro-averaged multiclass AUC, macro differences used paired bootstrap over 2000 resamples, the p-value and bias-corrected accelerated interval from one distribution. The prespecified family was all thirteen configurations under Holm control; colposcopist impression is reported for context but excluded, and per-class DeLong tests are nominal detail. One further analysis was added after peer review and is reported as a highlighted secondary result: a binary comparison restricted to HPV-positive participants, co-infection versus no co-infection, in 84 external participants. It lies outside the prespecified family, so its intervals and p-values are nominal and carry no multiplicity correction, and it is reported in Section Secondary Analysis: Co-Infection Within the HPV-Positive Stratum. Distributions of the coagulation-immune measures across outcome categories are described in Table 3, with the Hodges-Lehmann shift and Cliff’s delta as effect sizes and bootstrap intervals from 2000 resamples, and with a logistic model restricted to HPV-positive participants and adjusted for age, grade, smoking, and HPV16 or HPV18 status. All of these were specified after evaluation and are descriptive.
2.15. Subgroup and Confounder Analysis
Macro-AUC was computed within age, community state type, and histological grade strata and compared between Centers A and B; with 34 to 79 participants per subgroup, the analysis is underpowered. A multinomial model on the pooled 560, giving 102 rather than 26 events, tests whether output remains associated with co-infection after adjustment for grade, referral cytology, HPV16 or HPV18, smoking, and intrauterine device use; run only after evaluation was complete, its coefficient is read qualitatively.
2.16. Reporting Standards
Reporting follows TRIPOD+AI [27], as a diagnostic classification model, with a checklist as Supplementary Material. Inference time and trainable parameters are reported for the single model and ensemble. The study was not prospectively registered, though the outcome definition, partitioning, comparison family, and correction procedure were fixed before training.
3. Results
3.1. Participant Flow and Cohort Characteristics
Of 843 women assessed, 283 were excluded (Figure 1), most often for an incomplete same-visit triad (96); the remaining 560 formed the development cohort of 420 and the external test cohort of 140. Referral indications were abnormal cytology (61.4%), high-risk HPV with normal cytology (28.1%), and clinical suspicion or surveillance (10.5%). Median D-dimer lay within the reference range in both, and reviewer agreement on image admissibility gave Cohen’s kappa of 0.86.
3.2. Performance Across Validation and External Test Sets
Table 5 gives validation performance over five folds and five seeds with external performance, Wilson intervals for proportions and logit-scale for AUC; every configuration was trained 25 times and ensembled identically. Standard deviations understate uncertainty, as folds are not independent. Training accuracy exceeded validation by 0.02 to 0.05, and Supplementary Figure S1 plots training and validation loss on the left axis and training and validation macro-AUC on the right against epoch, one panel for each of the fourteen configurations of Table 5. Each curve is the mean over the 25 fits of that configuration, five folds by five seeds, taken at each epoch index over the fits still training at that point, with no interpolation and no padding to a common length. Because early stopping monitored validation macro-AUC with a patience of 15 epochs, fits ended at different epochs, and the dotted line and star in each panel together mark the selected epoch, the one at which mean validation macro-AUC was highest and whose weights were carried forward. Transfer loss ranged from 0.00 to 0.03, largest in the tabular-only baseline and the deepest comparator (validation 0.92), which, with thirteen configurations and one site, is compatible with sampling variation.
Table 5.
Validation and external test performance of all configurations.
3.3. Modality Ablation
Table 5’s pairwise rows give each modality’s contribution. Imaging dominates: without it, DLR plus microbiome falls to 0.78, near the tabular-only level, whereas dropping either non-imaging modality stays above the image-only baseline. The DLR-plus-microbiome model and the tabular-only baseline receive identical information and differ by 0.02, the contribution of learned encoding. Microbiome and coagulation-immune inputs contribute comparably alongside imaging (0.86 and 0.85), and the full model exceeds the best pairwise combination by 0.06. For the reimplemented architectures, all three modalities changed macro-AUC by 0.01, 0.00, and −0.01; permuting the vector shifted probabilities by 0.04, so it is absorbed rather than exploited.
3.4. Parameterization of the Coagulation-Immune Branch
Three parameterizations of the coagulation-immune branch were compared. Age was present in the tabular branch in all three, and only the coagulation-immune inputs differed between them, so the differences below are not confounded by the presence or absence of age. All three lie outside the prespecified family, so intervals are nominal. The ratio alone gave 0.92 (0.86 to 0.96); D-dimer and lymphocyte count entered separately gave 0.89 (0.82 to 0.93), a difference of 0.03 (95% CI 0.01 to 0.06); and all three together, introducing collinearity, gave 0.90 (0.85 to 0.96), with the D-dimer contribution reversing sign in nine of 25 models. Being a deterministic function of its components, the ratio cannot carry information they lack; the difference is an estimation effect and a finite-sample observation, not evidence for the ratio as a construct. Stated as a conclusion rather than a caveat: these data do not establish that the ratio form is necessary. What they show is that supplying the quotient pre-formed spared the tabular branch from having to recover the same relationship from 420 development participants, and that the advantage of doing so was 0.03 macro-AUC with a lower bound of 0.01. In a larger development sample, the difference would be expected to shrink toward zero, and no result reported here would change if D-dimer and lymphocyte count were entered separately, since that configuration reaches 0.89 (0.82 to 0.93) and preserves the modality ordering in Table 5.
3.5. Architectural Component Ablation and Missing-Modality Behavior
Table 6 attributes the gain to individual components, each altered in turn, with its lower panel reporting inference with one modality withheld. Four differences exclude zero: replacing the bottleneck with concatenation costs 0.05, removing the bottleneck and weighting together 0.08, withholding the microbiome 0.06, and withholding the image 0.13. The 0.08 matches the sum of the two effects and the 0.84 of concatenation fusion in Table 5, consistent with additivity. Remaining components account for 0.01 to 0.03, with intervals spanning zero. One clarification is needed about what the withholding rows measure. Modality dropout operates at the level of the branch, so the row labelled inference with DLR withheld masks the entire tabular input, age included, and its 0.04 is therefore the contribution of that branch rather than of the ratio alone. Two further ablations separate the two. Retaining age and masking only the ratio gives 0.89 (0.82 to 0.94), a difference of 0.03 (95% CI −0.02 to 0.08) from the full model, while retaining the ratio and masking only age gives 0.92 (0.86 to 0.96), a difference of 0.00 (95% CI −0.04 to 0.04). Almost all of the branch effect is therefore attributable to the ratio, but neither interval excludes zero, and the attribution is not established. Both rows lie outside the prespecified family, and their intervals are nominal. Without the DLR, the full model reaches 0.88 against 0.86 for the purpose-trained image-plus-microbiome model on the same information, a difference of 0.02 (95% CI −0.03 to 0.07, p = 0.41) that is not established.
Table 6.
Component ablation and missing-modality inference.
The row labelled inference with DLR withheld masks the whole tabular branch, age included, since modality dropout operates at branch level; the two final rows separate the ratio from age by masking one input at a time.
3.6. Per-Class Performance
Table 7 reports one-versus-rest class performance on the external cohort, each rate given with its TP, FP, and FN counts from the matrix in Supplementary Table S1; rows sum to 126 correct of 140, accuracy 0.90, with 14 false positives and 14 false negatives. Denominators of 56, 58, and 26 drive the interval widths; those for AUC are on the logit scale.Discrimination was strongest for the HPV-negative class and weakest for the co-infection class, the smallest and the one of interest. These are one-versus-rest figures, so the negative class of the co-infection row contains both the 58 HPV-positive women without co-infection and the 56 HPV-negative women, and the latter are the participants the model separates most easily. The co-infection AUC of 0.87 therefore overstates what the model achieves on the contrast of clinical interest. Section Secondary Analysis: Co-Infection Within the HPV-Positive Stratum reports that contrast directly, restricted to the 84 HPV-positive participants.
Table 7.
Per-class performance on the external test cohort.
All rates are one-versus-rest, so each negative class comprises the two remaining categories; for the co-infection row, this includes the 56 HPV-negative participants. The binary co-infection analysis within the HPV-positive stratum alone is given in Table 8.
Table 8.
Secondary binary analysis, co-infection versus no co-infection within HPV-positive participants of the external cohort (n = 84, 26 events).
Secondary Analysis: Co-Infection Within the HPV-Positive Stratum
The 84 HPV-positive participants of the external cohort, 26 with and 58 without co-infection, were rescored as a binary problem by renormalizing the two HPV-positive class probabilities over their sum, so that no model was retrained, and no participant was discarded. Table 8 reports the resulting metrics at the default threshold of 0.5. Discrimination is lower than the one-versus-rest figure of 0.87 reported in Table 7, which is expected, since that formulation places 56 HPV-negative women in the negative class, and those are the participants whom the model separates most easily. The precision-recall area is reported against a prevalence of 0.31 in this stratum, and the calibration intercept and slope come from the same temperature parameter fitted on the validation folds and applied unchanged. With 26 events, every interval here is wide, and this analysis was added after peer review, so its p-values and intervals are nominal and uncorrected.
Prevalence of co-infection in this stratum was 0.31. Probabilities were obtained by renormalizing the two HPV-positive class probabilities of the three-class model over their sum; no model was retrained, and no participant was excluded. Counts differ from the co-infection row of Table 7 only in the false positives, six of which included one HPV-negative participant who does not enter this stratum. Intervals are from 2000 bias-corrected and accelerated bootstrap resamples; the analysis was added after peer review, and its intervals and p-values are nominal and uncorrected.
3.7. Statistical Comparison Against Comparators
Table 9 reports the thirteen prespecified comparisons, with differences and intervals derived from the same paired bootstrap distribution as the accompanying macro p-values. Under Holm correction across the full family, every comparison retained significance, including those against the three-modality forms of the reimplemented architectures. The smallest difference, 0.03 macro-AUC against the two-modality Swin ensemble, carries a nominal p-value of 0.031 and is retained because it is the largest of the thirteen ordered p-values, at which rank the Holm threshold equals the unadjusted alpha; it is the weakest of the thirteen, with a lower bound of 0.002 and its magnitude close to what repeated training of the same architecture can produce. That last point can be read directly from Table 5. The validation macro-AUC of the two-modality Swin ensemble was 0.92 with a standard deviation of 0.06 across the twenty-five fits, so a difference of 0.03 is half the spread that repeated training of that architecture produces on the same data. This comparison is therefore reported for completeness and is not read as establishing superiority over that architecture. It is also the only one of the thirteen with this property: recomputing Holm control over the remaining twelve comparisons leaves every one of them significant, the largest remaining macro p-value being 0.018, so no conclusion drawn in this paper rests on it.
Table 9.
Macro-AUC differences against each comparator.
The comparison against the two-modality Swin ensemble carries the largest of the thirteen ordered p values and a difference within the retraining variability of that architecture; it is retained for completeness and is not interpreted as established (Section 3.7).
3.8. Confusion Matrices and Receiver Operating Characteristic Curves
Figure 3 and Figure 4 give confusion matrices for every configuration as a two-by-seven grid of subplots labelled a to n, ordered as in Table 5 with the proposed model last and sharing a common color scale. Figure 3 covers pooled out-of-fold development predictions, in which each participant contributes five predictions, one per seed; Figure 4 covers the external cohort, and Supplementary Table S1 reproduces that matrix numerically. Across the panels, the comparators lose accuracy in the same cells rather than in different ones, with the additional errors falling mainly on the co-infection column.
Figure 3.
Confusion matrices by configuration, pooled cross-validation. Subplots (a–n).
Figure 4.
Confusion matrices by configuration, external test cohort. Subplots (a–n).
Of the 14 external errors of the proposed model, eight fell between the two HPV-positive categories, five from HPV-positive without co-infection to the co-infection class and three in the reverse direction, while six involved the HPV-negative class. The margin between the two error types is narrow at these counts and should not be pressed. Figure 5 gives receiver operating characteristic curves as three subplots, one per category in a one-versus-rest formulation, each overlaying all fourteen configurations against the chance diagonal. The panels rest on denominators of 56, 58, and 26, so the co-infection panel is the least precisely estimated, and separation between configurations is widest there. The macro-averaged value reported throughout is the unweighted mean of the three areas.
Figure 5.
Receiver operating characteristic curves by class. Subplots (a–c).
3.9. Sensitivity to Taxon Masking, Organism, and Batch Correction
With Mycoplasma and Ureaplasma masked a priori, macro-AUC was 0.92 and co-infection-class AUC 0.87; additionally, masking the bacterial-vaginosis consortium gave 0.90 (0.84 to 0.94) and 0.83 (0.69 to 0.92). Shared susceptibility and proxy detection cannot be separated cross-sectionally, and genus-level masking bounds rather than resolves the concern; attributing the whole 0.04 reduction to proxy detection still leaves discrimination not resting primarily on surrogate taxa.
Per-organism counts appear in Supplementary Table S2; the 26 external cases comprised 11 C. trachomatis, 7 T. vaginalis, 6 M. genitalium, and 3 N. gonorrhoeae, 1 positive for two, leaving 10 with C. trachomatis alone. T. vaginalis leaves a community signature though absent from 16S: restricting the external co-infection class to the 19 participants without it reduced AUC from 0.87 to 0.82, a difference of 0.05 (95% CI −0.04 to 0.14, p = 0.28) that is not established. Conversely, separating the 10 with C. trachomatis alone from co-infection-free participants gave 0.79 (0.62 to 0.90) against 0.76 (0.58 to 0.88) for the image-only model. Omitting batch correction gave a macro-AUC of 0.91 (0.85 to 0.95), and Table 10 reports the full external performance in that configuration. The loss relative to the harmonized analysis is concentrated where it would be expected, in the co-infection class, whose AUC falls from 0.87 to 0.84 and whose sensitivity falls from 0.85 to 0.81, while the HPV-negative class is essentially unaffected. Within the HPV-positive stratum, the binary co-infection AUC falls from 0.86 to 0.83. Calibration also degrades, with the slope moving from 0.93 to 0.87, consistent with a shift in the input distribution that the model was not adjusted for. Since MMUPHin requires a batch of samples rather than a single patient, these uncorrected values are the deployment-relevant estimates, and the harmonized values in Table 5 and Table 7 should be read as the upper bound obtainable when a full external batch is available for harmonization. Complete-case analysis, excluding 16 participants, gave 0.92 (0.86 to 0.96).
Table 10.
External performance with and without MMUPHin batch correction (n = 140).
3.10. Calibration and Clinical Utility
Calibration after temperature scaling appears in Figure 6 and Table 11. Figure 6 gives one subplot per category, each showing the proposed model, both simple fusion strategies, and the strongest reimplemented architecture. The temperature parameter, fitted on validation folds and applied unchanged externally, yields these transfer estimates. Intercepts were near zero and slopes near unity in all three categories, with the widest interval and lowest slope in the co-infection category (26 events). The multiclass Brier score was 0.07 against a no-information score of 0.21.
Figure 6.
Calibration curves by class, external test cohort. Subplots (a–c).
Table 11.
Calibration after temperature scaling.
Decision curve analysis appears in Figure 7 as two subplots, the first showing the proposed model against the intensify-all and intensify-none references and the second adding the same three comparators shown in Figure 6. The proposed model showed net benefit exceeding both trivial references across threshold probabilities from approximately 0.10 to 0.40, and the comparators followed the same shape at slightly lower net benefit.
Figure 7.
Decision curves for the co-infection category. Subplots (a,b).
At a threshold of 0.20, the co-infection rule reached sensitivity 0.92 and specificity 0.71, identifying 24 of 26 cases and intensifying 33 of 114 non-cases, sparing 58 intensifications per 100 women for two missed cases. The reference here is not intensify-all but the four-organism panel, which would dominate at every threshold, so the curve is informative only where that panel is unavailable.
3.11. Reduced-Input Configuration
Because the microbiome input is slowest and costliest, a reduced configuration using the ten highest-attribution taxa together with community state type was retrained in silico, with selection from development-cohort attribution only. Macro-AUC was 0.90 (0.84 to 0.94) and co-infection-class AUC 0.85 (0.72 to 0.93) against 0.92 and 0.87, a difference of 0.02 (95% CI −0.01 to 0.05), so ten taxa and community state type carry most of the branch’s contribution. Without quantitative PCR, this is a reduced-input analysis, not validation of an assay.
3.12. Embedding Structure, Attribution, and Modality Weighting
Figure 8 gives t-SNE projections for concatenation fusion, pairwise cross-attention, and bottleneck fusion on the same external participants. Overlap between the two HPV-positive classes narrows across the panels: silhouette rises from 0.33 to 0.37 to 0.41 (0.33 to 0.49) and k-nearest-neighbor accuracy from 0.80 to 0.83 to 0.86 (0.80 to 0.91).
Figure 8.
t-SNE projections of fused representations by fusion strategy. Subplots (a–c).
Input-level GradientSHAP attribution, in Figure 9, placed the DLR, the larger of the two tabular contributions, on a par with the leading microbiome features: its mean absolute attribution of 0.081 sits between Gardnerella at 0.084 and community state type at 0.078, with Lactobacillus crispatus at 0.069 next. Age contributes the least of the fourteen inputs shown, at 0.014. Attribution of this kind indicates what the model relies on, not causal contribution. Learned modality confidence weights averaged 0.46 for imaging, 0.30 for microbiome, and 0.24 for coagulation-immune input, shifting toward the microbiome branch for the co-infection class; the fixed-weight ablation in Table 6 puts the value of that adaptivity at 0.03 macro-AUC, with an interval spanning zero.
Figure 9.
GradientSHAP attribution summary. Attributions are computed with respect to the model inputs, namely the DLR, age, the centered log-ratio genus abundances, and the one hot community state type, with the target set to the logit of each participant’s own category, on development-cohort participants only. Modality-level attributions, computed separately with respect to the three pre-fusion embeddings and reported in Section 3.12, are not derived from the values shown here.
3.13. Saliency Maps, Subgroups, and Lesion Grade
Figure 10 overlays Grad-CAM saliency for the image encoder, with weight falling predominantly on acetowhite epithelium and abnormal vessels within the transformation zone. Of 140 maps rated by three blinded oncologists on a prespecified 4-point scale, 78.6% were plausible or highly plausible (Fleiss’ kappa 0.61). Saliency of this kind can be altered without changing predictions, so this does not establish the decision basis and is reported as a plausibility check rather than as evidence. Table 12 reports subgroup performance. Point estimates were similar across age and community state type, and discrimination held within each histological grade stratum, including women with no intraepithelial neoplasia, where severity cannot be what is encoded. The genotype strata are HPV-positive only, so those rows give binary co-infection AUC, 0.88 for HPV16 or HPV18 against 0.86 for other high-risk genotypes.
Table 12.
Subgroup performance on the external test cohort.
Figure 10.
Grad-CAM saliency on colposcopic images. One representative participant per category: HPV-negative (a–d), HPV-positive without co-infection (e–h), and HPV-positive with co-infection (i–l). Columns show the colposcopic image, the saliency map, the map overlaid on the image, and iso-saliency contours at 0.35, 0.55, and 0.80 of the per-image maximum. Maps are computed at the output of the final ConvNeXt stage with respect to the logit of each participant’s own category, rectified, normalized per image to the unit interval, upsampled bilinearly to 224 by 224, and averaged over the 25 fits after individual normalization. Because normalization is per image, color indicates relative weight within an image and is not comparable in absolute terms between images.
In the multinomial model on the pooled 560, output remained associated with co-infection after adjustment for grade, cytology, HPV16 or HPV18, smoking, and intrauterine device use (adjusted OR 1.68 per 0.1 increase in predicted probability, 95% CI 1.33 to 2.12). Out-of-fold macro-AUC was 0.94 (0.90 to 0.98) at Center A and 0.92 (0.86 to 0.96) at Center B. With 34 to 79 participants and 8 to 15 events per subgroup, smaller disparities cannot be excluded.
3.14. Computational Cost
A single trained model contained 31.4 million parameters, approximately 4.6 million updated during fine-tuning, requiring 42 ms per patient on the A100 configuration and 310 ms on a single CPU core. The deployed ensemble requires 25 forward passes, giving 1.1 s per patient on GPU and 7.8 s on CPU, with a stored size of approximately 143 million parameters rather than 25 times 31.4 million, because the frozen backbone is shared. The best single model achieved 0.91 (0.85 to 0.95) and the mean across the 25 was 0.90 (0.84 to 0.94), so ensembling contributes 0.01 to 0.02 at 25 times the inference cost; because every comparator was ensembled identically, this affects the absolute level of all entries in Table 5 rather than the differences. The ensemble is therefore a research artefact rather than a deployment configuration: the single-model estimate is the one a future study should carry, at 42 ms per patient on GPU and 310 ms on one CPU core.
4. Discussion
4.1. Principal Findings
On external validation, the fused model outperformed unimodal baselines, all pairwise combinations, both simple fusion strategies, and the three reimplemented architectures in original and three-modality form, all thirteen prespecified comparisons surviving Holm correction, with the caveat that the weakest of them, against the two-modality Swin ensemble, falls within the retraining variability of that architecture and is not counted as established. Two levels of evidence should be kept apart throughout. The macro-averaged figures describe separation of three categories, and most of that separation is the distinction between HPV-negative and HPV-positive women, which is settled by genotyping before the model is consulted. The evidence specific to co-infection is narrower: 26 external events, the lowest class-specific AUC of the three at 0.87 one-versus-rest, and 0.86 in the binary analysis restricted to HPV-positive participants. Every statement below about co-infection rests on that smaller body of evidence, and the difference between the two levels is not a discrepancy but a difference in what is being asked. Imaging is the dominant contributor, yet neither non-imaging modality is redundant given the other. Supplying the ratio pre-formed is worth 0.03, necessarily an estimation effect. Ablation attributes the architectural gain to the bottleneck (0.05, interval excluding zero); learned modality weighting adds 0.03 with an interval spanning zero. Read within the HPV-positive stratum alone, where the negative class no longer contains HPV-negative women, discrimination of co-infection is more modest than the three-class macro figure, and Section Secondary Analysis: Co-Infection Within the HPV-Positive Stratum reports that contrast directly.
4.2. What the Model Appears to Have Learned
Imaging carries most of the HPV-status signal, while the microbiome branch carries much of the co-infection signal. The contribution is uneven across organisms, largest for T. vaginalis and near absent for C. trachomatis, where discrimination falls to the image-only level; non-redundancy is a statement about the co-infection class, not any individual pathogen. The marginal distributions in Table 3 make the same point from the other direction: the ratio separates the two HPV-positive groups only weakly on its own, so what the model recovers from it is a contribution conditional on imaging and microbial context rather than a standalone association.
Residual confusion falls between the two HPV-positive categories in 8 of 14 external errors, consistent with co-infection modifying the mucosal environment without a distinct colposcopic signature. Masking indicates discrimination does not rest on surrogate taxa, and preserved discrimination among women with no intraepithelial neoplasia indicates the imaging branch is not encoding lesion severity. Within the HPV-positive stratum alone, the binary co-infection AUC is 0.86 (Table 8), so most of the macro-averaged discrimination reported throughout comes from separating HPV-negative women rather than from the co-infection contrast.
4.3. Relation to Blood-Biomarker Studies
Recent work has examined systemic inflammatory and coagulation ratios in cervical disease almost exclusively as single unimodal indices, as summarized in Table 13. Zhuang et al. [5] confirmed across 38 cohorts and 10,246 patients that elevated pretreatment neutrophil-to-lymphocyte ratio was associated with reduced overall survival; Chen JLY et al. [28] and Yu et al. [29] reported comparable associations with survival and treatment response, and Tietie et al. [30] and Chen Q et al. [6] reported clinical utility for plasma D-dimer. Each concerns patients with established carcinoma and treats the marker as a standalone variable read against a threshold, whereas the present design measures its contribution once imaging and microbiome information are already available.
Table 13.
Representative recent studies across the three literatures.
Two estimates of that contribution diverge: withholding the DLR at inference costs 0.04 with an interval spanning zero, whereas training a model without it and comparing against the full model gives 0.06 (0.02 to 0.11). The difference is expected rather than contradictory, since the first perturbs a network that learned to use the input and can partly compensate through the remaining branches, while the second compares two separately optimized models. The second answers the question of incremental value, and on that basis a coagulation-immune index appears to retain some value at this earlier point in the disease spectrum, where D-dimer lies predominantly within the reference range.
4.4. Relation to Vaginal Microbiome Studies
Musa et al. [31] found non-Lactobacillus-dominant, high-diversity community types associated with high-grade precancer and invasive cancer, with high-risk HPV independently associated at an adjusted OR of 2.72; Bautista et al. [7] synthesized evidence that transition toward Gardnerella-enriched and Sneathia-enriched states modulates HPV persistence; and Ye and Qi [8] concluded that Lactobacillus depletion increases susceptibility to persistent infection.
The present study operationalizes those proposals by encoding taxa abundance as a model input rather than a descriptive covariate and shows where the contribution comes from: the community signature is informative for organisms that restructure the community and not for an intracellular pathogen that does not, which bounds how far microbiome profiling can substitute for targeted detection. It also confronts a difficulty descriptive work does not encounter, since when the microbiome is both an input and part of what defines the outcome, discrimination and overlap must be separated by design rather than post hoc.
4.5. Relation to Imaging-Based and Multimodal Studies
Aquilina and Papagiannakis [11] trained a classifier on 4946 histology-matched colposcopic images, reporting an average AUC of 0.75, falling to 0.70 across camera types and rising to 0.81 once image-based predictions were combined with age and referral data. Wang et al. [32] reported an accuracy of 96.18% across a multi-center cohort; Pacal and Kılıçarslan [33] compared more than 60 architectures on a public cytology dataset and underscored the difficulty of generalizing across imaging sources; and Madathil et al. [12] and Himabindu et al. [14] reported AUC of 0.999 and an accuracy of 99.44% on internal validation. The present results illustrate the contrast: the deepest reimplemented architecture achieved the highest validation performance of any comparator, 0.92, and lost 0.03 on transfer, the largest drop of any deep configuration.
Table 13 places the present work alongside representative studies from the three literatures it draws on. The rows differ in population, endpoint, data type, and reported metric, so values are not comparable across them and no ranking should be inferred; the purpose is to show where a tri-modal model sits relative to three bodies of work that have remained separate. Validation type is given because that column, rather than the metric column, explains most of the spread, with the highest reported figures coming almost entirely from internal validation on a single source. The blood-biomarker rows are drawn from populations with established carcinoma, whereas the present cohort is a colposcopy-referral population, a difference bearing directly on how far those findings transfer.
4.6. Interpretation and the Limits of Clinical Use
The results are best read as evidence about biology rather than as a proposal for practice. What they establish is that a systemic coagulation-immune index, local microbial ecology, and visible epithelial morphology carry partially non-redundant information about concurrent lower genital tract co-infection, and that the fusion architecture as a whole extracts more of that information than concatenation or pairwise attention, although the ablation does not resolve which of its components is responsible. That is a statement about how the three compartments relate, and it stands independently of whether any model built on them is deployable.
The deployment case does not hold, for a reason that should be stated directly. The outcome is the result of a four-organism nucleic acid amplification panel that is cheaper, faster, more available, and more accurate than the model that predicts it. Where that panel can be run, no model output should displace it, and the earlier suggestion that a graded probability might instead guide follow-up interval fails for the same reason: once the panel has been run, its result, not a probability, is the correct basis for that decision. The decision curve reported above is meaningful only in the narrow setting where the panel is unavailable while sequencing, colposcopy, and a coagulation panel are not, a combination that is uncommon and that this study did not sample. The disproportion between the computational effort and the practical yield is real and worth stating plainly. Training 675 models was the price of the scientific question rather than of the product: component-level ablation, thirteen comparisons under family-wise correction, and five-seed repetition are what allow the non-redundancy claim to be made with intervals attached, and none of that apparatus would be required to run the model itself. The finding that a four-organism panel resolves the same outcome more cheaply is the result, not a shortfall of it, and the appropriate return on this investment is a study design rather than a deployment.
Two observations retain practical value without depending on that setting. The reduced-input analysis shows that ten taxa together with community state type carry most of the microbiome branch’s contribution, which is a prerequisite for any future assay built on this signature rather than a demonstration of one. And the ablation identifies where the information sits, so that a prospective study of a genuinely prognostic outcome, such as persistence or clearance over 12 to 24 months, could be designed around imaging and microbiome sampling without carrying the coagulation panel unless its incremental contribution is replicated. The same argument applies twice over to HPV status. Its polymerase chain reaction result defines two of the three categories and is available in this pathway before the colposcopy that supplies the images, so the HPV-negative-versus-positive component of the reported discrimination answers a question that is already answered at the point of care. It is retained because it fixes the class structure and constrains what the imaging branch can be encoding, not because it has any standing as a prediction task. The reader should therefore treat the macro-averaged figures as a property of the analysis and the binary estimate in Table 8 as the one that corresponds to a clinical question, and even that question is answered more accurately by the four-organism panel.
4.7. Limitations
The present analysis is unusually complete for a study of this kind: three modalities acquired within a single visit, a fully independent external center, thirteen prespecified comparisons under family-wise correction, component-level ablation, missing-modality inference, and prespecified sensitivity analyses for input-outcome overlap. What remains open is mostly a matter of scope rather than execution. The external cohort comprises 140 participants from a single institution, 26 of whom carry the co-infection outcome, and two consequences follow. First, the class of primary interest is imprecisely estimated: its AUC of 0.87 carries a 95% interval of 0.75 to 0.94, an interval compatible with performance appreciably below the point estimate, and the same imprecision affects the calibration slope in that class. Under the external-validation criteria applied in Section 2.3 [16], the cohort meets neither the events nor the non-events requirement for a precise class-specific estimate. Second, a single external site fixes one combination of colposcopy unit, sequencing platform, and coagulation assay, so institutional and geographical transportability is tested only for the transfer from Centers A and B to Center C and cannot be assumed beyond it. Confirmatory claims are accordingly confined to macro-averaged discrimination. The macro-averaged figure and the binary estimate in Table 8 answer different questions, and the gap between them, 0.92 against 0.86, is a property of the class structure rather than a discrepancy. The population also entered through colposcopy referral, and the outcome is concurrent with the inputs rather than prognostic. That referral pathway matters for how the results should be read. Every participant had already been selected by abnormal cytology, a positive high-risk HPV result, or clinical suspicion, so the prevalence of both HPV-positivity and co-infection is far above what an unselected screening population would show. Discrimination is comparatively insensitive to that shift, but predictive values and net benefit are not, and the decision curve in Section 3.10 should not be transported to a screening setting. The three covariates with standardized mean differences above 0.10, D-dimer, the ratio, and the CIN2-or-worse proportion, all lie higher in the external cohort, so the transfer reported here was made to a slightly more advanced case mix rather than a matched one. Every microbiome-dependent estimate in this paper carries the same caveat, and Table 10 quantifies it: harmonization is worth 0.01 macro-AUC overall but 0.03 in the class that depends on it most. Each of these defines a well-specified next study. The most valuable is longitudinal: baseline tri-modal profiling with 12- to 24-month follow-up for HPV persistence or clearance, which converts the task to prognosis and separates shared susceptibility from concurrent overlap in a way cross-sectional data cannot. Beyond that, prospective multi-site collection powered to external-validation criteria, direct measurement of agreement between amplicon-derived and quantitative PCR abundance for the ten selected taxa from which community state type is derived, recording of ethnicity and menstrual cycle phase to support fairness assessment, and evaluation under Lugol iodine protocols would each extend these findings without unsettling their basis.
4.8. Future Directions
The natural successor study is longitudinal: baseline multimodal profiling with 12- to 24-month follow-up for HPV persistence or clearance, which would convert the task from diagnostic to prognostic, separate shared susceptibility from concurrent overlap in a way cross-sectional data cannot, and test whether the signature anticipates outcomes not already measurable at baseline. Beyond that, the priorities are prospective multi-site collection at a scale meeting external validation criteria and direct measurement of agreement between amplicon-derived and quantitative PCR abundance for the ten selected taxa from which community state type is derived, before any reduced-input configuration is deployed.
5. Conclusions
Fusing a coagulation-immune index, vaginal microbiome composition, and colposcopic imaging reached a macro-AUC of 0.92 (0.86 to 0.96) across three categories on an independent external cohort, ahead of every comparator after Holm correction. Discrimination of co-infection specifically was lower and less certain, 0.87 (0.75 to 0.94) one-versus-rest and 0.86 (0.76 to 0.93) within the HPV-positive stratum, on 26 events. Of the architectural components, only the bottleneck fusion layer has an effect whose interval excludes zero, at 0.05; confidence weighting, the entropy regularizer, modality dropout, the bottleneck token count, and mixup each account for 0.01 to 0.03 with intervals spanning zero. Supplying the D-dimer-to-lymphocyte ratio pre-formed is worth 0.03 macro-AUC, an estimation effect rather than evidence that the quotient carries information its parts do not.
Coagulation-immune status, local microbial ecology, and visible epithelial morphology therefore carry partially non-redundant information about HPV-associated co-infection, and this, rather than any clinical application, is what the study establishes. Confirmatory claims are confined to macro-averaged discrimination, which is the level at which the comparisons were prespecified and corrected. The co-infection class is where the clinical interest lies and where the evidence is thinnest: with 26 external events, performance in that class and the incremental value of the ratio form are consistent with the hypothesis but not demonstrated, and no reader should carry the macro figure across to that question. External validation rests on one center, so transportability across institutions and acquisition platforms is likewise untested. Restricting the microbiome branch to ten taxa and community state type preserves most of the signal in silico, identifying a route to a future assay without demonstrating one. Because the outcome is resolved directly by a cheaper and more accurate laboratory panel, the appropriate next step is a longitudinal design with an outcome that cannot be measured at baseline, not deployment of this model. All estimates are made in a colposcopy-referral population and do not extend to primary screening.
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/diagnostics16182992/s1, Table S1: External confusion matrix for the proposed model; Table S2: Per-organism composition of the co-infection category; Figure S1: Training and validation curves for every configuration.
Author Contributions
Conceptualization, J.Z. and L.S.; methodology, J.Z.; software, J.Z.; validation, J.Z. and L.S.; formal analysis, J.Z.; investigation, J.Z. and L.S.; resources, L.S.; data curation, J.Z.; writing—original draft preparation, J.Z.; writing—review and editing, L.S.; visualization, J.Z.; supervision, L.S.; project administration, L.S.; funding acquisition, L.S. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Wenzhou Municipal Science and Technology Bureau, grant number Y20240600. The APC was funded by the Wenzhou Municipal Science and Technology Bureau, grant number Y20240600.
Institutional Review Board Statement
The study was conducted in accordance with the Declaration of Helsinki and approved by the Institutional Review Board of the Second Affiliated Hospital and Yuying Children’s Hospital of Wenzhou Medical University (protocol code; 2024284, 29 February 2024). Approval was additionally obtained from the institutional review boards of the two other participating centers.
Informed Consent Statement
Patient consent was waived by the Institutional Review Board because the study was retrospective and used only routinely collected records, all identifiers being removed before analysis so that participation posed minimal risk. Written informed consent has been obtained from the patients to publish this paper.
Data Availability Statement
The data presented in this study are not publicly available because they comprise identifiable patient-level clinical, laboratory, microbiome, and colposcopic imaging records, and public deposition would be incompatible with the privacy conditions under which ethical approval and the consent waiver were granted. De-identified data supporting the reported results are available from the corresponding author (L.S.) on reasonable request, subject to approval by the institutional review boards of the participating centers and a data transfer agreement. The colposcopic images cannot be shared in any form.
Acknowledgments
During the preparation of this manuscript, the authors used Claude (Anthropic), version Opus 5, for the purposes of English grammar correction and a final grammar check of the manuscript text. No content, data, analysis, or figures were generated by the tool. The authors have reviewed and edited the output and take full responsibility for the content of this publication.
Conflicts of Interest
The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.
Abbreviations
The following abbreviations are used in this manuscript:
| ASV | Amplicon sequence variant |
| AUC | Area under the receiver operating characteristic curve |
| CI | Confidence interval |
| CIN | Cervical intraepithelial neoplasia |
| CLR | Centered log-ratio |
| CST | Community state type |
| DLR | D-dimer-to-lymphocyte ratio |
| FEU | Fibrinogen-equivalent units |
| FT-Transformer | Feature-tokenizer transformer |
| HPV | Human papillomavirus |
| HR | Hazard ratio |
| IQR | Interquartile range |
| MoCo | Momentum contrast |
| NLR | Neutrophil-to-lymphocyte ratio |
| OR | Odds ratio |
| PCR | Polymerase chain reaction |
| PLR | Platelet-to-lymphocyte ratio |
| PNI | Prognostic nutritional index |
| ROC | Receiver operating characteristic |
| SHAP | SHapley Additive exPlanations |
| SMD | Standardized mean difference |
| TIM-Fusion | Tri-modal Integration Model Fusion |
| TRIPOD+AI | Transparent Reporting of a multivariable prediction model for Individual Prognosis Or Diagnosis, artificial intelligence extension |
| t-SNE | t-distributed stochastic neighbor embedding |
References
- Wu, J.; Jin, Q.; Zhang, Y.; Ji, Y.; Li, J.; Liu, X.; Duan, H.; Feng, Z.; Liu, Y.; Zhang, Y. Global burden of cervical cancer: Current estimates, temporal trend and future projections based on the GLOBOCAN 2022. J. Natl. Cancer Cent. 2025, 5, 322–329. [Google Scholar] [CrossRef] [Scilit]
- Wilailak, S.; Kengsakul, M.; Kehoe, S. Strategic approaches for global cervical cancer elimination: An update review and call for national action. Int. J. Gynecol. Obstet. 2025, 171, 120–128. [Google Scholar] [CrossRef] [Scilit]
- Latorre-Millán, M.; Tristancho-Baró, A.; Burillo, N.; Ariza, M.; Milagro, A.M.; Abad, P.; Baquedano, L.; Borque, A.; Rezusta, A. HPV-associated sexually transmitted infections in cervical cancer screening: A prospective cohort study. Viruses 2025, 17, 247. [Google Scholar] [CrossRef] [Scilit]
- Tsantes, A.G.; Petrou, E.; Tsante, K.A.; Sokou, R.; Frantzeskaki, F.; Domouchtsidou, A.; Chaldoupis, A.E.; Fortis, S.P.; Piovani, D.; Nikolopoulos, G.K. Cancer-associated thrombosis: Pathophysiology, laboratory assessment, and current guidelines. Cancers 2024, 16, 2082. [Google Scholar] [CrossRef] [Scilit]
- Zhuang, X.; Li, Y.; Zheng, H.; Fu, L. Evaluating the prognostic relevance of neutrophil-to-lymphocyte ratio in cervical cancer: A systematic review and meta-analysis. Front. Oncol. 2024, 14, 1461175. [Google Scholar] [CrossRef] [Scilit]
- Chen, Q.; Zang, L.; Xu, Q.; Wang, M.; Lin, H.; Liu, Y.; Fang, Y. The association between D-Dimer levels and recurrence in patients with early-stage cervical cancer after surgical treatment. Int. J. Women’s Health 2024, 16, 2333–2342. [Google Scholar] [CrossRef] [Scilit]
- Bautista, J.; Altamirano-Colina, A.; López-Cortés, A. The vaginal microbiome in HPV persistence and cervical cancer progression. Front. Cell. Infect. Microbiol. 2025, 15, 1634251. [Google Scholar] [CrossRef] [Scilit]
- Ye, J.; Qi, X. Vaginal microecology and its role in human papillomavirus infection and human papillomavirus associated cervical lesions. APMIS 2024, 132, 928–947. [Google Scholar] [CrossRef] [Scilit]
- Salehzehi, S.; Jafarpoor Nesheli, S.; Eftekhar, A.; Shojaee Rocky, M.; Vejdani Noghreiyan, V.; Bazazpour, A.; Arefi, Z.H.; Rezaeijo, S.M. Graph neural network-based multi-label classification of breast cancer using multiparametric MRI and clinical features. Discov. Oncol. 2025, 17, 194. [Google Scholar] [CrossRef] [Scilit]
- Liu, L.; Liu, J.; Su, Q.; Chu, Y.; Xia, H.; Xu, R. Performance of artificial intelligence for diagnosing cervical intraepithelial neoplasia and cervical cancer: A systematic review and meta-analysis. eClinicalMedicine 2025, 80, 102992. [Google Scholar] [CrossRef] [Scilit]
- Aquilina, A.; Papagiannakis, E. Deep learning diagnostic classification of cervical images to augment colposcopic impression. J. Low. Genit. Tract Dis. 2024, 28, 224–230. [Google Scholar] [CrossRef] [Scilit]
- Madathil, S.; Dhouib, M.; Lelong, Q.; Bourassine, A.; Monsonego, J. A multimodal deep learning model for cervical pre-cancers and cancers prediction: Development and internal validation study. Comput. Biol. Med. 2025, 186, 109710. [Google Scholar] [CrossRef] [Scilit]
- Nesheli, S.J.; Rouhi, S.; Motamedi, A.; Rashidi, M.; Salamat, F.; Mardani, S.; Bijari, S.; Kheirkhahzadeh, M.; Rezaeijo, S.M. Joint Multi-Task Deep Learning with Cross-Task Attention for Simultaneous Lesion Segmentation, Detection, and Severity Grading of Diabetic Retinopathy on Fundus Images: An External Validation Study. Photodiagnosis Photodyn. Ther. 2026, 61, 105600. [Google Scholar] [CrossRef] [Scilit]
- Himabindu, D.D.; Lydia, E.L.; Rajesh, M.; Ahmed, M.A.; Ishak, M.K. Leveraging swin transformer with ensemble of deep learning model for cervical cancer screening using colposcopy images. Sci. Rep. 2025, 15, 7900. [Google Scholar] [CrossRef] [Scilit]
- Riley, R.D.; Ensor, J.; Snell, K.I.; Harrell, F.E.; Martin, G.P.; Reitsma, J.B.; Moons, K.G.; Collins, G.; Van Smeden, M. Calculating the sample size required for developing a clinical prediction model. BMJ 2020, 368, m441. [Google Scholar] [CrossRef] [Scilit]
- Riley, R.D.; Debray, T.P.; Collins, G.S.; Archer, L.; Ensor, J.; van Smeden, M.; Snell, K.I. Minimum sample size for external validation of a clinical prediction model with a binary outcome. Stat. Med. 2021, 40, 4230–4251. [Google Scholar] [CrossRef] [Scilit]
- France, M.T.; Ma, B.; Gajer, P.; Brown, S.; Humphrys, M.S.; Holm, J.B.; Waetjen, L.E.; Brotman, R.M.; Ravel, J. VALENCIA: A nearest centroid classification method for vaginal microbial communities based on composition. Microbiome 2020, 8, 166. [Google Scholar] [CrossRef] [Scilit]
- Ma, S.; Shungin, D.; Mallick, H.; Schirmer, M.; Nguyen, L.H.; Kolde, R.; Franzosa, E.; Vlamakis, H.; Xavier, R.; Huttenhower, C. Population structure discovery in meta-analyzed microbial communities and inflammatory bowel disease using MMUPHin. Genome Biol. 2022, 23, 208. [Google Scholar] [CrossRef] [Scilit]
- Chen, X.; Xie, S.; He, K. An empirical study of training self-supervised vision transformers. In Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 11–17 October 2021; pp. 9620–9629. [Google Scholar]
- Gorishniy, Y.; Rubachev, I.; Khrulkov, V.; Babenko, A. Revisiting deep learning models for tabular data. Adv. Neural Inf. Process. Syst. 2021, 34, 18932–18943. [Google Scholar]
- Nagrani, A.; Yang, S.; Arnab, A.; Jansen, A.; Schmid, C.; Sun, C. Attention bottlenecks for multimodal fusion. Adv. Neural Inf. Process. Syst. 2021, 34, 14200–14213. [Google Scholar]
- Calster, B. Calibration: The Achilles heel of predictive analytics. BMC Med. 2019, 17, 230. [Google Scholar] [CrossRef] [Scilit]
- Vickers, A.J.; Van Calster, B.; Steyerberg, E.W. Net benefit approaches to the evaluation of prediction models, molecular markers, and diagnostic tests. BMJ 2016, 352, i6. [Google Scholar] [CrossRef] [Scilit]
- Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions. Adv. Neural Inf. Process. Syst. 2017, 30, 4765–4774. [Google Scholar]
- Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-cam: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; pp. 618–626. [Google Scholar]
- DeLong, E.R.; DeLong, D.M.; Clarke-Pearson, D.L. Comparing the areas under two or more correlated receiver operating characteristic curves: A nonparametric approach. Biometrics 1988, 44, 837–845. [Google Scholar] [CrossRef] [Scilit]
- Collins, G.S.; Moons, K.G.; Dhiman, P.; Riley, R.D.; Beam, A.L.; Van Calster, B.; Ghassemi, M.; Liu, X.; Reitsma, J.B.; Van Smeden, M. TRIPOD + AI statement: Updated guidance for reporting clinical prediction models that use regression or machine learning methods. BMJ 2024, 385, e078378. [Google Scholar] [CrossRef] [Scilit]
- Chen, J.L.-Y.; Huang, C.-Y.; Shih, I.-L.; Liou, Y.-M.; Tai, Y.-J.; Chiang, Y.-C.; Kuo, C.-Y. Prognostic nutritional index and neutrophil-lymphocyte ratio predict toxicities and prognosis in patients with cervical cancer treated with curative radiochemotherapy. J. Formos. Med. Assoc. 2024, 123, 671–678. [Google Scholar] [CrossRef] [Scilit]
- Yu, J.; Huang, L.; Dong, T.; Cao, L. Prediction of outcomes after chemoradiotherapy for cervical cancer by neutrophil-to-lymphocyte ratio and platelet-to-lymphocyte ratio. J. Obstet. Gynaecol. 2024, 44, 2361858. [Google Scholar] [CrossRef] [Scilit]
- Tietie, L.E.; Okunade, K.S.; SoibI-Harry, A.P.; John-Olabode, S.O.; Anorlu, R.I. Potential clinical utility of plasma D-dimer levels among women with cervical cancer in Lagos, Nigeria. Ecancermedicalscience 2023, 17, 1501. [Google Scholar] [CrossRef] [Scilit]
- Musa, J.; Maiga, M.; Green, S.J.; Magaji, F.A.; Maryam, A.J.; Okolo, M.; Nyam, C.J.; Cosmas, N.T.; Silas, O.A.; Imade, G.E. Vaginal microbiome community state types and high-risk human papillomaviruses in cervical precancer and cancer in North-central Nigeria. BMC Cancer 2023, 23, 683. [Google Scholar] [CrossRef] [Scilit]
- Wang, L.; Chen, R.; Weng, J.; Li, H.; Ying, S.; Zhang, J.; Yu, Z.; Peng, C.; Zheng, S. Detecting and localizing cervical lesions in colposcopic images with deep semantic feature mining. Front. Oncol. 2024, 14, 1423782. [Google Scholar] [CrossRef] [Scilit]
- Pacal, I.; Kılıcarslan, S. Deep learning-based approaches for robust classification of cervical cancer. Neural Comput. Appl. 2023, 35, 18813–18828. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.









