EUVIMEDObjevte EUVIMED
Open access

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

Nirmit Jain, Trisha Annambhotla, Akshara Siddharthan, Harshini Kanala, Armaan Budhiraja, Manglam Goutam Sinha, Devyani Charan, Muzaffar Ahmad Dar, Trupti Patel, Biji C L

JMIR Formative Research · 2026-10-23 · 10 · e97117-e97117

DOI: 10.2196/97117 ↗

At a glance

Journal article in JMIR Formative Research, published online on 2026-10-23. Written by Nirmit Jain and 9 co-authors. Institution: School of Computer Science and Engineering, Vellore Institute of Technology, Vellore Campus, Tiruvalam Road, Katpadi, Vellore, Tamil Nadu, 632014, In…. Major MEDLINE topics: Large Language Models, Triple Negative Breast Neoplasms, Biomarkers, Tumor. 40 references. The full text is freely available in PubMed Central.

AbstraktSubjectsBibliografické údajeCiteRelated studies

Abstract (original language)

Background

Triple-negative breast cancer (TNBC) is an aggressive molecular subtype of breast cancer that needs to be identified accurately from pathology reports to inform decision-making. Large language models (LLMs) have been reported to show great potential in the automatic extraction of important oncology information from unstructured medical text.

Objective

We aimed to create and test an LLM-based approach for automatic biomarker extraction and TNBC subtype classification based on breast cancer pathology reports using prompt-engineering techniques.

Methods

In total, 532 breast cancer pathology reports from The Cancer Genome Atlas (TCGA) were used. Our approach extracted structured oncology features, such as estrogen receptor status, progesterone receptor status, HER2 status, tumor size, tumor grade, and tumor histology, which were used to identify TNBC. We tested 4 frontier models: GPT-4o mini (released July 18, 2024), GPT-4.1 nano (released April 14, 2025), GPT-5 nano (released August 7, 2025), and Gemini 2.5 Flash-Lite.

Results

The designed framework was able to extract relevant biomarkers and clinicopathological attributes from unstructured pathology reports and allowed for the automated identification of patients with TNBC. Gemini 2.5 Flash-Lite showed superior performance in the extraction of clinicopathological attributes. For all models investigated, chain-of-thought (CoT) prompting was shown to outperform other strategies, such as zero-shot and few-shot prompting, for both biomarker extraction and TNBC classification. GPT-4o mini using CoT prompts reported the highest performance for TNBC classification.

Conclusions

Using prompt-engineering techniques based on LLMs proved to be an efficient method of translating unstructured breast cancer pathology reports into structured clinical information. Moreover, it can be used to accurately identify the TNBC subtype.

Subjects

MeSH terms (MEDLINE)

Large Language ModelsTriple Negative Breast NeoplasmsBiomarkers, TumorHumansFemale

Author keywords

breast cancerchain of thoughtgenerative pretrained transformerhistologylarge language model

Substances

Biomarkers, Tumor

Authors and institutions

  • School of Computer Science and Engineering, Vellore Institute of Technology, Vellore Campus, Tiruvalam Road, Katpadi, Vellore, Tamil Nadu, 632014, India, 91 9446171877.
  • School of Bio Sciences and Technology, Vellore Institute of Technology, Vellore, Tamil Nadu, India.
  • School of Advanced Sciences, Vellore Institute of Technology, Vellore, Tamil Nadu, India.

Cite

APA

Jain, N., Annambhotla, T., Siddharthan, A., Kanala, H., Budhiraja, A., Goutam Sinha, M., Charan, D., Ahmad Dar, M., Patel, T., & C L, B. (2026). Large Language Model Framework for Structured Biomarker Extraction and Triple-Negative Breast Cancer Identification From Pathology Reports: Development and Evaluation Study. JMIR Formative Research, 10, e97117-e97117. https://doi.org/10.2196/97117

Vancouver

Jain N, Annambhotla T, Siddharthan A, Kanala H, Budhiraja A, Goutam Sinha M, et al. Large Language Model Framework for Structured Biomarker Extraction and Triple-Negative Breast Cancer Identification From Pathology Reports: Development and Evaluation Study. JMIR Formative Research. 2026;10:e97117-e97117. doi:10.2196/97117

BibTeX
@article{Jain2026,
  author = {Jain, Nirmit and Annambhotla, Trisha and Siddharthan, Akshara and Kanala, Harshini and Budhiraja, Armaan and Goutam Sinha, Manglam and Charan, Devyani and Ahmad Dar, Muzaffar and Patel, Trupti and C L, Biji},
  title = {Large Language Model Framework for Structured Biomarker Extraction and Triple-Negative Breast Cancer Identification From Pathology Reports: Development and Evaluation Study},
  journal = {JMIR Formative Research},
  year = {2026},
  volume = {10},
  pages = {e97117--e97117},
  doi = {10.2196/97117}
}
Start for free →