A novel prediction model of the risk of pancreatic cancer among diabetes patients using multiple clinical data and machine learning

Cancer Medicine 2023 AI 5 Explanations View Original
Original Paper (PDF)

Unable to display PDF. Download it here or view on PMC.

Plain-English Explanations
Page [1, 2]
The Diabetes-Pancreatic Cancer Connection

People with diabetes are two to three times more likely to develop pancreatic cancer than those without diabetes. This link is so strong that new-onset diabetes in adults over 50 is now recognized as a potential early warning sign of underlying pancreatic cancer, rather than just an independent condition.

Up to 85% of pancreatic cancer patients have diabetes at the time of their cancer diagnosis. Some of these cases involve diabetes that predated the cancer by years, while others involve diabetes that appears as a paraneoplastic phenomenon - caused by the cancer itself disrupting insulin production.

Given that millions of people worldwide receive a diabetes diagnosis each year, identifying which diabetic patients are at elevated risk for pancreatic cancer could enable targeted surveillance and earlier cancer detection. This study aimed to build a machine learning model that predicts 4-year pancreatic cancer risk in diabetic patients.

TL;DR: Diabetics are 2-3 times more likely to develop pancreatic cancer; this study built machine learning models to identify which diabetic patients are at highest cancer risk using routine clinical data.
Pages 4-4
Mining a Decade of Real-World Diabetic Patient Records

The study analyzed records of 66,384 Type 2 diabetes patients from the Taipei Medical University Clinical Research Database (TMUCRD), a multisite electronic health record system spanning 2009 to 2019. This real-world dataset captured routine clinical features rather than specially collected research data.

Predictive features were selected from literature review and clinical expert input, covering demographics, laboratory values (glucose, HbA1c, lipid levels), comorbidities, and medication use. Four machine learning algorithms were compared: logistic regression, linear discriminant analysis (LDA), gradient boosting machine, and random forest.

Models were built to predict 4-year pancreatic cancer risk, a timeframe chosen to balance clinical relevance (long enough to act on) with prediction accuracy. Performance was evaluated using AUROC, accuracy, sensitivity, and specificity across internal validation sets.

TL;DR: Four machine learning algorithms were compared on real-world records from over 66,000 diabetic patients to predict 4-year pancreatic cancer risk using routine clinical data.
Pages 6-6
Linear Discriminant Analysis Achieves 90% Accuracy

Linear Discriminant Analysis (LDA) achieved the highest performance, with an AUROC of 0.9073, accuracy of 84.03%, sensitivity of 86.11%, and specificity of 84.03%. The Voting Ensemble model and Gradient Boosting Machine followed closely behind in performance.

The five most significant predictors identified were: glucose levels, glycated hemoglobin (HbA1c), hyperlipidemia as a comorbidity, use of antidiabetic drugs, and use of lipid-modifying drugs. Notably, these are all routinely measured and recorded during standard diabetes care.

The fact that LDA - a traditional statistical method - outperformed or matched more complex machine learning algorithms suggests that for structured clinical data, simpler models can be highly effective. This also makes the model easier to interpret and implement in clinical decision support systems.

TL;DR: Linear Discriminant Analysis achieved 90.7% AUROC using glucose, HbA1c, lipid levels, and medication data - all routine measurements in diabetic patient care.
Page [7, 8]
What the Key Risk Factors Tell Us About Biology

High glucose and HbA1c (a marker of long-term blood sugar control) being among the top predictors aligns with the hypothesis that chronic hyperglycemia promotes cancer cell growth. Elevated blood sugar creates an environment rich in the fuel cancer cells prefer and may drive inflammatory pathways that accelerate tumor development.

The finding that antidiabetic drug use (which type, dose, and duration) is predictive reflects the complex interplay between diabetes treatment and cancer risk. Certain diabetes medications like metformin have been associated with lower cancer risk, while others may have neutral or complex effects on pancreatic biology.

Hyperlipidemia and lipid-modifying drug use as predictors points to metabolic dysfunction broadly - not just blood sugar - as a driver of pancreatic cancer risk. This suggests that comprehensive metabolic health management in diabetic patients may reduce their cancer risk.

TL;DR: High blood sugar, poor glycemic control, and metabolic dysfunction emerged as key cancer risk factors in diabetic patients, with important implications for preventive care strategies.
Page [9, 10]
A Practical Tool for Identifying High-Risk Diabetics

All five key predictive variables (glucose, HbA1c, hyperlipidemia status, antidiabetic drug type, lipid drug use) are already routinely collected during standard diabetes management visits. This means the prediction model could be deployed in clinical practice without requiring any additional testing.

A practical implementation would involve running the model on each diabetic patient's electronic health record during their routine follow-up visits and flagging high-risk patients for enhanced surveillance, such as annual abdominal CT or MRI scanning, or referral to gastroenterology for further evaluation.

The study's large sample size (66,384 patients) and real-world data source give it strong ecological validity. However, external validation in non-Taiwanese populations is needed before deployment in other healthcare systems, as ethnic and dietary differences may affect the predictive value of some variables.

TL;DR: The model uses only routine clinical data already collected from diabetic patients, making it immediately deployable to flag high-risk individuals for pancreatic cancer surveillance.
Citation: Open Access, 2023. Available at: PMC10587954.