Search NASA⌕ Search

DOE OSTI · 3020940

Deformable phrase level attention: A flexible approach for improving AI based medical coding

Abstract

Objective: Improving the AI-driven automated medical encoding of clinical text plays a vital role in gathering information on the occurrence of diseases to improve population-level health. This work presents a novel attention mechanism designed to enhance text classification models and ensure appropriate classification of medical concepts in unstructured electronic health records. Materials and Methods: We developed a deformable, phrase-level attention mechanism to identify important lexical word-level and contextual phrase-level information from clinical text documents. We evaluated conventional and transformer-based deep learning models that we extended with our attention mechanism on the extraction of critical cancer information (e.g., site, subsite, laterality, histology, behavior) from 629,908 electronic pathology reports and on the automated medical encoding of 52,722 hospital discharge summaries. Results: Transformer-based models with the deformable, phrase-level attention mechanism achieved the best performance on the extraction of critical cancer information from pathology reports. Conventional- and transformer-based models show similar or better performance than their baseline counterparts on the automated medical encoding of clinical documents. Discussion: The addition of phrase-level information allowed models extended with our proposed method to outperform standard word-level attention. Our method showed favorable properties for the real-world application in terms of model robustness and phenotyping. These results indicate that our method is promising for automated data harmonization for common data models. Conclusion: This work proposes a novel deformable, phrase-level attention mechanism that enhances text classification models in the extraction of medical concepts from clinical text documents. We demonstrate strong performances on two clinical text datasets and showcase real-world deployability of our method.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Metzner, Christoph [Univ. of Tennessee, Knoxville, TN (United States). Bredesen Center for Interdisciplinary Research and Graduate Education; Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)] (ORCID:000000024051620X), Gao, Shang [Thomson Reuters, Eagan, MN (United States)] (ORCID:0000000318031457), Herrmannova, Drahomira [Elsevier, Philadelphia, PA (United States)] (ORCID:0000000227301546), Gounley, John [Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)] (ORCID:0000000184244982), Hanson, Heidi A. [Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)] (ORCID:000000030056196X). 2025-11-15. Deformable phrase level attention: A flexible approach for improving AI based medical coding. https://doi.org/10.1016/j.artmed.2025.103299

Cite the original work for its findings. Save a collection to share your selection of sources.