A machine learning model that analyzes routine electronic health records (EHRs) could help identify patients at risk of bladder cancer up to a year or more before clinical diagnosis, according to research.
Currently, there is no routine population-based screening program for bladder cancer. Referrals for diagnostic investigations rely heavily on symptoms such as blood in the urine, which can also arise from benign conditions. Definitive diagnosis typically involves cystoscopy, which is an invasive and costly procedure.
In the study, published in IEEE Transactions on Biomedical Engineering, researchers investigated whether routinely collected primary care data could support earlier detection and more targeted referrals. Using anonymized health records from Wales, UK, they developed and tested a predictive model using data from 64,884 individuals. Its performance was then evaluated in an independent cohort of 4,569 individuals.
The approach, named PRECISE-AGZ, uses a computational technique inspired by collective animal behavior, known as swarm intelligence, to identify the most informative combinations of clinical characteristics. From more than 48,000 potential predictors, the researchers selected 38, encompassing symptoms, medical conditions, medications, and clinical investigations.
Hematuria emerged as the strongest predictor, while smoking history and urinary tract infections also contributed to risk predictions. Previously unrecognized associations included a higher predicted risk among patients prescribed tamoxifen and a lower predicted risk among those with Parkinson disease. However, these associations do not establish causal relationships.
Rather than generating a binary screening result, the model assigns patients to low-risk, high-risk, or intermediate-risk categories. This approach acknowledges diagnostic uncertainty while allowing clinicians to prioritize patients for further investigation.
Among patients classified outside the intermediate-risk category, the model achieved a sensitivity of 87.2 percent and specificity of 88.3 percent one month before diagnosis. At 12 months, sensitivity was 66.7 percent and specificity was 97.7 percent, although only 12.7 percent of the cohort received a definitive risk classification.
In simulated screening scenarios, the model also demonstrated greater clinical benefit than existing UK referral criteria, balancing cancer detection against unnecessary investigations.
Although the findings highlight the potential of EHR-based screening to complement existing diagnostic pathways, the large proportion of patients receiving uncertain risk classifications remains a limitation. Prospective clinical evaluation and validation across different health care systems are needed before routine implementation.
