arXiv:2610.39880cs.CVOct 2026

Manuscript Offprint

arXiv:2610.39880

What Survives Label Downsampling? Exact Region Survival for Coarse Segmentation Targets

Zhiyuan Zhang, Yukun Ou, San Tek Choi

Zhiyuan Zhang 1,∗^{1,*} Yukun Ou 2,∗^{2,*} San Tek Choi 3,∗^{3,*}

1^{1}East China Jiaotong University 2^{2}Imperial College London 3^{3}University of Macau

*Equal contribution. Correspondence: 2025028081100018@ecjtu.edu.cn

a

Figure

b

Image with labels

29 nuclei

MatchDown (ours): built once, before training

lost or missed nucleus

certificate cell (Thm. 4)

nucleus

coarse cell

support edge

matched cell

Figure 1. Overview. One held-out BBBC039 crop (192×288 pixels, 29 nuclei), downsampled by a factor of 16 and chosen because majority pooling loses many of its nuclei (10.1% of all BBBC039 nuclei at this factor). (a) The image with its labels; the dashed square is the 5×5-cell window shown in (c). (b) Majority pooling gives each cell the label that covers most of its pixels, so a nucleus that is not the majority in any cell is missing from the target. Here 21 nuclei are missing (outlined), and the affinity head trained on this target misses 14 (seed 0, default thresholds). (c) MatchDown on the window: the label map on the grid; the support graph linking each nucleus to every cell it overlaps (Theorem 1); the minimum-cost matching (filled cells, Theorem 3), in which two nuclei share only the top-left cell, so one of them must be lost and that cell (dashed) certifies the loss (Theorem 4); and the resulting target, which loses exactly that nucleus. (d) The MatchDown-P target of the whole crop loses one nucleus, and the head trained on it misses 3.

Abstract

Segmentation networks that predict at an output stride are trained against label maps downsampled by strided sampling, nearest-neighbor resampling or majority pooling. These methods label each coarse grid cell on its own, so a region that wins no cell is absent from the target and receives no positive label. We present MatchDown, which builds the coarse target from a minimum-cost matching between regions and the grid cells they occupy. It keeps as many regions as any one-region-per-cell target can, certifies how many losses are unavoidable, and with priority tiers (MatchDown-P) keeps every evaluated region (a region that a metric scores) of at least one cell's area. On COCO, Cityscapes and BBBC038 at factors 2 to 16, MatchDown-P loses exactly the minimum number of regions, whereas the downsampling used by StarDist, nnU-Net and connectomics pyramids loses four to five times as many on COCO at factor 8. Keeping a region in the target and reconstructing its shape are different problems: we show that no region lost by majority pooling can be reconstructed above IoU 0.5 by upsampling any coarse target, yet on BBBC038 a star-convex head trained on MatchDown targets segments 35% of the nuclei that majority pooling loses above IoU 0.5, against 15% when trained on majority targets and 24% on StarDist's strided target. On two nucleus datasets, with thresholds cross-validated for count error, this head has instance accuracy at IoU 0.5 (Acc 50_{50}) 2.6 to 4.2 points above the strided target and at most 2.8 points below cell-center sampling, and a lower count error than the strided and cell-center targets on BBBC039. On BBBC039, an affinity head, which outputs one label per cell, lowers count error relative to majority targets by 9.3 nuclei per image at 7.2 points lower Acc 50_{50}. MatchDown runs once, before training, in place of the label-downsampling step.

1. Introduction

Many segmentation networks learn from labels at a coarser resolution than the image. Grid-based object heads such as StarDist build their target by sampling the label map with a stride, lbl[::f, ::f] [48], and nnU-Net v2 resamples the labels of its deep-supervision heads with nearest-exact interpolation [15, 28]. DeepLab subsampled its ground truth by 8 [8], and connectomics pyramids pool labels 2×22 \times 2 per level with the mode [49]. Each of these methods labels every coarse grid cell independently of the others, so a region that is not selected in any cell it touches is missing from the target (Fig. 1). These losses are not limited to tiny regions: at factor 8, the standard methods lose 150 to 195 regions of a cell or more on 1,000 COCO panoptic images, and majority pooling loses 8.8% of the nuclei of BBBC038 (Sec. 4.2).

