GrapHist: Graph Self-Supervised Learning for Histopathology

Öğüt, Sevda, Vincent-Cuaz, Cédric, Dubljevic, Natalia, Hurtado, Carlos, Subramanian, Vaishnavi, Frossard, Pascal, Thanou, Dorina

–arXiv.org Artificial Intelligence 

These models analyze highresolution pan-cancer whole-slide images (WSIs), with significant heterogeneity across different biological scales. Traditionally, they operate on small patches of 224 224 pixels extracted from WSIs. Each patch is encoded using vision transformers, which divide it into non-overlapping regions of 14 14 pixels, referred to as tokens [4]. However, since these tokens are defined by a regular image grid, they are not typically aligned with cells, whose morphology and spatial organization are the core biological entities examined by pathologists for diagnostic and prognostic decisions [5, 6]. While grid-based tokens can capture low-level visual patterns, they are not natively tailored to recognize cell interactions, which are highly relevant in biological systems. This raises a fundamental question: What constitutes a proper representation for the development of AI models in digital pathology? In this work, we postulate that explicitly modeling individual cells and their spatial arrangement using graphs yields a more efficient general-purpose representation learning paradigm than conventional domain-agnostic vision approaches. Consequently, we introduce GrapHist, the first graph-based self-supervised learning framework for histopathology that learns contextaware cell-level representations via large-scale pre-training. In GrapHist, each cell is represented as a node characterized by discriminative features of shape, color intensity, and texture, while edges are defined based on spatial proximity.