Efficient Column Generation for Cell Detection and Segmentation

Chong Zhang, Shaofei Wang, Miguel A. Gonzalez-Ballester, Julian YarkonyarXiv 2017

TL;DR

This paper introduces a highly efficient column generation approach to solve the cell instance segmentation problem by modeling it as an integer linear program (set packing). By leveraging the compact nature of biological cells, the authors break down a massive optimization problem into small, parallelizable sub-problems tightened with odd set inequalities. The resulting algorithm achieves state-of-the-art accuracy while running an order of magnitude faster than previous correlation clustering methods.

What Problem Does This Paper Address?

Segmenting individual cells in crowded biological images (such as light microscopy data) is notoriously difficult. Cells are often tightly packed, touching, or even occluding one another. Traditional computer-vision methods frequently struggle to separate individual instances without heavy manual parameter tuning or massive fully labeled training datasets.

The authors tackle instance segmentation—the task of identifying exactly which pixels belong to which unique cell—under the hard constraint that no two cells can overlap (i.e., share a common pixel). They frame this as a classic set packing problem, where the goal is to select a group of visually meaningful, non-overlapping cells from an astronomically large pool of possible cell shapes and locations.

Methods

To make this combinatorial problem tractable, the authors use a multi-step optimization pipeline:

  1. Superpixel Aggregation: As a preprocessing step, pixels are grouped into "superpixels" based on local visual similarity to reduce the dimensionality of the image.
  2. Set Packing Formulation: The problem is modeled as an Integer Linear Program (ILP). Variables represent potential cells (composed of superpixels), and constraints ensure no superpixel is selected more than once.
  3. Column Generation (CG): Because the number of possible cell configurations (columns) is too large to enumerate, the algorithm starts with an empty set and iteratively generates only the most promising cell candidates. This is done by alternating between a "master problem" (solving the current linear programming relaxation) and a "pricing problem" (finding new candidate cells that could improve the objective function).
  4. Anchor-Based Parallel Pricing: The key insight is that cells are small and compact. By treating each superpixel as a potential "anchor" (center) of a cell, the massive pricing problem is broken down into hundreds of tiny, independent ILPs that can be solved quickly and in parallel.
  5. Odd Set Inequalities: To prevent fractional solutions and tighten the linear programming relaxation, the authors introduce "triples" constraints (odd set inequalities of size three). Crucially, these constraints fit elegantly into the pricing problem without destroying its underlying structure.

The mathematical notation and modeling parameters used to control these constraints are summarized in the paper's technical tables:

Summary of Notation
Summary of Modeling Parameters

Datasets

The algorithm was evaluated on three distinct light microscopy datasets, each presenting unique challenges like densely packed cells, out-of-focus artifacts, and varying cell shapes:

  • Dataset 1 (Zhang et al., 2014a): Bright-field microscopy images containing approximately 1,768 yeast cells.
  • Dataset 2 (Peng et al., 2013): Transillumination images of fission yeast containing roughly 2,340 cells.
  • Dataset 3 (Arteta et al., 2012): Densely packed and touching cell aggregates containing around 1,073 cells.

Key Insights and Ideas

  • Exploiting Locality: The "aha moment" of the paper is realizing that because biological cells have a predictable maximum radius and volume, the search space for any single cell candidate is strictly local. This locality transforms an intractable global optimization problem into a series of trivial, parallelizable sub-problems.
  • Tightening Without Complexity: Typically, adding cutting planes to tighten a linear program breaks the tractability of the column generation pricing problem, forcing researchers to use complex "branch-and-price" machinery. Here, the authors demonstrate that odd set inequalities can be integrated directly into the pricing problem seamlessly.
  • Data Efficiency: Unlike deep learning approaches (e.g., U-Net) that require fully annotated segmentation masks for training, this method only requires a pixel classifier (trained on <1% of the pixels via interactive tools like ilastik) to generate the initial boundary potentials.

Key Results

  • Accuracy: The proposed method matched or exceeded state-of-the-art algorithms across all three datasets. It achieved exceptional F-scores for cell detection (0.98 on Dataset 1, 0.97 on Dataset 2, and 0.99 on Dataset 3).
  • Speed: The approach is approximately an order of magnitude faster than competing planar correlation clustering methods. Peak inference times ranged from 100 to 500 seconds per image without parallelization; utilizing parallel computing would reduce this drastically.
  • Anytime Inference: The algorithm naturally produces tight upper and lower bounds, allowing it to provide stable, high-quality "anytime" solutions if interrupted early.

Limitations and Future Work

  • Shape Assumptions: The current formulation relies heavily on the assumption that cells are compact and roughly circular or spherical. It may struggle with highly elongated, branching, or irregular structures (like neurons).
  • Future Extensions: The authors suggest extending the pricing problem to accommodate multiple distinct cell types simultaneously by incorporating transformations like rotations and scalings. They also plan to explore the use of dual feasible inequalities to further accelerate the convergence of the column generation process.

Summary updated

BibTeX
@misc{zhang2017efficient,
  author = {Chong Zhang and Shaofei Wang and Miguel A. Gonzalez-Ballester and Julian Yarkony},
  title = {{Efficient Column Generation for Cell Detection and Segmentation}},
  year = {2017},
  eprint = {1709.07337},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.07337},
}
Figure