Skip to main content
eLife logoLink to eLife
. 2021 Dec 29;10:e68679. doi: 10.7554/eLife.68679

Learning developmental mode dynamics from single-cell trajectories

Nicolas Romeo 1,2,, Alasdair Hastewell 1,, Alexander Mietke 1,, Jörn Dunkel 1,
Editors: Raymond E Goldstein3, Naama Barkai4
PMCID: PMC8871385  PMID: 34964437

Abstract

Embryogenesis is a multiscale process during which developmental symmetry breaking transitions give rise to complex multicellular organisms. Recent advances in high-resolution live-cell microscopy provide unprecedented insights into the collective cell dynamics at various stages of embryonic development. This rapid experimental progress poses the theoretical challenge of translating high-dimensional imaging data into predictive low-dimensional models that capture the essential ordering principles governing developmental cell migration in complex geometries. Here, we combine mode decomposition ideas that have proved successful in condensed matter physics and turbulence theory with recent advances in sparse dynamical systems inference to realize a computational framework for learning quantitative continuum models from single-cell imaging data. Considering pan-embryo cell migration during early gastrulation in zebrafish as a widely studied example, we show how cell trajectory data on a curved surface can be coarse-grained and compressed with suitable harmonic basis functions. The resulting low-dimensional representation of the collective cell dynamics enables a compact characterization of developmental symmetry breaking and the direct inference of an interpretable hydrodynamic model, which reveals similarities between pan-embryo cell migration and active Brownian particle dynamics on curved surfaces. Due to its generic conceptual foundation, we expect that mode-based model learning can help advance the quantitative biophysical understanding of a wide range of developmental structure formation processes.

Research organism: Zebrafish

Introduction

Embryogenesis, the development of a multicellular organism from a single fertilized egg cell, requires coordinated collective motions of thousands of cells across a wide range of length and time scales (Gilbert and Barresi, 2016; Solnica-Krezel, 2005). Understanding how a highly reproducible and robust tissue organization arises from the dynamics and interactions of individual cells presents a major interdisciplinary challenge (Collinet and Lecuit, 2021). Recent advances in high-resolution live imaging make it possible to track the internal biological states and physical movements of many individual cells on pan-embryonic scales throughout various stages of development (Stelzer, 2015; Power and Huisken, 2017; Hartmann et al., 2019; Shah et al., 2019). This unprecedented wealth of data poses two intertwined compression problems of equal practical and conceptual importance. The first concerns the efficient reduction of high-dimensional tracking data without loss of relevant information; the second relates to inferring predictive low-dimensional models for the developmental dynamics. Mathematical solutions to the first problem are aided by taking into account the geometry and symmetries of the developing embryo, which suggest suitable basis functions for a coarse-grained and sparse mode representation of raw data (Levy, 2006). Efficient algorithmic approaches tackling the second problem appear within reach thanks to recent advances in the direct inference of dynamical systems equations from data (Brunton et al., 2016; Rackauckas et al., 2021). Building on these ideas, we construct and demonstrate here a computational framework that translates developmental single-cell trajectory data on curved surfaces into quantitative models for the dominant hydrodynamic modes.

Widely applied in physics (Kac, 1966; Goldenfeld and Woese, 2011; Kantsler and Goldstein, 2012; Bhaduri et al., 2020), engineering (Soong and Grigoriu, 1993; Heydari et al., 2021), and spectral computing (Driscoll et al., 2014; Burns et al., 2020; Fortunato et al., 2021), mode representations (Schmid, 2010; Tu et al., 2014) provide a powerful tool to decompose and study system dynamics at and across different energetic, spatial and temporal scales. In quantum systems, for example, mode representations in the form of carefully constructed eigenstates are used to characterize essential energetic system properties (Slater and Koster, 1954; Jaynes and Cummings, 1963). Similarly, turbulence theory has seen significant progress by studying the coupling between Fourier modes that represent dynamics at different length scales. This approach enabled a better understanding of energy cascades (Kolmogorov, 1941; Wang et al., 2021) and provided insights into the nature of turbulence in non-living (Kraichnan and Montgomery, 1980; Pope, 2000) and in living (Dunkel et al., 2013; Bratanov et al., 2015; Ramaswamy and Jülicher, 2016; Alert et al., 2020) systems. Additionally, the multi-scale nature of many biological processes make them particularly amenable to a representation in terms of spatial and temporal modes (Marchetti et al., 2013). Despite this fact, however, mode representations are not yet widely used to characterize and compress cell tracking data, or to infer dynamic models from such data.

To demonstrate the practical potential of mode representations for the description of multicellular developmental processes, we develop here a computational framework that takes cell tracking data as inputs, translates these data into a sparse mode representation by exploiting symmetries of the biological system, and utilizes recently developed ODE inference techniques (Rackauckas et al., 2021) to infer a predictive dynamical model. The model will be specified in terms of a learned Green’s function that propagates initial cell density and flux data forward in time. To validate the approach, we demonstrate that it correctly recovers the hydrodynamic equations for active Brownian particle (ABP) dynamics on curved surfaces. Subsequently, as a first example application to experimental single-cell tracking data, we consider the pan-embryonic cell migration during early gastrulation in zebrafish (Shah et al., 2019), an important vertebrate model system for studying various morphogenetic events (Solnica-Krezel, 2005; Krieg et al., 2008; Morita et al., 2017). During gastrulation, complex migratory cell movements organize several thousand initially undifferentiated cells into different germlayers that lay out the primary body plan (Rohde and Heisenberg, 2007). The underlying high-dimensional single-cell data make this process a prototypical test problem for illustrating how spatio-temporal information can be efficiently compressed to analyze and model biological structure formation.

Results

Broadly, our goal is to translate experimentally measured single-cell trajectories on a curved surface into a quantitative model of collective cell migration dynamics. As a specific example, we consider recently published lightsheet microscopy data that captures the individual movements of thousands of cells during early zebrafish development from epiboly onset at 4 hours post-fertilization (hpf) to about 18 hpf (Shah et al., 2019). This developmental period is characterized by a collective symmetry breaking event during which cells collectively migrate over the yolk cell surface (Rohde and Heisenberg, 2007). Namely, they rearrange from an initial localization around the animal pole (AP) (Figure 1A, left) into a more elongated configuration that already indicates the basic geometry of the fully developed zebrafish larva (Figure 1A, right). Working with a two-dimensional (2D) sphere projection of the experimental data, we first describe a coarse-graining approach that faithfully captures cell-mass transport on a curved surface. We then construct a sparse mode representation of the resulting hydrodynamic fields in terms of scalar and vector spherical harmonic basis functions, discuss mode signatures of morphogenetic symmetry breaking events, and connect them to the dynamics of topological defects in the cellular flux. We validate this mode representation framework and the subsequent model inference using synthetic data of ABPs on a sphere, for which coarse-grained fields and learned models can be directly compared against analytical predictions. Finally, we infer a linear model for the mode dynamics of the experimental zebrafish data, which enables us to study the characteristics of cell interactions through kernels that couple cell density and flux and compare their features with the hydrodynamic mean-field signatures of ABPs on a sphere.

Figure 1. From single-cell tracking data to sparse mode amplitude representations.

(A) Microscopic imaging data of early zebrafish development (adapted from Figure 1b in Kobitski et al., 2015) shows cell migration from an initially homogeneous pole of cells (left) toward an elongated structure that indicates the head-tail axis of the fully developed organism. Scale bar, 100μm. (B) Experimental single-cell tracking data from Shah et al., 2019 (blue dots) during similar developmental time points (±20 min) as in A. t=0 min for the indicated time points in B corresponds to a developmental time of 4 hours post fertilization. The z-axis points from the ventral pole (VP) to the animal pole (AP). (C) Coarse-grained relative cell density ρ(r,t) (color) and associated coarse-grained flux J(r,t) (streamlines) determined from single cell positions and velocities from data in B via Equation 2a. Thickness of streamlines is proportional to the logarithm of the spatial average of |J| (see Video 1). (D) Dynamic harmonic mode representation of the relative density ρ(r,t) (Equation 4, left panel) and of the flux J(r,t) (Equation 5, middle and right panel) for fields shown in C. The modes jlm(1) correspond to compressible, divergent cell motion, the modes jlm(2) describe incompressible, rotational cell motion. Mode amplitudes become negligible for l5 (Video 2). For all panels, horizontal black lines delineate blocks of constant harmonic mode number l and black triangles denote the end of epiboly phase.

Figure 1.

Figure 1—figure supplement 1. Convergence of spectral representation.

Figure 1—figure supplement 1.

Decay of power spectra for coarse-grained experimental density and flux fields. Rotationally invariant spatial power spectra as a function of the mode l index were computed for the density field ρ as Pρ,l=m=llρlm2 and for modes contributing to cell fluxes (j(1) and j(2)) as Pjk,l=m=ll[jlm(k)]2 for k=1,2. Spectra were computed at representative timepoints t=40,240,400,830 min and normalized by their maximum value. The observed decay indicates that a spectral representations of the coarse-grained fields is meaningful, and shows that the mode cut-off chosen for the learning (l4) amounts to discarding approximately 1% of spectral power in each field.

Coarse-graining of cellular dynamics on a spherical surface

The experimentally observed cell motions are approximately two-dimensional (2D): The radius of the yolk cell surface on which the dynamics takes place is much larger than the average height changes of the evolving cell mass (Shah et al., 2019). We therefore adopt a thin film approximation, in which the cellular motion is represented on an effective spherical mid-surface (gray surface in Figure 1B); refined future models should aim to account for the full 3D dynamics. Focusing here on the in-plane dynamics, we project all cell positions and velocities onto a spherical mid-surface S of radius Rs=300μm. On this spherical surface, each cell α=1,2,,N has a position rα(t) and in-plane velocity vα(t)=drα/dt.

As a second processing step, a coarse-grained representation of the single-cell dynamics on a spherical surface is determined. To facilitate the applicability of our framework to a wide range of experimental inputs, we propose a coarse-graining approach that can flexibly integrate cell number variations stemming from cell divisions, but also those from experimental uncertainties in cell imaging and tracking. Consequently, we first consider an idealized scenario in which the total cell number is approximately constant. In this case, mass conservation informs the construction of self-consistent coarse-graining kernels on a spherical surface. In a second step, we describe how this approach generalizes when there are variations in the total cell number.

Consistent coarse-graining of idealized microscopic data

Our specific aim is to translate microscopic cell positions rα(t) and velocities vα(t) into a continuous cell surface density ρ(r,t) and an associated flux J(r,t) at any point r of the spherical mid-surface. For an approximately constant total number of cells, the fields ρ and J are related by the mass conservation equation

ρt+SJ=0. (1)

Here, SJ denotes the in-plane divergence of the cell number flux. To convert cell position rα(t) and velocities vα(t) into a normalized cell surface density ρ(r,t) and an associated normalized flux J(r,t), we consider a kernel coarse-graining of the form (Appendix 1)

ρ(r,t)=1Nα=1NK[r,rα(t)] (2a)
J(r,t)=1Nα=1NK[r,rα(t)]v¯α, (2b)

where N is the total number of cells and v¯α=vα/|rα| is the angular velocity of a given cell on a reference unit sphere (Appendix 1). The kernels K(r,r) and K(r,r) are given by a scalar and a matrix-valued function, respectively. The matrix kernel K(r,r) takes into account contributions of a particle with velocity vα at r=rα to nearby points r on the sphere, which involves an additional projection to ensure that J(r,t) is everywhere tangent to the spherical surface (Appendix 1). Importantly, the mass conservation Equation 1 implies a non-trivial consistency relation between the kernels K(r,r) and K(r,r) in Equation 2a, Equation 2b. The kernels that obey this condition represent different coarse-graining length scales (Appendix 1—figure 2). Throughout, we fix an intermediate coarse-graining length scale to enable a sparse representation of the experimental data, while ensuring that spatial details of the dynamics remain sufficiently well resolved. The final surface density ρ(r,t) and the associated normalized flux J(r,t), computed from Equation 2a and Equation 2b using a kernel with an effective great-circle coarse-graining width of 70μm, are shown in Figure 1C (see also Video 1).

Video 1. Time evolution of the pre-processed cell tracking data (point cloud, see Materials and methods), and of the density field ρ(r,t) (colormap) and associated flux J(r,t) (streamlines) corresponding to the harmonic modes {ρlm,jlm(1),jlm(2)} shown in Figure 1D.
Download video file (7.1MB, mp4)

This mode representation was determined by the coarse-graining and projection procedure described in the main text. Streamline thickness is proportional to the logarithm of the average flux amplitude |J|s. For visualization purposes, cell distances to the origin were rescaled by a factor of 1.2Rs/R(t), where R(t) is the average cell distance from center at time t and Rs=300μm is the mid-surface radius.

Consequences of cell number variations in experimental data

Because cell divisions are essential to most developmental processes, total cell numbers will in many cases – including early zebrafish gastrulation (Kobitski et al., 2015) – vary over time. True cell numbers and cell number changes are often difficult to measure due to experimental uncertainties arising from single-cell imaging and tracking within dense cellular aggregates. We therefore merely assume here that single cells are tracked in a representative fashion so that local relative surface densities found from Equation 2a reflect the probability that cells are present at a given point r. In the absence of further information on cell deaths and cell divisions, we additionally make the more restrictive assumption that cell appearances or disappearances are everywhere proportional to the local cell density. With these assumptions, we can define a cell number surface density ρ~(r,t)=N(t)ρ(r,t), where N(t) is the cell number at time t and ρ(r,t) is the normalized surface density given in Equation 2a. Similarly, a cell number flux is given by J~(r,t)=N(t)J(r,t), where the flux J(r,t) is computed from the data as described by Equation 2b. Using these definitions in Equation 1, we find that the fields ρ~(r,t) and J~(r,t) obey a continuity equation

ρ~t+SJ~=k(t)ρ~, (3)

where k(t)=N˙(t)/N(t) denotes a time-dependent effective growth rate. Importantly, under the two above assumptions, Equation 3 encodes for any time-dependent total cell number N(t)§gt;0 the same information as Equation 1 for coarse-grained normalized surface density ρ(r,t) and associated flux J(r,t) given by Equation 2a and Equation 2b, respectively. In the following analysis, we hence focus on these normalized fields.

Spatial mode representation on a spherical surface

To obtain a sparse mode representation of the hydrodynamic fields ρ(r,t) and J(r,t) on the spherical surface, we expand them in terms of scalar and vector spherical harmonics (SHs) (Arfken et al., 2013; Sandberg, 1978) (Appendix 2.A). SHs are defined on points r^=r/Rs of the unit sphere, where Rs=300 μm is the mid-surface radius. In this basis, the scalar density field is represented as

ρ(r,t)=l=0lmaxm=1lρlm(t)Ylm(r^), (4)

which conveniently separates the time- and space-dependence of ρ(r,t) into mode amplitudes ρlm(t) and scalar harmonic functions Ylm(r^), respectively. The maximal mode number lmax is a proxy for the maximal spatial resolution at which ρ(r,t) is faithfully represented. Similarly, the vector-valued flux J(r,t) can be decomposed into time-dependent mode amplitudes jlm(1)(t) and jlm(2)(t), while its spatial dependence is described by vector SHs Ψlm(r^) and Φlm(r^) (Sandberg, 1978) (Appendix 2, Video 2).

J(r,t)=l=1lmaxm=ll(jlm(1)(t)Ψlm(r^)+jlm(2)(t)Φlm(r^)). (5)

Video 2. Reconstruction of the hydrodynamics fields in real space by adding consecutive scalar and vector spherical harmonic modes of progressively higher order l.

