arXiv:2609.00704cs.CVSep 2026

Manuscript Offprint

arXiv:2609.00704

FTU-Seek: Foundation Model-Guided Hard-Negative Learning for Sparse Functional Tissue Unit Segmentation

Zonghao Liu, Lei Su, Jiguang Yu, Xuqing Geng, Louis Shuo Wang, Jianmin Wang, Jingfeng Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Background/Objectives: Functional tissue units (FTUs), including tertiary lymphoid structures (TLSs), blood vessels, and glands, encode localized immune, vascular, and epithelial organization in histopathology. Accurate quantification of these structures is important for studying tissue architecture and disease-associated tissue organization. However, FTUs are frequently sparse, heterogeneous, and surrounded by large amounts of morphologically similar background tissue, making automated segmentation in whole-slide images (WSIs) challenging. We therefore developed FTU-Seek, a pathology foundation model-guided framework that treats morphology-aware negative-patch selection as a key component of sparse FTU segmentation. Methods: FTU-Seek uses frozen multi-depth features from the UNI pathology foundation model to train a patch-level classifier that distinguishes FTU-containing from FTU-absent tissue. Target-absent patches are subsequently ranked according to their predicted target-containing probabilities, and the highest-scoring hard negatives are selected through a static TopK strategy to construct compact segmentation training sets. The framework was evaluated using five-fold cross-validation and internal test cohorts across TLS, blood-vessel, and gland segmentation tasks, with an additional independent 30-WSI held-out cohort for TLS. Positive-only, all-tissue, random-negative, and matched random TopK sampling strategies served as comparators. Segmentation-derived phenotypes were further explored in external TCGA cohorts. Results: The patch-level classifiers achieved mean validation AUCs of 95.92%, 90.11%, and 98.16% for TLS, blood vessel, and gland classification, respectively. For TLS segmentation, the pre-specified Top1000 configuration retained 27.6% of the all-tissue training workload and achieved a slide-level Dice of 76.69±11.89%76.69 \pm 11.89\% on the independent 30-WSI held-out cohort. Compared with matched random Top1000 sampling, it improved Dice by 3.72 percentage points (95% CI, 2.05–5.38). Blood vessel and gland segmentation achieved performance approaching all-tissue training while reducing the retained training workload by approximately one-half and one-third, respectively. Compared with matched random sampling, classifier-guided hard-negative selection produced the greatest improvements for sparse and morphologically ambiguous FTUs. Exploratory TCGA analyses further showed associations of TLS phenotypes with overall survival, vascular phenotypes with overall survival and microvascular invasion, and glandular phenotypes with clinicopathological characteristics. Conclusions: FTU-Seek demonstrates that pathology foundation models can support sparse FTU segmentation not only through feature representation but also through morphology-aware construction of segmentation training sets. By prioritizing informative hard negatives, the framework reduces redundant segmentation-training workload while maintaining competitive segmentation performance and supporting quantitative tissue phenotyping from routine histopathology.

Keywords: absorbing Markov chains; gambler's ruin; increasing failure rate; remaining useful life; preventive intervention; remote patient monitoring.

MSC Classification: 60J10, 60G40, 60K10, 90B25, 15B48.

1 Introduction

Whole-slide images (WSIs) are increasingly used not only for diagnosis, grading, and treatment planning, but also for quantitative analysis of tissue architecture and the tumor microenvironment [1–3]. Beyond large histological compartments, WSIs contain spatially localized microscopic structures that reflect complementary biological processes. Glandular structures encode epithelial differentiation and architectural organization [4–6], blood vessels reflect angiogenesis and vascular remodeling [7, 8], and tertiary lymphoid structures (TLSs) represent organized antitumor immune activity [9–12]. In this study, we use the term functional tissue units (FTUs) to describe these histologically identifiable multicellular structures whose morphology, abundance, and spatial organization are linked to epithelial, vascular, or immune functions. Accurate FTU segmentation may therefore provide a practical route for extracting interpretable image-derived phenotypes from routine histopathology slides [13–16].

A central challenge in FTU analysis is that these structures are frequently sparse, heterogeneous, and embedded within large amounts of target-absent tissue. As shown in Figure 1, the representative FTUs studied here differ substantially at the instance, patch, and pixel levels. TLSs and blood vessels occupy only a small fraction of tissue patches and total tissue area [17–20], whereas glandular structures are more abundant but still exhibit considerable architectural and morphological variability [21–23]. Their spatial distributions are also highly uneven across prostate cancer, liver cancer, and pancreatic cancer WSIs, as illustrated in Figure 2. Manual delineation by pathologists is possible but labor-intensive, particularly when FTUs are small, fragmented, boundary-ambiguous, or visually confounded by surrounding tissue [24–28]. These characteristics make FTU segmentation a sparse-structure learning problem rather than a conventional segmentation task involving large and spatially continuous regions.

