In label-free microscopy, cells are filmed without fluorescent stains, and their edges barely differ from the background. Automated tracking of such cells fails mainly because the detector cannot find the cells or their edges. Linking cells from frame to frame is not the hard part. On the CTMC benchmark, the same linker scores 99.32 MOTA when given ground-truth detections, while a standard detector-plus-tracker pipeline scores 23.59. Tracking accuracy there sits at 0.32–0.39 against roughly 0.95 for humans (CTMC). Yet almost all recent effort on learned motion and on interaction between agents sits downstream of detection. It assumes clean boxes or coordinates and cannot recover a cell the detector missed.
We propose to run the dependency the other way. A small, physically structured model of how a population of cells moves and pushes against each other predicts where every cell's boundary should lie in the next frame. That prediction is handed to the segmenter as a prior exactly where the image is ambiguous. The prior is built like a finite-volume simulation, a numerical scheme that tracks how much "stuff" crosses each face of a grid. Each cell is an occupancy field that can only change area by growing, and two cells can only trade territory across a shared boundary. Overlap is therefore impossible by construction, and the interaction is purely local. The model needs a few thousand parameters rather than a transformer over all pairs of cells. The bet is that this structure, not temporal context as such, is what carries over to cell lines the model has never seen.
Core Claim
A multi-cell motion prior that conserves each cell's area and excludes overlap improves segmentation and tracking of touching cells in low-contrast microscopy. It should beat a same-sized, unconstrained learned prior, and the gap should concentrate in two places. The first is the pixels where cells contact. The second is cell lines held out of training. The prior should also recover detections the segmenter missed, which current linkers such as TRACKASTRA explicitly cannot do.
What Is Being Built
Each tracked cell $i$ is represented by an occupancy field $u_i(x)\in[0,1]$ on the image grid, with background as one extra "cell." The prior advances these fields one frame using the flux/state decomposition of FINN. FINN splits a PDE into learnable flux kernels (transport across cell faces) and state kernels (sources and sinks), and uses 90% fewer parameters than ConvLSTM or TCN baselines on continuous fields. It was never applied to discrete, interacting agents. Our update is
$$u_i^{t+1}(x) = u_i^t(x) + \Delta t\Big(S_\theta\big(u_i^t\big)(x) - \sum_{y\sim x}\sum_{j} F_\phi\big(i{\to}j;\,x,y\big)\Big),\qquad F_\phi(i{\to}j) = -F_\phi(j{\to}i).$$
Here $y\sim x$ ranges over neighbouring pixels. $F_\phi$ is a small network giving how much occupancy moves from cell $i$ at $x$ to cell $j$ at $y$, conditioned on local occupancies and each cell's learned velocity state. $S_\theta$ is a per-cell growth term that is non-zero only for slow growth and at detected division events.
Because fluxes are antisymmetric, total occupancy at each pixel is conserved. A cell cannot invade a neighbour without that neighbour giving up the same area. This makes volume exclusion a property of the architecture rather than a loss term.
Cell centroids carry a small learned velocity state, in the spirit of learned motion models that replace constant-velocity filters (ETTrack). That state drives the advective part of $F_\phi$. Interaction cost scales with the length of shared boundary, not with the square of the number of cells.
The predicted fields for frame $t+1$ are rendered into a per-cell signed-distance map and an uncertainty map, the latter being the disagreement between the prior and the previous segmentation. The segmenter receives these maps alongside the image. It then refines its mask for a small number of iterations by feeding its output back in, borrowing the latent recycling of RecycleNet. RecycleNet iteratively refines ambiguous boundaries on static images. Our loop is anchored to a temporal, physically consistent proposal instead of the network's own previous guess.
When the segmenter's evidence for a cell falls below threshold but the prior still assigns it substantial occupancy, the cell is kept as a low-confidence track rather than dropped. This is the mechanism for recovering missed detections. Association then runs on the reconciled masks.
Relation to Prior Work
Three joint systems come closest, and each leaves out the piece we add.
MPM predicts a per-pixel motion-and-position field from phase-contrast video and links centroid peaks backward in time. It outputs points, not perimeters, and its peaks merge when cells touch. We predict full boundaries and make touching an explicit, constrained event.
TRACKASTRA shows that attention over coordinate tokens links cells far better than an integer-programming baseline (AOGM 23 vs 118 on BACTERIA). However, it depends entirely on upstream segmentation. We feed motion back into segmentation.
Neural Social Physics embeds a differentiable social-force model in neural differential equations and keeps collision rates at 0.1–0.6% under 2–5× denser crowds, against 3.8% for a black-box model. This is our strongest motivating evidence that hard interaction structure generalizes to denser regimes. But its agents are dimensionless points with perfectly known positions. Our agents are deformable regions whose extent must be inferred from a low-contrast image.
Two structured-dynamics works constrain the design. Variational Integrator Networks show that architectural conservation beats unconstrained recurrent networks on pixel rollouts (RMSE 3.4 vs 6.1), but only on toy single-body systems. Wasserstein Lagrangian Mechanics learns population interaction potentials but needs full-trajectory rollouts at training time, a cost noted as a bottleneck in this area. We avoid that cost by training the prior only on one-step and short-horizon predictions of the segmentation. This is possible because the image is re-observed every frame.
PINCoDE sets a constraint. Its physics-informed forecasts degrade roughly tenfold without known goals. Cells have no known goals, so our prior is deliberately myopic, acting one or a few frames ahead where the image corrects it.
Research Program
The work proceeds in three stages.
The first stage builds the prior and trains it on the Cell Tracking Challenge sequences, which have segmentation masks (Cell Tracking Challenge). Those masks are gold truth for only 17.8% of instances but silver truth for 99.1% on average. Silver-truth masks give the dense occupancy supervision the flux model needs. Gold masks are reserved for evaluation.
The second stage couples the prior to a segmenter and trains the coupled system with a segmentation loss plus a one-step prior-consistency loss.
The third stage measures where the gains come from. We stratify every metric by pixel type (interior, isolated edge, contact edge) and by whether a cell line appeared in training.
Baselines
The naive reference point is per-frame segmentation with no temporal information, followed by standard linking. On CTMC, the reported figures for this family are Tracktor with FasterRCNN at 23.59 MOTA, classical Viterbi tracking at TRA 0.39, and DeepCell at TRA 0.32 (CTMC). We reproduce the Viterbi and DeepCell numbers on our splits before comparing, so that any gain is measured against our own run. The ceiling is ground-truth detections with DeepSORT, reported at 99.32 MOTA and 94.23 IDF1. We report how much of the gap between floor and ceiling we close.
The strongest segmentation-side competitor is a boundary-focused static segmenter. We use MISNet's parallel reverse/boundary attention (MISNet, reported mDice 0.903 on Kvasir-SEG for polyps) and RecycleNet-style recycling. Both are trained on the same microscopy data with the same augmentation and hyperparameter search budget as our segmenter, and paired with the same linker.
The strongest tracking-side competitor is the best static segmenter followed by TRACKASTRA linking. Its reported results are AOGM 23 on BACTERIA and 7.9 on DeepCell/DynamicNuclearNet. No reported result was found on Lacuna for TRACKASTRA on CTMC, so we run it ourselves.
The strongest joint competitor is MPM. It reports detection F1 0.948 and association accuracy 96.9% on the mouse myoblast dataset, and we evaluate on that dataset under the same protocol.
Beating these means three things. We need higher TRA and IDF1 on CTMC than the best of them. We need higher segmentation accuracy on CTC gold masks, where no reported result was found on Lacuna for the specific DIC and phase-contrast sequences we use, so all methods are run by us. And we need to at least match MPM's 0.948 F1 on myoblasts.
Three ablations isolate the key ingredient. The first replaces the flux prior with a same-parameter-count unconstrained convolutional-recurrent prior that sees the same inputs. The second replaces it with a transformer prior 10–100× larger. The third keeps the flux architecture but removes antisymmetry, which allows overlap. A fourth, weaker prior, a constant-velocity Kalman prediction of boxes rendered as masks, tests whether shape and contact matter at all beyond centroid motion. All priors share the segmenter, training data, and compute budget.
Why not just…?
Why not just give the segmenter several stacked frames or the previous mask as input? This is the most serious threat. A temporal U-Net sees the same information and could learn contact behaviour implicitly. Our claim is narrower: it will learn it for the cell lines it was trained on, and the conserved-flux structure will transfer better. The leave-one-cell-line-out test on CTMC's 14 lines decides this. The cell-line wall documented by the Cell Tracking Challenge and CTMC's DeepCell result suggest learned appearance features do not transfer across lines. If a stacked-frame model matches our method on held-out lines and on contact pixels within seed variance, the physics claim is wrong. We would then report the result as a negative finding rather than reframe it.
Why not just use a better static boundary segmenter? MISNet and RecycleNet sharpen edges from appearance alone. Where two touching cells show no intensity edge between them, appearance cannot say where one ends. The contact-pixel stratification tests this directly. We predict that static segmenters close the gap on isolated edges but not on contact edges, while our prior helps mainly on contacts.
Why not just use MPM's joint motion-position map? MPM already fuses motion into detection and handles division. It localizes centroids, not boundaries, so it provides no area or exclusion constraint when peaks merge. The myoblast comparison checks whether we at least match it on its own benchmark. The contact-stratified CTC evaluation checks whether boundaries add anything beyond centroids.
Why not just use a larger black-box learned prior instead of physics? The evidence that structure beats capacity comes from other domains: PINCoDE's 0.77 m versus 1.33 m transformer ADE at 60 seconds, and the VIN pendulum results. It may not carry over to cells. The matched-size and oversized unconstrained priors in our ablations test this directly. The overlap-allowed variant tells us whether any advantage comes from exclusion specifically or merely from having a small model.
Proposed Experiments
Tracking is evaluated on CTMC with TRA, MOTA, and IDF1. We use both the standard split and a leave-one-cell-line-out protocol over its 14 lines, with three seeds each.
Boundary quality is evaluated on CTC DIC and phase-contrast sequences against gold masks. We report the segmentation benchmark score, stratified into interior, isolated-edge, and contact-edge pixels. We also run the mouse myoblast dataset to compare directly with MPM.
We count missed-detection recovery as the number of ground-truth cells absent from the segmenter's raw output but present after prior reconciliation. False-positive tracks created by the prior are counted separately.
Parameter efficiency is reported as accuracy versus prior parameter count across the three prior families. Runtime per frame is reported against the number of cells, to confirm the prior scales with contact length rather than quadratically.
Two outcomes are decisive. The first is whether the conserved-flux prior beats the matched unconstrained prior and the stacked-frame segmenter on held-out cell lines, with the gain concentrated at contact pixels. The second is whether removing antisymmetry erases that gain. If both hold, the idea is supported: interaction physics helps boundary perception rather than only downstream trajectory forecasting. If neither holds, temporal context alone is the useful ingredient and the physics is unnecessary.
References
- CTMC: Cell Tracking with Mitosis Detection Dataset Challenge
- TRACKASTRA: Transformer-Based Cell Tracking for Live-Cell Microscopy
- Composing Partial Differential Equations with Physics-Aware Neural Networks
- ETTrack: enhanced temporal motion predictor for multi-object tracking
- Abstract: RecycleNet - Latent Feature Recycling Leads to Iterative Decision Refinement
- MPM: Joint Representation of Motion and Position Map for Cell Tracking
- Human Trajectory Prediction via Neural Social Physics
- Variational Integrator Networks for Physically Meaningful Embeddings.
- A Call to Lagrangian Action: Learning Population Mechanics from Temporal Snapshots
- Physics-Informed Neural Controlled Differential Equations for Scalable Long Horizon Multi-Agent Motion Forecasting
- The Cell Tracking Challenge: 10 years of objective benchmarking
- Multi-scale information sharing and selection network with boundary attention for polyp segmentation