Download video file (597.3KB, mp4)

Surface coloring depicts the density field ρ(r,t), the associated flux J(r,t) is indicated by streamlines. Streamline thickness is proportional to the logarithm of the average flux amplitude |J|s. The shown fields correspond to the time point t=420 min in Video 1.

Besides the in-plane divergence SJ that leads to local density changes (see Equation 1), the cell number flux J(r,t) also contains an in-plane curl component S×J that is associated with locally rotational cell flux. The two sets of vector SHs {Ψlm} and {Φlm} conveniently decompose the flux into these contributions: Because SΦlm=S×Ψlm=0, and r^(S×Φlm)=SΨlm=l(l+1)Ylm/Rs (Sandberg, 1978), we see from Equation 5 that jlm(1)(t) corresponds to modes that drive density changes and jlm(2)(t) represents modes of local rotational cell motion that change relative cell positions but do not change local density. Indeed, using harmonic mode representations of the cell number density Equation 4 and the cell number flux Equation 5 directly in the continuity Equation 1, we find a set of ordinary differential equation in mode space

ddtρlm(t)=l(l+1)Rsjlm(1)(t), (6)

where l=0,1,,lmax and for each value of l, m=-l,-l+1,,l-1,l. Equation 6 offers an alternative way of determining the modes jlm(1)(t) directly from the modes ρlm(t) of the coarse-grained cell number density (see Equation 4 and Equation 2a), while ensuring that the resulting fields obey mass conservation exactly. In practice, the modes jlm(1)(t) found from a vector harmonic representation of the coarse-grained cell number flux (Equation 2b) will often deviate from modes jlm(1)(t) determined from Equation 6, even if cell numbers are expected to be conserved. This can be, for example, due to limited accuracy in determining velocities vα(t) from noisy single-cell trajectories rα(t), or due to spatially inhomogeneous appearances and disappearances of cells in tracking data. Consistent with our simplifying assumption that cell number changes in the data can be sufficiently well approximated by a globally homogeneous growth rate (compare Equation 1 with Equation 3), the subsequent analysis uses the modes jlm(1)(t) as determined from the density modes ρlm(t) via Equation 6, together with modes jlm(2)(t) from the explicit velocity coarse-graining Equation 2b. The complete construction is detailed in Appendix 2 and the full coarse-grained dynamics is shown in Video 1.

The representation of ρ(r,t) and J(r,t) in terms of spherical harmonic modes with llmax leads in total to 3(lmax+1)2 mode amplitude trajectories, displaying only a few dominant contributions (Figure 1D) with almost no signal remaining for l5 (Figure 1—figure supplement 1, Video 2). This demonstrates that the underlying coarse-grained experimental data is sufficiently smooth and implies that a spectral representations is indeed meaningful. Thus, the coarse-graining approach outlined above provides a sparse spectral representation of high-dimensional microscopic single-cell data. The associated harmonic basis functions and vectors have an intuitive physical meaning, convenient algebraic properties and, as we will see, encode information about the length scales and symmetries of the collective dynamics.

Temporal mode representation

We further compress the dynamical information by representing the time series of the modes in terms of Chebyshev polynomial basis functions Tn(t) (Driscoll et al., 2014; Mason and Handscomb, 2002). To simplify notation, we define a dynamic mode vector a(t)=[ρlm(t),jlm(1)(t),jlm(2)(t)] that collects all the modes up to l=lmax determined in the previous section and consider an expansion

a(t)=n=0nmaxTn(t)a^n (7)

in terms of the spatio-temporal mode coefficients a^n with temporal mode number n (Appendix 2). This compression allows us to accurately evaluate time derivatives of the mode amplitudes (Supekar et al., 2021), an important step when using Equation 6 to determine flux modes jlm(1)(t) directly from density modes ρlm. Fixing lmax=4 and nmax=30 in the remainder, the initial single-cell data set of about 1.4 million recorded cell position entries, or 4.2 million degrees of freedom, has thus been reduced to 2250 mode coefficients, corresponding to a compression ratio 1800.

Characterization of the developmental mode dynamics

A harmonic mode decomposition naturally integrates the geometry of the underlying domain and simultaneously provides useful insights into spatial scales and symmetries of the dynamics. For each mode (lm) in the sets of SHs {Ylm}, {Ψlm} and {Φlm}, the integer index l indicates the spatial scale of the harmonic, with l=0 being a constant and larger l indicating progressively finer spatial scales. The second index m{-l,-l+1,,l} provides additional information about the orientation of the harmonic scalar function or vector field. The modes l=1 and l=2 are particularly useful for characterizing the symmetry of spatial patterns on a spherical surface (Mietke et al., 2019; Scholich et al., 2020): Modes with l=1 indicate patterns with a global polar symmetry, whereas modes with l=2 represent spatial patterns with a global nematic symmetry. We now exploit these features for a detailed characterization of the symmetry breaking that takes place during cellular rearrangements and to study the properties of the cellular flux in more detail. To this end, we discuss spatial averages

Os(t)=1AsSdAsO(r,t) (8)

of different real-space observables O(r,t) over the mid-surface S.

Mode signatures of developmental symmetry breaking

To study how different developmental stages and their associated symmetry breaking events are reflected in the mode representation, we first consider the average cell surface density fluctuations

(ρρs)2s=l=1lmaxm=llρlm2(t). (9)

For each mode l, the power spectrum Pρ,l(t)=m=-llρlm2(t) in Equation 9 provides a rotationally invariant quantity (Çetingül et al., 2012; Schwab et al., 2013) that can effectively serve as an order parameter to characterize the symmetry of cell density patterns on the spherical surface. The dynamics of the density fluctuations given in Equation 9 broken down into contributions Pρ,l(t) from each mode llmax=4 is shown in Figure 2B. Several features of this representation are particularly striking and can be directly related to specific developmental stages. First, patterns of cell surface density fluctuations evolve from a dominantly polar symmetry (l=1) into density patterns with a prominent nematic symmetry (l=2). These mode signatures intuitively reflect the essential symmetry breaking that takes place when cells collectively reorganize from an initially localized cell dome (Figure 1B, 52 min) into an elongated shape that wraps in an open ring-like pattern around the yolk cell (Figure 1B, 760 min). Second, during this transition at around 300  min (9 hpf) (black triangle in Figure 2B), the cell surface density is most homogeneous as fluctuations become minimal for all modes l. Interestingly, this time point approximately marks the completion of epiboly, when the different cell layers have fully engulfed the yolk. Finally, although in a less pronounced manner, the power spectrum of the mode l=4 also exhibits an increased amplitude towards later times, indicating the formation of structures at finer spatial scales as development progresses. We find that mode signatures of the symmetry breaking and progression through developmental stages are robust (Figure 2—figure supplement 1B, D), illustrating that mode-based analysis can provide a systematic and meaningful characterization of developmental symmetry breaking events.

Figure 2. Mode signatures of developmental symmetry breaking and topological defects in cellular flux.

(A) Two-dimensional Mollweide projection of the compressed coarse-grained density field ρ(r,t) (colormap) and of the coarse-grained cell flux J(r,t) (streamlines) at different time points of zebrafish gastrulation.White circles depict topological defects of charge +1 in the flux vector field, red circles depict defects with charge -1. The total defect charge is 2 at all times. Defects are seen to ‘lead’ the large-scale motion of cells and later localize mostly along the curve defined by the forming spine. Animal pole (AP) and ventral pole (VP) are located at top and bottom, respectively. (B) Density fluctuations as a function of developmental time (see Equation 9), broken down in contributions from different harmonic modes l. The underlying symmetry breaking is highlighted prominently by this representation: During the first 75% of epiboly (0–280  min) cells migrate away from, but are still mostly located near the animal pole, presenting a density pattern with polar symmetry (l=1). During the following convergent extension phase cells converge towards a confined elongated region that is ‘wrapped’ around the yolk, corresponding to a density pattern with nematic symmetry (l=2). Black triangles indicate transition from epiboly to convergent extension. (C) Comparison of surface averaged divergence SJ and curl S×J of the cellular flux computed via Equation 10a and Equation 10b, respectively (top). A relative curl amplitude Scurl computed from these quantities via Equation 11 correlates with the appearance of an increased number of topological defects in the cell flux (bottom), suggesting that incompressible, rotational cell flux is associated with the formation of defects.

Figure 2.

Figure 2—figure supplement 1. Analysis of the harmonic mode representation for a second experimental dataset.

Figure 2—figure supplement 1.

(A–C) Analysis presented in Figure 2A–C of the main text performed on a second cell-tracking dataset (‘Sample 2’). In C, solid lines indicate results for Sample 2, dashed lines correspond to the results for the dataset discussed in the main text (‘Sample 1’). (D) Contributions to density fluctuations from both samples, broken down into contributions from different modes with harmonic mode number l and normalized at each time point by the total fluctuation intensity. Black triangles indicate the completion of epiboly.
Figure 2—figure supplement 2. Validation of automated defect tracking.

Figure 2—figure supplement 2.

Demonstration of the defect tracking on two example tangential vector fields on a spherical surface. (A) Vector field defined by J=Φ(2,2). (B) Vector field defined by J=Ψ(2,-1)+0.1Φ(2,2). Black lines depict the streamlines defined by these vector fields. White circles depict topological defects of charge +1, red circles depict defects with charge -1. For further details of the tracking approach see Materials and Methods.
Figure 2—figure supplement 3. Analysis of fluxes and defects for different coarse-graining length scales (Sample 1).

Figure 2—figure supplement 3.

Analysis shown in Figure 2C performed on data that was coarse-grained with different coarse-graining length scales, represented by the parameter k (see Appendix 1—figure 2). Choosing larger (k=5) or smaller (k=7) coarse-graining length scales than used in Figure 2C (k=6), key signatures extracted from the data (dominant phases of divergent and rotary flows and a correlation between increased defect dynamics and cellular fluxes with curl) can still be robustly recovered.
Figure 2—figure supplement 4. Analysis of fluxes and defects for different coarse-graining length scales (Sample 2).

Figure 2—figure supplement 4.

Analysis shown in Figure 2—figure supplement 1C (solid lines) performed on data that was coarse-grained with different coarse-graining length scales, represented by the parameter k (see Appendix 1—figure 2). Choosing larger (k=5) or smaller (k=7) coarse-graining length scales than used in Figure 2—figure supplement 1C (k=6), key signatures extracted from the data (dominant phases of divergent and rotary flows and a correlation between increased defect dynamics and cellular fluxes with curl) can still be robustly recovered.

Mode signatures of emergent topological defects in cellular flux

The vectorial nature of the cell number flux J(r,t) on a spherical surface implies the presence of topological defects (colored circles in Figure 2A, see Materials and methods) (Kamien, 2002). Several recent experimental results pertaining to the self-organization of multicellular systems suggest an important role of such topological defects in organizing morphogenetic events (Doostmohammadi et al., 2016; Saw et al., 2017; Guillamat et al., 2020; Copenhagen et al., 2020; Meacock et al., 2020; Maroudas-Sacks et al., 2020). We therefore analyze how defects within the cell number flux J(r,t) are dynamically organized during early zebrafish gastrulation and if signatures of defect formation and annihilation are present in the mode representation Equation 5. We first consider the average squared divergence and curl of the cell number flux given by

(SJ)2s=l=1lmaxm=-lm[l(l+1)Rsjlm(1)(t)]2, (10a)
(S×J)2s=l=1lmaxm=-lm[l(l+1)Rsjlm(2)(t)]2, (10b)

which are shown in Figure 2C (top). The two contributions to the collective cellular dynamics – locally compressible, divergent flux quantified by the divergence SJ and locally incompressible, rotational cell motion characterized by the curl S×J – are independently determined by the modes jlm(1)(t) and jlm(2)(t). Therefore, each contribution can be evaluated conveniently and with high accuracy from a representation of J(r,t) in terms of vector SHs. From Figure 2C (top), we see that the most significant divergent flux (blue curve) occurs around 300  min at the transition from epiboly towards the convergence and extension stage. A quantification of the incompressible rotational flux relative to the total cell number flux is shown in Figure 2C (bottom), where we plotted the relative curl amplitude

Scurl(t)=l,m[jlm(2)(t)]2l,m[jl,m(1)(t)]2+l,m[jl,m(2)(t)]2. (11)

This measure suggests a correlation between incompressible rotational cell motion and the occurrence of topological defects (circles in Figure 2A) in the cell flux J(r,t). The total number of topological defects present at any time point is depicted in Figure 2C (bottom, blue curve). Because the vector-valued flux is defined on a sphere, we observe that the total topological charge always sums to +2 (Kamien, 2002), while additional defect pairs with opposite charge (red +1 and white -1 circles in Figure 2A) can be created, resulting in total defect numbers greater than two (see Figure 2C, bottom). Interestingly, the relative curl amplitude Scurl defined in Equation 11 indicates that increased contributions from incompressible rotational flux are associated with the formation of topological defects in the cell number flux, a feature that is robustly identified by our framework (Figure 2—figure supplement 1A, C, Figure 2—figure supplement 3, Figure 2—figure supplement 4). The appearance of additional defects at the end of epiboly, when the developing embryo begins to extrude more significantly in the radial direction, suggests that topological defects in the 2D projected cellular flux fields could signal the start of the formation of more complex structures in three dimensions.

Learning a linear hydrodynamic model of the developmental mode dynamics

The results in Figure 2 confirm that a low-dimensional mode representation can capture essential characteristics of developmental symmetry breaking processes. The mode representation therefore provides a natural starting point for the inference of hydrodynamic models from coarse-grained cell-tracking data. For a given time-dependent mode vector a(t)=[ρlm(t),jlm(1)(t),jlm(2)(t)] that contains all modes up to l=lmax, the simplest hydrodynamic model corresponds to the linear dynamical equation

da(t)dt=Ma(t), (12)

where the constant coefficient matrix M encodes the couplings between different modes. Intuitively, Equation 12 aims to describe an experimentally observed density and flux dynamics in terms of a relaxation process, starting from inhomogeneous initial conditions represented by a(0). The mathematical learning problem is then to find a coefficient matrix M such that the linear model Equation 12 holds for the mode vector time series a(t) that was determined from the coarse-graining procedure described in the previous sections.

Validation of the learning framework using active Brownian particle dynamics

Before applying the combined coarse-graining and inference framework to experimental data, we illustrate and validate the learning approach on synthetic data for which coarse-graining results and hydrodynamic mean-field equations are analytically tractable. To this end, we consider the stochastic dynamics of non-interacting active Brownian particles (ABPs) on the unit sphere of radius R0=1 (Sknepnek and Henkes, 2015; Fily et al., 2016; Castro-Villarreal and Sevilla, 2018). Similar to a migrating cell, an ABP at position x(t) moves across the unit sphere at constant speed v0 in the direction of its fluctuating orientation unit vector u(t). The strength of the orientational Gaussian white noise is characterized by a rotational diffusion constant Dr (Figure 3A, Appendix 3).

Figure 3. Learning active Brownian particle (ABP) dynamics on a sphere.

Figure 3.

