← Latest papers
⚡ electrical engineering

CardioComposer: Leveraging Differentiable Geometry for Compositional Control of Anatomical Diffusion Models

CardioComposer is a programmable, inference-time framework that leverages differentiable geometry and ellipsoidal primitives to enable disentangled, compositional control over the size, shape, and position of 3D cardiovascular anatomical structures while maintaining realistic generation.

Original authors: Karim Kadry, Shoaib Goraya, Ajay Manicka, Abdalla Abdelwahed, Naravich Chutisilp, Farhad Nezami, Elazer Edelman

Published 2026-03-18
📖 5 min read🧠 Deep dive

Original authors: Karim Kadry, Shoaib Goraya, Ajay Manicka, Abdalla Abdelwahed, Naravich Chutisilp, Farhad Nezami, Elazer Edelman

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 you are a master architect trying to design a new house. You have a magical 3D printer (a Generative AI) that can print incredibly realistic houses based on photos of real homes it has seen before.

However, there's a problem: the printer is a bit of a "wildcard." If you just say, "Print me a house," it might print a beautiful mansion, a tiny cottage, or a skyscraper. But if you say, "Print me a house with a specific size of garage, located exactly here, with a specific roof shape," the printer gets confused. It either ignores your instructions or prints a house that looks fake and won't stand up to real physics.

This is the problem CardioComposer solves, but instead of houses, it's printing 3D models of the human heart and blood vessels.

Here is the paper explained in simple terms, using some creative analogies:

1. The Problem: The "Blind" Artist

Current AI models for anatomy are like talented artists who can paint a perfect heart if you give them a photo. But if you ask them to "paint a heart that is 10% bigger and moved slightly to the left," they struggle.

  • The Trade-off: If you force the AI to follow strict rules, the heart looks fake (like a plastic toy). If you let it be creative, the heart looks real, but you can't control the details.
  • The Stakes: In medicine, a millimeter matters. If a virtual heart is slightly too big or in the wrong spot, a simulation of a new stent or valve might fail, leading to bad results in real life.

2. The Solution: The "Geometric GPS"

The authors created CardioComposer. Think of this as giving the AI a GPS and a ruler while it is painting.

Instead of trying to teach the AI new rules from scratch (which takes years of training), they built a system that nudges the AI while it is working.

  • The Metaphor: Imagine the AI is drawing a heart on a canvas. Every time it adds a stroke, a "Geometric GPS" checks: "Wait, is the left ventricle the right size? Is the aorta in the right spot?"
  • If the answer is "No," the GPS gently pushes the drawing back toward the correct shape before the AI moves on to the next stroke.

3. The Secret Sauce: "Ellipsoids" as Building Blocks

How does the GPS know what "right" looks like? It uses simple shapes called Ellipsoids (like stretched-out spheres or eggs).

  • Think of every part of the heart (the chambers, the arteries) as being made of these invisible eggs.
  • The system measures three things about these eggs:
    1. Size: How big is the egg? (Volume)
    2. Position: Where is the egg sitting? (Centroid)
    3. Shape: Is the egg round, flat, or long? (Orientation/Aspect Ratio)

The magic is that the system can measure these "eggs" inside the complex, messy 3D heart model and use those measurements to guide the AI.

4. The Superpower: "Disentangled" Control

This is the coolest part. Usually, if you tell an AI to make a heart bigger, it might also accidentally change its shape or move it to a weird spot. Everything gets mixed up.

CardioComposer allows for Disentangled Control.

  • Analogy: Imagine a car with three separate knobs: one for Speed, one for Steering, and one for Brakes.
  • With CardioComposer, you can turn the "Size" knob to make the heart bigger without changing its position or shape. You can turn the "Position" knob to move the heart without changing its size.
  • This is huge for doctors. They can say, "Show me what happens if the Right Ventricle is twice as big, but everything else stays exactly the same."

5. Why This Matters: The "Digital Twin"

The goal is to create "Digital Twins" of patients.

  • Current way: Doctors use generic models that don't fit specific patients well.
  • CardioComposer way: Doctors can generate a "Digital Sibling" of a patient. They can tweak the geometry (e.g., "What if this patient's aorta was narrower?") and run a physics simulation to see if a new medical device would work.

6. It Works Everywhere

The paper shows this isn't just for hearts. They tested it on:

  • The Aorta: A branching tree of blood vessels.
  • The Spine: A stack of vertebrae.
  • The Knee: Bones and cartilage.

Just like a master builder can use the same tools to build a house, a bridge, or a tower, this system can control the geometry of any complex body part, even if it has weird curves or branches.

Summary

CardioComposer is like a smart assistant for a 3D printer. It lets doctors and engineers give simple instructions like "Make this part bigger" or "Move that part here," and the AI uses math to ensure the result is both physically realistic and exactly what was requested. This allows for better testing of medical devices and a deeper understanding of how our bodies work, all without needing to retrain the AI for every single new request.

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 →