Abstract
Moral Lineage Tracing (MLT) provides a mathematically rigorous framework for the simultaneous segmentation and tracking of cells in microscopy videos. However, its high computational cost has historically limited its application to small datasets. This paper introduces a suite of efficient algorithms, including Greedy Lineage Agglomeration (GLA), Kernighan-Lin with Optimal Branchings (KLB), and an improved branch-and-cut solver. These methods achieve up to a 100x speedup over previous state-of-the-art solvers, enabling the analysis of large-scale biological datasets with tens of thousands of edges while maintaining high accuracy.
Introduction
In developmental biology, lineage tracing is essential for understanding how cells move, divide, and differentiate. Traditional approaches often separate cell segmentation from tracking, leading to error propagation where under-segmentation in one frame ruins tracking in subsequent frames. The Moral Lineage Tracing Problem (MLTP) addresses this by treating segmentation and tracking as a single joint optimization problem on a hypothesis graph.
The Moral Lineage Tracing Problem
The MLTP uses a hypothesis graph where nodes represent cell fragments (superpixels). Edges within a frame represent potential merges for segmentation, while edges across frames represent potential temporal links or divisions. The "moral" constraint is a biological prior ensuring that a cell cannot have multiple distinct ancestors, resulting in a tree-like lineage structure.
While mathematically elegant, the original integer linear programming (ILP) formulation of MLTP was computationally prohibitive for modern high-resolution microscopy.
Proposed Methodology
To make MLTP practical for large-scale data, the authors propose three primary algorithmic improvements:
1. Greedy Lineage Agglomeration (GLA)
GLA is a bottom-up heuristic that begins with each fragment as an independent cell. It iteratively merges fragments or establishes temporal links that provide the greatest reduction in the objective cost function. This provides a fast, high-quality initial solution.
2. Kernighan-Lin with Optimal Branchings (KLB)
KLB is a local search heuristic that refines the lineage by moving fragments between cells or splitting existing cells. A key insight of this work is that for a fixed segmentation, finding the optimal tracking (branching) reduces to a Minimum Cost Bipartite Matching Problem. This reduction allows the algorithm to solve the tracking component in polynomial time using the Hungarian algorithm, significantly speeding up the local search.
3. Improved Branch-and-Cut
For applications requiring global optimality, the authors enhanced the branch-and-cut solver by introducing tighter mathematical constraints. Specifically, they added "odd wheel" constraints and refined morality constraints to the linear programming relaxation. These "cutting planes" prune the search space more effectively, preventing the solver from exploring non-physical fractional solutions.
Experimental Results
The proposed algorithms were evaluated on standard benchmarks like the HeLa cell dataset and new, larger "Flywing-wide" datasets.
- Massive Speedup: On the standard HeLa dataset, the new branch-and-cut solver reached optimality in about 15 minutes, whereas the original algorithm took over 43 hours (a ~170x speedup).
- Scalability: The GLA and KLB heuristics processed the largest "Flywing-wide" datasets (containing up to 76,000 edges) in seconds to minutes, providing high-quality lineages for instances that were previously considered inaccessible.
- Accuracy: The optimal solutions found by these algorithms outperformed common baseline tracking tools in both segmentation and tracking accuracy metrics.
Conclusion
By combining efficient primal heuristics with tighter global optimization constraints, this work transforms Moral Lineage Tracing from a theoretical framework into a practical tool for large-scale biological analysis. Future work will focus on extending these optimizations to 3D+time volumetric data and reducing the dependency on initial superpixel quality.
Summary updated