(A) ABPs move on a unit sphere (radius R0=1) with angular speed v0=1 along a tangential unit vector u(t) that is subject to stochastic in-plane fluctuations (see Appendix 3 for further details). Example single-particle trajectories are shown in the high-noise (orange, Dr=10 in units of R0v0) and in the low-noise regime (blue, Dr=0.5). Time t is measured in units of R0/v0 in all panels. (B) Position correlation function x(t)x(0) averaged over 3×104 independent ABP trajectories show distinct oscillations of period 2π in the low-noise regime, as ABPs orbit the spherical surface more persistently (see Video 3). Standard error of the mean is smaller than symbol size. (C) Analytically predicted (left) and inferred (right) dynamical matrices M (see Equation 12) describing the mean-field dynamics of a large collection of non-interacting ABPs (see Equation 13a, Equation 13b, Equation 13c and Appendix 3) show good quantitative agreement. (D) Mollweide projections of coarse-grained ABP simulations with v0=1 and Dr=0.5 using cell positions from the first time point in the zebrafish data (Figure 1) as the initial condition: At each position 60 particles with random orientation were generated and their ABP dynamics simulated, amounting to approximately 1.2×105 particles in total. The density fields homogenize over time, where the maximum density at t=12.3 has decayed to about 5% of the maximum density at t=1.02. Blue lines and arrows indicate streamlines of the cell flux J(r,t). (E) Simulation of the learned linear model, Equation 12 with M shown in (C) (right), for the same initial condition as in D. Marked time points indicate intervals of learning, validation and prediction phases of the model inference (see Appendix 4).

Video 3. Coarse-grained dynamics of active Brownian particles on the unit sphere in the low-noise (Dr=0.5) and high-noise (Dr=10) regime.
Download video file (5.7MB, mp4)

Data from N=3×104 independent ABP simulations was coarse-grained using the kernels fk(ω) and gk(ω) (k=6) described in Appendix 1. Initial ABP positions were sampled from an axisymmetric distribution with p(θ)cosθ 1{θ§lt;π/2}. Mollweide projections in the left and right column are color-coded for density and flux magnitude |J(r,t)|, respectively. Colormaps are normalized by the maximum values of density and flux magnitude fields across all time points.

Compared with conventional passive Brownian motion, self-propulsion of an ABP along its orientation direction u introduces a persistence to the particle’s motion that is reduced as rotational noise Dr is increased. Additionally, the topology of the spherical surface implies that in the low-noise regime, R0Dr/v0§lt;1, particles are expected to return to the vicinity of their starting points after a duration Δt2πR0/v0. The conjunction of persistent motion and topology then leads to oscillatory dynamics in the positional correlation x(t)x(0) (blue dots in Figure 3B, Appendix 3). Comparing correlations from stochastic ABP simulations in different noise regimes with theoretical predictions (solid lines in Figure 3B) validates our numerical ABP simulation scheme.

To generate a test data set for our coarse-graining and inference framework, we simulated non-interacting ABPs in both the low-noise (R0Dr/v0§lt;1) and the high-noise (R0Dr/v0§gt;1) regime with initial positions drawn from the experimental data shown in Figure 1. Specifically, at each cell position present in the data, we generated 60 particles with random orientation, amounting to approximately 1.2×105 particles in total, and simulated their dynamics on a unit sphere. The resulting trajectory data were coarse-grained following the procedure outlined in the previous sections, yielding dynamic density fields ρ(r,t) and fluxes J(r,t) (Video 3), together with their mode representations ρlm(t),jlm(1)(t) and jlm(2)(t).

In the second ‘learning’ step, we infer a sparse mode coupling matrix M that approximates the dynamics Equation 12 for the dynamical mode vectors a(t)=[ρlm,jlm(1),jlm(2)] obtained from the coarse-grained simulated ABP data. Our inference algorithm combines adjoint techniques (Rackauckas et al., 2021) and a multi-step sequential thresholding approach inspired by the Sparse Identification of Nonlinear Dynamics (SINDy) algorithm introduced by Brunton et al., 2016. The full algorithm is detailed in Appendix 4 and illustrated in the summary flowchart Appendix 4—figure 1. Importantly, we perform the sparse regression using dynamical mode vectors a(t) rescaled by their median absolute deviation (MAD) to compensate for substantial scale variations between different modes. The final output matrix M of this learning algorithm is shown in the right panel of Figure 3C and can be compared against the analytically coarse-grained dynamics of ABPs on curved surfaces (Fily et al., 2016; Castro-Villarreal and Sevilla, 2018). Under suitable closure assumptions (Appendix 3), the mean-field dynamics of ABPs on a unit sphere is given in harmonic mode space by

djlm(2)dt=-Drjlm(2), (13a)
djlm(1)dt=v022R0ρlmDrjlm(1) (13b)
djlm(2)dt=Drjlm(2) (13c)

from which we can read off the mode coupling matrix M shown in the left panel of Figure 3C. A direct comparison between the theoretical and the inferred matrices shows that our framework recovers both the structure and the quantitative values of M with good accuracy. Due to the finite number of ABPs used to determine the coarse-grained fields, we do not expect that the theoretically predicted coupling matrix is recovered perfectly from the data. Instead, some mode couplings suggested by Equation 13a may not be present or modified in the particular realization of the ABP dynamics that was coarse-grained. Indeed, direct simulation of the learned model projected in real space (Figure 3E) reveals a density and flux dynamics that agrees very well with the dynamics of the the coarse-grained input data (Figure 3D). Altogether, these results demonstrate that the proposed inference framework enables us to to faithfully recover expected mean-field dynamics from coarse-grained fields of noisy particle-based data.

Learning developmental mode dynamics from experimental data

The same inference framework can now be directly applied to the coarse-grained experimental zebrafish embryo data shown in Figure 1C and D, yielding a sparse coefficient matrix M (Figure 4A and B) that encodes the dynamics of the developmental mode vector a(t)=[ρlm(t),jlm(1)(t),jlm(2)(t)] according to Equation 12. The inferred coupling between the time derivative of density modes ρlm and flux modes jlm(1) faithfully recovers mass conservation (Figure 4C; see Equation 6). Overall, the learned matrix M has 395 non-zero elements, effectively providing further compression of the experimental data, which required 2,250 spatio-temporal mode coefficients collected in a^n (see Equation 7) for its representation. Using the mode vector a(t=0) of the first experimental time point as the initial condition, the inferred minimal model Equation 12 with M shown in (Figure 4A and B) faithfully recovers both the mode and real-space dynamics seen in the coarse-grained fields of the experimental input data (Figure 4E–G, Video 4).

Figure 4. Model learning for experimental data of collective cell motion during early zebrafish development.

(A) Visualization of the constant mode coupling matrix M that was learned from experimental data (see Appendix 4) and describes the dynamics of the mode vector a=[ρlm(t),jlm(1)(t),jlm(2)(t)]T via Equation 12. Dimensionless fields are defined by ρ^lm=Rs2ρlm and j^lm(i)=RsΔtjlm(i) (i=1,2) with Rs=300μm and Δt=2 min. (B) Scaling the learned matrix M by the Mean Absolute Deviation (MAD) of the modes (see Appendix 4) reveals structures reminiscent of the mode coupling matrix learned for ABPs (Figure 3C). (C) The learned model recovers mass conservation in mode space (Equation 6). (D) Comparison of theoretical and inferred real-space kernels (see Equation 14 and Appendix 4) for the ABP dynamics and for the experimental data of collective cell motion. The trace of the non-dimensional kernel M^J(r,r) (the only non-zero eigenvalue, Appendix 4—figure 2) indicates a localized flux-flux coupling with a similar profile among both systems. The oscillating magnitude of the non-dimensionalized density-flux kernel |m^ρ(r,r)| (insets) in the ABP system indicates a gradient-like coupling and is consequence of the persistent ABP motion. In the experimental data, a first peak around ω=π/4 is also visible, but less pronounced. All kernel properties were computed by averaging over pairs of positions r,r that are separated by the same angular distance ω=arccos(rr)[0,π]. Solid lines indicate mean, shaded areas indicate standard deviation. (E) Comparison of experimental mode dynamics (circles) with numerical solution (solid line) of the minimal model Equation 12 for learned matrix M visualized in A. For clarity, the comparison is shown for the two dominant modes of each set of harmonic modes ρlm,jlm(1) and jlm(2). (F, G) Mollweide projections of the experimental data (F) and of the numerical solution of the learned model (G) show very good agreement (Video 4). Blue lines and arrows illustrate streamlines defined by the cell flux J(r,t), circles depict defects with topological charge +1 (white) and -1 (red).

Figure 4.

Figure 4—figure supplement 1. Simulating the learned model with different initial conditions.

Figure 4—figure supplement 1.

Mollweide projections from simulations of the model Equation 12 with M depicted in Figure 4B that was learned for experimental data from sample 1, but using different initial conditions (from top to bottom): initial condition from experimental data set sample 2 (Figure 2—figure supplement 1); initial condition from sample 1 rotated by 10° away from the animal pole; initial condition from sample one with ϵ=10 % of the density at the animal pole removed. For the latter, the initial density field of sample one is multiplied by a factor 1ϵf6(θ), where f6(θ) denotes the k=6 density coarse-graining kernel (see Appendix 1) evaluated at polar angle θ. Blue lines and arrows illustrate streamlines defined by the cell flux J(r,t), circles depict defects with topological charge +1 (white) and -1 (red).
Video 4. Comparison of dynamics of the experimental and learned density ρ(r,t) (colormap) and flux fields J(r,t) (streamlines) represented in a Mollweide projection.
Download video file (2.8MB, mp4)

White circles depict topological defects of charge +1 in the vector field J(r,t), red circles depict defects with charge -1. The total defect charge is 2 at all times. Top row depicts the coarse-grained (see Equation 2a) and projected (see Equations 4–7) experimental data, snapshots in the bottom row are obtained by reintegrating the ordinary differential equation model Equation 12 using the learned matrix M (see Figure 4A). The colorbar is at each time point scaled to the interval [0, maxrρ(r,t)].

It is instructive to analyze the inferred matrix M and the linear model it encodes in more detail. Comparing the MAD-rescaled matrix (see Appendix 4) learned for the experimental zebrafish data (Figure 4B) with the non-dimensionalized matrix learned for the active Brownian particle dynamics (Figure 3C), we find similar patterns of prominent diagonal and block-diagonal couplings. Consistent with the analysis of single cell trajectories (Shah et al., 2019), this suggests that a random, but persistent movement of cells akin to ABPs moving on a sphere partially contributes to the early gastrulation process in zebrafish. This is complemented in the minimal model of the experimental dynamics by significant off-diagonal contributions (Figure 4B), which are absent in the non-interacting ABP model. Such off-diagonal contributions represent effective linear approximations of cell-cell interactions, environmental influences or other external stimuli reflected in the experimental time-series data. Ultimately, such contributions to the mode coupling matrix M help realize the symmetry breaking process observed in the underlying experimental data (Figure 2).

The inferred mode coupling matrix M shown in Figure 4B together with Equation 12 provides a highly robust minimal model. Specifically, despite being linear, it is numerically stable over a period approximately four times as long as the input data from which the matrix M was learned. Furthermore, simulations with modified initial conditions (see Figure 4—figure supplement 1) still exhibit a characteristic symmetry breaking and lead to the emergence of density and flux patterns similar to those seen in Figure 4F and G. For example, simulating Equation 12 using the initial condition of a different experimental data set (Figure 2—figure supplement 1) leads to final patterns with the same symmetry as in the original training data, further corroborating that the observed symmetry breaking is directly encoded in the interactions represented by the matrix M. A similar robustness is observed under moderate perturbations of the initial condition, such as a rotation of initial cell density patterns relative to the coordinate system in which M was inferred, or a local depletion of the initial density, emulating a partial removal of cells as experimentally realized in Morita et al., 2017. Taken together, these numerical experiments demonstrate that the inferred mode coupling matrix M meaningfully captures the dynamics and interactions of cells that facilitate the symmetry breaking observed during early zebrafish development.

Green’s function representation of learned models in real space

To characterize the inferred spatial interactions in more detail, we can analyze the real-space representation of the learned mode coupling matrix M. While the density dynamics represented by M (the first row in Figure 4AB) simply reflects mass conservation Equation 1 in real space, the dynamics of the flux (the second and third row in Figure 4A and B) corresponds in real space to the integral equation (Appendix 4)

tJ(r,t)=dΩ[mρ(r,r)ρ(r,t)+M(r,r)JJ(r,t)], (14)

where dΩ=sinθdθdϕ is the spherical surface area element. The vector-valued kernel mρ(r,r) in Equation 14 connects the distribution of cell density ρ across the surface to dynamic changes of the flux J at a given point r. Similarly, the matrix-valued kernel MJ(r,r) describes how the distribution of cell fluxes at r affects temporal changes of the flux at r.

To analyze the spatial range of interactions between points r and r, we use the fact that the matrix-valued kernel MJ(r,r) has only one non-zero eigenvalue (Appendix 4—figure 2). Consequently, the trace tr(MJ) serves as a proxy for the distance-dependent interaction strength mediated by MJ. Averages of tr(MJ) over point-pairs with the same angular distance ω=acos(rr) are shown for the ABP dynamics and for the minimal model inferred from experimental data in Figure 4D. Note that to make the models amenable to comparison, we compute MJ(r,r) from the known mean-field model of ABPs (Equation 13a) using the same finite number of modes as used to represent the ABP and the zebrafish data (lmax=4). In theory, one expects for the ABP dynamics a highly localized, homogeneous kernel tr(MJ)δ(r-r), so that an exact spectral representation would require an infinite number of modes (see Appendix 4). In practice, using a finite number of modes leads to a wider kernel range (Figure 4D ’ABP theory’) and introduces an apparent spatial inhomogeneity, as indicated by the non-zero standard deviation of tr(MJ) at fixed distance ω (blue shades). Both the quantitative profile of tr(MJ) and its variation are successfully recovered by applying the inference framework to stochastic simulations of ABPs (Figure 4D ’ABP simulation’) where MJ(r,r) was computed from the learned mode coupling matrix M shown in Figure 3C. For the inferred minimal model of the cell dynamics (Figure 4D ’Zebrafish experiment’), we find a similar short-ranged flux-flux coupling mediated by MJ. However, the increased variability of tr(MJ) at fixed distances ω indicates more substantial spatial inhomogeneities of the corresponding interactions. These inhomogeneities are absent in a non-interacting system of ABPs and represent an interpretable real-space signature of the symmetry-breaking mechanisms built into the underlying mode coupling matrix M.

A similar analysis can be performed for the kernel mρ(r,r) that couples the density at position r to dynamics of fluxes at position r (see Equation 14), where we average the magnitude |mρ(r,r)| over pairs (r, r) with the same angular distance ω (Figure 4D insets). Using a finite number of modes to compute this kernel in the different scenarios again introduces apparent spatial inhomogeneities in all cases. Additionally, all kernel profiles exhibit a distinct maximum at short range, indicating a coupling between density gradients and the flux dynamics that emerges microscopically from a persistent ABP and cell motion (see Appendix 3 and 4) – an observations that is consistent with the similar block-diagonal structure of both inferred matrices M (compare Figures 3C and 4B).

In conclusion, the real-space analysis and comparison of inferred interaction kernels further highlights potential ABP-like contributions to the collective cellular organization during early zebrafish development and reveals an effectively non-local coupling between density and flux dynamics. The latter could result, for example, from unresolved fast-evolving morphogens (Hannezo and Heisenberg, 2019), through mechanical interactions with the surrounding material (Münster et al., 2019) or due to other relevant degrees of freedom that are not explicitly captured in this linear hydrodynamic model. More generally, a real-space representation of kernels provides an alternative interpretable way to study the interactions and symmetry-breaking mechanisms encoded by models directly learned in mode space.

Discussion

Leveraging a sparse mode representation of collective cellular dynamics on a curved surface, we have presented a learning framework that translates single-cell trajectories into quantitative hydrodynamic models. This work complements traditional approaches to find quantitative continuum models of complex multicellular processes (Etournay et al., 2015; Hannezo et al., 2015; Morita et al., 2017; Streichan et al., 2018; Münster et al., 2019) that match problem-specific constitutive relations of active materials in real-space with experimental observations. We have demonstrated here that length scales and symmetries associated with a mode representation can directly inform about the character of symmetry breaking transitions and topological features of collective cellular motion even before a model is specified. The successful applications to synthetic ABP simulation data and experimental zebrafish embryo data show that model learning in mode space provides a promising and computationally feasible approach to infer quantitative interpretable models in complex geometries.

The learned linear minimal model for cell migration during early zebrafish morphogenesis quantitatively recapitulates the spatiotemporal dynamics of a complex developmental process (Figure 4F and G), and highlights similarities between collective cell migration and analytically tractable ABP dynamics on a curved surface. An extension to nonlinear mode-coupling models or an integration of additional, experimentally measured degrees of freedom, such as concentration fields of morphogens involved in mechanochemical feedbacks (Hannezo and Heisenberg, 2019), is in principle straightforward by including nonlinear terms in Equation 12. Furthermore, the above framework could be generalized to describe the dynamics within a spherical shell of finite height by complementing the surface vector SHs used in this work by their radial counterpart (Barrera et al., 1985).

To provide a concrete example, we focused here on applying the model learning framework to single-cell tracking data of early zebrafish morphogenesis. However, the essentially spherical organization of cells during gastrulation observed in zebrafish is shared by many species whose early development occurs through a similar discoidal cleavage (Gilbert and Barresi, 2016), and the framework introduced here is directly applicable once tracking data becomes available for these systems. More generally, as novel imaging technologies are being developed (Keller et al., 2010; Royer et al., 2016; Shah et al., 2019), we expect that even larger and more detailed imaging data will further facilitate the exploration of finer scales and length-scale bridging processes (Lenne et al., 2021) through learning approaches that directly built on mode-based data representations.

Materials and methods

Data pre-processing

We obtained two single-cell tracking data sets from the experiments described in Shah et al., 2019. These data consist of the Cartesian coordinates of each cell together with a tracking ID. Some of the data is accessible at https://idr.openmicroscopy.org with ID number idr0068. We first denoised each cell trajectory using MATLAB’s (Matlab, 2019) wavelet denoiser function wdenoise, and centered the cloud of cells by least-squares fitting a spherical surface through it and shifting the origin at each time to coincide with the center of this sphere. We then computed the velocity of each cell by using Tikhonov-regularized differentiation as described in Knowles and Renka, 2014 and implemented in the MATLAB third-party module rdiff (Wagner, 2020). After examination of the cells’ velocity distribution, we further removed outlier cells whose speed is in the 95th percentile or above and verified that this operation only removes aberrant cells. Finally, we rotated the data to align the animal pole of the embryo with the z-axis, as determined by the direction of the center of mass of the initial cell distribution. The resulting single cell data are shown as point clouds in Figure 1B and in Video 1.

Topological defect tracking

We have developed a defect tracker that identifies topological defects in vector fields tangent to a spherical surface via integration along suitable Burger circuits. The corresponding software is available at (https://github.com/NicoRomeo/surf-vec-defects; Romeo, 2022, copy archived at swh:1:rev:6dc742c376b0d085e19ece65f932ac6935342aba).

Acknowledgements

We thank Nico Scherf and Ghopi Shah for providing single-cell tracking data and for giving helpful advice on zebrafish development and we thank Paul Matsudaira for discussions. We thank the MIT SuperCloud (Reuther et al., 2018) for providing us access to HPC resources. This work was supported by a MathWorks Science Fellowship (NR and ADH), a Longterm Fellowship from the European Molecular Biology Organization (ALTF 528–2019, AM), a Postdoctoral Research Fellowship from the Deutsche Forschungsgemeinschaft (Project 431144836, AM), a Complex Systems Scholar Award from the James S McDonnell Foundation (JD), the Robert E Collins Distinguished Scholarship Fund (JD) and the Alfred P Sloan Foundation (G-2021–16758, JD).

Appendix 1

Consistent coarse-graining on curved surfaces

We describe the derivation of self-consistent coarse-graining kernels that are used in the main text to convert single cell information into a continuous density field and its associated fluxes on a spherical surface. We first motivate this problem for a flat surface and then proceed with a detailed derivation for the case of a spherical surface.

Kernel consistency in Euclidean space

It is instructive to first consider a set of particles α=1,2,3, at positions Xα(t) moving with velocities Vα(t)=dXα/dt, where capitalized vectors indicate position and velocity in Euclidean space, e.g. particles move on a flat surface or within some three-dimensional volume. A coarse-grained density ρ(X,t) and a mass flux J(X,t) can be defined from this microscopic information by

ρ(X,t)=αKe[X,Xα(t)], (15a)
J(X,t)=αKe[X,Xα(t)]Vα(t), (15b)

where Ke(X,X) and Ke(X,X) represent a scalar-valued and a matrix-valued kernel function, respectively. At the same time, in a system with a constant number of particles, mass conservation implies, in general,

tρ(X,t)+XJ(X,t)=0, (16)

relating the density ρ(X,t) and the mass flux J(X,t) of particles. Using the coarse-graining prescriptions Equation 15a and Equation 15b directly in Equation 16 and assuming the resulting relation must hold for any set of particle trajectories, one finds a general kernel consistency relation

XKe(X,X)+XKe(X,X)=0. (17)

This condition is automatically satisfied for any translationally invariant and isotropic pair of kernels Ke(X,X)=Ke(X-X) and Ke(X,X)=Ke(X-X)I, where I is the unit matrix. Coarse-graining with such kernels is frequently employed in practice: Positions and velocities can be, for example, simply convolved with a Gaussian function of mean zero (Supekar et al., 2021).

Kernel consistency on a curved surface

For a surface parameterized by r(s1,s2)3 with generalized coordinates s1,s2, two tangential basis vectors are defined by ei=r/si (i=1,2). Partial derivatives are, in the following, denoted i:=/si. The metric tensor is given by gij=eiej. The mean curvature is defined by Hn=-iei/2, where n=e1×e2/|e1×e2| denotes the unit surface normal and the Einstein summation convention is used. The covariant form of mass conservation Equation 1 (main text) on a curved surface reads

tρ+iJi=0, (18)

with Ji=eiJ and i denotes the covariant derivative. In general, we are interested in describing an effective dynamics for cell positions and velocities that are projected onto a common reference sphere of radius Rs. Such a description can be found by first formulating the coarse-graining approach for a unit sphere, on which particle positions and velocities are fully determined by angular coordinates and corresponding angular velocities, and finally rescaling the density and flux fields by suitable factors of Rs. The corresponding coarse-graining Equation 2b (main text) of in-plane angular velocities v¯α(t)=vα(t)/|rα(t)| for particles α on a unit sphere reads covariantly

Ji=αK(r,rα)jiv¯αj, (19)

where v¯αi=eiv¯α and we drop the dependence on time to simplify the notation. The two-point kernel tensor K(r,r)ij (a ‘bitensor’) is evaluated in the tangent space of r for its first index and in the tangent space of r at the second, primed index (Appendix 1—figure 1). Mass conservation on a curved surface, Equation 18, together with the coarse-graining prescriptions Equation 2a (main text) and Equation 19 then implies a covariant kernel consistency relation

jK(r,r)+iK(r,r)ji=0. (20)
Appendix 1—figure 1. Illustration of the action of the coarse-graining tensor kernel K(r,r)ij Equation 19.

Appendix 1—figure 1.

Left: Kij acts in the two tangent space at points r and r that are separated by an angular distance ω=acos(rr). Each tangent plane has corresponding basis vectors,ei ei for i=1,2. Right: The tensor kernel Kijeiej projects vectors u in the tangent space of r and generates a vector v tangent at r.

Solving the kernel consistency relation on a sphere

We solve Equation 20 in the following on the unit sphere, such that r=n corresponds to the surface normal. The final result can simply be rescaled to any spherical surface of radius Rs. Furthermore, we note that the parameter

x=rr (21)

provides a measure for the great circle distance ω(x)=acos(x) between two points on a sphere. Hence, we consider an ansatz for the kernels in Equation 20 of the form

K(r,r)=f(x) (22a)
K(r,r)ij=g(x)eiej, (22b)

with two unknown scalar functions f(x) and g(x). The relevant derivatives of the ansatz Equation 22a and Equation 22b can readily be evaluated to

jK(r,r)=df(x)dxrej (23a)
iK(r,r)ji=dg(x)dxr(eiei)ej-2g(x)rej. (23b)

Here, ⊗ denotes a dyadic product and we use ix=rei and ix=rei, which follows from Equation 21, as well as iei=-2r in the second equation, which holds on a unit sphere and follows from the definition of the mean curvature. We then use the expansion of the identity matrix in 3 on the spherical basis I=eiei+nn, such that in our case with r=n we have eiei=I-rr. Hence, Equation 23b becomes

iK(r,r)ji=-dg(x)dx(rr)(rej)-2g(x)rej. (24)

Using Equation 24 and Equation 23a in the kernel consistency relation Equation 20 and dividing by rej (at r=r, for which rej=0, Equation 20 is obeyed for any f(x), g(x)), we find that the scalar functions in the kernel ansatz Equation 22a and Equation 22b have to obey

xdg(x)dx+2g(x)=df(x)dx.

Hence, the general covariant consistency relation Equation 20 implies for the kernel ansatz Equation 22a and Equation 22b that the weighting functions g(x) and f(x) must be related by

g(x)=1x20xduudf(u)du. (25)

Kernel functions with compact support

In the last step, we determine a family of kernel functions g(x) and f(x) defined on the interval x[-1,1] that satisfy Equation 25, along with the requirements:

  1. f(x) and g(x) must be C1 regular on [-1,1]

  2. f0 on [-1,1]

  3. f is normalized to one on the unit sphere.

Recalling x=cos[ω(r,r)] with angular distance ω between r and r, a family of functions fulfilling these conditions is given by

fk(ω)=k+12π(cosω)k1{cosω>0} (26a)
gk(ω)=k2π(cosω)k11{cosω>0}, (26b)

where 1{cosω>0} is an indicator function that is one if cosω§gt;0 and vanishes otherwise (Appendix 1—figure 2). In this work, we have chosen the kernels Equation 22a and Equation 22b with f=fk and g=gk for k=6. For these kernels derived here, densities ρ(r,t) and associated fluxes J(r,t) that are coarse-grained on a unit sphere can be converted into effective densities and fluxes on a spherical surface of radius Rs through the rescaling ρρ/Rs2 and JJ/Rs. Equivalently, rescaled kernels K(r,r)K(r,r)/Rs2 and K(r,r)ijK(r,r)ij/Rs can be used directly, as was done in Equation 2a and Equation 2b of the main text to generate the data shown in Figure 1 (main text).

Appendix 1—figure 2. Family of kernel functions fk(ω) and gk(ω) given in Equation 26a.

Appendix 1—figure 2.

These functions represent weights of the coarse-graining kernels Equation 22a and Equation 22b that are defined such that the kernels satisfy the consistency relation Equation 19. ω=acos(rr) denotes angular distances between r and.r Coarse-graining of a conserved number of particles on a sphere to determine a density field ρ (Equation 2a, main text) requires a different weighting – fk(ω) – than the coarse-graining of an associated flux J (Equation 2b , main text), which requires a weighting gk(ω) instead to ensure that coarse-grained fields obey mass conservation Equation 18. A characteristic coarse-graining length scale associated with these kernels is the half-width at half-maximum (HWHM), which is related to k by HWHM =arccos(2-1/k).

Appendix 2

Spatio-temporal mode decomposition

In this section, we provide explicit expressions for the scalar and spherical harmonic basis functions (‘spatial modes’), as well as for the Chebyshev basis functions (‘temporal modes’) used in this work. Additionally, we describe a systematic approach to determine the minimal number of modes needed to describe the coarse-grained data, while preserving a high level of accuracy in the representation.

Spatial basis: spherical harmonics

In this work, we use the real spherical harmonics defined in spherical coordinates (θ,ϕ) by Arfken et al., 2013 as

Ylm(θ,ϕ)=2l+14π(l|m|)!(l+|m|)!Pl|m|(cosθ)Nm(ϕ) , (27)

where Pl|m|(x) is the associated Legendre polynomial of degree l and order |m|, and

Nm(ϕ)={2cos(mϕ) if m§gt;01 if m=02sin(|m|ϕ) if m§lt;0. (28)

Vector spherical harmonics can be defined and expressed as vector fields in 3D or covariantly as (Sandberg, 1978; Mietke et al., 2019)

Ψlm=SYlmΨ(lm)i=gijjYlm (29a)
Φlm=r^×ΨlmΦ(lm)i=ϵjijYlm (29b)

where S=eθθ+eϕsin-1θϕ denotes the gradient operator an a unit sphere, ϵij is the covariant Levi-Civita tensor, and gij the metric tensor. Scalar harmonics Ylm and either vector harmonic Λlm{Ψlm,Φlm} are orthogonal:

dΩYlmYlm=δllδmm (30a)
dΩΛlmΛlm=l(l+1)δllδmm, (30b)

where dΩ=sinθdθdϕ. The increasing complexity of patterns and accuracy of reconstruction with larger l is illustrated in Appendix 2—figure 1 and Video 2.

Appendix 2—figure 1. Sequentially adding vector spherical harmonics Ψlm and Φlm – equivalent to increasing lmax in Equation 5 – resolves increasing levels of details present in experimental flux fields ("Data").

Appendix 2—figure 1.

Main features of the data are captured already by a relatively small number of modes (lmax=4 used throughout this work).

Temporal basis: Chebyshev polynomials

Chebyshev polynomials of the first kind Tn are defined by Arfken et al., 2013.

Tn(cosx)=cos(nx). (31)

Chebyshev polynomials form an orthogonal basis of continuous functions on the interval [-1,1], such that an expansion

f(t)=n=0nmaxcnTn(t) (32)

uniformly converges as nmax (Driscoll et al., 2014). This representation also allows computing derivatives spectrally from

f(t)=n=0nmaxcnTn(t). (33)

Information loss through coarse-graining

Coarse-graining microscopic data into smooth fields is an irreversible operation, during which some of the original particle information is irretrievably lost. The choice of coarse-graining scale is thus dictated by a trade-off between smoothness and information content - choosing larger coarse-graining scales leads to smoother fields but blurs finer scale structures which may be of interest. To inform our choice of coarse-graining scale, we quantify the loss of information incurred by the coarse-graining operation.

The measure we introduce to quantify information loss is based on the the well-known relationship between the smoothness of functions in real space and Fourier space (Stein and Shakarchi, 2011): A smooth function in real space should have a peaked, quickly decaying spectrum in Fourier space while a collection of point-like objects such as delta functions should have a uniform non-decaying spectrum. Specifically, we describe a uniformly sampled field as a M×N matrix with components being the field values Xi,j=X(θi,ϕj). In our case, Xi,j represents either the density field ρ or any of the Cartesian components of the flux vector field J at a given time point. We find the complex discrete Fourier spectrum X^i,j of this matrix using the two-dimensional fast Fourier transform. We then calculate the power spectral density (PSD) of the Fourier spectrum as Ri,j=|X^i,j|2 and interpret the normalized PSD.

Pi,j=Ri,ja,bRa,b

as a discrete probability distribution. The spectral entropy S characterizing the information content of the field X is then defined by

S(X)=-1log2NMi,jPi,jlog2Pi,j. (34)

Smooth fields are sharply peaked in Fourier space and have a low spectral entropy, whereas fields that resolve discrete single particle information are rather flat in Fourier space and have a large spectral entropy. The difference in entropy between particle data and smoothed fields then measures the information eliminated by the coarse-graining procedure. If we additionally normalize by the entropy of the spectral entropy S0(X) of the raw particle data, we finally obtain a relative measure of the information that is lost in the coarse-graining process. In general, a measure as given in Equation 34 can be defined for any transform with the property that smoothness in real space leads to a fast decaying spectrum in transform space.

We compute the spectral entropy of density and flux component fields at a representative time point and for varying coarse-graining length scales (Appendix 2—figure 2). Specifically, we coarse-grain density and flux through the procedure described in the main text and in Appendix 1 for different values of the kernel parameter k (see Equation 26a). Large values of k correspond to small coarse-graining length scales, with the effective half-width at half-maximum (HWHM) of the kernels given in Equation 22a and Equation 22b with weight functions Equation 26a and Equation 26b scaling as HWHM =arccos(2-1/k). Normalized spectral entropies S(X)/S0(X) with X{ρ,J} are then computed using Equation 34. For the flux field, we define S(J):=S(Jx)+S(Jy)+S(Jz) ("Flux sum" in Appendix 2—figure 2) and interpret the sum of these three contributions ("Flux x", "Flux y", "Flux z" in Appendix 2—figure 2) as the total information contained in the flux field. We find that the spectral entropies of all fields show similar features. In particular, an increasing coarse-graining width first results in a sharp loss of information as individual particle positions are blurred, followed by less steep information loss as continuous fields progressively lose details of finer structures. In this work, we use an intermediate value of the coarse-graining parameter k=6 (yellow data in Appendix 2—figure 2).

Appendix 2—figure 2. Normalized spectral entropy as a function of the coarse-graining kernel width (top) computed for density ρ and flux field J using Equation 34.

Appendix 2—figure 2.

To evaluate the spectral entropy for the vector-valued flux, we define S(J):=S(Jx)+S(Jy)+S(Jz) (‘Flux sum’). The coarse-graining width – the half-width at half-maximum (HWHM) of the coarse-graining kernels Equation 22a and Equation 22b with weight functions Equation 26a – is varied by varying the kernel index k, where HWHM=arccos(2-1/k) (see Appendix 1—figure 2). The fields ρ and |J| are shown in the two bottom rows for different values of k i. k=5000 (blue, data used to compute the reference spectral entropies S0(ρ) and S0(J)) ii. k=60 (brown) iii. k=6 (yellow, used in main text) iv. k=2 (purple).

Optimal compression in space and time

Spectral representations are exact in the limit of an infinite number of modes. In practice, we choose a maximal harmonic mode number lmax and maximal Chebyshev mode number nmax. A too large value of lmax and nmax provides little compression benefit, while too small values suffer accuracy penalties. Hence, there is a compression-accuracy trade-off that we seek to optimize. To evaluate the trade-off quantitatively, we define a heuristic compression metric C by

1/C=nmaxNt+(lmax+1)2Ns, (35)

where Nt is the number of sampled time steps and Ns is the number of spatial grid points used for coarse-graining. Larger values of C correspond to a higher compression factor. To define accuracy metrics, we consider the norm

f2=i=1Ntf(ti)2

where the sum runs over Nt regularly sampled time points ti. We denote a particular mode representation {ρ~lm(t),j~lm(1)(t),j~lm(2)(t)} of the data that was coarse-grained via Equation 2a and Equation 2b (main text) for l=0,,lmaxref=20 as the ‘uncompressed’ reference. A measure to characterize the accuracy of a mode-truncated ‘compressed’ data representation is then given by a relative average mode reconstruction error

Emodes(nmax,lmax)=12(lmaxref+1)2l=0lmaxm=lm=l(ρlmρ~lm2ρ~lm2+jlm(2)j~lm(2)2j~lm(2)2)1/2. (36)

This measure compares the compressed mode representation {ρlm(t),jlm(2)(t)}, truncated at maximal Chebychev mode number nmax (temporal representation Equation 32, Appendix 2) and maximal harmonic mode number lmax (spatial representation, Equations 4; 5, main text) with the reference modes {ρ~lm(t),j~lm(2)(t)}. To find a compromise between accuracy, characterized by Emodes(nmax,lmax), and compression C defined in Equation 35, the aim is to find a pair (nmax,lmax) on the Pareto front (Jin and Sendhoff, 2008) of Emodes vs. 1/C (red dots in Appendix 2—figure 3).

Appendix 2—figure 3. Relative average mode reconstruction error Emodes(nmax,lmax) Equation 36.

Appendix 2—figure 3.

As a function of the inverse of the compression C defined in Equation 35. Red points indicate the Pareto front (Jin and Sendhoff, 2008) of this compression-accuracy approximation trade-off. Orange circle indicates the final value used for our analysis.

Note that the modes j~lm(1)(t) and jlm(1)(t) are so far omitted from this analysis, because the latter are in practice found directly from density modes via Equation 6 (main text). However, taking temporal derivatives of ρlm(t) using Equation 33 to determine jlm(1)(t) introduces undesirable oscillations for too large Chebychev cut-offs nmax. This implies an additional trade-off between the need for accuracy (higher nmax) and stability (lower nmax). In practice, we wish to find values of (nmax,lmax) such that relative amplitudes of pairs (j~lm(1),j~lm(2)) and (jlm(1),jlm(2)) are preserved by the compression. This can be achieved by comparing the relative curl amplitude

Scurl(t)=lm[jlm(2)(t)]2lm[jlm(1)(t)]2+[jlm(2)(t)]2

to the analog quantity S~curl(t) computed from the reference modes {j~lm(1)(t),j~lm(2)(t)} and analyzing the curl reconstruction error

Ecurl=Scurl-S~curlS~curl (37)

as a function of nmax and lmax (Appendix 2—figure 4). From this, we find a region of low error around lmax=4,nmax=30, which also is on the Pareto front of the accuracy vs. compression trade-off (orange circles in Appendix 2—figures 3 and 4) and represents the final values used throughout this work.

Appendix 2—figure 4. Scurl reconstruction error landscape (log scale) as a function of lmax and nmax.

Appendix 2—figure 4.

Black contour lines indicate iso-error lines (see Equation 37, Ecurl= const.), whereas white contour lines indicate iso-compression levels (see Equation 35, C= const.). Orange circle indicates the final value used for our analysis.

Appendix 3

Active Brownian particles on the sphere

In this section, we describe the stochastic dynamics of non-interacting, active Brownian particles (ABPs) (Romanczuk et al., 2012) on curved surfaces and derive analytically coarse-grained mean-field equations, as well as a kernel representation of ABP dynamics. These results are used in the main text to validate our coarse-graining and inference framework.

We consider active Brownian particles at position x3 that move with speed v0 on the surface of a unit sphere (radius R0=1) in the direction of their unit orientation vector u3. Since |x|=1 at all times, we can interpret v0 as the particle’s angular speed on the unit sphere. The orientation vector is at all times tangential to the surface, but is subject to random in-plane fluctuations characterized by a rotational diffusion coefficient Dr. The corresponding dynamics of x(t) and u(t) is given by the stochastic differential equations (in units R0=1)

dx=v0udt (38a)
du=-v0xdt+(x×u)2Drdξ, (38b)

where the stochastic differential Equation 38b is interpreted in the Stratonovich sense, as denoted by the symbol "o" (Braumann, 2007). It follows from Equation 38a that x(t) and u(t) are normalized at all times. In the absence of rotational diffusion (Dr=0), the vectors x and u rotate over time by an angle v0t around the axis u×x. Consequently, particle trajectories in the absence of noise trace out great circles in the plane defined by (u×x).

Spatial correlation of APBs on a sphere

C(t)=x(t)x(0) To illustrate how ABPs on a sphere differ from ABPs in Euclidean space, we study first the correlation function , where the angled brackets denote a Gaussian white-noise average. To this end, we rewrite the ABP dynamics Equation 38a in their equivalent Itô form given by

dx=v0udt (39a)
du=-(v0x+Dru)dt+2Dr(x×u)dξ. (39b)

In the Itô formulation any smooth function f(x,u) obeys f(x,u)dξ=0, such that (Winkler et al., 2015)

ddtx(t)x(0)=v0u(t)x(0)

and

ddtu(t)x(0)=-v0x(t)x(0)-Dru(t)x(0),

which yields a damped harmonic oscillator equation for the correlation function

d2dt2C(t)+DrddtC(t)+v02C(t)=0. (40)

Normalization and orthogonality of x(t) and u(t) imply the initial conditions C=1 and dC/dt=0 at t=0. The behavior of solutions of Equation 40 is a function of the rotational Péclet number Per:=v0/Dr that quantifies the ratio between active motion and orientational diffusion. For Per§lt;1, (‘high-noise regime’), the position correlation function C(t)=x(t)x(0) decays according to Equation 40 monotonically to zero. For Per§gt;1, (‘low -noise regime’) position correlations exhibit damped oscillations. To validate our simulation method (described in the following section), analytic predictions for C(t) are in Figure 3B (main text) compared against the ensemble average x(t)x(0) over 3×104 simulated ABPs.

Stochastic simulation of active Brownian particles on the sphere

To ensure a numerically exact normalization of the particle’s position and orientation vectors on the unit sphere, we simulated the dynamics

dx=v0|u|(u-ux|x|2x)dt (41a)
du=-v0x|x|2dt+(x×u)|x×u|2Drdξ. (41b)

We numerically solve the Itô formulation of this system using the Euler-Mayurama scheme (Higham., 2001), and confirm that this system reproduces the correlation dynamics predicted by Equation 40 (Figure 3B, main text).

Fokker-Planck equation

To study the continuum dynamics of a large number of non-interacting ABPs on a sphere, we determine the dynamics of the probability density p(x,u,t) of particle positions x and orientations u at time t. To do so, it is convenient to express particle positions in terms of a parameterisation x(t)=x[x1(t),x2(t)] that defines tangential basis vectors by ei=x/xi (i=1,2) and a metric tensor gij=eiej. By definition, we have dx=eidxi and Equation 38a can be rewritten as

dxi=v0uidt. (42)

General tangential vectors on the surface can be written as u=uiei and on a unit sphere the surface normal can be identified with particle positions n=e1×e2/|e1×e2|=x. Hence, on the unit sphere the Gauss-Weingarten relation reads iej=-Cijx+Γijkek, where Γijk denote Christoffel symbols and Cij is the curvature tensor. This implies together with Equation 42 the geometric relation

du=eidui+ui(jei)dxj=eiduiCijuiujv0xdt+v0uiujΓijkekdt.

Comparing this identity with the stochastic dynamics du in Equation 38b and using that Cijuiuj=gijuiuj=|u|2=1 for unit vectors u on the unit sphere, we find the covariant stochastic differential equation

dui=v0ujukΓjkidt+ϵ kiuk2Drdξ. (43)

In Equation 43, ϵij=x(ei×ej) denotes the Levi-Civita tensor on the unit sphere.

In this covariant basis, we define the scalar probability density

p(x,u,t)=1g(x)iδ[xi-xi(t)]δ[ui-ui(t)], (44)

where δ(x) denotes a Dirac function. Combining Equations 42; 43, standard methods (Fily et al., 2016; Castro-Villarreal and Sevilla, 2018) allow us to obtain the Fokker-Planck equation for p(x,u,t) as

tp(x,u,t)=Drui[ϵkiukuj(ϵljulp)]-i(v0uip)+ui(v0ujukΓjkip) (45)

Using the identity ϵkiϵlj=gijgkl-δliδkj, the dynamics of the probability density is finally given by

tp(x,u,t)=Drui[(gij-uiuj)puj]-v0uiip+ui(v0ujukΓjkip), (46)

which agrees with the result in Castro-Villarreal and Sevilla, 2018.

Hydrodynamic expansion

To connect the Fokker-Planck dynamics given in Equation 46 to hydrodynamic fields, we define (probability) density and fluxes by ρ(x,t)=d2up(x,u,t), and Ji(x,t)=v0d2uuip(x,u,t). Their dynamics on the unit sphere is given by Castro-Villarreal and Sevilla, 2018.

ρt=-iJi (47a)
Jit=-v022iρ-DrJi, (47b)

where couplings to higher order fields are neglected, as they vanish at shorter time-scales due to the presence of rotational noise. Expressing Equation 47a and Equation 47b in terms of scalar and vector spherical harmonics (see Appendix 2) for an arbitrary sphere radius R0 yields the mode dynamics Equation 13a, Equation 13b and Equation 13c the main text.

Appendix 4

Learning and interpreting the linear model

We describe details about the inference procedure used to learn the linear ordinary differential equation (ODE) model considered in the main text. We then discuss how the matrix M found by this procedure can be further studied in terms of its real-space kernel representation and derive this kernel for the ABP dynamics introduced in Appendix 4.

Inference of the dynamical mode coupling matrix M

Given a dynamical mode vector a(t)=[ρlm(t),jlm(1)(t),jlm(2)(t)], the goal is to learn a linear minimal model

da(t)dt=Ma(t) (48)

of the mode dynamics. Here, M is an unknown n×n mode coupling matrix, where generally n=3(lmax+1)2-2. In systems with global mass conservation, as considered in this work, one can additionally use that the mode ρ00 is constant and eliminate the corresponding couplings from M.

To describe the algorithm that was used to infer the mode coupling matrix M, we parameterize M by a vector p that contains all non-zero entries and introduce a function that represents the underlying matrix structure. Together, they generate the explicit form M=(p) of the mode coupling matrix. Imposing structure on the matrix, such as rank constraints, or sparsity leads to a shorter vector p and modifies the definition of accordingly. Denoting A(t;M,p,a0) as the result of numerically integrating the system of ODEs Equation 48 up to time t from initial condition a0 with M=(p), we define the loss function

L(p;M,tI,tN)=1NIi=INa(ti)A(ti;M,p,a(tI))22, (49)

where the ti are time points in an interval [tI,tN] at which the data and the ODE solution are sampled. Using the ODE solvers and optimization functions provided by the Julia modules DifferentialEquations.jl and DiffEqFlux.jl (Rackauckas et al., 2021), we can differentiate through the ODE solver to calculate derivatives of the loss function Equation 49 with respect to parameters p and subsequently apply gradient-based optimization algorithms. The loss function is minimized using the ADAM algorithm (Kingma and Ba, 2017), followed by the Broyden-Fletcher-Goldfarb-Shannon (BFGS) algorithm (Nocedal and Wright, 2006). To increase the robustness of the optimization and promote sparsity, we use a sequentially thresholded algorithm (Supekar et al., 2021; Brunton et al., 2016; Reinbold, 2020). A complete overview of this procedure is shown in Appendix 4—figure 1 and the details of the specific design decisions made in the algorithm are discussed in the following:

1. To account for the variation in scale between the different modes in the data a(t), each mode is normalized by its median absolute deviation (MAD) across the full time-span in which the data are available. Specifically, we scale each mode by

mad(ai)=mediank(|ai(tk)a¯i|). (50)

where a¯i=mediank[ai(tk)] and the median is taken over all time-points, giving rise to a scaled mode vector a~(t). Losses analogous to Equation 49 that are computed using scaled data are denoted in the following by L~.

2. To prevent over-fitting, we divide the data into two regions, a learning region from tI to tN and a validation region from tN to tF. Only data from the learning region is used in the optimization of the loss function Equation 49. However, the model is integrated into the validation region, and a corresponding validation loss using only the data in the validation region is calculated. During each optimization run, we choose the model with the lowest loss in the validation region, lowering the likelihood of over-fitting to the specific data in the learning region.

3. To prevent the optimization from getting stuck in local minima, we incrementally increase the time-span of the data included in the optimization objective (blue box in Appendix 4—figure 1). We increase the time window backward from a fixed endpoint t1=tF, choosing each iteration an earlier initial condition at time ti§lt;ti1. The advantage of stepping backward rather than forward from a fixed initial condition is twofold: first, the validation region stays unchanged throughout the optimization, making comparisons of the validation loss easy. Second, because the initial condition changes with each run, the learned matrix tends to be more robust to fluctuations in the initial condition.

4. After the optimization step, sparsity is promoted by thresholding the elements in the matrix (Brunton et al., 2016), removing small magnitude elements that do not noticeably contribute to the mode dynamics (purple box in Appendix 4—figure 1). The optimization procedure is then repeated until the thresholding converges. The threshold is chosen to generate a sparse matrix that still reproduces the dynamics faithfully.

5. Once the sparsity pattern is obtained from the sequential thresholding and optimization procedure a final run of the optimization is performed on the unscaled mode data to find the final dynamical matrix M, which removes any potential slight bias the MAD scaling might have introduced in the parameter values p.

Finally, the numerical stability of the model can be checked by examining the eigenvalues of the learned matrix. For the ABP test data, we learn a matrix M for which the largest real part of its eigenvalues is at machine precision. For the experimental data, the largest real part in the eigenvalues is 7.4×10-4, which corresponds to a time scale of around 675 mins. While the corresponding dynamics will eventually become unstable, solutions remain bound over a period of approximately 45 hours, which is four times as long as the input data from which the mode coupling matrix was learned.

Learning and validation regions used in this work

For the ABP data, the first 15 frames are excluded, so that – consistent with coarse-graining assumptions (see Appendix 3, Equation 47a, Equation 47b) any remnants of higher orientational order introduced by the initial conditions have decayed. The subsequent 140 frames are used as the learning region, followed by a validation region of 20 frames. Each frame corresponds to a time interval of approximately 0.06 in units of R0/v0=1. We exclude the first and last 10 frames of the experimental zebrafish data and split the remaining data into a learning region of 360 frames, with the remaining 40 frames used for validation. Each frame corresponds to a time interval of 2 min.

Appendix 4—figure 1. Initially the data is rescaled using the median absolute deviation (MAD) defined in Equation 50 to account for variation in scales across the modes.

Appendix 4—figure 1.

Scaled variables are denoted by tildes. To avoid local minima of the optimization function, we iteratively feed more data into the cost function. Next we sequentially threshold the small terms in the matrix until convergence is reached. These procedures are repeated until the sparsity pattern converges. Finally the scaling is undone and the parameters are optimized on the unscaled data to produce the final matrix. Schematic of the learning procedure.

Green’s function representation of the learned matrix

The learned matrix M consists of 9 blocks each with [(lmax+1)2-1]×[(lmax+1)2-1] entries. Each block relates a mode family to time derivatives of another and we write

M=(MρρMρ1Mρ2M1ρM11M12M2ρM21M22).

We denote the components of each block by (Mm1m2)lm,lmMαβm1m2, where m1,m2{ρ,1,2}, and α, β are multi-indices that represent the harmonic modes (lm). Using the mode representation Equation 5 and the form of the linear minimal model Equation 48, we find

tJ(r,t)=α=lm(djα(1)(t)dtΨα(r^)+djα(2)(t)dtΦα(r^))=α=lmβ=lm[Mαβ1ρρβ(t)+Mαβ11jβ(1)(t)+Mαβ12jβ(2)(t)]Ψα(r^)+[Mαβ2ρρβ(t)+Mαβ21jβ(1)(t)+Mαβ22jβ(2)(t)]Φα(r^). (51)

Using Equation 30a, Equation 51 can be cast into the dynamic kernel Equation 14 given in the main text, where we defined the vector kernel

mρ(r,r)=α=lmβ=lmMαβ1ρΨα(r^)Yβ(r^)+Mαβ2ρΦα(r^)Yβ(r^) (52)

and the matrix kernel

MJ(r,r)=α=lmβ=lm1l(l+1)[Mαβ11Ψα(r^)Ψβ(r^)+Mαβ12Ψα(r^)Φβ(r^)+Mαβ21Φα(r^)Ψβ(r^)+Mαβ22Φα(r^)Φβ(r^)], (53)

where ⊗ denotes a dyadic product. The matrix MJ(r,r) has a 0 eigenvalue with right eigenvector r^ and left eigenvector r^, which implies det(MJ)=0. Numerical analysis of the matrix invariants shows that a second eigenvalue is 0 (Appendix 4—figure 2), leaving only a single non-zero eigenvalue that can be conveniently found from tr[MJ(r,r)] and is shown in Figure 4D (main text).

Real-space kernels of active Brownian particle dynamics

In the following we determine a real-space kernel representation in the form Equation 14 for the flux dynamics of ABPs given in Equation 47b. We can read off the kernel coefficients in Equation 52 and in Equation 53 from the coarse-grained ABP dynamics in mode space, given in Equation 13b and Equation 13c. For the kernel mρ(r,r), we have Mαβ1ρ=-v022δαβ and Mαβ2ρ=0 (α,β=(lm)), such that Equation 52 becomes

mρ(r,r)=-v022Sα=lmYα(r^)Yα(r^)=-v022Sδ(r-r). (54)

Here, we have used in the first step the definition of Ψlm(r^) given in Equation 29a and in the second step the completeness of the spherical harmonic basis functions Ylm(r^), where δ(r-r)=δ(ϕ-ϕ)δ(cosθ-cosθ) denotes the delta function on a sphere. Note that a unit sphere was considered throughout this analysis, such that r=r^. Similarly, Equation 13b and Equation 13c imply for the kernel coefficients in Equation 53 that Mαβ11=Mαβ22=-Drδαβ and Mαβ12=Mαβ21=0. Consequently, we have

MJ(r,r)=Drα=lm1l(l+1)[Ψα(r^)Ψα(r^)+Φα(r^)Φα(r^)]=Drδ(rr)P, (55)

where P=I-rr is the tangential projector on the unit sphere. The hydrodynamic flux Equation 47b of ABPs on a sphere can therefore be written in the equivalent integral kernel form

tJ(r,t)=dΩ[-v022Sδ(r-r)ρ(r,t)-Drδ(r-r)J(r,t)]. (56)

To make analytic kernel properties comparable to practical inference scenarios in which we work with a finite number of harmonic modes, we computed the sums in Equations 54; 55 up to a maximum mode number lmax=4. The resulting kernels – depicted in Figure 4D (main text) – approximate the Dirac delta function δ(r-r) and its derivative, leading to the finite range of tr(MJ) with amplitude maximum at ω=0, while |mρ| vanishes at and peaks away from ω=0. Additionally, finite mode representations introduce an apparent kernel inhomogeneity across the spherical surface as evident from the non-zero standard deviation depicted in Figure 4D of the main text (blue shades).

Appendix 4—figure 2. The 3×3-matrix invariant I2=12(tr[(MJ)2]-(tr[MJ])2) sampled for pairs of positions r, r vanishes to machine precision for the dynamical matrix M learned on the zebrafish data.

Appendix 4—figure 2.

This invariant can be expressed in terms of matrix eigenvalues as I2=λ1λ2+λ1λ3+λ2λ3. Additionally, λ1λ2λ3=det(MJ)=0 (see discussion below Equation 53), which implies only one eigenvalue is non-zero. Evaluating I2 for the kernel matrix MJ encoded by the theoretical (see Equation 13b and Equation 13c) and inferred (see Figure 3C, main text) dynamical matrix M of the ABP dynamics yields similar results.

Funding Statement

The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.

Contributor Information

Alexander Mietke, Email: amietke@mit.edu.

Jörn Dunkel, Email: dunkel@math.mit.edu.

Raymond E Goldstein, University of Cambridge, United Kingdom.

Naama Barkai, Weizmann Institute of Science, Israel.

Funding Information

This paper was supported by the following grants:

  • European Molecular Biology Organization ALTF 528-2019 to Alexander Mietke.

  • Deutsche Forschungsgemeinschaft 431144836 to Alexander Mietke.

  • James S. McDonnell Foundation Complex Systems Scholar Award to Jörn Dunkel.

  • Alfred P. Sloan Foundation G-2021-16758 to Jörn Dunkel.

  • MathWorks to Nicolas Romeo, Alasdair Hastewell.

  • Robert E Collins Distinguished Scholarship Fund to Jörn Dunkel.

Additional information

Competing interests

No competing interests declared.

No competing interests declared.

Author contributions

Data curation, Formal analysis, Investigation, Methodology, Software, Validation, Writing – original draft, Writing – review and editing.

Methodology, Software, Writing – original draft, Writing – review and editing.

Conceptualization, Formal analysis, Methodology, Project administration, Supervision, Validation, Writing – original draft, Writing – review and editing.

Conceptualization, Methodology, Project administration, Supervision, Writing – original draft, Writing – review and editing.

Additional files

Transparent reporting form

Data availability

Raw data used in this study can be obtained at https://doi.org/10.1038/s41467-019-13625-0 and https://imb-dev.gitlab.io/cell-flow-navigator/.

References

  1. Alert R, Joanny JF, Casademunt J. Universal scaling of active nematic turbulence. Nature Physics. 2020;16:682–688. doi: 10.1038/s41567-020-0854-4. [DOI] [Google Scholar]
  2. Arfken GB, Weber HJ, Harris FE. Mathematical Methods for Physicists: A Comprehensive Guide. Amsterdam, Netherlands: Elsevier Science; 2013. [DOI] [Google Scholar]
  3. Barrera RG, Estevez GA, Giraldo J. Vector spherical harmonics and their application to magnetostatics. European Journal of Physics. 1985;6:287–294. doi: 10.1088/0143-0807/6/4/014. [DOI] [Google Scholar]
  4. Bhaduri B, Yessenov M, Abouraddy AF. Anomalous refraction of optical spacetime wave packets. Nature Photonics. 2020;14:416–421. doi: 10.1038/s41566-020-0645-6. [DOI] [Google Scholar]
  5. Bratanov V, Jenko F, Frey E. New class of turbulence in active fluids. PNAS. 2015;112:15048–15053. doi: 10.1073/pnas.1509304112. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Braumann CA. Itô versus Stratonovich calculus in random population growth. Mathematical Biosciences. 2007;206:81–107. doi: 10.1016/j.mbs.2004.09.002. [DOI] [PubMed] [Google Scholar]
  7. Brunton SL, Proctor JL, Kutz JN. Discovering governing equations from data by sparse identification of nonlinear dynamical systems. PNAS. 2016;113:3932–3937. doi: 10.1073/pnas.1517384113. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Burns KJ, Vasil GM, Oishi JS, Lecoanet D, Brown BP. Dedalus: A flexible framework for numerical simulations with spectral methods. Physical Review Research. 2020;2:023068. doi: 10.1103/PhysRevResearch.2.023068. [DOI] [Google Scholar]
  9. Castro-Villarreal P, Sevilla FJ. Active motion on curved surfaces. Physical Review. E. 2018;97:052605. doi: 10.1103/PhysRevE.97.052605. [DOI] [PubMed] [Google Scholar]
  10. Çetingül HE, Afsari B, Vidal R. 9th IEEE International Symposium on Biomedical Imaging. An algebraic solution to rotation recovery in HARDI from correspondences of orientation distribution functions; 2012. pp. 38–41. [DOI] [Google Scholar]
  11. Collinet C, Lecuit T. Programmed and self-organized flow of information during morphogenesis. Nature Reviews. Molecular Cell Biology. 2021;22:245–265. doi: 10.1038/s41580-020-00318-6. [DOI] [PubMed] [Google Scholar]
  12. Copenhagen K, Alert R, Wingreen NS, Shaevitz JW. Topological defects promote layer formation in Myxococcus xanthus colonies. Nature Physics. 2020;17:211–215. doi: 10.1038/s41567-020-01056-4. [DOI] [Google Scholar]
  13. Doostmohammadi A, Thampi SP, Yeomans JM. Defect-Mediated Morphologies in Growing Cell Colonies. Physical Review Letters. 2016;117:048102. doi: 10.1103/PhysRevLett.117.048102. [DOI] [PubMed] [Google Scholar]
  14. Driscoll TA, Hale N, Trefethen LN. Chebfun Guide. Oxford: Oxford University Press; 2014. [Google Scholar]
  15. Dunkel J, Heidenreich S, Drescher K, Wensink HH, Bär M, Goldstein RE. Fluid dynamics of bacterial turbulence. Physical Review Letters. 2013;110:228102. doi: 10.1103/PhysRevLett.110.228102. [DOI] [PubMed] [Google Scholar]
  16. Etournay R, Popović M, Merkel M, Nandi A, Blasse C, Aigouy B, Brandl H, Myers G, Salbreux G, Jülicher F, Eaton S. Interplay of cell dynamics and epithelial tension during morphogenesis of the Drosophila pupal wing. eLife. 2015;4:e07090. doi: 10.7554/eLife.07090. [DOI] [PMC free article] [PubMed] [Google Scholar]
  17. Fily Y, Baskaran A, Hagan MF. Active Particles on Curved Surfaces. arXiv. 2016 https://arxiv.org/abs/1601.00324
  18. Fortunato D, Hale N, Townsend A. The ultraspherical spectral element method. Journal of Computational Physics. 2021;436:110087. doi: 10.1016/j.jcp.2020.110087. [DOI] [Google Scholar]
  19. Gilbert SF, Barresi MJF. Developmental Biology. Oxford: Oxford University Press; 2016. [Google Scholar]
  20. Goldenfeld N, Woese C. Life is Physics: Evolution as a Collective Phenomenon Far From Equilibrium. Annual Review of Condensed Matter Physics. 2011;2:375–399. doi: 10.1146/annurev-conmatphys-062910-140509. [DOI] [Google Scholar]
  21. Guillamat P, Blanch-Mercader C, Kruse K, Roux A. Integer Topological Defects Organize Stresses Driving Tissue Morphogenesis. bioRxiv. 2020 doi: 10.1101/2020.06.02.129262. [DOI] [PMC free article] [PubMed]
  22. Hannezo E, Dong B, Recho P, Joanny JF, Hayashi S. Cortical instability drives periodic supracellular actin pattern formation in epithelial tubes. PNAS. 2015;112:8620–8625. doi: 10.1073/pnas.1504762112. [DOI] [PMC free article] [PubMed] [Google Scholar]
  23. Hannezo E, Heisenberg CP. Mechanochemical Feedback Loops in Development and Disease. Cell. 2019;178:12–25. doi: 10.1016/j.cell.2019.05.052. [DOI] [PubMed] [Google Scholar]
  24. Hartmann R, Singh PK, Pearce P, Mok R, Song B, Díaz-Pascual F, Dunkel J, Drescher K. Emergence of three-dimensional order and structure in growing biofilms. Nature Physics. 2019;15:251–256. doi: 10.1038/s41567-018-0356-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Heydari N, Diplas P, Nathan Kutz J, Sadeghi Eshkevari S. Modal Analysis of Turbulent Flow near an Inclined Bank–Longitudinal Structure Junction. Journal of Hydraulic Engineering. 2021;147:04020100. doi: 10.1061/(ASCE)HY.1943-7900.0001856. [DOI] [Google Scholar]
  26. Higham. DJ. An Algorithmic Introduction to Numerical Simulation of Stochastic Differential Equations. SIAM Review. 2001;43:525–546. doi: 10.1137/S0036144500378302. [DOI] [Google Scholar]
  27. Jaynes ET, Cummings FW. Comparison of quantum and semiclassical radiation theories with application to the beam maser. Proceedings of the IEEE. 1963;51:89–109. doi: 10.1109/PROC.1963.1664. [DOI] [Google Scholar]
  28. Jin Y, Sendhoff B. IEEE Transactions on Systems, Man, and Cybernetics, Part C. Pareto-Based Multiobjective Machine Learning: An Overview and Case Studies; 2008. pp. 397–415. [DOI] [Google Scholar]
  29. Kac M. Can One Hear the Shape of a Drum? The American Mathematical Monthly. 1966;73:1. doi: 10.2307/2313748. [DOI] [Google Scholar]
  30. Kamien RD. The geometry of soft materials: a primer. Reviews of Modern Physics. 2002;74:953–971. doi: 10.1103/RevModPhys.74.953. [DOI] [Google Scholar]
  31. Kantsler V, Goldstein RE. Fluctuations, dynamics, and the stretch-coil transition of single actin filaments in extensional flows. Physical Review Letters. 2012;108:038103. doi: 10.1103/PhysRevLett.108.038103. [DOI] [PubMed] [Google Scholar]
  32. Keller PJ, Schmidt AD, Santella A, Khairy K, Bao Z, Wittbrodt J, Stelzer EHK. Fast, high-contrast imaging of animal development with scanned light sheet-based structured-illumination microscopy. Nature Methods. 2010;7:637–642. doi: 10.1038/nmeth.1476. [DOI] [PMC free article] [PubMed] [Google Scholar]
  33. Kingma DP, Ba J. Adam: A Method for Stochastic Optimization. arXiv. 2017 https://arxiv.org/abs/1601.00324
  34. Knowles I, Renka R. Electron J Diff Eqns. Methods for numerical differentiation of noisy data; 2014. [Google Scholar]
  35. Kobitski AY, Otte JC, Takamiya M, Schäfer B, Mertes J, Stegmaier J, Rastegar S, Rindone F, Hartmann V, Stotzka R, García A, van Wezel J, Mikut R, Strähle U, Nienhaus GU. An ensemble-averaged, cell density-based digital model of zebrafish embryo development derived from light-sheet microscopy data with single-cell resolution. Scientific Reports. 2015;5:8601. doi: 10.1038/srep08601. [DOI] [PMC free article] [PubMed] [Google Scholar]
  36. Kolmogorov AN. The local structure of turbulence in incompressible viscous fluid for very large Reynolds numbers. C R (Dokl) Acad Sci URSS. 1941;30:301–305. doi: 10.1098/rspa.1991.0075. [DOI] [Google Scholar]
  37. Kraichnan RH, Montgomery D. Two-dimensional turbulence. Reports on Progress in Physics. 1980;43:547–619. doi: 10.1088/0034-4885/43/5/001. [DOI] [Google Scholar]
  38. Krieg M, Arboleda-Estudillo Y, Puech P-H, Käfer J, Graner F, Müller DJ, Heisenberg C-P. Tensile forces govern germ-layer organization in zebrafish. Nature Cell Biology. 2008;10:429–436. doi: 10.1038/ncb1705. [DOI] [PubMed] [Google Scholar]
  39. Lenne PF, Munro E, Heemskerk I, Warmflash A, Bocanegra-Moreno L, Kishi K, Kicheva A, Long Y, Fruleux A, Boudaoud A, Saunders TE, Caldarelli P, Michaut A, Gros J, Maroudas-Sacks Y, Keren K, Hannezo E, Gartner ZJ, Stormo B, Gladfelter A, Rodrigues A, Shyer A, Minc N, Maître JL, Di Talia S, Khamaisi B, Sprinzak D, Tlili S. Roadmap for the multiscale coupling of biochemical and mechanical signals during development. Physical Biology. 2021;18:041501. doi: 10.1088/1478-3975/abd0db. [DOI] [PMC free article] [PubMed] [Google Scholar]
  40. Levy B. IEEE International Conference on Shape Modeling and Applications 2006. Laplace-Beltrami Eigenfunctions Towards an Algorithm That “Understands” Geometry; Matsushima, Japan. 2006. pp. 13–19. [DOI] [Google Scholar]
  41. Marchetti MC, Joanny JF, Ramaswamy S, Liverpool TB, Prost J, Rao M, Simha RA. Hydrodynamics of soft active matter. Reviews of Modern Physics. 2013;85:1143–1189. doi: 10.1103/RevModPhys.85.1143. [DOI] [Google Scholar]
  42. Maroudas-Sacks Y, Garion L, Shani-Zerbib L, Livshits A, Braun E, Keren K. Topological defects in the nematic order of actin fibres as organization centres of Hydra morphogenesis. Nature Physics. 2020;17:251–259. doi: 10.1038/s41567-020-01083-1. [DOI] [Google Scholar]
  43. Mason JC, Handscomb DC. Chebyshev Polynomials. CRC press; 2002. [DOI] [Google Scholar]
  44. Matlab . MathWorks. Natick, MA, USA: Matlab; 2019. [Google Scholar]
  45. Meacock OJ, Doostmohammadi A, Foster KR, Yeomans JM, Durham WM. Bacteria solve the problem of crowding by moving slowly. Nature Physics. 2020;17:205–210. doi: 10.1038/s41567-020-01070-6. [DOI] [Google Scholar]
  46. Mietke A, Jemseena V, Kumar KV, Sbalzarini IF, Jülicher F. Minimal Model of Cellular Symmetry Breaking. Physical Review Letters. 2019;123:188101. doi: 10.1103/PhysRevLett.123.188101. [DOI] [PubMed] [Google Scholar]
  47. Morita H, Grigolon S, Bock M, Krens SFG, Salbreux G, Heisenberg CP. The Physical Basis of Coordinated Tissue Spreading in Zebrafish Gastrulation. Developmental Cell. 2017;40:354–366. doi: 10.1016/j.devcel.2017.01.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  48. Münster S, Jain A, Mietke A, Pavlopoulos A, Grill SW, Tomancak P. Attachment of the blastoderm to the vitelline envelope affects gastrulation of insects. Nature. 2019;568:395–399. doi: 10.1038/s41586-019-1044-3. [DOI] [PubMed] [Google Scholar]
  49. Nocedal J, Wright S. Numerical Optimization. Berlin, Germany: Springer Science & Business Media; 2006. [DOI] [Google Scholar]
  50. Pope SB. In: Turbulent Flows. Pope SB, editor. Cambridge: Cambridge University Press; 2000. The scales of turbulent motion; pp. 182–263. [DOI] [Google Scholar]
  51. Power RM, Huisken J. A guide to light-sheet fluorescence microscopy for multiscale imaging. Nature Methods. 2017;14:360–373. doi: 10.1038/nmeth.4224. [DOI] [PubMed] [Google Scholar]
  52. Rackauckas C, Ma Y, Martensen J, Warner C, Zubov K, Supekar R, Skinner D, Ramadhan A, Edelman A. Universal Differential Equations for Scientific Machine Learning. arXiv. 2021 https://arxiv.org/abs/2001.04385
  53. Ramaswamy R, Jülicher F. Activity induces traveling waves, vortices and spatiotemporal chaos in a model actomyosin layer. Scientific Reports. 2016;6:20838. doi: 10.1038/srep20838. [DOI] [PMC free article] [PubMed] [Google Scholar]
  54. Reinbold PAK. Using noisy or incomplete data to discover models of spatiotemporal dynamics. Physical Review. E. 2020;101:010203(R) doi: 10.1103/PhysRevE.101.010203. [DOI] [PubMed] [Google Scholar]
  55. Reuther A, Kepner J, Byun C, Samsi S, Arcand W, Bestor D, Bergeron B, Gadepally V, Houle M, Hubbell M, Jones M, Klein A, Milechin L, Mullen J, Prout A, Rosa A, Yee C, Michaleas P. 2018 IEEE High Performance Extreme Computing Conference. Interactive Supercomputing on 40,000 Cores for Machine Learning and Data Analysis; 2018. pp. 1–6. [Google Scholar]
  56. Rohde LA, Heisenberg C. Zebrafish gastrulation: cell movements, signals, and mechanisms. International Review of Cytology. 2007;261:159–192. doi: 10.1016/S0074-7696(07)61004-3. [DOI] [PubMed] [Google Scholar]
  57. Romanczuk P, Bär M, Ebeling W, Lindner B, Schimansky-Geier L. Active Brownian particles. The European Physical Journal Special Topics. 2012;202:1–162. doi: 10.1140/epjst/e2012-01529-y. [DOI] [Google Scholar]
  58. Romeo N. surf-vec-defects. swh:1:rev:6dc742c376b0d085e19ece65f932ac6935342abaSoftware Heritage. 2022 https://archive.softwareheritage.org/swh:1:dir:ee914ebe4261f8ecd9656d8fede9b4b56bc67136;origin=https://github.com/NicoRomeo/surf-vec-defects;visit=swh:1:snp:fdca320e1b23108e79cc51d3ad08492d9baed6fe;anchor=swh:1:rev:6dc742c376b0d085e19ece65f932ac6935342aba
  59. Royer LA, Lemon WC, Chhetri RK, Wan Y, Coleman M, Myers EW, Keller PJ. Adaptive light-sheet microscopy for long-term, high-resolution imaging in living organisms. Nature Biotechnology. 2016;34:1267–1278. doi: 10.1038/nbt.3708. [DOI] [PubMed] [Google Scholar]
  60. Sandberg VD. Tensor spherical harmonics on S2 and S3 as eigenvalue problems. Journal of Mathematical Physics. 1978;19:2441–2446. doi: 10.1063/1.523649. [DOI] [Google Scholar]
  61. Saw TB, Doostmohammadi A, Nier V, Kocgozlu L, Thampi S, Toyama Y, Marcq P, Lim CT, Yeomans JM, Ladoux B. Topological defects in epithelia govern cell death and extrusion. Nature. 2017;544:212–216. doi: 10.1038/nature21718. [DOI] [PMC free article] [PubMed] [Google Scholar]
  62. Schmid PJ. Dynamic mode decomposition of numerical and experimental data. Journal of Fluid Mechanics. 2010;656:5–28. doi: 10.1017/S0022112010001217. [DOI] [Google Scholar]
  63. Scholich A, Syga S, Morales-Navarrete H, Segovia-Miranda F, Nonaka H, Meyer K, de Back W, Brusch L, Kalaidzidis Y, Zerial M, Jülicher F, Friedrich BM. Quantification of nematic cell polarity in three-dimensional tissues. PLOS Computational Biology. 2020;16:e1008412. doi: 10.1371/journal.pcbi.1008412. [DOI] [PMC free article] [PubMed] [Google Scholar]
  64. Schwab E, Cetingül HE, Afsari B, Vidal R. Rotation invariant features for HARDI. Information Processing in Medical Imaging. 2013;23:705–717. doi: 10.1007/978-3-642-38868-2_59. [DOI] [PMC free article] [PubMed] [Google Scholar]
  65. Shah G, Thierbach K, Schmid B, Waschke J, Reade A, Hlawitschka M, Roeder I, Scherf N, Huisken J. Multi-scale imaging and analysis identify pan-embryo cell dynamics of germlayer formation in zebrafish. Nature Communications. 2019;10:5753. doi: 10.1038/s41467-019-13625-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  66. Sknepnek R, Henkes S. Active swarms on a sphere. Physical Review. E, Statistical, Nonlinear, and Soft Matter Physics. 2015;91:022306. doi: 10.1103/PhysRevE.91.022306. [DOI] [PubMed] [Google Scholar]
  67. Slater JC, Koster GF. Simplified LCAO Method for the Periodic Potential Problem. Physical Review. 1954;94:1498–1524. doi: 10.1103/PhysRev.94.1498. [DOI] [Google Scholar]
  68. Solnica-Krezel L. Conserved patterns of cell movements during vertebrate gastrulation. Current Biology. 2005;15:R213–R228. doi: 10.1016/j.cub.2005.03.016. [DOI] [PubMed] [Google Scholar]
  69. Soong TT, Grigoriu M. Random Vibration of Mechanical and Structural Systems. NASA STI/Recon Technical Report A; 1993. [Google Scholar]
  70. Stein EM, Shakarchi R. Fourier Analysis: An Introduction. New Jersey, United States: Princeton University Press; 2011. [Google Scholar]
  71. Stelzer EHK. Light-sheet fluorescence microscopy for quantitative biology. Nature Methods. 2015;12:23–26. doi: 10.1038/nmeth.3219. [DOI] [PubMed] [Google Scholar]
  72. Streichan SJ, Lefebvre MF, Noll N, Wieschaus EF, Shraiman BI. Global morphogenetic flow is accurately predicted by the spatial distribution of myosin motors. eLife. 2018;7:e27454. doi: 10.7554/eLife.27454. [DOI] [PMC free article] [PubMed] [Google Scholar]
  73. Supekar R, Song B, Hastewell A, Choi GPT, Mietke A, Dunkel J. Learning Hydrodynamic Equations for Active Matter from Particle Simulations and Experiments. arXiv. 2021 doi: 10.1073/pnas.2206994120. https://arxiv.org/abs/2101.06568 [DOI] [PMC free article] [PubMed]
  74. Tu JH, Rowley CW, Luchtenburg DM, Brunton SL, Nathan Kutz J. On dynamic mode decomposition: Theory and applications. Journal of Computational Dynamics. 2014;1:391–421. doi: 10.3934/jcd.2014.1.391. [DOI] [Google Scholar]
  75. Wagner J. Regularised numerical differentiation. MATLAB. 2020 https://www.mathworks.com/matlabcentral/fileexchange/74165-regularised-numerical-differentiation
  76. Wang X, Shih HY, Goldenfeld N. In: Bulletin of the American Physical Society. Shih HY, editor. New York, United States: Simons Foundation; 2021. Emergence of puffs, weak and strong slugs from a stochastic predator-prey model for transitional turbulence with stream-wise shear interactions; pp. 65–69. [Google Scholar]
  77. Winkler RG, Wysocki A, Gompper G. Virial pressure in systems of spherical active Brownian particles. Soft Matter. 2015;11:6680–6691. doi: 10.1039/c5sm01412c. [DOI] [PubMed] [Google Scholar]

Editor's evaluation

Raymond E Goldstein 1

This work proposes a method to obtain a reduced description of the collective dynamics of thousands of cells moving together during zebrafish gastrulation as a few fundamental modes, and to derive effective dynamics for these modes. This well-written work enables a simplified picture of the key features of cellular collective motion, that will be useful to physicists and biologists looking for a quantitative understanding of morphogenesis.

Decision letter

Editor: Raymond E Goldstein1
Reviewed by: Sebastian Fürthauer2

In the interests of transparency, eLife publishes the most substantive revision requests and the accompanying author responses.

Decision letter after peer review:

Thank you for submitting your article "Learning developmental mode dynamics from single-cell trajectories" for consideration by eLife. Your article has been reviewed by 2 peer reviewers, and the evaluation has been overseen by a Reviewing Editor and Naama Barkai as the Senior Editor. The following individual involved in review of your submission has agreed to reveal their identity: Sebastian Fürthauer (Reviewer #2).

The reviewers have discussed their reviews with one another, and the Reviewing Editor has drafted this to help you prepare a revised submission.

Essential revisions:

1) How good is the mode decomposition?

– It is not a priori clear that the mode decomposition suggested is a good representation of the data. It would be helpful if the authors quantified and discussed the error between the continuous low dimensional representation of the data and the raw data.

– Along the same lines, are there a conditions under which mode decomposition is expected to fail? The authors should give a clear idea on when the ideas presented here are applicable and when not.

2) How trustworthy are the inferred summary statistics?

The summary statistic ( defect numbers / fluctuations ) need to be tested against some ground truth. If this is not possible from the data used here it would be illuminating if the authors could test against artificial data.

3) How predictive is the inferred forward model?

