← Latest papers
🤖 machine learning

KAYRA: A Microservice Architecture for AI-Assisted Karyotyping with Cloud and On-Premise Deployment

This paper introduces KAYRA, a containerized microservice architecture for AI-assisted karyotyping that combines a cascaded deep learning pipeline with flexible cloud or on-premise deployment, demonstrating statistically significant improvements in segmentation and classification accuracy over existing commercial systems in a pilot clinical evaluation.

Original authors: Attila Pintér, Javier Rico, Attila Répai, Jalal Al-Afandi, Adrienn Éva Borsy, András Kozma, Hajnalka Andrikovics, György Cserey

Published 2026-04-30
📖 5 min read🧠 Deep dive

Original authors: Attila Pintér, Javier Rico, Attila Répai, Jalal Al-Afandi, Adrienn Éva Borsy, András Kozma, Hajnalka Andrikovics, György Cserey

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 hospital lab where scientists need to sort through a messy pile of tiny, tangled strings (chromosomes) to check for genetic health. This process, called karyotyping, is like trying to untangle a knot of Christmas lights while blindfolded, then sorting them by color and size. Traditionally, highly trained experts do this manually, taking 30 to 90 minutes per patient. It's slow, expensive, and hard to find enough experts to do it.

KAYRA is a new software system designed to act as a "super-assistant" for these experts. It uses artificial intelligence to do the heavy lifting, but it's built in a very specific way to fit into real hospitals.

Here is how KAYRA works, explained through simple analogies:

1. The "Swiss Army Knife" of Software (Microservices)

Most software is like a giant, heavy toolbox where if one tool breaks, the whole box is useless. KAYRA is different. It is built like a modular kitchen.

  • Instead of one giant robot doing everything, KAYRA is made of small, independent "chefs" (microservices) working in a line.
  • One chef cuts the vegetables (finds the chromosomes), another chops them (separates them), another sorts them by type, and a fourth arranges them on a plate.
  • Why this matters: If the "chopping" chef gets stuck, the "sorting" chef can still keep working with what they have. The system doesn't crash; it just gives the human expert a partial result to fix. This is crucial in a hospital where you can't afford for the machine to just stop working.

2. The "Zoom-In" Strategy (Cascaded ROI)

Looking at a whole microscope slide to find chromosomes is like trying to find a specific needle in a haystack by looking at the whole barn. It's too much information.

  • Step 1 (The Otsu Filter): KAYRA first takes a quick, blurry look at the whole image to find the "haystack" area. It ignores the empty space.
  • Step 2 (The U-Net Refiner): It then zooms in closer, using a smart filter to clean up the edges and define exactly where the chromosomes are.
  • Step 3 (The Mask R-CNN): Finally, it zooms in tight on just the chromosomes. Now, the AI doesn't have to guess; it only has to separate the tangled strings from each other.
  • The Benefit: By narrowing the focus step-by-step, the AI makes fewer mistakes because it isn't distracted by the background.

3. The "Double-Door" Deployment (Cloud vs. On-Premise)

Hospitals have strict rules about patient data. Some can send data to the "cloud" (the internet), but others cannot because the data must stay inside the building.

  • KAYRA is like a universal suitcase. It is packaged in a way that it can be unpacked and run in two different rooms:
    • The Cloud Room: It runs on powerful, remote servers (like a hotel).
    • The On-Premise Room: It runs on a local computer inside the hospital (like a home office).
  • The "suitcase" (the software code) is exactly the same in both rooms. This means hospitals that are strict about privacy can still use the same powerful AI as those that are not.

4. The "Human-in-the-Loop" Review

KAYRA doesn't replace the human expert; it acts like a draftsman.

  • The AI does the initial sorting and labeling.
  • Then, a human expert looks at the screen. They can see the AI's work and easily fix mistakes: "No, that's not chromosome 5, it's chromosome 10," or "These two are stuck together, please separate them."
  • The system remembers every change the human makes, creating a perfect history of how the final result was reached.

5. The Results: How Good is It?

The researchers tested KAYRA against two other systems (one old, one modern) using 459 chromosomes from 10 patient samples.

  • Separating the strings: KAYRA got it right 98.9% of the time. The old system got it right only 40% of the time, and the modern AI competitor got it right 78% of the time.
  • Sorting by type: KAYRA correctly identified the chromosome type 89.1% of the time. This was better than the old system (54.5%) and slightly better than the modern AI (86.9%), though the difference with the modern AI wasn't statistically huge yet.
  • Orientation: KAYRA got the rotation right 89.7% of the time. It was better than the old system but slightly behind the modern AI (94.5%).

The Bottom Line

The main point of this paper is that you can build a powerful, complex AI system for medicine that is flexible enough to work anywhere (cloud or local) and robust enough to handle mistakes without crashing. It proves that a multi-step AI pipeline can be packaged into a reliable service that helps doctors work faster and more accurately, while still keeping the human expert in charge of the final decision.

Note: The paper states this system is currently at "TRL 6" maturity, meaning it has been demonstrated in a relevant environment (a pilot study) but is still being prepared for full regulatory approval (like FDA or CE marking) for widespread clinical use.

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 →