← Latest papers
💬 NLP

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

This study demonstrates that a semi-automated workflow using small language models, specifically the Gemma 2 2B model enhanced with clinician-guided entity guidelines and few-shot examples, can efficiently and accurately extract structured information from unstructured paediatric renal biopsy reports on CPU-only infrastructure while addressing privacy concerns and minimizing clinician workload.

Original authors: Avish Vijayaraghavan, Jaskaran Singh Kawatra, Sebin Sabu, Jonny Sheldon, Will Poulett, Alex Eze, Daniel Key, John Booth, Shiren Patel, Jonny Pearson, Dan Schofield, Jonathan Hope, Pavithra Rajendran
Published 2026-04-07
📖 4 min read☕ Coffee break read

Original authors: Avish Vijayaraghavan, Jaskaran Singh Kawatra, Sebin Sabu, Jonny Sheldon, Will Poulett, Alex Eze, Daniel Key, John Booth, Shiren Patel, Jonny Pearson, Dan Schofield, Jonathan Hope, Pavithra Rajendran, Neil Sebire

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a massive library where millions of books are written in a secret, chaotic code. These books are paediatric histopathology reports—documents written by doctors describing tiny samples of children's kidneys under a microscope. While these reports hold life-saving information, most of it is buried in long, messy paragraphs of free text. It's like trying to find specific ingredients in a giant, unorganized soup; you know the information is there, but pulling it out for research or quick decision-making is a nightmare.

Usually, to read these books, you need a super-intelligent robot (a Large Language Model or LLM). But these robots are like massive, power-hungry dragons. They require enormous data centers and expensive graphics cards to run, making them impossible to use in a standard hospital where patient data must stay on local, secure computers.

The Solution: The "Pocket-Sized" Librarians

The authors of this paper asked: "What if we could use a team of smaller, smarter, and more energy-efficient robots instead?"

They developed a workflow using Small Language Models (SLMs). Think of these not as the giant dragons, but as highly trained pocket-sized librarians. They are small enough to fit on a standard hospital laptop (the kind a doctor might carry), but with the right training, they can read the messy reports and extract the key facts.

Here is how their system works, broken down into simple steps:

1. The "Recipe Book" (Entity Guidelines)

You can't just ask a pocket librarian to "read this report." They need a specific recipe. The team worked with expert doctors to create a Rulebook (called Entity Guidelines).

  • The Analogy: Imagine you are teaching a child to sort laundry. You don't just say "sort this." You give them a card that says: "If you see a red sock, put it in the red pile. If you see a stain, put it in the 'needs washing' pile."
  • In the paper: These rules tell the AI exactly what to look for (e.g., "How many kidney filters are there?" or "Is there rejection?").

2. The "Show, Don't Just Tell" (Few-Shot Examples)

Sometimes, rules aren't enough. The team also gave the AI a few examples of "perfectly sorted" reports.

  • The Analogy: It's like showing the child, "Here is a red sock. Here is another red sock. Now, you pick the red ones."
  • In the paper: This is called "few-shot learning." They showed the AI a couple of examples of how to extract information, and the AI learned the pattern.

3. The "Double-Check" System (Disagreement Modelling)

Even the best pocket librarians make mistakes. So, the team didn't just use one AI; they used two different AI models to read the same report.

  • The Analogy: Imagine two students taking a test. If they both get the answer "42," you can be pretty sure it's right. If one says "42" and the other says "43," you know to flag that question for the teacher to check.
  • In the paper: The system compares the two AI answers. If they agree, the answer is saved. If they disagree, the report is flagged for a human doctor to review. This ensures the doctors only spend time on the tricky cases, not the easy ones.

The Results: A Win for Efficiency

The team tested this on 400 real kidney biopsy reports (from a total of over 2,000).

  • The Winner: One of the small models, called Gemma 2, got it right 84.3% of the time.
  • The Competition: This beat the old-school methods (like standard search tools) and even some bigger, more complex AI models that struggled with the messy text.
  • Speed: The whole system ran on a standard laptop. It took about 30 to 60 seconds per report. If they ran it overnight, they could process the entire hospital dataset in less than two days.

Why This Matters

This isn't just about technology; it's about practicality.

  • Privacy: Because the AI is small, it stays on the hospital's own computer. No sensitive child data has to be sent to the cloud or a giant data center.
  • Cost: It runs on cheap hardware, meaning any hospital can do this, not just the ones with millions of dollars in supercomputers.
  • Doctor Time: By automating the boring data extraction, doctors can focus on the patients. The "Disagreement System" ensures they only look at the reports where the AI is confused, saving them hours of work.

In a Nutshell:
The authors built a smart, lightweight, and privacy-friendly assistant that helps doctors turn messy, handwritten-style medical notes into clean, organized data. It's like giving every hospital a team of tireless, rule-following interns who do the heavy lifting, leaving the human experts to do the critical thinking.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →