TL;DR
In 3D microscopy, cell nuclei aren't always neat little spheres—they can look like kidneys, rings, or lobed blobs, causing standard AI models to accidentally shatter a single nucleus into multiple pieces. Freedom to Group solves this by teaching a neural network to build each 3D object out of small, flexible "Gaussian" building blocks that share a common identity. The result is state-of-the-art segmentation accuracy, dramatically fewer split-up nuclei, and compact object tokens that can be rendered at any resolution without re-running the network.
What Problem Does This Paper Address?
If you want to count cells or measure their shapes in 3D microscopy, you need instance segmentation: assigning a distinct label to every individual nucleus, separating it from both its neighbors and the background.
That’s straightforward when nuclei are simple, convex blobs. But in tissues like bone marrow, nuclei can be kidney-shaped, ring-like (with tunnels), or deeply lobulated. Existing methods—which typically predict flow fields, cluster voxel embeddings, or directly predict voxel masks—often capture the foreground shape quite well, yet still fail at identity. They frequently chop a single complex nucleus into three or four separate instances, distorting cell counts and shape measurements even when almost no foreground is missed.
Methods
Freedom to Group separates local geometry from object identity by representing objects as groups of adaptable 3D Gaussian elements:
- Local Shape Elements: Instead of predicting a rigid voxel mask directly, the network predicts $N$ anisotropic 3D Gaussians (essentially squishy, oriented ellipsoids). Each Gaussian has a learned center, extent/orientation, activity weight, and mask amplitude.
- Object Slots & Iterative Refinement: Candidate instances are represented by "object slots" (feature vectors). Over $R = 4$ refinement stages in a single forward pass, the decoder samples multiscale features from a pretrained 3D ResEncL backbone, computes soft memberships (how much each Gaussian belongs to each slot or the background), exchanges context between Gaussians and slots, and updates the Gaussians' shapes and positions.
- Continuous Instance Fields: Membership-weighted Gaussians are summed to define continuous, grid-independent instance fields. At inference, high-scoring slots are retained, and each voxel takes the label of the strongest field above a threshold.
- Renderable Object Tokens: Storing the Gaussian parameters and their slot memberships creates compact "object tokens." These tokens can be rendered onto coarser, finer, or anisotropic voxel grids without re-encoding the image or running the network again. An optional variant also adds Gabor-like intensity parameters to reconstruct the original grayscale image.
Datasets
- Nuclear Microscopy: The main model was trained on 25,729 instance annotations combining in-house microscopy (including bone marrow) with public datasets (NucVerse3D, C. elegans, NucMM, and Whole Mouse Brain). Validation used 2,641 annotations (in-house bone marrow and public liver). Testing used 1,119 held-out in-house bone-marrow nuclei and 12,351 public test annotations (C. elegans, NucMM mouse, and NucMM zebrafish).
- Beyond Microscopy: Separately trained models were evaluated on VerSe (vertebral CT, 113 test scans), MitoEM (electron microscopy mitochondria, Human/Rat validation volumes), ParticleSeg3D (micro-CT particles, 13 test samples), and MSSEG-2016 (MRI multiple sclerosis lesions, 37 test scans).
Key Insights and Ideas
- Grouping local elements beats dense voxel grouping: Because each Gaussian covers a spatially extended local region adapted to the shape, fewer units need to be grouped into an object compared to dense voxel embeddings, making it much easier to preserve a single identity across irregular shapes.
- Foreground coverage $\neq$ instance recovery: In controlled experiments using the exact same encoder, Freedom to Group and a direct-mask (Mask2Former-style) baseline achieved nearly identical foreground Dice scores (~90.5% on nuclei, ~88.4% on VerSe), yet Freedom to Group achieved vastly higher instance F1 and far fewer split errors.
- Resolution-independent representation: Because the instance fields are continuous functions of spatial coordinates, stored object tokens can be evaluated on different voxel grids later without touching the raw image.
Key Results
- Nuclear Segmentation: Across four nuclear test cohorts, Freedom to Group leads with 86.34% mean instance F1 and 68.25% panoptic quality (PQ), outperforming the strongest baseline (fine-tuned CellposeDINO) by 2.29 and 2.34 percentage points, respectively.
- Fewer Split Errors: On held-out bone-marrow scans, it improves instance F1 from 74.67% to 78.81% while slashing the fraction of nuclei involved in split errors from 11.71% down to 1.79%. Among 227 ring-like "tunnel" nuclei, it recovers 93.0%, compared to 85.0% for Omnipose.
- Other Modalities: On VerSe CT, it achieves 96.4% F1 (vs. 90.1% for TotalSegmentator). On MitoEM, it reaches 86.7% F1 and 73.9% PQ (beating MitoNet's 82.6% F1 and 68.8% PQ). On MSSEG-2016, it achieves 60.6% lesion F1. (On ParticleSeg3D, the task-specific baseline still leads.)
Limitations and Future Work
- Fixed Gaussian budget: The number of Gaussians per patch is governed by a predefined budget rule rather than adapting dynamically to image content.
- No zero-shot transfer yet: Models for CT, EM, and MRI were trained separately; cross-domain transfer without retraining remains untested.
- Large-volume overhead: Inference on huge volumes still requires computing dense image features and stitching overlapping patches.
- Future directions: The authors point to content-adaptive Gaussian allocation and learning downstream tasks directly from the stored object tokens.
Summary updated