– In Figure 3 the authors compare the inferred dynamics and the real data. This is very appealing and the strong point of the paper. We are, however, confused whether the matrix M is inferred using the full time course of the experiment, or just parts of the time course. In other words is M just a way of rewriting the coefficients in Equation 7?

– As it stands we are unclear of what is being learned in M since there is no clear separation between a 'training' and a 'test' set of samples.

4) The paper could greatly benefit if the authors used their method to infer the known dynamics of some artificial data. Then they could validate the inferred model against time courses generated from different initial conditions and against unseen data.

5) We understand that the integral of the field ρ on the surface is 1? We would suggest to mention this already in Equation 1. We also assume that with this definition, J is not actually a cell number flux, but a normalised cell number flux?

6) Because the effective Equations 2a and 2b are written for normalised densities, we understand that cell division and death are effectively absorbed in a flux. So if cells were undergoing cell division in some region of space, and cell apoptosis in another region, this would be interpreted as a net flux between the two regions. Isn't that a potential issue of the method? Can the authors further comment on this?

7) We would argue that one central conclusion of the manuscript is in Figure S6, showing that local rules of interaction cannot explain the dynamics of the system. That is also one potential weakness of the approach: what is exactly learned by the effective dynamics? There is a complex set of interactions between modes suggested by Figure 3D but what is their meaning, given that Figure S6 also indicates, as the authors also point out, that there are missing unresolved players in the equations? The whole approach would be more convincing if the authors could show that the effective learned model have some predictive value. For instance, would changing the initial condition in the integration of the effective system, gives a result that makes sense in regard to the developmental dynamics; indicating that the effective dynamics is not tied to one particular realisation of the biological system?

