A dynamic time-lagged machine learning approach to early colorectal cancer detection in primary care using electronic health records

Abstract Early detection of colorectal cancer (CRC) remains a major unmet need, as current diagnostic pathways rely on symptoms which often appear only at advanced stages. Longitudinal electronic health records (EHRs) provide the means to identify earlier signals, and are well suited to machine learning approaches capable of identifying complex temporal patterns associated with CRC. We present DetectCRC, an XGBoost-based model for early detection of CRC using real-world EHR data. Using 13.6 million QResearch primary care records, the model is developed and evaluated in a matched nested case-control study (22,406 CRC cases; 559,849 controls), incorporating demographics, clinical risk factors, and two years of longitudinal symptom and blood test data using time-lagged features in 6-month advancing windows prior to diagnosis. Longitudinal analyses show that symptom signals are largely confined to the 6 months preceding diagnosis, whereas changes in blood test results, particularly full blood count markers, are detectable up to two years prior. Although multiple biomarkers are evaluated, optimal performance is achieved using routinely available full blood count tests alongside symptoms and risk factors. DetectCRC achieves a C-index of 0.874 in a held-out regional validation set and maintains strong performance on sparse data, demonstrating the potential of routinely collected blood tests for earlier CRC detection.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-03
DOI
https://doi.org/10.21203/rs.3.rs-11037540/v1
Primary Topic
Colorectal Cancer Screening and Detection
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

A dynamic time-lagged machine learning approach to early colorectal cancer detection in primary care using electronic health records

Julia Hippisley–Cox, Emma Bailey, Carol Coupland, Andrew Snelling et al.
4 links
Research Square
Colorectal Cancer Screening and Detection
preprint

A dynamic time-lagged machine learning approach to early colorectal cancer detection in primary care using electronic health records

Julia Hippisley–Cox, Emma Bailey, Carol Coupland, Andrew Snelling, Jun Wang
preprint en

Abstract

Abstract Early detection of colorectal cancer (CRC) remains a major unmet need, as current diagnostic pathways rely on symptoms which often appear only at advanced stages. Longitudinal electronic health records (EHRs) provide the means to identify earlier signals, and are well suited to machine learning approaches capable of identifying complex temporal patterns associated with CRC. We present DetectCRC, an XGBoost-based model for early detection of CRC using real-world EHR data. Using 13.6 million QResearch primary care records, the model is developed and evaluated in a matched nested case-control study (22,406 CRC cases; 559,849 controls), incorporating demographics, clinical risk factors, and two years of longitudinal symptom and blood test data using time-lagged features in 6-month advancing windows prior to diagnosis. Longitudinal analyses show that symptom signals are largely confined to the 6 months preceding diagnosis, whereas changes in blood test results, particularly full blood count markers, are detectable up to two years prior. Although multiple biomarkers are evaluated, optimal performance is achieved using routinely available full blood count tests alongside symptoms and risk factors. DetectCRC achieves a C-index of 0.874 in a held-out regional validation set and maintains strong performance on sparse data, demonstrating the potential of routinely collected blood tests for earlier CRC detection.

Research Square
Queen Mary University of London (GB)
Good health and well-being
Colorectal Cancer Screening and Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon