Local Large Language Models for Complex Structured Medical Tasks
On the map: LLM reasoning → Clinical and biomedical applications
Abstract (arXiv)
This paper introduces an approach that combines the language reasoning capabilities of large language models (LLMs) with the benefits of local training to tackle complex, domain-specific tasks. Specifically, the authors demonstrate their approach by extracting structured condition codes from pathology reports. The proposed approach utilizes local LLMs, which can be fine-tuned to respond to specific generative instructions and provide structured outputs. The authors collected a dataset of over 150k uncurated surgical pathology reports, containing gross descriptions, final diagnoses, and condition codes. They trained different model architectures, including LLaMA, BERT and LongFormer and evaluated their performance. The results show that the LLaMA-based models significantly outperform BERT-style models across all evaluated metrics, even with extremely reduced precision. The LLaMA models performed especially well with large datasets, demonstrating their ability to handle complex, multi-label tasks. Overall, this work presents an effective approach for utilizing LLMs to perform domain-specific tasks using accessible hardware, with potential applications in the medical domain, where complex data extraction and classification are required.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Clinical and biomedical applications, one of 17 directions in LLM reasoning. Builds on 16 of its 38 references that are in the map. First posted on arXiv 3 Aug 2023.
Builds on
16 of 38 references.
References · 16
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,947
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2023LLaVA-Med: Training a Large Language-and-Vision Assistant for Biomedicine in One Daycited by 1,305
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 619
- 2023ChatIE: Zero-Shot Information Extraction via Chatting with ChatGPTcited by 250
4 more
- 2022ChatGPT Makes Medicine Easy to Swallow: An Exploratory Case Study on Simplified Radiology Reportscited by 101
- 2023An Iterative Optimizing Framework for Radiology Report Summarization with ChatGPTcited by 57
- 2022PathologyBERT -- Pre-trained Vs. A New Transformer Language Model for Pathology Domaincited by 12
- 2021Grid Search Hyperparameter Benchmarking of BERT, ALBERT, and LongFormer on DuoRCcited by 4
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 3; 2026: 2.
7 papers.
- 2023Building Trustworthy NeuroSymbolic AI Systems: Consistency, Reliability, Explainability, and Safetycited by 14
- 2024A Collaborative Multi-Agent Approach to Retrieval-Augmented Generation Across Diverse Datacited by 10
- 2025Large Language Models for Healthcare Text Classification: A Systematic Reviewcited by 3
- 2025QUAD-LLM-MLTC: Large Language Models Ensemble Learning for Healthcare Text Multi-Label Classificationcited by 1
- 2025Leveraging large language models for SQL behavior-based database intrusion detectioncited by 0
- 2026A Semi-Automated Annotation Workflow for Paediatric Histopathology Reports Using Small Language Modelscited by 0
- 2026Retrieval-Augmented Large Language Models as Components of Cognitive Computing architecture for Regulatory Knowledge Managementcited by 0
- 2026Retrieval-Augmented Large Language Models as Components of Cognitive Computing architecture for Regulatory Knowledge Management27 Jul 2026
- 2026A Semi-Automated Annotation Workflow for Paediatric Histopathology Reports Using Small Language Models5 Apr 2026
- 2025Leveraging large language models for SQL behavior-based database intrusion detection6 Aug 2025
- 2025Large Language Models for Healthcare Text Classification: A Systematic Review3 Mar 2025
- 2025QUAD-LLM-MLTC: Large Language Models Ensemble Learning for Healthcare Text Multi-Label Classification20 Feb 2025
- 2024A Collaborative Multi-Agent Approach to Retrieval-Augmented Generation Across Diverse Data8 Dec 2024
- 2023Building Trustworthy NeuroSymbolic AI Systems: Consistency, Reliability, Explainability, and Safety5 Dec 2023
Similar, not cited
Close in wording, no citation either way
- 2026Assessing Large Language Models for Medical QA: Zero-Shot and LLM-as-a-Judge Evaluation
- 2024Biomedical Large Languages Models Seem not to be Superior to Generalist Models on Unseen Medical Data
- 2024A Comprehensive Survey of Large Language Models and Multimodal Large Language Models in Medicine
- 2025MedHELM: Holistic Evaluation of Large Language Models for Medical Tasks
- 2024MedExpQA: Multilingual Benchmarking of Large Language Models for Medical Question Answering
- 2024D-NLP at SemEval-2024 Task 2: Evaluating Clinical Inference Capabilities of Large Language Models
- 2025Evaluating Hierarchical Clinical Document Classification Using Reasoning-Based LLMs
- 2024Entry-level guide to the use of large language models for medical research