Prediction of therapeutic response in IBD with machine learning applied to patient health record data

Authors

DOI:

https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1784

Keywords:

Inflammatory Bowel Diseases, Machine Learning, Electronic Health Records

Abstract

Objective: To develop machine learning models to predict therapeutic response in patients with inflammatory bowel disease using baseline electronic health record data within the Brazilian public healthcare system (Sistema Único de Saúde, SUS). Methods: This was a multicenter retrospective study including 160 patients (238 therapeutic interventions). A total of 145 clinical, laboratory, and structural variables collected at baseline (T0) were analyzed. XGBoost-based models were trained using stratified cross-validation and evaluated on an independent test set. Performance was assessed using AUROC, accuracy, F1-score, sensitivity, and specificity. Results: Model performance varied across therapies. The infliximab model demonstrated the best performance (AUROC 0.81 in the test set), whereas the remaining models showed limited predictive ability. SHAP (SHapley Additive exPlanations) interpretability analysis indicated that baseline inflammatory markers, such as C-reactive protein and albumin, had the highest predictive relevance. Conclusion: Machine learning models show potential for predicting response to infliximab in inflammatory bowel disease; however, performance remains limited for other therapies, highlighting the need for external validation and methodological refinement.

Downloads

Download data is not yet available.

Author Biographies

Leandra Lara Resende de Carneiro, Faculdade de Medicina, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil

Faculdade de Medicina, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil.

Wagner Meira Junior, Departamento de Ciência da Computação, ICEx, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil

Departamento de Ciência da Computação, ICEx, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil.

Maria de Lourdes de Abreu Ferrari, Faculdade de Medicina, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil

Faculdade de Medicina, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil.

Carolina Penido Barcellos, Departamento de Ciência da Computação, ICEx, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil

Departamento de Ciência da Computação, ICEx, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil.

Clarice Oliveira Minobolli Teixeira, Departamento de Ciência da Computação, ICEx, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil

Departamento de Ciência da Computação, ICEx, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil.

Leonardo Mendes Antero, Departamento de Ciência da Computação, ICEx, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil

Departamento de Ciência da Computação, ICEx, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil.

Mateus Ribeiro Ferreira Gomes, Faculdade de Medicina, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil

Faculdade de Medicina, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil.

Sophia Sales Silva, Faculdade de Ciências Médicas de Minas Gerais, Belo Horizonte (MG), Brasil

Faculdade de Ciências Médicas de Minas Gerais, Belo Horizonte (MG), Brasil.

Antônio Lacerda Filho, Faculdade de Medicina, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil

Faculdade de Medicina, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte (MG), Brasil.

References

1. Faro CCP, Nascimento Filho TB, Lisboa BBSS, Soares MCT, Torres LVF, Silveira VFC, et al. Análise das características epidemiológicas, hospitalares e clínicas das doenças inflamatórias intestinais no Brasil. RSD. 2024;13(3):e7913344837. doi: https://doi.org/10.33448/rsd-v13i3.44837

2. Quaresma AB, Damiao AOMC, Coy CSR, Magro DO, Hino AAF, Valverde DA, et al. Temporal trends in the epidemiology of inflammatory bowel diseases in the public healthcare system in Brazil: A large population-based study. Lancet Reg Health Am. 2022;13:100298. doi: https://doi.org/10.1016/j.lana.2022.100298

3. Ditrich F, Blümel S, Biedermann L, Fournier N, Rossel JB, Ellinghaus D, et al. Genetic risk factors predict disease progression in Crohn's disease patients of the Swiss inflammatory bowel disease cohort. Ther Adv Gastroenterol. 2020;13:1756284820959252. doi: https://doi.org/10.1177/1756284820959252

4. Kim HJ, Oh SH, Lee SH, Kim YB, Kim DY, Park SH, et al. Risk Factors for Disease Behavior Evolution and Efficacy of Biologics in Reducing Progression in Pediatric Patients with Nonstricturing, Nonpenetrating Crohn's Disease at Diagnosis: A Single-Center Experience in Korea. Gut Liver. 2021;15(6):851-7. doi: https://doi.org/10.5009/gnl20279

5. Agrawal M, Spencer EA, Colombel JF, Ungaro RC. Approach to the Management of Recently Diagnosed Inflammatory Bowel Disease Patients: A User's Guide for Adult and Pediatric Gastroenterologists. Gastroenterology. 2021;161(1):47-65. doi: https://doi.org/10.1053/j.gastro.2021.04.063

6. Vilela EG, Rocha HC, Moraes AC, Santana GO, Parente JM, Sassaki LY, et al. Inflammatory bowel disease care in Brazil: how it is performed, obstacles and demands from the physicians' perspective. Arq Gastroenterol. 2020;57(4):416-27. doi: https://doi.org/10.1590/S0004-2803.202000000-77

7. Noor NM, Davies N, Tahir W, Bond S, Dowling F, Patel KV, et al. Anti-tumor necrosis factor treatment from diagnosis is more effective and less costly than conventional "step-up" care for patients with active Crohn's disease: a cost-effectiveness analysis from the PROFILE trial. J Crohns Colitis. 2025;19(9):jjaf150. doi: https://doi.org/10.1093/ecco-jcc/jjaf150

8. Atreya R, Neurath MF, Siegmund B. Personalizing Treatment in IBD: Hype or Reality in 2020? Can We Predict Response to Anti-TNF? Front Med (Lausanne). 2020;7:517. doi: https://doi.org/10.3389/fmed.2020.00517

9. Clough J, Colwill M, Poullis A, Pollok R, Patel K, Honap S. Biomarkers in inflammatory bowel disease: a practical guide. Ther Adv Gastroenterol. 2024;17:17562848241251600. doi: https://doi.org/10.1177/17562848241251600

10. Parra RS, da Costa Ferreira S, Machado VF, Nigro CMC, da Rocha JJR, de Almeida Troncon LE, et al. Access to High-Cost Biological Agents: Perceptions of Brazilian Patients with Inflammatory Bowel Diseases. J Clin Med. 2023;12(7):2672. doi: https://doi.org/10.3390/jcm12072672

11. Turner D, Ricciuto A, Lewis A, D'Amico F, Dhaliwal J, Griffiths AM, et al. STRIDE-II: An Update on the Selecting Therapeutic Targets in Inflammatory Bowel Disease (STRIDE) Initiative of the International Organization for the Study of IBD (IOIBD): Determining Therapeutic Goals for Treat-to-Target strategies in IBD. Gastroenterology. 2021;160(5):1570-83. doi: https://doi.org/10.1053/j.gastro.2020.12.031

12. Gardiner LJ, Carrieri AP, Bingham K, Macluskie G, Bunton D, McNeil M, et al. Combining explainable machine learning, demographic and multi-omic data to inform precision medicine strategies for inflammatory bowel disease. PLoS One. 2022;17(2):e0263248. doi: https://doi.org/10.1371/journal.pone.0263248

13. Gisbert JP, Chaparro M. Predictors of Primary Response to Biologic Treatment [Anti-TNF, Vedolizumab, and Ustekinumab] in Patients With Inflammatory Bowel Disease: From Basic Science to Clinical Practice. J Crohns Colitis. 2020;14(5):694-709. doi: https://doi.org/10.1093/ecco-jcc/jjz195

14. Gisbert JP, Chaparro M. Primary Failure to an Anti-TNF Agent in Inflammatory Bowel Disease: Switch (to a Second Anti-TNF Agent) or Swap (for Another Mechanism of Action)? J Clin Med. 2021;10(22):5318. doi: https://doi.org/10.3390/jcm10225318

15. Waljee AK, Joyce JC, Wang S, Saxena A, Hart M, Zhu J, et al. Algorithms outperform metabolite tests in predicting response of patients with inflammatory bowel disease to thiopurines. Clin Gastroenterol Hepatol. 2010;8(2):143-50. doi: https://doi.org/10.1016/j.cgh.2009.09.031

16. Qiu Y, Hu S, Chao K, Huang L, Huang Z, Mao R, et al. Developing a Machine-Learning Prediction Model for Infliximab Response in Crohn's Disease: Integrating Clinical Characteristics and Longitudinal Laboratory Trends. Inflamm Bowel Dis. 2025;31(5):1334-43. doi: https://doi.org/10.1093/ibd/izae176

17. Waljee AK, Liu B, Sauder K, Zhu J, Govani SM, Stidham RW, et al. Predicting Corticosteroid-Free Biologic Remission with Vedolizumab in Crohn's Disease. Inflamm Bowel Dis. 2018;24(6):1185-92. doi: https://doi.org/10.1093/ibd/izy031

18. Irie K, Minar P, Reifenberg J, Boyle BM, Noe JD, Hyams JS, et al. Machine Learning Modeling for Predicting Infliximab Pharmacokinetics in Pediatric and Young Adult Patients With Crohn Disease: Leveraging Ensemble Modeling With Synthetic and Real-World Data. Ther Drug Monit. 2026;48(1):98-104. doi: https://doi.org/10.1097/FTD.0000000000001348

19. Waljee AK, Wallace BI, Cohen-Mekelburg S, Liu Y, Liu B, Sauder K, et al. Development and Validation of Machine Learning Models in Prediction of Remission in Patients With Moderate to Severe Crohn Disease. JAMA Netw Open. 2019;2(5):e193721. doi: https://doi.org/10.1001/jamanetworkopen.2019.3721

20. Agência Nacional de Vigilância Sanitária (Anvisa). Guia de evidências de mundo real. Guia nº 64/2023, versão 1 [Internet]. Brasília: Anvisa; 2023 [citado 2026 out 18]. Disponível em: https://www.gov.br/anvisa/pt-br/assuntos/noticias-anvisa/2023/anvisa-publica-guia-de-evidencias-de-mundo-real-e-anuncia-grupo-de-trabalho-para-outubro/Guian64_2023_versao1.pdf

21. Li J, Qian JM. Artificial intelligence in inflammatory bowel disease: current status and opportunities. Chin Med J (Engl). 2020;133(7):757-9. doi: https://doi.org/10.1097/CM9.0000000000000714

22. Stafford IS, Gosink MM, Mossotto E, Ennis S, Hauben M. A Systematic Review of Artificial Intelligence and Machine Learning Applications to Inflammatory Bowel Disease, with Practical Guidelines for Interpretation. Inflamm Bowel Dis. 2022;28(10):1573-83. doi: https://doi.org/10.1093/ibd/izac115

23. Stidham RW, Takenaka K. Artificial Intelligence for Disease Assessment in Inflammatory Bowel Disease: How Will it Change Our Practice? Gastroenterology. 2022;162(5):1493-506. doi: https://doi.org/10.1053/j.gastro.2021.12.238

24. Sadagurschi R, Dobromirescu A, Babiuc R, Negreanu L. Clinical Predictive Factors of Response to Biologics in IBD. Rev. Med. Mod. 2022;29(1):15-23. doi: https://doi.org/10.31689/rmm.2021.29.1.15

Published

2026-11-26

How to Cite

de Carneiro, L. L. R., Meira Junior, W., Ferrari, M. de L. de A., Barcellos, C. P., Teixeira, C. O. M., Antero, L. M., … Lacerda Filho, A. (2026). Prediction of therapeutic response in IBD with machine learning applied to patient health record data. Journal of Health Informatics, 18(Especial), 1784. https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1784

Similar Articles

1 2 3 4 5 6 7 8 9 10 > >> 

You may also start an advanced similarity search for this article.