Generative modeling of living cells with SO(3)-equivariant implicit neural representations

David Wiesner, Julian Suk, Sven Dummer, Tereza Nečasová, Vladimír Ulman, David Svoboda, Jelmer M. WolterinkarXiv 2023 · DOI

TL;DR

This paper introduces a generative framework for modeling 3D+time living cell shapes using SO(3)-equivariant implicit neural representations. By disentangling a cell's intrinsic shape from its spatial orientation, the model learns a compact, continuous latent space capable of synthesizing realistic cell growth, division, and complex deformations at arbitrary resolutions.

What Problem Does This Paper Address?

Deep learning has revolutionized biomedical image analysis, but training robust models for cell tracking and segmentation requires massive amounts of high-quality, annotated 3D data. Manually labeling these datasets is a bottleneck—it is tedious, error-prone, and often impractical for time-lapse (4D) data.

While synthetic data can fill this gap, traditional shape representations fall short. Voxel grids are memory-intensive and resolution-limited, while polygon meshes struggle to handle the topological changes inherent in biology, such as a single cell splitting into two during mitosis. The authors seek a representation that is continuous, memory-efficient, and capable of capturing both fine details (like filopodia) and major structural changes.

Methods

The authors propose representing cell surfaces as the zero-level set of a Signed Distance Function (SDF), which is parameterized by a coordinate-based neural network (an Implicit Neural Representation, or INR).

Key technical components include:

  • SIREN Architecture: The model uses a Multi-Layer Perceptron (MLP) with periodic (sine) activation functions. Unlike standard ReLUs, these are excellent at capturing high-frequency details like sharp edges and thin protrusions.
  • SO(3)-Equivariance: This is the paper's core innovation. By introducing a rotation matrix $R$ that transforms input coordinates before they enter the MLP, the model disentangles the cell's orientation from its shape. This means the learned latent code $z$ only needs to represent the "identity" of the shape, not how it's turned in space.
  • Auto-Decoder Strategy: During training, the model jointly optimizes the network weights and a unique latent code for each training sequence.
  • Non-Uniform Sampling: To improve efficiency, the authors densely sample points near the cell boundary and sparsely sample the empty space, focusing the network's "attention" where it matters most.
Fig. 2: Conceptual diagram of the proposed network and its SO(3)-equivariant extension (in blue). The neural network fθ is given a latent code z sampled from a multivariate normal distribution, coordinates x = (x, y, z) from a spatial domain Ω, and a temporal coordinate t from temporal domain τ. Moreover, the latent code z is given to the network not only at the input but also at its fifth and eight layer. The network is optimized to output the SDF values at given points, whereas the latent codes are jointly optimized to match a given normal distribution. The trained network is able to output SDF values based on a given latent code at any coordinate in the space-time domain. When given new latent codes from the latent space, the trained network is able to infer new spatio-temporal SDFs and thus produce new time-evolving shapes. The equivariant extension modifies the sampling procedure of the spatial coordinates and introduces a rotation matrix R ∈SO(3). Rotating the spatial coordinates x by a rotation matrix R results in a new rotated spatial coordinates x′. The rotation matrix R is optimized along with the network weights θ and the latent codes z. During inference, the network reconstructs an SDF of a time-evolving cell shape according to a randomly sampled latent code z and given spatial coordinates x, temporal coordinate t, and rotation matrix R.

Datasets

The model was validated on three distinct 3D+time datasets representing different biological challenges:

  1. Platynereis dumerilii embryo cells: Characterized by rapid, non-rigid deformations.
  2. C. elegans embryo cells: Used to demonstrate the model's ability to handle cell growth and mitotic division.
  3. A549 human lung carcinoma cells: A synthetic dataset featuring highly complex, branching filopodial protrusions.

Key Insights and Ideas

  • Disentanglement Leads to Compactness: By making the model rotation-independent, the authors found they could achieve high-fidelity reconstructions using much lower-dimensional latent spaces. A 32-dimensional latent space in the equivariant model outperformed a 64-dimensional space in a standard model.
  • Natural Topology Changes: Because the surface is defined implicitly by an SDF, processes like mitosis (one blob becoming two) are handled gracefully without the "self-intersecting face" artifacts common in mesh-based methods.
  • Infinite Resolution: Since the representation is a continuous function, one can synthesize cell shapes at any spatial or temporal resolution, effectively "filling in the gaps" between recorded microscope frames.
Fig. 3: Non-uniform SDF sampling. The figure illustrates the non-uniform SDF sampling process used during training. As the cell shape occupies only a fraction of the space, non-uniform sampling allows to reduce the number of point samples by focusing on the points that contain the most important infor- mation.

Key Results

  • High Fidelity: The model achieved Dice Similarity Coefficients (DSC) of ~0.95 for reconstructions. Quantitative shape features (volume, surface area, sphericity) of synthetic cells closely matched those of real cells.
  • Temporal Interpolation: The model successfully "hallucinated" missing time points in sequences where 75% of the frames were removed, maintaining high similarity to the ground truth.
  • Latent Space Utility: The learned latent codes were descriptive enough to allow for unsupervised clustering of different cell types using t-SNE, suggesting the model captures meaningful biological morphology.
  • End-to-End Synthesis: The authors demonstrated that these generated 3D shapes could be fed into image-to-image GANs (like pix2pixHD) to create realistic synthetic microscopy images complete with realistic textures and noise.

Limitations and Future Work

While the model excels at individual cell modeling, the authors note that in the complex A549 dataset, randomly sampled protrusions occasionally "disconnected" from the main cell body. They suggest that more structured latent space distributions (like Gaussian Mixture Models) might be needed for such high-variance shapes.

Future work aims to scale this from single cells to entire cell populations, modeling not just individual shapes but the trajectories and interactions of hundreds of cells within a tissue—a holy grail for simulating embryogenesis and cancer metastasis.

Summary updated

BibTeX
@misc{wiesner2023generative,
  author = {David Wiesner and Julian Suk and Sven Dummer and Tereza Nečasová and Vladimír Ulman and David Svoboda and Jelmer M. Wolterink},
  title = {{Generative modeling of living cells with SO(3)-equivariant implicit neural representations}},
  year = {2023},
  eprint = {2304.08960},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.08960},
}
Figure