Reviewer #1:

The authors present ideas for obtaining a low dimensional representations of the complex and rich data obtained in cell tracking experiments on zebra fish gastrulation. They argue that such a low dimensional representation can be used to infer a dynamical model from the data. These ideas are potentially very important. However, the methods presented here need to be more explicitly validated.

Reviewer #2:

Romeo et al. describe a method for the analysis of the collective flow of cells and its decomposition into modes of motion. The authors start by defining a local density and a local flux by coarse-graining the discrete data in a consistent way. The density and flux fields are then projected onto scalar and vectorial spherical harmonics, and the authors show that a relatively small number of modes is sufficient to account for the flow field; the evolution of some of these modes with lower symmetry reflects major changes in the cell density pattern in the embryo. The authors then look for a linear mode coupling, first order dynamics model for the modes of lowest order they have kept in their analysis. This procedure defines an effective model for the dynamics of the system. Looking in real space at the spatial couplings shows that these effective couplings do not decay spatially, but are long-ranged; indicating that local rules for fluxes cannot capture the dynamics of the system.

The authors presents an elegant and solid work which is done with a very high level of care and rigour. The excellent level of clarity of the manuscript, which presents its concepts in a well-structured manner, makes it really nice to read. The method described by the authors, notably, gives a way to analyse cellular trajectories in a reduced dimensional space which is helpful to characterise the complex cellular flows.

