ConStruct: Structural Distillation of Foundation Models for Prototype-Based Weakly Supervised Histopathology Segmentation

Khang Le, Ha Thach, Anh M. Vu, Trang T. K. Vo, Han H. Huynh, David Yang, Minh H. N. Le, Thanh-Huy Nguyen, Akash Awasthi, Chandra Mohan, Zhu Han, Hien Van NguyenarXiv 2025

TL;DR

ConStruct is a novel weakly supervised semantic segmentation (WSSS) framework that bridges the gap between global semantic understanding and local structural precision in histopathology. By combining the morphology-aware representations of a vision-language foundation model (CONCH) with the multi-scale structural cues of a segmentation backbone (SegFormer), it generates highly accurate tissue masks using only image-level labels.

What Problem Does This Paper Address?

Delineating different tissue structures in histopathology images is critical for cancer diagnosis and prognosis. However, training deep learning models for semantic segmentation typically requires dense, pixel-level annotations—a process that is incredibly labor-intensive, time-consuming, and reliant on scarce domain expertise.

Weakly supervised semantic segmentation (WSSS) attempts to solve this by using cheaper, image-level labels. Traditional WSSS pipelines rely on Class Activation Maps (CAMs) from classification networks to locate objects. Unfortunately, CAMs inherently focus only on the most discriminative regions (e.g., the core of a tumor) and fail to capture the full spatial extent and fine-grained boundaries of complex tissue structures.

While vision-language foundation models (like CONCH) offer rich semantic alignment, they lack the spatial locality required for precise segmentation. Conversely, hierarchical transformers (like SegFormer) excel at preserving local boundaries but struggle with class-level discrimination under weak supervision.

Methods

The authors introduce ConStruct, a teacher-student distillation framework built on text-guided learnable prototypes. The architecture consists of three main components:

  1. Structural Knowledge Distillation: A frozen SegFormer model acts as a "teacher," providing structural guidance to a frozen CONCH "student" model. Instead of aligning raw feature vectors, ConStruct aligns pairwise token relations (affinity matrices) via lightweight trainable adapters. This transfers boundary-aware structural knowledge while preserving the student's rich semantic features.
  2. Text-Guided Prototype CAMs: To combat visual ambiguity, the framework initializes learnable class prototypes using detailed, expert-crafted pathology text descriptions processed through CONCH’s text tower. Cosine similarity between these text-anchored prototypes and the refined visual features generates more complete CAMs.
  3. Mask Refinement: An inference-only module that uses foreground/background contrastive alignment and a Dense Conditional Random Field (CRF) to sharpen coarse activation maps into precise, pixel-level pseudo-masks.
Overview of the ConStruct framework

Datasets

The framework was evaluated on the BCSS-WSSS dataset, a weakly supervised variant of the Breast Cancer Semantic Segmentation dataset. It contains four distinct, highly complex tissue classes:

  • Tumor (TUM)
  • Stroma (STR)
  • Lymphocyte (LYM)
  • Necrosis (NEC)

Key Insights and Ideas

  • The Power of Text Anchoring: Initializing prototypes with descriptive text (e.g., defining tumor regions by their "pleomorphic, hyperchromatic nuclei") provides a robust semantic prior. This helps the model navigate intra-class heterogeneity (visual differences within the same tissue type) and inter-class homogeneity (visually similar patterns across different tissue types).
  • Relational over Direct Distillation: Rather than forcing the student network to mimic the teacher's exact feature space, distilling the relationships between tokens allows the model to capture fine-grained morphological boundaries without degrading the foundation model's underlying semantic capabilities.
  • Extreme Parameter Efficiency: By freezing the massive foundation model backbones and only training lightweight bottleneck adapters, the framework introduces only 6.3M trainable parameters (just 3.7% of the total model size), making it highly efficient.

Key Results

ConStruct achieved state-of-the-art performance on the BCSS-WSSS benchmark, outperforming existing CAM-based and prototype-based WSSS methods:

  • Overall Performance: Reached 70.96% mIoU and 82.83% mDice, noticeably outperforming the previous leading method, PBIP (69.42% mIoU / 81.84% mDice).
  • Challenging Classes: The model showed its largest gains in the most structurally complex and irregular classes:
  • Tumor: Achieved 81.59% IoU (compared to PBIP's 77.92%).
  • Necrosis: Achieved 71.56% IoU (compared to PBIP's 69.69%).

Qualitative visualizations demonstrated that feature activation maps with structural distillation were significantly cleaner, more spatially organized, and better aligned with true tissue boundaries than those without distillation.

Limitations and Future Work

  • Sensitivity to Small Structures: The ablation study revealed that lymphocyte performance was slightly lower with distillation (62.70% IoU) than without it (63.58% IoU). This suggests that structural distillation might introduce a smoothing effect that inadvertently penalizes small, sparse, or highly fragmented cellular regions.
  • Resolution and Scale: The experiments were conducted on patches resized to 224×224 pixels. Scaling this approach to gigapixel whole-slide images (WSIs) directly remains an open computational challenge.
  • Prompt Engineering Dependency: The framework relies on high-quality, expert-curated text descriptions for prototype initialization. Future work could explore automating or optimizing these prompts using clinical LLMs.

Summary updated

BibTeX
@misc{le2025construct,
  author = {Khang Le and Ha Thach and Anh M. Vu and Trang T. K. Vo and Han H. Huynh and David Yang and Minh H. N. Le and Thanh-Huy Nguyen and Akash Awasthi and Chandra Mohan and Zhu Han and Hien Van Nguyen},
  title = {{ConStruct: Structural Distillation of Foundation Models for Prototype-Based Weakly Supervised Histopathology Segmentation}},
  year = {2025},
  eprint = {2512.10316},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.10316},
}
Figure