mlsanityData to 14 Oct 2026

Local Large Language Models for Complex Structured Medical Tasks

arXiv 2308.01727 ↗First posted 3 Aug 2023cs.CL cs.AIcited by 7

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

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  4. 2020Longformer: The Long-Document Transformercited by 3,413
  5. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  6. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,947
  7. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
  8. 2023LLaVA-Med: Training a Large Language-and-Vision Assistant for Biomedicine in One Daycited by 1,305
  9. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
  10. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
  11. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 619
  12. 2023ChatIE: Zero-Shot Information Extraction via Chatting with ChatGPTcited by 250
4 more
  1. 2022ChatGPT Makes Medicine Easy to Swallow: An Exploratory Case Study on Simplified Radiology Reportscited by 101
  2. 2023An Iterative Optimizing Framework for Radiology Report Summarization with ChatGPTcited by 57
  3. 2022PathologyBERT -- Pre-trained Vs. A New Transformer Language Model for Pathology Domaincited by 12
  4. 2021Grid Search Hyperparameter Benchmarking of BERT, ALBERT, and LongFormer on DuoRCcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 1; 2025: 3; 2026: 2.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Assessing Large Language Models for Medical QA: Zero-Shot and LLM-as-a-Judge Evaluation
  2. 2024Biomedical Large Languages Models Seem not to be Superior to Generalist Models on Unseen Medical Data
  3. 2024A Comprehensive Survey of Large Language Models and Multimodal Large Language Models in Medicine
  4. 2025MedHELM: Holistic Evaluation of Large Language Models for Medical Tasks
  5. 2024MedExpQA: Multilingual Benchmarking of Large Language Models for Medical Question Answering
  6. 2024D-NLP at SemEval-2024 Task 2: Evaluating Clinical Inference Capabilities of Large Language Models
  7. 2025Evaluating Hierarchical Clinical Document Classification Using Reasoning-Based LLMs
  8. 2024Entry-level guide to the use of large language models for medical research