Deep learning-based WSI segmentation has achieved strong performance for relatively large and spatially continuous compartments, such as tumor parenchyma, necrosis, and stroma [29–34]. Sparse FTU segmentation imposes a fundamentally different constraint. Target-containing patches often represent only a small minority of all tissue patches, whereas the substantially larger target-absent pool contains both redundant easy negatives and a limited subset of morphologically target-like regions that can trigger false-positive (FP) predictions [35, 36]. Training on all tissue patches is therefore inefficient because a large proportion of the negative samples contributes little additional information. Random negative sampling reduces the training workload, but may fail to retain the rare background regions that most closely resemble the target and are therefore most important for FP suppression. Accordingly, sparse FTU segmentation is not only a pixel-level prediction problem, but also a WSI-scale training-set construction problem: the model must be exposed to sufficiently informative negative tissue without being dominated by redundant background patches.

Instance-level count

Figure

FTU-containing patch ratio (%)

FTU pixel area ratio (%)

Fig. 1 Quantitative assessment of spatial sparsity across representative functional tissue units (FTUs). Glands, blood vessels (BVs), and tertiary lymphoid structures (TLSs) were compared at the instance, patch, and pixel levels. Instance-level sparsity was assessed using FTU instance counts; the proportion of FTU-containing tissue patches measured patch-level sparsity; and pixel-level sparsity was quantified using the FTU pixel area ratio at a spatial resolution of 1 μ\mum/pixel. This figure reports statistics calculated from the complete cohort by pooling the development and independent test sets.

Figure

Gland (prostate cancer)

BV (liver cancer)

TLS (pancreatic cancer)

Fig. 2 Representative spatial distributions of annotated functional tissue unit (FTU) regions in whole-slide images. Annotated FTU regions are shown in cyan for glandular structures in prostate cancer, blood vessels in liver cancer, and tertiary lymphoid structures in pancreatic cancer.

Existing imbalance-handling strategies only partially address this challenge. Loss-based methods, including class-weighted objectives, Dice-based losses, and focal loss, increase the optimization contribution of under-represented or difficult pixels [37–39]. Sampling-based approaches rebalance the training distribution through oversampling, undersampling, or hard-example selection. Online hard example mining prioritizes high-loss samples produced by the current model and has been influential in computer vision [40]. In computational pathology, hard-negative mining has also been applied to histopathology classification and weakly supervised WSI analysis [41–43]. However, many previous methods have primarily been developed for image- or slide-level classification, or for dense prediction settings in which candidate samples can be evaluated within a manageable field of view. For gigapixel WSI segmentation, repeatedly screening the complete negative pool during pixel-level training can be computationally expensive. A remaining practical challenge is to identify, before segmentation training, a compact and reproducible subset of target-absent patches enriched for morphologically confusing hard negatives. This setting is distinct from active learning, which typically selects unlabeled samples for additional expert annotation and iteratively expands the labeled training set, and from online hard-example mining, which dynamically identifies high-loss or misclassified samples during model optimization [40]. In contrast, FTU-Seek operates on an already annotated WSI patch pool. It ranks FTU-absent patches before segmentation training and constructs a compact, fixed, and reproducible training set without requesting additional annotations.

Pathology foundation models (PFMs) provide a promising basis for this selection problem. Models such as CTransPath, UNI, Virchow, and Prov-GigaPath have been used to learn transferable histomorphological representations, while vision-language models such as CONCH incorporate semantic supervision from paired biomedical text [44–50]. These representations have demonstrated broad utility across cancer types and downstream prediction tasks [51]. Related studies have also explored pathology patch selection, representative region selection, and hard-example mining [41–43]. Accordingly, PFMs and patch-selection strategies have been investigated in related settings.

Here, we propose FTU-Seek, a PFM-guided hard-negative learning framework for efficient segmentation of sparse FTUs in WSIs. FTU-Seek uses frozen multi-depth PFM features to train a patch-level classifier, which ranks an already annotated FTU-absent patch pool according to target-like morphology. A static per-WSI TopK rule is then used to select the highest-scoring negative patches and construct a compact, workload-controlled segmentation training set. Thus, FTU-Seek integrates PFM-based morphological representation, target-specific hard-negative ranking, and static training-set construction for sparse FTU segmentation.

The main contributions of this study are summarized as follows:

  • We develop a PFM-guided training-set construction strategy that integrates frozen multi-depth representations, target-specific ranking of annotated FTU-absent patches, and static per-WSI TopK selection to reduce redundant background sampling in sparse FTU segmentation.

  • We systematically evaluate classifier-guided hard-negative selection across TLS, blood-vessel, and gland segmentation tasks with distinct sparsity and morphological profiles, using positive-only, all-tissue, random-negative, and matched random TopK strategies to assess the trade-off between segmentation performance and retained training workload.

  • We further demonstrate the downstream utility of FTU-Seek through exploratory applications to external TCGA cohorts, showing that segmentation outputs can be transformed into quantitative phenotypes describing immune, vascular, and glandular tissue organization.

Because the selected negative pool is fixed before segmentation training, this construction reduces the number of patches that must be stored, loaded, and processed during the segmentation stage. The resulting benefit is therefore an expected reduction in training-data workload and data-transfer burden, rather than a directly measured reduction in wall-clock time, GPU-memory usage, or energy consumption.

References (78)