Multi-view Masked Contrastive Representation Learning for Endoscopic Video Analysis

Kai Hu, Ye Xiao, Yuan Zhang, Xieping Gao
2/3/2026

Abstract

Endoscopic video analysis can effectively assist clinicians in disease diagnosis and treatment, and has played an indispensable role in clinical medicine. Unlike regular videos, endoscopic video analysis presents unique challenges, including complex camera movements, uneven distribution of lesions, and concealment, and it typically relies on contrastive learning in self-supervised pretraining as its main-stream technique. However, representations obtained from contrastive learning enhance the discriminability of the model but often lack fine-grained information, which is suboptimal in the pixel-level prediction tasks. In this paper, we develop a M ulti-view M asked C ontrastive R epresentation L earning (M 2 CRL) framework for endoscopic video pre-training. Specifically, we propose a multi-view masking strategy for addressing the challenges of endoscopic videos. We utilize the frame-aggregated attention guided tube mask to capture global-level spatiotemporal sensitive representation from the global views, while the random tube mask is employed to focus on local variations from the local views. Subsequently, we combine multi-view mask modeling with contrastive learning to obtain endoscopic video representations that possess fine-grained perception and holistic discriminative capabilities simultaneously. The proposed M 2 CRL is pre-trained on 7 publicly available endoscopic video datasets and fine-tuned on 3 endoscopic video datasets for 3 downstream tasks. Notably, our M 2 CRL significantly outperforms the current state-of-the-art self-supervised endoscopic pre-training methods, e.g. , Endo-FM (3.5% F1 for classification, 7.5% Dice for segmentation, and 2.2% F1 for detection) and other self-supervised methods, e.g. , VideoMAE V2

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{hu2026multiview,
  title  = {Multi-view Masked Contrastive Representation Learning for Endoscopic Video Analysis},
  author = {Kai Hu and Ye Xiao and Yuan Zhang and Xieping Gao},
  year   = {2026},
  doi    = {10.52202/079017-1521},
  url    = {https://doi.org/10.52202/079017-1521},
  journal = {NEURIPS 2024 2024}
}

Discussion