OncoPT: long-context transformer models for in hospital tumor phenotype extraction from pathology reports
Thanh Duong, Dung Le, Vonetta Williams, Sandra Stewart, Yayi Zhao, Muntasir Zitu, Issam El Naqa, Dana E. Rollison,
University of South Florida · Moffitt Cancer Center
Key points
From the paper's conclusion- We introduce two oncology pathology-optimized transformer models OncoPT, based on Longformer and BigBird architectures and trained on real-world pathology reports.
Abstract
Despite recent advances in medical informatics, extracting tumor information from pathology reports remains a challenge in modern cancer registry and surveillance workflows. These documents often have an unstructured format, complex medical content, and a considerably lengthy context, creating significant challenges for automated phenotypic information extraction. Although some recent language models such as BERT, GatorTron, and GPT-4 have demonstrated efficacy in medical applications, they are either constrained by sequence length limitations or cloud-based computing that violates the handling of protected health information. We introduce two oncology pathology-optimized transformer models OncoPT, based on Longformer and BigBird architectures and trained on real-world pathology reports. OncoPT efficiently processes reports up to 4,096 tokens, making it suitable for hospitals' onsite deployment with limited resources. We apply OncoPT to a common malignancy (exemplified by breast cancer) and a rare malignancy (exemplified by gastric cancer), across five key tumor phenotypes: Subsite, Histology, Grade, Stage, and Laterality. The results demonstrate that OncoPT achieves state-of-the-art weighted F-1 on a private pathology dataset and surpasses commercial chatbots (ChatGPT 4o and o1) on the public CORAL dataset (up to 30% improvement). These findings highlight the robustness of OncoPT models with the added benefit of preserving the privacy of patient health information.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- OncoRAG: graph-based retrieval enabling clinical phenotyping from oncology notes using local mid-size language modelsnpj Digital Medicine · 2026
- CancerLLM: a large language model in cancer domainnpj Digital Medicine · 2026
- Hierarchical temporal transformer for cancer grade prediction and cross cancer transfer learning from pathology reportsbioRxiv · 2026
- Digital Registrar: A Schema-First Framework for Multi-Cancer Privacy-Preserving Pathology Abstraction via Local LLMsDiagnostics · 2026
- Leveraging large language models for structured information extraction from pathology reportsJournal of Pathology Informatics · 2025
- Large Language Models for Structured Information Extraction from German Histopathology Reports - Hepatocellular CarcinomamedRxiv · 2026