DLA-Count: Dynamic Label Assignment Network for Dense Cell Distribution Counting

Yuqing Yan, Yirui WuarXiv 2025 · DOI

Abstract

Accurate cell counting in dense biological images is a critical bottleneck in digital pathology, often hampered by morphological diversity and overlapping cell boundaries. We present DLA-Count, a novel deep learning framework designed to resolve these challenges through dynamic adaptation. By introducing K-adjacent Hungarian Matching (KHM) for density-aware label assignment and Multi-scale Deformable Gaussian Convolution (MDGC) for irregular morphology modeling, DLA-Count achieves state-of-the-art performance. Experimental results across four benchmark datasets demonstrate significant error reductions, including a 51.2% improvement in Mean Absolute Error (MAE) on the ADI dataset.

Introduction

Automated cell counting systems face three primary hurdles: significant morphological variation across tissues, blurred boundaries in dense clusters leading to miscounts, and inconsistent imaging quality. Traditional fixed-threshold matching strategies often fail in heterogeneous environments where cell density varies locally. DLA-Count addresses these limitations by shifting from rigid global parameters to a context-aware architecture that adapts both its matching logic and its convolutional kernels to the local biological environment.

Methodology

DLA-Count is built on an encoder-decoder architecture utilizing a pre-trained VGG16-BN backbone for robust feature extraction. These features are processed by the Gaussian-enhanced Feature Decoder (GFD), which fuses multi-scale information while applying spatial attention to isolate cell signals from background noise.

The overall architecture of DLA-Count, featuring the VGG16 encoder and the Gaussian-enhanced Feature Decoder.

K-adjacent Hungarian Matching (KHM)

A core innovation of DLA-Count is the KHM algorithm. Unlike standard one-size-fits-all matching radii, KHM calculates a density-adaptive search radius based on the $k$-nearest ground truth points. This allows the model to "shrink" its search area in crowded regions to prevent false matches and "expand" it in sparse areas to ensure no cells are missed.

The core design of the K-adjacent Hungarian Matching (KHM) algorithm, showing how the search radius adapts to local density.

Multi-scale Deformable Gaussian Convolution (MDGC)

To better represent biological structures, MDGC replaces standard square convolutional grids with learnable anisotropic Gaussian kernels. These elliptical kernels can stretch and rotate, allowing the network to capture the irregular shapes of various cell types more naturally than rigid filters.

Experimental Results

The model was rigorously evaluated on four diverse datasets: ADI (dense adipose tissue), MBM (bone marrow), VGG (synthetic bacteria), and DCC (multi-lineage stem and immune cells). DLA-Count established new state-of-the-art records across these benchmarks:

  • ADI Dataset: Achieved an MAE of 4.1, a 51.2% improvement over previous methods.
  • MBM Dataset: Achieved an MAE of 0.1, representing a 92.9% improvement.
  • VGG Dataset: Reduced counting errors by 51.2%.

While the model excels in dense scenarios, a slight performance gap was noted on the DCC dataset. This is attributed to extreme scale variance and sparse distributions where explicit density estimation modules—currently absent in DLA-Count—might provide additional benefits.

Conclusion

DLA-Count demonstrates that local context-aware matching and flexible kernel shapes are essential for high-fidelity cell counting in dense biological environments. By moving away from rigid thresholds, the framework provides a more robust solution for clinical and research pathology. Future work will focus on developing multi-resolution feature extraction to better handle the extreme scale variations found in sparse cell populations.

Summary updated

BibTeX
@misc{yan2025dla,
  author = {Yuqing Yan and Yirui Wu},
  title = {{DLA-Count: Dynamic Label Assignment Network for Dense Cell Distribution Counting}},
  year = {2025},
  eprint = {2503.12063},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.12063},
}
Figure