cs.CLApr 5, 2026

A Semi-Automated Annotation Workflow for Paediatric Histopathology Reports Using Small Language Models

Authors: Avish Vijayaraghavan, Jaskaran Singh Kawatra, Sebin Sabu, Jonny Sheldon, Will Poulett, Alex Eze, Daniel Key, John Booth, 

Organizations: Division of Systems Medicine, Department of Metabolism, Digestion and Reproduction, Imperial College London, London, UK. · Department of Computing, Imperial College London, London, UK. · Data Science Team, NHS England, Leeds & London, UK. · DRE Team, GOSH DRIVE, Great Ormond Street Hospital, London, UK. · 

Abstract

Electronic Patient Record (EPR) systems contain valuable clinical information, but much of it is trapped in unstructured text, limiting its use for research and decision-making. Large language models can extract such information but require substantial computational resources to run locally, and sending sensitive clinical data to cloud-based services, even when deidentified, raises significant patient privacy concerns. In this study, we develop a resource-efficient semi-automated annotation workflow using small language models (SLMs) to extract structured information from unstructured EPR data, focusing on paediatric histopathology reports. As a proof-of-concept, we apply the workflow to paediatric renal biopsy reports, a domain chosen for its constrained diagnostic scope and well-defined underlying biology. We develop the workflow iteratively with clinical oversight across three meetings, manually annotating 400 reports from a dataset of 2,111 at Great Ormond Street Hospital as a gold standard, while developing an automated information extraction approach using SLMs. We frame extraction as a Question-Answering task grounded by clinician-guided entity guidelines and few-shot examples, evaluating five instruction-tuned SLMs with a disagreement modelling framework to prioritise reports for clinical review. Gemma 2 2B achieves the highest accuracy at 84.3%, outperforming off-the-shelf models including spaCy (74.3%), BioBERT-SQuAD (62.3%), RoBERTa-SQuAD (59.7%), and GLiNER (60.2%). Entity guidelines improved performance by 7-19% over the zero-shot baseline, and few-shot examples by 6-38%, though their benefits do not compound when combined. These results demonstrate that SLMs can extract structured information from specialised clinical domains on CPU-only infrastructure with minimal clinician involvement. Our code is available at https://github.com/gosh-dre/nlp_renal_biopsy.

Figures & tables

Explore similar work

CardsList
  1. Domain-Adapted Small Language Models for Reliable Clinical Triage

    Apr 29, 2026Manar Aljohani, Brandon Ho, Kenneth McKinley +2Clinical TriageLLM Fine-Tuning

  2. Prompt, Plan, Extract: Zero-Shot Agentic LLMs Workflows for Lung Pathology Extraction from Clinical Narratives

    Jun 18, 2026Aman Pathak, Cheng Peng, Mengxian Lyu +8Computational PathologyZero-Shot Learning

  3. Self-Prompting Small Language Models for Privacy-Sensitive Clinical Information Extraction

    May 5, 2026Yao-Shun Chuang, Tushti Mody, Uday Pratap Singh +6Named Entity RecognitionHealthcare