Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR AI

Date Submitted: May 23, 2025
Date Accepted: Jan 29, 2026
Date Submitted to PubMed: Feb 4, 2026

The final, peer-reviewed published version of this preprint can be found here:

Augmenting Large Language Model With Prompt Engineering and Supervised Fine-Tuning in Non-Small Cell Lung Cancer Tumor-Node-Metastasis Staging: Framework Development and Validation

Jin R, Ling C, Sun Y, Li N, Han J, Sheng J, Wang Q, Liu Y, Zheng S, Ren X, Chen C, Li C

Augmenting Large Language Model With Prompt Engineering and Supervised Fine-Tuning in Non-Small Cell Lung Cancer Tumor-Node-Metastasis Staging: Framework Development and Validation

JMIR AI 2026;5:e77988

DOI: 10.2196/77988

PMID: 41636636

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

Augmenting LLM with Prompt Engineering and Supervised Fine-Tuning in NSCLC TNM Staging: Framework Development and Validation

  • Ruonan Jin; 
  • Chao Ling; 
  • Yuhan Sun; 
  • Ning Li; 
  • Jiefei Han; 
  • Jin Sheng; 
  • Qizhao Wang; 
  • Yuepeng Liu; 
  • Shen Zheng; 
  • Xingyu Ren; 
  • Chiyu Chen; 
  • Cheng Li

ABSTRACT

Background:

Non-small cell lung cancer (NSCLC) staging is crucial for treatment decisions and prognosis. Given the complex staging criteria, innovative methods are needed to assist physicians.

Objective:

This study aims to develop a robust solution for TNM staging using the GLM-4-Air model.

Methods:

A dataset of de-identified real-world medical imaging reports annotated by senior physicians from 3A-Level hospitals in China was constructed. Based on this dataset, a combined strategy of prompt optimization and Low-Rank Adaptation (LoRA) fine-tuning was developed to enhance the foundational model GLM-4-Air.

Results:

Results showed considerable improvement, with T, N, M, and clinical staging accuracies reaching 92%, 86%, 92%, and 90%, respectively. In comparison, GPT-4o achieved accuracies of 87%, 70%, 78%, and 80% under the same conditions.

Conclusions:

In this study, our model shows superior performance in NSCLC TNM staging. This underscored the effectiveness of our approach and highlighted its potential to enhance diagnostic standardization.


 Citation

Please cite as:

Jin R, Ling C, Sun Y, Li N, Han J, Sheng J, Wang Q, Liu Y, Zheng S, Ren X, Chen C, Li C

Augmenting Large Language Model With Prompt Engineering and Supervised Fine-Tuning in Non-Small Cell Lung Cancer Tumor-Node-Metastasis Staging: Framework Development and Validation

JMIR AI 2026;5:e77988

DOI: 10.2196/77988

PMID: 41636636

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.