Pathformer: Language Models for Automated CPT Billing Code Assignment in Multi-Institutional Pathology Reports
ISEF · 2026 Computational Biology and Bioinformatics
Overview
Accurate pathology billing is crucial for reimbursement, regulatory compliance, and mitigating the $28.8 billion Medicare improper payment crisis amid a growing shortage of medical coders. CPT codes 88300-88309 denote increasing complexity in examination of surgical specimens, yet reports contain interpretive information subject to ambiguous assignment. Prior automated coding approaches are constrained by limited context windows that truncate key findings, generic vocabularies, and uni-institutional training that generalizes poorly. This study introduces Pathformer, a multi-institutional, long-context transformer-based framework for automated primary CPT code prediction in pathology. Five transformers were pretrained on 59,923 cases from Dartmouth-Hitchcock and fine-tuned on 174,045 cases from Cedars-Sinai, amounting to over 233,000 reports. To date, the two corpora are the largest applied to this task. This pretraining-finetuning strategy was compared against models trained solely on the secondary institution's data and against traditional baselines (Naive Bayes, Random Forest, XGBoost). The top-performing model, a pretrained SciBERT-Longformer, achieved a macro-F1 of 0.8912, surpassing all baselines and prior BERT-based approaches. Pretraining yielded the largest improvements for rare, high-complexity codes (e.g., 88302, 88309) where misbilling risk is greatest. SHAP analyses confirmed that Pathformer predictions are grounded in clinically salient terminology aligned with CPT guidelines. With inference at ~23ms per report, Pathformer demonstrates the accuracy, interpretability, and efficiency necessary for high-volume billing workflows and offers a scalable path toward reducing administrative burden and ensuring proper reimbursement.
Awards (1)
- Fourth Award of $600 $600
Competition history
- ISEF 2026
Resources
Related projects
ISEF · 2017
Deep Learning Assessment of Tumor Proliferation in Histopathological Images for Categorical and Molecular Breast Cancer Severity Diagnosis
ISEF · 2022
Mutformer-Deciphering the Language of Genetic Variants: Using a Transformer-Based Language Model To Identify Pathogenic Missense Mutations Associated With Human Inherited Diseases and Cancer
ISEF · 2024
Enabling Scalable Precision Medicine With STAD: A Novel Computational Platform for Early Recurrence-Free Survival Prediction and Biomarker Discovery in Digital Pathology for Gastrointestinal Cancer Patients
ISEF · 2025
OncoNote: Enabling the Discovery of a Novel Digital Biomarker for Early Pan-Cancer Survival and Recurrence Prediction via Free-Text Clinical Narratives
ISEF · 2021
Revolutionizing Computer Vision Algorithms in Cancer Pathology: The Use of Comprehensive Toolkits to Overcome Machine Learning Obstacles in the Digital Pathology Field
ISEF · 2024
Rapid Screening for Major Skin Cancers with M-SCAHN: Multimodal Hierarchical CNN-Transformer Hybrid Networks with Advanced Interpretability, Lesion Evolution Tracking, Trait Identification, and Color Constancy for Improved Generalization in Diverse Populations
ISEF · 2025
An Analytical Study of Optimized EfficientNet CNNs, Vision Transformers, and Hybrid Transformers for State-of-the-Art MRI-Based Brain Tumor Diagnosis With Integrated Explainable AI
ISEF · 2025
Colorectal Cancer Imaging and Classification - A Deep Learning Approach to Classify Histopathological Images
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: Regeneron International Science and Engineering Fair