eLife. 2021 Dec 29;10:e68679. doi: 10.7554/eLife.68679.sa2

Author response


Essential revisions:

1) How good is the mode decomposition?

– It is not a priori clear that the mode decomposition suggested is a good representation of the data. It would be helpful if the authors quantified and discussed the error between the continuous low dimensional representation of the data and the raw data.

We thank the reviewer for raising this important point, which has been addressed in detail in the extended Appendix 2 (see also Appendix 2 – Figure 2).

First, we note that it is generally not straightforward to define a meaningful error between the raw particle data, which are restricted to a discrete point set, and the coarse-grained hydrodynamic fields, which are defined on a continuous domain (here given by the surface of the sphere). A theoretically meaningful and practically feasible approach is to quantify the information loss associated with different coarse-graining scales. In the new section of Appendix 2, “Information loss through coarse-graining”, we present measurements of the spectral entropy, which quantifies the variation in information content as the coarse-graining scale is varied. As the coarse-graining scale (kernel width) is increased, one finds that finer structures in the data become rapidly blurred before reaching a slower decay of information (Appendix 2 – Figure 2). Guided by this analysis, we selected a coarse-graining scale (yellow) in the domain where the information loss begins to decay more slowly. This choice ensures that key features of the cell density and fluxes remain well-resolved while also ensuring robustness against variations of the coarse-grain scale.

– Along the same lines, are there a conditions under which mode decomposition is expected to fail? The authors should give a clear idea on when the ideas presented here are applicable and when not.

We thank the reviewer for this comment. As is generally the case for hydrodynamic continuum models, mode decomposition succeeds when gradients in continuous fields are sufficiently smooth. This approach fails when fields are dominated by fine-scale structures or sharp features, such as shock fronts that lead to Gibbs ringing when represented spectrally. In those cases, the mode decomposition has long tails and fails to converge rapidly so that a direct real space representation of data may be more advantageous. In intermediate cases, where convergence is still fast, but the mode representation lacks sparsity, there is no practical benefit in switching from a real-space “pixel basis” to a mode representation. From a computational perspective, a mode representation is advantageous when spectral codes become faster than particle-based or finite-element-based simulation techniques.

For the simulated and experimental systems considered in our study, the density modes decay rapidly with wave-number and the raw flux modes derived from coarse-grained numerical derivatives of noisy data rapidly reach a noise-limited plateau at small mode amplitudes. We have added a supplementary figure to show this more explicitly (Figure 1—figure supplement 1). Therefore, our approach yields a satisfactory reconstruction of the deterministic part of the overall signal in terms of long-wavelength and low-frequency modes that facilitate the inference of hydrodynamic models and are clearly distinguishable from noise. To clarify this further, the revised manuscript contains a newly added Appendix 2 – Figure 1 that complements Video S2 and illustrates that a small number of modes is sufficient to represent the coarse-grained data well. Finally, we note that Appendix 2 provides a detailed description of the threshold-selection procedure (see also Appendix 2 – Figures 3 and 4), where we select thresholding parameters on the Pareto front to optimize the trade-off between reconstruction accuracy and sparsity of the mode representation.

2) How trustworthy are the inferred summary statistics?

The summary statistic ( defect numbers / fluctuations ) need to be tested against some ground truth. If this is not possible from the data used here it would be illuminating if the authors could test against artificial data.

We thank the reviewer for this suggestion. We have now added two additional analyses to validate the accuracy and robustness of the defect tracking. First, we successfully tested the defect tracking on simple example harmonic vector modes for which defects can easily be identified by eye (see new Figure 2—figure supplement 2). Second, to verify that experimental defect statistics robustly relate to the underlying microscopic data, we performed the coarse-graining and mode representation with two other kernel length scales and found very similar defect dynamics (new Figure 2—figure supplement 3). We also note that the defects tracked in the experimental data obey at all times the non-trivial condition that defect charges add up to 2, confirming that the extracted information is indeed accurate and robust. Because the defect tracking algorithm works reliably on single snapshots of cell fluxes, dynamic measurements are expected to be similarly robust.

3) How predictive is the inferred forward model?

– In Figure 3 the authors compare the inferred dynamics and the real data. This is very appealing and the strong point of the paper. We are, however, confused whether the matrix M is inferred using the full time course of the experiment, or just parts of the time course. In other words is M just a way of rewriting the coefficients in Equation 7?

– As it stands we are unclear of what is being learned in M since there is no clear separation between a 'training' and a 'test' set of samples.

We thank the reviewer for this question and have substantially expanded the description of the inference framework (main text pages 10-12 and Appendix 4; see in particular also Appendix 4 – Figure 1 for a detailed flowchart of the learning procedure).

In addition, we now validate the learning framework on synthetic test data generated from the analytically tractable active Brownian particle (ABP) model (pages 10-12 and new Figure 3 in the main text; see also new Appendix 3 for additional details and derivations). For this test case, we follow traditional approaches and divide the data into learning, validation, and prediction segments (new Figure 3D,E). We find that our inferred model fits the learning and validation segments well and has predictive power.

For the experimental data, we divide the data into learning and validation segments. In this case, the linear model Equation 12 (Equation 7) in the initially submitted manuscript with the learned mode coupling matrix M can indeed be understood as a compressed representation of the system dynamics. Given the complexity of the experimental data, we require the full range of the data to learn a model that displays good agreement with the training data.

The inferred model can, however, still be used to make predictions: we show in the new Figure 4—figure supplement 1 the output of the model for different initial conditions, such as another experimental zebrafish sample, a rotated initial condition, and an initial condition where 10 percent of the initial density at the animal pole has been numerically “scraped off''. All of these tests show dynamics that reproduce density patterns with the characteristic, elongated “fish shape”, and suggest that indeed the learned model can be used in a predictive context.

4) The paper could greatly benefit if the authors used their method to infer the known dynamics of some artificial data. Then they could validate the inferred model against time courses generated from different initial conditions and against unseen data.

We thank the reviewers for this excellent suggestion. We have now applied our framework to artificial ABP data sets with known ground truth that emulate the key challenges posed by the experimental data. As described in the revised manuscript on pages 10-12 and in Appendix 3, the particle data were generated by simulating the stochastic dynamics of ABPs on a sphere for which an analytic coarse-grained linear continuum model can be derived (Equation 47 in Appendix 3 and Equation 13 in the main text of the revised manuscript). We then applied our inference pipeline consisting of coarse-graining, mode projection, and model inference steps to this particle data. We found that the model inference approach learns a close approximation to the theoretical prediction (new Figure 3), even though the output from the particle data is obscured by noise and spatial information is blurred by coarse-graining. Remarkably, even modes that overlap little with the tested initial condition and thus have a low signal-to-noise ratio were found to follow the model with good agreement.

5) We understand that the integral of the field ρ on the surface is 1? We would suggest to mention this already in Equation 1. We also assume that with this definition, J is not actually a cell number flux, but a normalised cell number flux?

The reviewers are correct that J represents a normalized cell number flux and we thank them for pointing out that this was not explained clearly enough. We have now added this information directly to the text following Equation 1 in line 124 and amended the revised manuscript in line 134.

6) Because the effective Equations 2a and 2b are written for normalised densities, we understand that cell division and death are effectively absorbed in a flux. So if cells were undergoing cell division in some region of space, and cell apoptosis in another region, this would be interpreted as a net flux between the two regions. Isn't that a potential issue of the method? Can the authors further comment on this?

Cell division and death are indeed an important aspect of developmental processes.

As detailed in the main text subsection “Consequences of cell number variations in experimental data”, we show that under an assumption of a spatially-invariant and density-independent – but possibly time-dependent – growth rate, one can absorb effects of varying cell numbers into a normalization of cell density and cell flux. This assumption is motivated by the technical limitation of being unable to distinguish between “true” cell division/death events and imaging or processing artifacts leading to loss of cells, an issue that we discussed with the acknowledged experimental groups that kindly shared and explained their data. As the reviewers correctly point out, inhomogeneous growth would then contribute to effective fluxes. To compensate for those effective inhomogeneous fluxes, we enforce Equation 6 of the main text to relate density and flux modes. This correction only applies to the divergent part of the flux – more details on how we chose spectral projection parameters that optimize reconstruction of flux-derived metrics to heuristically preserve the implicit relationship between divergent and rotational flux components are presented in the section “Optimal compression in space and time” of Appendix 2 (Appendix III B in the previously submitted manuscript).

The overall agreement between the learned model and the experimentally observed dynamics suggests that this procedure provides a good approximation to the exact dynamics of the zebrafish system. We have made limitations arising from currently available data more explicit in the corresponding main text section “Consequences of cell number variations in experimental data”. It is important to emphasize, however, that this is not a fundamental limitation of the mode representation and inference framework. Indeed, as more accurate tracking data is likely to become available in the near future, one can expect that it will soon be possible to distinguish between tracking defects and mitosis or apoptosis (by, say, using suitable mitotic or apoptotic markers). This will make it possible to account for inhomogeneous cell growth in the modeling framework through an extra “growth” field which can be directly included in the local mass balance.

7) We would argue that one central conclusion of the manuscript is in Figure S6, showing that local rules of interaction can not explain the dynamics of the system. That is also one potential weakness of the approach: what is exactly learned by the effective dynamics?

We agree that the learned model in the previous manuscript version while describing the experimental data well, lacked interpretability. To address this point, and guided by the newly added analytical tractable case of ABP dynamics (pages 10-12 and new Figure 3 in the main text), we have substantially expanded the inference framework (new Appendix 4 section “Inference of the dynamical mode coupling matrix M” and flow chart Appendix 4 – Figure 1).

The computational improvements, which exploit recent advances in automatic differentiation of ODE solutions, (i) increased the numerical robustness of the inference scheme, (ii) identified a sparser model with higher predictive capability (Figure 4—figure supplement 1), and (iii) enabled through the comparisons with the ABP reference model a direct interpretation of the mode coupling matrix learned for the cellular dynamics during early zebrafish development.

Specifically, the improved model reveals interesting similarities and differences between models of ABPs on the sphere and the dynamics of migrating cells during zebrafish gastrulation. The improved model shows that flux-flux couplings are qualitatively similar for ABPs and zebrafish, while “off-diagonal” density-flux couplings represent longer-range and more inhomogeneous interactions in the experimental data (new Figure 4D, see also new Figure 3C vs. new Figure 4A,B). This suggests that one can interpret the experimentally observed collective cell migration in the zebrafish embryos as ABP dynamics with additional interactions.

These new results suggest an intriguing direction for future research: It will be interesting to study through theory and simulations how ABP models with different types of short-, intermediate- and longer-range particles interaction give rise to “off-diagonal” mode-couplings in effective linear models, and if (and how) such models could be improved by including nonlinear coupling terms in Equation 12, similar to triad interactions in nonlinear pattern formation and turbulence models.

There is a complex set of interactions between modes suggested by Figure 3D but what is their meaning, given that Figure S6 also indicates, as the authors also point out, that there are missing unresolved players in the equations?

We agree with the reviewer that Figure 3D, as presented in the previously submitted manuscript, was not ideal for conveying the structure of the learned model. We have therefore replaced this panel with a detailed comparison of the models learned for ABP and zebrafish data, respectively. We believe that, combined with new ABP results in Figure 3, this change leads to much better interpretability of the learned models. As stated in the response to the preceding comment/question, an interesting avenue for future theoretical analysis is to understand how different types of interactions give rise to the “off-diagonal” linear mode-couplings as well as to nonlinear mode couplings in generalized models.

The whole approach would be more convincing if the authors could show that the effective learned model have some predictive value. For instance, would changing the initial condition in the integration of the effective system, gives a result that makes sense in regard to the developmental dynamics; indicating that the effective dynamics is not tied to one particular realisation of the biological system?

We are grateful for this question, which led to the major theoretical and algorithmic improvements included in the revised manuscript. As shown in the new Figure 4—figure supplement 1, the sparser model identified by the enhanced inference framework can be integrated for different initial conditions.

Interestingly, we found that flux and density patterns similar to those seen in the coarse-grained experimental data robustly emerge under various perturbations of the initial conditions. Test examples included in the new Figure 4—figure supplement 1 correspond to an initial condition from the alternative experimental sample, a rotated initial condition, and a removal of cells near the animal pole of the original sample. It would be very interesting to see how the predictions of this model would compare to corresponding cell-displacement experiments in which a subset of cells is ‘surgically’ removed and/or ectopically transplanted during the early stages of zebrafish gastrulation.


Articles from eLife are provided here courtesy of eLife Sciences Publications, Ltd

RESOURCES