For some heads the coarse target cannot be avoided. Grid-based instance heads such as StarDist, CenterNet and SOLO assign one object to each output cell [48, 53, 57], StarDist's 3D models predict on a subsampled grid to fit volumes in memory [54], deep supervision needs a label at every scale [28], and label pyramids are built once and reused [49]. Patch-token heads of vision transformers [16, 42] face the same choice whenever their loss is computed on the token grid rather than after upsampling. A region missing from the coarse target receives no positive label in that image; a network may still find it by generalizing from other images, but it is not trained to.

A coarse target faces two separate limits: whether a region is assigned a cell at all, and how well whole cells reproduce its shape. A 2×22 \times 2 nucleus inside an 8×88 \times 8 cell of background is lost by majority pooling; kept, its whole-cell mask reaches an IoU of only 4/64. Both fail an IoU-0.5 test, but only the kept nucleus gives a shape-predicting head a cell from which to regress its outline. Small size alone does not force a loss: tiny regions survive whenever enough distinct cells are available, whereas of k regions that lie inside a single cell and touch no other, at most one can be kept. Keeping every region is therefore not always possible, because several regions can compete for the same few cells. Soft-label downsampling [1] keeps the class proportions of each cell but does not specify which regions are kept. Greedy rescue recovers about half of the lost regions on COCO and nearly all lost nuclei, but it has no guarantee and can keep as few as k+1k+1 of 4k+14k+1 regions (Sec. 3.7). Chen and Peng's topology-preserving integer program [7] handles binary masks and can be infeasible. None of these methods determines how many regions can be kept on a given grid, which losses are unavoidable, or which target attains the maximum.

We answer these questions with MatchDown (matching-based downsampling), which builds coarse targets from the support graph between regions and the grid cells that contain them (Fig. 1c). With priority tiers (MatchDown-P), it keeps every evaluated region of at least one cell's area and loses only the minimum number of evaluated regions. Our analysis has three parts. Exact survival: the sets of regions that can be kept together are the independent sets of a transversal matroid, and every region of at least one cell's area can be kept, because k such regions touch at least k cells. A single minimum-cost matching attains the maximum with the least pixel disagreement. Lower bound and certificates: every unavoidable loss is certified by a cluster of k regions that share fewer than k cells. Costs: a coverage threshold admits the same exact count, a per-region bound limits the IoU that any coarse target can reach (no region that majority pooling loses can exceed IoU 0.5), and a constrained repair removes some of the spurious adjacencies that keeping more regions introduces. We build on classical results [17, 18, 25] and solve with standard minimum-cost matching [29]; our contribution is the formulation and its guarantees.

On COCO, Cityscapes and BBBC038 at factors 2 to 16, MatchDown-P loses exactly the minimum number of evaluated regions and none of a cell or more, while the standard methods lose four to five times the minimum on COCO at factor 8 (Fig. 2). The kept regions are reconstructed coarsely: on COCO-R at factor 8, the share of reachable regions reconstructed at IoU 0.5 falls from 98.4% for majority pooling to 89.5% (Tab. 1), and none of the regions that majority pooling loses can be reconstructed above IoU 0.5 by upsampling any coarse target (Proposition 5). The kept regions still help a shape-predicting head: trained on MatchDown targets, a star-convex head segments 35% of the BBBC038 nuclei missing from the majority target above IoU 0.5, against 15% on majority targets and 24% on StarDist's strided target. With cross-validated thresholds it has the lowest count error of the targets in Tab. 2, with Acc50Acc_{50} 2.6 to 4.2 points above the strided target and at most 2.8 below cell-center sampling; on BBBC038 the strided head has the lower count error when the NMS range is extended to 0.1 (Tab. S13). On BBBC039 at factor 16, an affinity head, which outputs one label per cell, detects 30% of the nuclei missing from the majority target, against 3% for the head trained on that target, and lowers count error by 9.3 nuclei per image at 7.2 points lower Acc50Acc_{50}. On BBBC038 at factor 8, greedy rescue and a full-resolution loss match MatchDown's count reduction, the latter at higher Acc50Acc_{50}; building a MatchDown target takes 1.7 to 1.9 times as long as majority pooling.

Our contributions are summarized as follows:

• Exact region survival on a fixed coarse grid: a matching formulation of label downsampling with maximum-survival targets at minimum disagreement, loss certificates and the one-cell guarantee.

• Assignment versus reconstruction: a per-region IoU bound that no region lost by majority pooling can exceed, and evidence that a shape-predicting head recovers such regions beyond it.

• A label-level evaluation and training results against the downsampling of StarDist, nnU-Net and connectomics pyramids, with two heads on two nucleus datasets. Code and all coarse targets will be released.

References (48)