Abstract
Generating high-fidelity 3D anatomical segmentations is critical for virtual clinical trials and medical AI training. While diffusion models excel at creating realistic volumes, they lack precise steering mechanisms for localized anatomical features. We present Anatomica, an inference-time guidance framework that enables "surgical" control over geometric and topological properties. By utilizing cuboidal control domains and neural field decoders, Anatomica allows for the precise adjustment of size, shape, and connectivity in specific anatomical substructures without the need for model retraining.
Introduction
The generation of 3D anatomical voxel maps is a cornerstone of modern medical imaging research. However, existing diffusion models often struggle with localized constraints. A researcher might need to adjust the diameter of an aortic trunk specifically or ensure a spinal cord maintains its topological integrity. Previous methods typically offered only global control or required computationally expensive retraining for each new constraint.
Anatomica addresses these challenges by introducing a "plug-and-play" framework that nudges the denoising process at each step using gradients from specific penalty functions. This allows for hierarchical and localized control that respects the complex nature of human anatomy.
Methodology
The Anatomica framework is built upon three core pillars designed to provide efficient and precise guidance during the diffusion process.
1. Localized Control Domains
Users define "cuboidal domains"—3D boxes that can be scaled, rotated, and positioned to "slice" out specific substructures. These domains are coordinate-system agnostic and can be mapped to curvilinear, cylindrical, or spherical coordinates to match the natural flow of anatomy.
2. Geo-Topological Measurement
The framework employs differentiable measurements to guide the model:
- Geometry: Voxel-wise moments are used to calculate mass (size), centroid (position), and covariance (shape and orientation).
- Topology: Persistent Homology (PH) is utilized to count connected components, loops, and voids, ensuring structural continuity (e.g., preventing blood vessels from fragmenting).
3. Latent Substructure Parsing (L-Parsing)
To mitigate the computational cost of full 3D volume decoding, Anatomica uses neural field decoders. This "Localized L-parsing" allows the system to decode only the specific voxels within the control domains at high resolution, while the rest of the volume is processed on a coarse grid.
Experimental Evaluation
Anatomica was evaluated across four diverse anatomical systems using benchmarks from TotalSegmentator, CTSpine1k, and DISRUPT-CAD:
- Cardiac: Heart chambers and valves.
- Aortic: The aortic trunk and its branching structures.
- Spinal: Thoracic vertebrae.
- Coronary: Vessel walls and calcium deposits.
Results and Discussion
Anatomica demonstrates significant improvements over both unconditional generation and retraining-based baselines. In the "Right Ventricle" task, the framework achieved a mass fidelity error nearly 10x lower than explicit conditioning. Topological precision also saw a dramatic increase; in atria separation tasks, the rate of generating the correct number of connected components rose from 7.8% to 78.9%.
Furthermore, the implementation of localized L-parsing provided an 11x speedup compared to full-volume high-resolution decoding, making real-time inference guidance a practical reality for 3D medical data.
Conclusion
Anatomica provides a modular and efficient solution for anatomical generation. While loss weighting remains a manual process and persistent homology computation is demanding at high resolutions, the framework's ability to provide compositional, localized control marks a significant step forward. Future work will explore automated domain placement and extensions to 4D temporal data, such as cardiac motion.
Summary updated