Impact of applying machine learning to the electronic medical record on prediction of cancer-associated thrombosis.
Bibliographic record
Abstract
409 Background: Cancer-associated thrombosis (CAT) is preventable among high-risk individuals with prophylactic anticoagulation. Risk assessment tools focus only on the initial period after cancer diagnosis; however, some patients may face different risks during different periods of their cancer journey. We developed a longitudinal machine learning system to predict the risk of CAT throughout cancer treatment. Methods: Using electronic health record data at Princess Margaret Cancer Centre, we assembled a cohort of people with thoracic and gastrointestinal cancer receiving systemic treatments between August 1, 2017 and December 31, 2019. We manually labelled 5,000 CT scans and 500 Doppler ultrasounds for the occurrence of CAT. We fine-tuned open-source large language models (LLMs) on those labelled reports, which we then used to automatically detect CAT among all 37,000 CT scans and Dopplers. Finally, we trained longitudinal machine learning systems to predict CAT within 90 days after each cancer treatment. LLMs and the CAT risk prediction system were evaluated among the held-out test cohort of people whose first treatment occurred in 2019. Results: The overall cohort included 2,031 patients and 21,375 treatment sessions. When classifying radiology reports, the fine-tuned LLM achieved an area under the receiver operating characteristic curve (AUROC) of 0.758 for DVT and 0.988 for PE in the test cohort. CAT occurred within 90 days after 6.23% of treatment sessions. The best ML system predicted the risk of CAT within 90 days with an AUROC of 0.651 (95% CI, 0.620-0.678). Considering only the first treatment per patient, treatments within the first 90 days after the first treatment, and treatments after 90 days, the system achieved AUROC of 0.639 (95% CI, 0.568-0.704), 0.599 (95% CI, 0.559-0.642), and 0.741 (95% CI, 0.699-0.783), respectively. Conclusions: Machine learning can longitudinally predict CAT among patients receiving systemic therapy for aerodigestive cancers. These systems could personalize prophylactic anticoagulation by identifying specific periods when patients face sufficient risk to warrant prevention.
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.005 | 0.016 |
| Meta-epidemiology (narrow) | 0.000 | 0.000 |
| Meta-epidemiology (broad) | 0.000 | 0.000 |
| Bibliometrics | 0.000 | 0.001 |
| Science and technology studies | 0.000 | 0.000 |
| Scholarly communication | 0.000 | 0.000 |
| Open science | 0.000 | 0.000 |
| Research integrity | 0.001 | 0.003 |
| Insufficient payload (model declined to judge) | 0.001 | 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".