← Latest papers
🤖 machine learning

SYNRARE: Synthetic Rare Disease EHR Generation for ML Benchmarking

SYNRARE is a graphical user interface built on the Synthea framework that generates synthetic Electronic Health Records for rare disease patients to overcome privacy barriers and enable the controlled benchmarking of machine learning algorithms.

Original authors: Nicolai Dinh Khang Truong, Richard Röttger

Published 2026-07-13
📖 5 min read🧠 Deep dive

Original authors: Nicolai Dinh Khang Truong, Richard Röttger

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 trying to teach a computer to spot a rare, tricky disease. It's like trying to teach a dog to find a specific, invisible needle in a massive haystack, but the haystack is full of other needles that look almost exactly the same. In the real world, doctors have to wait years to find these rare cases, and because there are so few of them, it's hard to get enough data to train a smart computer program without breaking strict privacy rules.

Enter SYNRARE, a new tool that acts like a "disease simulator" for researchers. Think of it as a high-tech video game level editor, but instead of designing levels for a platformer, researchers design fake patient histories to test their AI.

The Problem: The "Needle in the Haystack"

Rare diseases are like that invisible needle. They affect only about 1 in 2,000 people in the European Union. Because they are so rare and look a lot like common illnesses, patients often go on a "diagnostic odyssey"—a long, confusing journey taking years to get the right answer.

Researchers want to use Machine Learning (ML) to speed this up. But there's a catch: to teach an AI to spot the rare needle, you need a huge pile of haystacks with needles in them. In the real world, you can't just grab millions of real patient records because of privacy laws. And if you try to train an AI on a tiny pile of real data, it gets confused and makes mistakes (like thinking a common cold is a rare disease).

The Solution: A "Disease Blender"

The authors built SYNRARE to solve this. It's a graphical interface (a fancy way of saying "easy-to-use screen with buttons") that sits on top of a system called Synthea.

Here's the magic trick: Synthea is like a robot doctor that can invent a fake patient's life from birth to the present, following strict medical rules. It doesn't look at real people's secrets; it just follows a recipe to create a realistic story.

SYNRARE takes this robot doctor and gives it a "sliding scale" knob.

  1. The Base: First, it generates a bunch of fake patients with common diseases (like bronchitis).
  2. The Twist: Then, the researcher can turn the knob to slightly tweak the recipe. They can change the "variance" (how much the symptoms wiggle), the "range shift" (moving the symptoms slightly up or down), or the "probability" (how often a symptom happens).

Imagine you have a recipe for a standard chocolate cake. SYNRARE lets you say, "Make 99% of these cakes normal, but make 1% of them have just a tiny bit more cocoa and a slightly different baking time." Now you have a batch of "rare variant" cakes that look almost identical to the normal ones, but they are distinct enough to test if your taste-tester AI can spot the difference.

How It Works (The Playful Part)

SYNRARE lets researchers do three cool things:

  • Pick and Choose: You can select one disease module, a few, or all of them to create a specific mix of fake patients.
  • The "Global" Tweak: Instead of manually editing every single detail of a fake patient's history (which would take forever), you can apply a "Random Modification" to the whole group. You tell the computer, "Shift the blood pressure numbers slightly to the right" or "Make the weight distribution a bit wider."
  • The BMI Factor: The tool even knows that heavier patients often have different health risks. If you set a patient to be in "Obesity Class III," the tool automatically adjusts their fake blood pressure and other stats to match real-world medical evidence (like a 25 mmHg higher systolic blood pressure on average).

What It Can (and Can't) Do

The authors are very clear about what this tool is for. It is not a crystal ball that will tell us the truth about a specific rare disease. It is not a replacement for real doctors or real data.

Instead, it's a test bed. It's a safe, controlled playground where researchers can:

  • Build a "rare disease" that is barely different from a common one.
  • Throw their Machine Learning algorithms at it.
  • See if the AI can tell the difference.

In one example, the team used SYNRARE to create a rare variant of bronchitis. They tweaked the data just enough that the two conditions looked very similar. When they tested simple AI models, the models struggled to tell them apart. This proved that the tool works: it successfully created a "hard mode" challenge for the AI.

The Bottom Line

SYNRARE is a bridge. It allows researchers to build their own "training wheels" for AI. They can generate thousands of fake patients with definable differences, test their algorithms, and see how well those algorithms perform before they ever touch a real patient's private data.

The authors suggest that this tool is perfect for domain experts (people who really know their stuff about diseases) who want to model specific scenarios. However, they also warn that because the data is "idealized" and generated by rules, it might not capture every messy, confusing detail of a real hospital record. But for the specific goal of benchmarking and testing AI tools, it offers a powerful, privacy-safe way to see if the technology is ready for the real world.

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 →