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 Formative Research

Date Submitted: Apr 3, 2026
Date Accepted: Sep 23, 2026

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

Large Language Model Framework for Structured Biomarker Extraction and Triple-Negative Breast Cancer Identification From Pathology Reports: Development and Evaluation Study

Christopher Leela B, Jain N, Annambhotla T, Siddharthan A, Kanala H, Budhiraja A, Goutam Sinha M, Charan D, Ahmad Dar M, Patel T

Large Language Model Framework for Structured Biomarker Extraction and Triple-Negative Breast Cancer Identification From Pathology Reports: Development and Evaluation Study

JMIR Form Res 2026;10:e97117

DOI: 10.2196/97117

PMID: 42913472

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.

Prioritization of Breast Cancer Subtypes from Pathology Reports: Large Language Model based Framework

  • Biji Christopher Leela; 
  • Nirmit Jain; 
  • Trisha Annambhotla; 
  • Akshara Siddharthan; 
  • Harshini Kanala; 
  • Armaan Budhiraja; 
  • Mangalam Goutam Sinha; 
  • Devyani Charan; 
  • Muzaffar Ahmad Dar; 
  • Trupti Patel

ABSTRACT

Background:

Large language models can sort pathology reports to identify breast cancer molecular subtypes. Such LLM models can distinguish breast cancer subtypes like Luminal A, Luminal B, HER2-enriched, and triple-negative breast cancer based on the presence or absence of key receptors like estrogen, progesterone, and human epidermal growth factor receptors, enabling more precise and targeted therapeutic decisions. LLM models also assist in accurate data extraction of oncology information, which is useful in identifying subtypes of breast cancer.

Objective:

This paper proposes a new framework based on LLM models to automate breast cancer subtype triage from pathology reports in an outpatient department setting, utilizing oncology features from breast cancer pathology reports to drive subtype triage in breast cancer patients. Key receptor status, tumor characteristics, and other biological profiles, such as tumor size, tumor grade, and tumor histology, are included in this LLM model to capture the biological profile of breast cancer patients.

Methods:

A total of 532 breast cancer pathology reports from TCGA are included in this study to evaluate the LLM model’s performance in triaging molecular subtypes of breast cancer patients. This research paper utilizes a variety of lightweight generative models, such as GPT-4.0 Mini, GPT-4.1 Nano, GPT-5 Nano, and Gemini 2.5 Flash Lite, to process breast cancer pathology reports and test their performance in a chain-of-thought, zero-shot, and few-shot setting.

Results:

The LLM model extracted the oncology features successfully with the highest accuracy achieved by GPT-4oMini at 89.21% for chain-of-thought prompting. Higher accuracy was achieved in the extraction of biomarkers, with tumor size having lower accuracy. The GPT-5 Nanomodel was able to identify the cases of TNBC in 44 out of the 53 cases at ≈ 83%.

Conclusions:

The LLMmodels, with the aid of structured prompting, can be used for the precise extraction of oncology features. The GPT-5 Nano model was able to show high accuracy in the extraction of the features of TNBC.


 Citation

Please cite as:

Christopher Leela B, Jain N, Annambhotla T, Siddharthan A, Kanala H, Budhiraja A, Goutam Sinha M, Charan D, Ahmad Dar M, Patel T

Large Language Model Framework for Structured Biomarker Extraction and Triple-Negative Breast Cancer Identification From Pathology Reports: Development and Evaluation Study

JMIR Form Res 2026;10:e97117

DOI: 10.2196/97117

PMID: 42913472

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.