Research
Disco: Densely-overlapping Cell Instance Segmentation via Adjacency-aware Collaborative Coloring
Overview Research area: Computer vision for digital pathology — specifically cell/nuclei instance segmentation using graph-coloring theory. Technical level: Advanced (requires familiarity with graph t
- arXiv
- 2602.05420
- Published
- 2026-02-05
- Authors
- Rui Sun, Yiwen Yang, Kaiyu Guo, Chen Jiang, Dongli Xu, Zhaonan Liu, Tan Pan, Limei Han, Xue Jiang, Wu Wei, Yuan Cheng
AI summary
Overview
Research area: Computer vision for digital pathology — specifically cell/nuclei instance segmentation using graph-coloring theory.
Technical level: Advanced (requires familiarity with graph theory concepts such as bipartiteness, odd cycles, chromatic number, and with deep learning loss design).
Scope: The paper introduces Disco, a conflict-aware graph-coloring framework for segmenting densely overlapping cell nuclei, supported by a new large-scale gallbladder cancer frozen-section dataset (GBC-FS 2025) and a cross-dataset topological analysis of cell adjacency graphs.
What This Paper Is About
Cell instance segmentation — separating individual cell nuclei in microscopy images — is hard when cells are densely packed and touching. Existing methods based on detection, contours, or distance maps rely only on local pixel-level or geometric cues, so they break down in crowded cell clusters. This paper asks whether graph coloring, which models the global topology of which cells touch which, can solve the problem, and it shows that real cell adjacency graphs are not the simple two-color structures prior work assumed.
Key Contributions
-
First systematic topological analysis of real cell adjacency graphs. The authors quantify chromatic properties across four datasets and show that real cell graphs are fundamentally non-bipartite, dominated by odd-length cycles (mostly triangles), which invalidates the simple 2-coloring assumption.
-
The Disco framework. A conflict-aware "divide and conquer" method combining "Explicit Marking" (turning topological conflicts into a learnable classification target) with "Implicit Disambiguation" (resolving discrete-label ambiguity in continuous feature space through an end-to-end adjacency constraint).
-
GBC-FS 2025 dataset. A new large-scale stress-test dataset of 2,839 frozen-section images of gallbladder cancer with 864,204 annotated sub-cellular nuclei, exhibiting a conflict node ratio exceeding 30%.
-
State-of-the-art results and a new interpretability tool. Disco reports a 7.08% PQ improvement on GBC-FS 2025 and a 2.72% average improvement across all datasets, and pioneers the predicted "Conflict Map" as a topological quantification and interpretability tool.
Main Findings
-
Most real cell graphs are non-bipartite. Non-bipartite graphs constitute 56.67% of the images in CryoNuSeg and 29.17% in GBC-FS 2025. PanNuke was the only entirely bipartite dataset.
-
Triangles dominate the odd cycles. Across all non-bipartite datasets, 3-cycles account for over 90% of all odd cycles. Table 1 reports the proportion of 3-cycles among odd cycles as 97.94% on DSB2018, 98.12% on CryoNuSeg, and 90.51% on GBC-FS 2025 (PanNuke: 0.00%).
-
Conflict nodes are abundant in dense tissue. The conflict node ratio — the fraction of cells that cannot be resolved by 2-coloring — is 0.00% on PanNuke, 1.99% on DSB2018, 5.64% on CryoNuSeg, and 30.49% on GBC-FS 2025.
-
Secondary conflicts are real. Conflict nodes are frequently adjacent to one another. The secondary conflict node ratio is 1.84% on DSB2018, 4.82% on CryoNuSeg, and 24.64% on GBC-FS 2025.
-
Local connectivity grows with density. Over 99% of cells have three or fewer neighbors in DSB2018 (99.66%) and CryoNuSeg (99.11%), but this drops to 88.09% in GBC-FS 2025. Node degree distributions are long-tailed, with a maximum degree of up to 8.
-
Disco leads on AJI and PQ across all four datasets. On PanNuke, Disco reaches AJI 0.6566 and PQ 0.6271 (FCIS: 0.6394 and 0.6109). On DSB2018, AJI 0.8426 and PQ 0.7781. On CryoNuSeg, AJI 0.6134 and PQ 0.5970. On GBC-FS 2025, AJI 0.5209 and PQ 0.5087.
-
Largest gains on the hardest dataset. On GBC-FS 2025, Disco's AJI of 52.09% is a 6.91% absolute and 15.3% relative improvement over the second-best method FCIS (45.18%). Its PQ of 50.87% is a 7.08% absolute improvement over FCIS (43.79%).
-
A plain 2-coloring baseline fails badly. In the framework-level ablation on GBC-FS 2025, the 2-color baseline without conflict resolution achieves AJI 0.3785 and PQ 0.3376, versus Disco's AJI 0.5209 and PQ 0.5087.
-
The adjacency constraint loss is the key component. Adding the Adjacency Constraint Loss alone to the basic Explicit Marking model raises PQ from 42.57% to 48.26%, described as a substantial 6% absolute improvement. Combining all loss terms gives the best PQ of 50.87%.
-
The dynamic framework degenerates gracefully. On PanNuke, where 100% of cell adjacency graphs are bipartite, the authors state the framework automatically degenerates into an efficient 2-coloring model, outperforming the generic 4-color model FCIS.
Methodology in Plain English
The authors start from a theoretical fact: a graph can be colored with only two colors if and only if it contains no odd-length cycles. Since cells touch each other, you can build a "cell adjacency graph" where each cell is a node and each touching pair is an edge; if that graph is 2-colorable, you can assign alternating labels and separate every neighboring pair of cells. The authors build these graphs for four datasets (using 8-connected adjacency after a 3x3 dilation) and measure how often the 2-color assumption fails.
They find that failures come from small clusters of odd cycles — mostly triangles — so they design a method that handles the easy majority and the hard minority separately:
-
Explicit Marking (label generation). A breadth-first search extracts the maximal bipartite subgraph, splitting most cells into two independent sets (two colors). The leftover nodes are lumped into a single conflict set and given one dedicated third conflict color, producing a 4-value ground truth map where t = 3. The authors note that finding the true minimum conflict set is NP-hard, so this BFS approach is an efficient heuristic.
-
Implicit Disambiguation (model optimization). Because discrete colors cannot distinguish cells that share the conflict color and sit next to each other, the model is trained with a loss system designed to separate them in continuous feature space. The total loss is a weighted sum of five terms: a semantic loss, a coloring loss, a consistency loss, a conflict resolution loss, and the Adjacency Constraint Loss. The consistency and conflict terms act as a "push-pull" pair — suppressing misuse of the conflict color in simple regions and encouraging its correct use in complex ones. The adjacency loss minimizes cosine similarity between the mean probability vectors of all neighboring instances, essentially treating adjacent instances as negative samples in a supervised contrastive scheme.
Training used PyTorch on a server with eight NVIDIA RTX 4090 GPUs, the Adam optimizer with an initial learning rate of 1×10⁻⁴ and weight decay of 5×10⁻⁴, step-wise decay by a factor of 10 at epoch 70, linear warmup over the first 100 iterations, and 200 total epochs. Evaluation used Dice, AJI, DQ, SQ, and PQ.
The four datasets: PanNuke (7,901 images, 19 organs, 5 cell types, 189,744 instances; train/val on Folds 1 and 2, test on Fold 3), DSB2018 (670 fluorescence images, 29,443 instances; 536/67/67 split), CryoNuSeg (30 images from 10 organs, 8,178 instances; 96/12/12 patch split), and GBC-FS 2025 (2,839 H&E images, 864,204 sub-cellular nuclei; 2,271/284/284 split). All were preprocessed into 256×256 patches.
Why This Matters
Impact on research. The paper challenges an assumption that has been used in graph-coloring-based segmentation, including the earlier FCIS work, by providing quantitative evidence that real cell graphs violate bipartiteness. It also reframes the design question away from "which chromaticity is universally correct" toward a dynamic approach that adapts to the graph, and it offers the conflict map as a measurable, interpretable quantity for describing tissue complexity.
Real-world applications:
- Cancer grading and diagnosis. The motivating application is gallbladder cancer frozen sections, where accurate nuclei delineation supports grading decisions.
- Digital pathology workflows. Reliable instance segmentation underpins cell counting and morphological analysis in clinical and research pipelines.
- Spatial histology and tissue architecture studies. Modeling which cells touch which directly supports analysis of tissue organization.
- Stress-testing segmentation tools. GBC-FS 2025 with its 30.49% conflict node ratio offers a benchmark for evaluating algorithms in unusually dense scenes.
Industry relevance. The code is publicly released at https://github.com/SR0920/Disco, and the method targets a persistent failure mode of deployed pathology segmentation models: merging or splitting cells in crowded regions. Improved robustness in dense tissue reduces the need for manual correction, which is the practical bottleneck in scaling computational pathology.
Future Directions
-
Extending the conflict map to other tasks. The authors position the predicted Conflict Map as a new tool for interpreting topological complexity and for data-driven pathology research, but they do not report downstream clinical or biological studies using it.
-
Beyond the single conflict color. The framework deliberately stops decomposition early and assigns all leftover nodes one conflict color. The paper notes that a full recursive decomposition could theoretically continue on the remaining subgraph and that finding a minimum conflict set is NP-hard; the trade-off between the BFS heuristic and more exhaustive optimization is left for further study.
-
Generalization beyond the four evaluated datasets. The evaluation covers PanNuke, DSB2018, CryoNuSeg, and GBC-FS 2025. Whether the topological findings and the method transfer to other tissues, staining protocols, and imaging modalities is not established here.
-
Efficiency is not characterized. The paper does not report inference latency, parameter counts, memory usage, or computational cost, so the practical cost of the dual-branch network and the adjacency loss remains unquantified.
Target Audience
This paper is most useful to computer vision and medical image analysis researchers working on instance segmentation, particularly those interested in graph-based or topology-aware methods. It is also relevant to computational pathologists and biomedical engineers who need robust nuclei segmentation in dense tissue, and to benchmark developers looking for a deliberately hard test dataset. Readers need a working understanding of graph theory (bipartite graphs, odd cycles, chromatic number) and deep learning loss design to follow the method section in detail.
Authors’ abstract
Accurate cell instance segmentation is foundational for digital pathology analysis. Existing methods based on contour detection and distance mapping still face significant challenges in processing complex and dense cellular regions. Graph coloring-based methods provide a new paradigm for this task, yet the effectiveness of this paradigm in real-world scenarios with dense overlaps and complex topologies has not been verified. Addressing this issue, we release a large-scale dataset GBC-FS 2025, which contains highly complex and dense sub-cellular nuclear arrangements. We conduct the first systematic analysis of the chromatic properties of cell adjacency graphs across four diverse datasets and reveal an important discovery: most real-world cell graphs are non-bipartite, with a high prevalence of odd-length cycles (predominantly triangles). This makes simple 2-coloring theory insufficient for handling complex tissues, while higher-chromaticity models would cause representational redundancy and optimization difficulties. Building on this observation of complex real-world contexts, we propose Disco (Densely-overlapping Cell Instance Segmentation via Adjacency-aware COllaborative Coloring), an adjacency-aware framework based on the "divide and conquer" principle. It uniquely combines a data-driven topological labeling strategy with a constrained deep learning system to resolve complex adjacency conflicts. First, "Explicit Marking" strategy transforms the topological challenge into a learnable classification task by recursively decomposing the cell graph and isolating a "conflict set." Second, "Implicit Disambiguation" mechanism resolves ambiguities in conflict regions by enforcing feature dissimilarity between different instances, enabling the model to learn separable feature representations.