Moral Lineage Tracing

Florian Jug, Evgeny Levinkov, Corinna Blasse, Eugene W. Myers, Bjoern Andres

Abstract

Understanding the development of multicellular organisms requires precise tracking of individual cells across space and time. Traditional methods treat cell segmentation and tracking as sequential tasks, leading to error propagation. This paper introduces Moral Lineage Tracing, a framework that jointly optimizes both tasks by formulating them as an Integer Linear Program (ILP). By incorporating biological priors—specifically the "morality" constraint that cells may divide but never merge—the method achieves state-of-the-art accuracy in reconstructing complex lineage forests. Evaluation on diverse biomedical datasets demonstrates robust performance and near-optimal solutions.

Introduction

In developmental biology, lineage tracing is the process of mapping the history of cell divisions and movements. The standard pipeline involves two discrete steps: segmentation (identifying cells in individual frames) and tracking (linking cells across frames). However, segmentation errors, such as the accidental merging of two adjacent cells, often create insurmountable hurdles for subsequent tracking algorithms.

To address this, we propose a joint optimization approach. By solving for segmentation and tracking simultaneously, the model can leverage temporal consistency to resolve spatial ambiguities. The primary challenge lies in ensuring that the resulting lineages are biologically plausible. We enforce this through a "morality" constraint, reflecting the biological reality that while cells divide ($1 \to 2$), they do not fuse ($2 \to 1$).

Methodology

The problem is modeled using a Hypothesis Graph, where nodes represent "cell fragments" (superpixels) and edges represent potential associations either within a single frame or across consecutive time points.

Figure 1: The hypothesis graph represents potential cell fragments as nodes and their possible associations as edges. The goal is to find a "lineage cut" that partitions the graph into distinct cell lineages over time.

Integer Linear Programming (ILP)

We cast lineage tracing as a minimum cost multicut problem. The objective function minimizes the total cost of cutting edges, which corresponds to separating fragments into different cells or lineages. The ILP formulation includes costs for cell appearance and disappearance to account for cells entering or leaving the field of view.

The Morality Constraint

The core innovation is the introduction of Path-Cut Inequalities to enforce biological constraints. Specifically, we define three types of cycles that must be satisfied:

  1. Space Cycles: Ensuring consistent segmentation within a single frame.
  2. Spacetime Cycles: Ensuring consistent tracking across frames.
  3. Morality: Preventing "immoral" configurations where two distinct lineages at time $t$ merge into a single lineage at time $t+1$.
Figure 2: Illustration of the fundamental constraints used in the ILP: (a) Space cycles for consistent segmentation, (b) Spacetime cycles for consistent tracking, and (c) the Morality constraint which prevents cell merging.

Optimization via Branch-and-Cut

Given the NP-hard nature of the ILP, we employ a branch-and-cut algorithm. Rather than specifying all possible constraints upfront, the solver iteratively identifies and adds only the violated constraints (cuts) as needed, significantly improving computational efficiency and allowing for near-optimal solutions on large-scale data.

Experimental Results

The method was evaluated on two challenging datasets: N2DL-HeLa (human cancer cells) and the Flywing Epithelium (developing fruit fly wing).

On the Flywing dataset, which features dense cell populations and no background, our "Moral" approach significantly outperformed the industry-standard Packing Analyzer. We achieved a segmentation score (SEG) of 0.9722 and a tracking score (TRA) of 0.9813, compared to the Packing Analyzer's scores of 0.7980 and 0.9206, respectively. Furthermore, for smaller benchmarks, the algorithm consistently reached the mathematically global optimum, and for larger instances, it remained within 1% of optimality.

Discussion and Conclusion

By integrating biological priors directly into the optimization objective, Moral Lineage Tracing bridges the gap between low-level image processing and high-level biological modeling. The joint optimization allows the system to "fix" segmentation errors using tracking data—for instance, splitting a merged segment if a strong tracking link suggests two distinct ancestors.

Future work will focus on reducing the dependency on initial superpixel quality and improving the scalability of the LP relaxation for massive 3D+time datasets. Nonetheless, the current framework provides a robust, mathematically grounded solution for high-fidelity lineage reconstruction in developmental biology.

Summary updated

BibTeX
@inproceedings{jug2016moral,
  author = {Florian Jug and Evgeny Levinkov and Corinna Blasse and Eugene W. Myers and Bjoern Andres},
  title = {{Moral Lineage Tracing}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.638},
}
Figure