Abstract PR-05: Learning the Language of Somatic Mutations: A Large Language Model Approach to Precision Oncology
Bibliographic record
Abstract
Abstract The interpretation of somatic mutations in cancer remains challenging due to complex patterns of co-occurring variants and their clinical implications. Traditional approaches often analyze mutations in isolation, missing crucial contextual relationships that influence tumor behavior and treatment response. Large language models, having revolutionized natural language processing, offer a promising framework for understanding mutations in context. Just as words derive meaning from surrounding text, variants are better understood through their co-occurrence patterns, making this approach particularly powerful for precision oncology where each patient's unique combination of mutations tells a distinct disease story. We developed a transformer-based model that learns representations of somatic variants by considering both local sequence context and global co-occurrence patterns. Each variant is defined by its reference sequence, alteration, and flanking genomic context. The model architecture incorporates dual attention mechanisms: local attention between variants and their sequence context, and global attention between co-occurring variants within patients. Training utilized a masked prediction task where 20% of variant alterations were masked, and patient-level representations were generated by computing weighted averages of variant embeddings, with weights determined by variant allele frequencies (VAF) to capture tumor-specific mutational signatures. Sample-level representations proved highly effective for tumor type classification across both whole exome sequencing data from the TCGA (AUC=0.911, 33 cancer types) and targeted panel sequencing data from AACR Project GENIE's MSK-IMPACT cohort (AUC=0.880, 117 cancer types). These representations stratified patient progression-free survival in multiple TCGA cancer subtypes (p-values: colon=0.021, breast=0.033, pancreatic=0.002; multivariate log-rank), and early-stage colorectal (p = 0.037) and lung (p = 0.001) cancers in GENIE BPC cohorts, identifying distinct prognostic groups. Finally, analysis of learned attention weights through graph-based community detection revealed novel patterns of mutational dependencies, providing insights into how key mutations drive mutagenic processes. This work demonstrates that treating cancer mutations as a language enables powerful representations of personal cancer genomics, with implications spanning tumor classification, prognostic stratification, and biological discovery. Our approach, which leverages both local sequence context and global mutation co-occurrence patterns, generalizes from whole exome to panel sequencing data, facilitating integration into clinical workflows. The model's ability to identify prognostic subgroups and reveal mutational dependencies suggests its potential utility in advancing personalized treatment strategies. Citation Format: John-William Sidhom. Learning the Language of Somatic Mutations: A Large Language Model Approach to Precision Oncology [abstract]. In: Proceedings of the AACR Special Conference in Cancer Research: Artificial Intelligence and Machine Learning; 2025 Jul 10-12; Montreal, QC, Canada. Philadelphia (PA): AACR; Clin Cancer Res 2025;31(13_Suppl):Abstract nr PR-05.
Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.
How this classification was reachedexpand
Full frame distilled prediction
Teacher imitationNot calibrated prevalence, not ground truth. Human validation pending. Learned from the 10,348 direct Codex labels and 10,348 direct Gemma labels. Candidate is the union of thresholded teacher heads; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels or direct frontier model labels.
Codex and Gemma teacher scores by category
| Category | Codex | Gemma |
|---|---|---|
| Metaresearch | 0.003 | 0.004 |
| Meta-epidemiology (narrow) | 0.000 | 0.000 |
| Meta-epidemiology (broad) | 0.000 | 0.000 |
| Bibliometrics | 0.000 | 0.000 |
| Science and technology studies | 0.000 | 0.000 |
| Scholarly communication | 0.000 | 0.000 |
| Open science | 0.000 | 0.000 |
| Research integrity | 0.000 | 0.001 |
| Insufficient payload (model declined to judge) | 0.000 | 0.000 |
Machine scores (provisional)
The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.
Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.
score_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from itClassification
machine, unvalidatedMachine predicted; a candidate call from one teacher head, not a consensus.
How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".