Abstract
Homologous recombination deficiency (HRD) confers sensitivity to poly (ADP-ribose) polymerase (PARP) inhibitors and platinum-based chemotherapy, representing a critical biomarker for precision oncology across multiple malignancies. Current HRD assessment relies on next-generation sequencing of genomic scar signatures, but specialized infrastructure requirements, high costs, and prolonged turnaround times limit widespread adoption. These barriers restrict access to HRD testing, particularly in resource-constrained settings where the majority of cancer patients receive care. Pan-cancer HRD prediction has been shown, but robustness across histologies and institutions, leak-safe evaluation, and backbone-dependent generalization remain incompletely characterized. Here we show that IHGAMP (Integrative Histopathology-Genomic Analysis for Molecular Phenotyping), a computational framework using vision transformer foundation models, predicts HRD status from H&E images with an AUROC of 0.766 (95% CI 0.727–0.803) on the TCGA held-out test set using OpenCLIP embeddings, and improves to 0.827 with histopathology-pretrained OpenSlideFM embeddings under the same leak-safe protocol. External evaluation on 927 patients (2,718 whole slide images) from seven independent cohorts demonstrated generalization in adenocarcinoma/serous settings (e.g., CPTAC-LUAD AUROC 0.723) and enabled platinum resistance prediction in PTRC-HGSOC (AUROC 0.673), with attenuation in squamous histologies. Systematic comparison of foundation-model embeddings showed that OpenSlideFM outperformed OpenCLIP internally on TCGA (0.827 vs 0.766 AUROC) and improved external generalization in select cohorts (e.g., CPTAC-LUAD), while performance remained attenuated in squamous histologies; TSS-level embedding norm stability across 710 tissue source sites suggested limited site-driven magnitude shifts. Our findings establish that routine histopathology contains morphology associated with HRD that enables moderate, histology-dependent prediction, supporting a potential screening/triage role to prioritize confirmatory molecular testing where appropriate.
Competing Interest Statement
The authors have declared no competing interest.
Funding Statement
Research supported by the Interdisciplinary Program of Shanghai Jiao Tong University, China (Project No. YG2025QNA31).
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes





