{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,11]],"date-time":"2026-11-11T13:35:15Z","timestamp":1794404115384,"version":"4.9.0"},"reference-count":36,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2024,1,22]],"date-time":"2024-01-22T00:00:00Z","timestamp":1705881600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2024,1,22]],"date-time":"2024-01-22T00:00:00Z","timestamp":1705881600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["IIS-2034479"],"award-info":[{"award-number":["IIS-2034479"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["SCH-2014438"],"award-info":[{"award-number":["SCH-2014438"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["npj Digit. Med."],"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>In the U.S. inpatient payment system, the Diagnosis-Related Group (DRG) is pivotal, but its assignment process is inefficient. The study introduces , an advanced large language model (LLM) fine-tuned on clinical notes to enhance DRGs assignment. Utilizing LLaMA as the foundational model and optimizing it through Low-Rank Adaptation (LoRA) on 236,192 MIMIC-IV discharge summaries, our -7B model exhibited a noteworthy macro-averaged F1 score of 0.327, a top-1 prediction accuracy of 52.0%, and a macro-averaged Area Under the Curve (AUC) of 0.986, with a maximum input token length of 512. This model surpassed the performance of prior leading models in DRG prediction, showing a relative improvement of 40.3% and 35.7% in macro-averaged F1 score compared to ClinicalBERT and CAML, respectively. Applied to base DRG and complication or comorbidity (CC)\/major complication or comorbidity (MCC) prediction, achieved a top-1 prediction accuracy of 67.8% and 67.5%, respectively. Additionally, our findings indicate that \u2019s performance correlates with increased model parameters and input context lengths.<\/jats:p>","DOI":"10.1038\/s41746-023-00989-3","type":"journal-article","created":{"date-parts":[[2024,1,22]],"date-time":"2024-01-22T01:02:45Z","timestamp":1705885365000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":102,"title":["DRG-LLaMA : tuning LLaMA model to predict diagnosis-related group for hospitalized patients"],"prefix":"10.1038","volume":"7","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7649-0892","authenticated-orcid":false,"given":"Hanyin","family":"Wang","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chufan","family":"Gao","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Christopher","family":"Dantona","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Bryan","family":"Hull","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jimeng","family":"Sun","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2024,1,22]]},"reference":[{"key":"989_CR1","first-page":"1877","volume":"33","author":"T Brown","year":"2020","unstructured":"Brown, T. et al. Language models are few-shot learners. Adv. Neural Inform. Process. Syst. 33, 1877\u20131901 (2020).","journal-title":"Adv. Neural Inform. Process. Syst."},{"key":"989_CR2","first-page":"27730","volume":"35","author":"L Ouyang","year":"2022","unstructured":"Ouyang, L. et al. Training language models to follow instructions with human feedback. Adv. Neural Inform. Process. Syst. 35, 27730\u201327744 (2022).","journal-title":"Adv. Neural Inform. Process. Syst."},{"key":"989_CR3","unstructured":"Nori, H., King, N., McKinney, S.M., Carignan, D., Horvitz, E. Capabilities of gpt-4 on medical challenge problems. arXiv preprint arXiv:2303.13375 (2023)."},{"key":"989_CR4","unstructured":"Singhal, K. et al. Towards expert-level medical question answering with large language models. arXiv preprint arXiv:2305.09617 (2023)."},{"key":"989_CR5","unstructured":"Tu, T. et al. Towards generalist biomedical ai. arXiv preprint arXiv:2307.14334 (2023)."},{"key":"989_CR6","doi-asserted-by":"publisher","first-page":"60","DOI":"10.3389\/fdgth.2023.1161098","volume":"5","author":"J Au Yeung","year":"2023","unstructured":"Au Yeung, J. et al. AI chatbots not yet ready for clinical use. Front. Digital Health 5, 60 (2023).","journal-title":"Front. Digital Health"},{"key":"989_CR7","doi-asserted-by":"publisher","first-page":"426","DOI":"10.7326\/M13-2115","volume":"160","author":"K Quinn","year":"2014","unstructured":"Quinn, K. After the revolution: DRGs at age 30. Ann. Internal Med. 160, 426\u2013429 (2014).","journal-title":"Ann. Internal Med."},{"key":"989_CR8","unstructured":"CMS. ICD-10-CM\/PCS MS-DRG v34. 0 Definitions Manual. https:\/\/www.cms.gov\/icd10m\/version34-fullcode-cms\/fullcode_cms\/P0001.html (2016)."},{"key":"989_CR9","doi-asserted-by":"crossref","unstructured":"Kaur, R., Ginige, J.A., Obst, O. AI-based ICD coding and classification approaches using discharge summaries: A systematic literature review. Expert Syst. Appl. 118997 (2022).","DOI":"10.1016\/j.eswa.2022.118997"},{"key":"989_CR10","doi-asserted-by":"publisher","first-page":"718","DOI":"10.1287\/ijoc.2015.0655","volume":"27","author":"D Gartner","year":"2015","unstructured":"Gartner, D., Kolisch, R., Neill, D. B. & Padman, R. Machine learning approaches for early DRG classification and resource allocation. INFORMS J. Comput. 27, 718\u2013734 (2015).","journal-title":"INFORMS J. Comput."},{"key":"989_CR11","doi-asserted-by":"crossref","unstructured":"Islam, M.M., Li, G.H., Poly, T.N., Li, Y.C. Deepdrg: Performance of artificial intelligence model for real-time prediction of diagnosis-related groups. in Healthcare;9:1632MDPI (2021).","DOI":"10.3390\/healthcare9121632"},{"key":"989_CR12","doi-asserted-by":"crossref","unstructured":"Mullenbach, J., Wiegreffe, S., Duke, J., Sun, J., Eisenstein, J. Explainable prediction of medical codes from clinical text. arXiv preprint arXiv:1802.05695 (2018).","DOI":"10.18653\/v1\/N18-1100"},{"key":"989_CR13","doi-asserted-by":"publisher","DOI":"10.1038\/s41746-021-00474-9","volume":"4","author":"J Liu","year":"2021","unstructured":"Liu, J., Capurro, D., Nguyen, A. & Verspoor, K. Early prediction of diagnostic-related groups and estimation of hospital cost by processing clinical notes. NPJ Digi.l Med. 4, 103 (2021).","journal-title":"NPJ Digi.l Med."},{"key":"989_CR14","unstructured":"Touvron, H. et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971 (2023)."},{"key":"989_CR15","doi-asserted-by":"crossref","unstructured":"Alsentzer, E. et al. Publicly available clinical BERT embeddings. arXiv preprint arXiv:1904.03323 (2019).","DOI":"10.18653\/v1\/W19-1909"},{"key":"989_CR16","doi-asserted-by":"publisher","first-page":"1234","DOI":"10.1093\/bioinformatics\/btz682","volume":"36","author":"J Lee","year":"2020","unstructured":"Lee, J. et al. BioBERT: a pre-trained biomedical language representation model for biomedical text mining. Bioinformatics 36, 1234\u20131240 (2020).","journal-title":"Bioinformatics"},{"key":"989_CR17","unstructured":"Huang, K., Altosaar, J., Ranganath, R. Clinicalbert: Modeling clinical notes and predicting hospital readmission. arXiv preprint arXiv:1904.05342 (2019)."},{"key":"989_CR18","first-page":"1","volume":"3","author":"Y Gu","year":"2021","unstructured":"Gu, Y. et al. Domain-specific language model pretraining for biomedical natural language processing. ACM Transact. Comput. for Healthcare (HEALTH) 3, 1\u201323 (2021).","journal-title":"ACM Transact. Comput. for Healthcare (HEALTH)"},{"key":"989_CR19","unstructured":"Devlin, J., Chang, M.W., Lee, K., Toutanova, K. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805 (2018)."},{"key":"989_CR20","unstructured":"Taori, R. et al. Stanford Alpaca: An Instruction-following LLaMA model. https:\/\/github.com\/tatsu-lab\/stanford_alpaca (2023)."},{"key":"989_CR21","unstructured":"Chiang, W.L. et al. Vicuna: An Open-Source Chatbot Impressing GPT-4 with 90% ChatGPT Quality. https:\/\/lmsys.org\/blog\/2023-03-30-vicuna (2023)."},{"key":"989_CR22","unstructured":"Wang, H. et al. Huatuo: Tuning llama model with chinese medical knowledge. arXiv preprint arXiv:2304.06975 (2023)."},{"key":"989_CR23","unstructured":"Yunxiang, L., Zihan, L., Kai, Z., Ruilong, D., You, Z. Chatdoctor: A medical chat model fine-tuned on llama model using medical domain knowledge. arXiv preprint arXiv:2303.14070 (2023)."},{"key":"989_CR24","unstructured":"Wu, C., Zhang, X., Zhang, Y., Wang, Y., Xie, W. Pmc-llama: Further finetuning llama on medical papers. arXiv preprint arXiv:2304.14454 (2023)."},{"key":"989_CR25","doi-asserted-by":"crossref","unstructured":"Liu, N.F. et al. Lost in the middle: How language models use long contexts. arXiv preprint arXiv:2307.03172 (2023).","DOI":"10.1162\/tacl_a_00638"},{"key":"989_CR26","unstructured":"Touvron, H. et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288 (2023)."},{"key":"989_CR27","doi-asserted-by":"publisher","DOI":"10.1038\/s41597-022-01899-x","volume":"10","author":"AE Johnson","year":"2023","unstructured":"Johnson, A. E. et al. MIMIC-IV, a freely accessible electronic health record dataset. Sci. Data 10, 1 (2023).","journal-title":"Sci. Data"},{"key":"989_CR28","unstructured":"Johnson, A. Question about DRG codes in MIMIC-IV. https:\/\/github.com\/MIT-LCP\/mimic-code\/issues\/1561 (2023)."},{"key":"989_CR29","unstructured":"Hu, E.J. et al. Lora: Low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685 (2021)."},{"key":"989_CR30","unstructured":"Wolf, T. et al. Huggingface\u2019s transformers: State-of-the-art natural language processing. arXiv preprint arXiv:1910.03771 (2019)."},{"key":"989_CR31","first-page":"9","volume":"1","author":"A Radford","year":"2019","unstructured":"Radford, A. et al. Language models are unsupervised multitask learners. OpenAI blog 1, 9 (2019).","journal-title":"OpenAI blog"},{"key":"989_CR32","unstructured":"Wang, E.J. Alpaca-Lora. https:\/\/github.com\/tloen\/alpaca-lora (2023)."},{"key":"989_CR33","unstructured":"Dettmers, T., Lewis, M., Belkada, Y., Zettlemoyer, L. LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale. arXiv preprint arXiv:2208.07339 (2022)."},{"key":"989_CR34","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1038\/sdata.2016.35","volume":"3","author":"AE Johnson","year":"2016","unstructured":"Johnson, A. E. et al. MIMIC-III, a freely accessible critical care database. Sci. Data 3, 1\u20139 (2016).","journal-title":"Sci. Data"},{"key":"989_CR35","unstructured":"Adhikari, A., Ram, A., Tang, R., Lin, J. Docbert: Bert for document classification. arXiv preprint arXiv:1904.08398 (2019)."},{"key":"989_CR36","unstructured":"Helwig, N. npreg: Nonparametric Regression via Smoothing Splines. https:\/\/cran.r-project.org\/web\/packages\/npreg\/index.html (2021)."}],"container-title":["npj Digital Medicine"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.nature.com\/articles\/s41746-023-00989-3.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/www.nature.com\/articles\/s41746-023-00989-3","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/www.nature.com\/articles\/s41746-023-00989-3.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,11,8]],"date-time":"2024-11-08T14:41:09Z","timestamp":1731076869000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.nature.com\/articles\/s41746-023-00989-3"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,1,22]]},"references-count":36,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2024,12]]}},"alternative-id":["989"],"URL":"https:\/\/doi.org\/10.1038\/s41746-023-00989-3","relation":{"has-preprint":[{"id-type":"doi","id":"10.21203\/rs.3.rs-3397089\/v1","asserted-by":"object"}]},"ISSN":["2398-6352"],"issn-type":[{"value":"2398-6352","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,1,22]]},"assertion":[{"value":"29 September 2023","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"19 December 2023","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"22 January 2024","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"The authors declare no competing interests.","order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interests"}}],"article-number":"16"}}