Manuscript Offprint

arXiv:2609.08182

WSPolypNet: Weakly Supervised Polyp Localization in Colonoscopy Videos

Giseong Hwang, Minjae Jo, Yeonghyeon Park, Kyeonghun Kim, Seoyeon Han, Donghoon Han, Haneul Kim, Yului Jeong, Insung Hwang, Pa Hong, Ken Ying-Kai Liao, Nam-Joon Kim

Giseong Hwang*

Soonchunhyang University hwanggiseong@sch.ac.kr

Seoyeon Han

Seoul National University ss_stella@snu.ac.kr

Insung Hwang

Seoul National University insung0608@snu.ac.kr

Minjae Jo*

Seoul National University whalswo0503@snu.ac.kr

Donghoon Han

Seoul National University leukinii@snu.ac.kr

Pa Hong

Samsung Changwon Hospital papa.hong@samsung.com

Yeonghyeon Park

Kyungpook National University yeonghyeon05@knu.ac.kr

Haneul Kim

Chung-Ang University kimhn126@cau.ac.kr

Ken Ying-Kai Liao

NVIDIA AI Technology Center kenyingkail@nvidia.com

Kyeonghun Kim

OUTTA kyeonghun.kim@outta.ai

Yului Jeong

Seoul National University yule27@snu.ac.kr

Nam-Joon Kim†

Seoul National University knj01@snu.ac.kr

Abstract—Because dense frame-level annotation of colonoscopy videos is costly, we propose WSPolypNet, a weakly supervised framework for polyp localization using only video-level labels. WSPolypNet employs a 3D convolutional neural network trained with video-level labels to generate class activation maps (CAMs) that identify candidate polyp regions without frame-level spatial annotations. The CAM-derived localization cues are enhanced using a multi-view strategy and provided to MedSAM2 as point prompts. These prompts propagate segmentation masks across the video, refining the coarse localization according to polyp boundaries. WSPolypNet achieved CorLoc scores of 47.80%, 43.68%, and 35.01% at IoU thresholds of 0.3, 0.5, and 0.7, respectively, compared with 36.87%, 33.72%, and 27.94% for the single-view setting. For small polyps, multi-view localization improved CorLoc@0.5 from 16.01% to 30.97%. The framework also achieved a recall of 94.51%. These results demonstrate the potential of weakly supervised spatiotemporal learning to reduce spatial annotation requirements in colonoscopy videos.

Index Terms—polyp localization, weakly supervised learning, video-level supervision, class activation map, MedSAM2

I. INTRODUCTION

Colorectal cancer (CRC) is one of the most common and deadly cancers worldwide, accounting for approximately 2 million new cases and nearly 1 million deaths annually. The global burden of CRC is expected to continue increasing, with the number of new cases projected to exceed 3.2 million per year by 2050 [1]. Because a substantial proportion of CRC cases arise from adenomatous polyps, detecting and removing these precancerous lesions before malignant progression is critically important. Winawer et al. [2] reported that early detection and removal of adenomatous polyps could reduce the expected incidence of CRC by up to 90%. Furthermore, the removal of adenomas has been associated with a 53% reduction in CRC-related mortality compared with that expected in the general population [3].

Colonoscopy is widely used as a primary screening and diagnostic procedure for detecting and removing precancerous

polyps [1], [4]. Nevertheless, conventional colonoscopy still has several limitations. Previous studies have reported that as many as 20%–26% of polyps may be missed during routine colonoscopic examinations [5]. In addition, the complex structure of the intestinal wall, the limited field of view, and visual disturbances in endoscopic images can make reliable polyp detection challenging. Consequently, computer-aided detection (CADe) systems have been extensively investigated to assist clinicians and improve the consistency of polyp detection.

Despite these advances, many existing polyp detection methods process frames extracted from endoscopic videos as independent static images. These image-based approaches do not explicitly model temporal correlations between consecutive frames and may therefore produce temporally inconsistent predictions in real-world colonoscopy videos [6]. In particular, complex intestinal structures and visual patterns resembling polyps can make it difficult to distinguish polyps from the surrounding tissue using a single frame. Therefore, reliable and consistent polyp localization in colonoscopy videos requires both spatial information and temporal modeling [7].

Meanwhile, conventional supervised polyp detection and segmentation methods that aim to achieve accurate spatial localization generally rely on detailed spatial annotations, such as bounding boxes or pixel-level masks. Providing such annotations for every frame of an endoscopic video requires substantial time and effort, making it difficult to scale to large video datasets. Moreover, pixel-level annotation can be affected by inter-observer variability because of the complex structure of the intestinal wall and ambiguous polyp boundaries. To reduce this annotation burden, weakly supervised learning approaches have received increasing attention. In particular, Weakly Supervised Video Object Localization (WSVOL) aims to localize objects in videos using coarse supervision, such as video-level labels, rather than dense frame-level spatial annotations [7], [8].

Previous studies have explored the use of video-level supervision to classify the presence of target objects or estimate their temporal locations within videos [7], [9]. In parallel, weakly supervised object localization methods have

  • Giseong Hwang and Minjae Jo contributed equally to this work. † Corresponding author.

investigated spatial object localization using only image-level supervision [10]. However, spatially localizing polyps in colonoscopy videos using only video-level supervision remains relatively underexplored. Moreover, polyp appearance and viewpoint continuously change throughout endoscopic videos, while complex intestinal structures and various visual disturbances may cause weakly supervised localization models to activate irrelevant regions [11]. Therefore, a method is needed that can exploit spatiotemporal information to localize polyps reliably without dense spatial annotations.

To address these challenges, we propose a weakly supervised framework that simultaneously determines the presence of polyps at the video level and estimates their spatial locations in individual frames using only video-level labels. The proposed framework employs a 3D convolutional neural network (3D CNN) to learn spatiotemporal representations from consecutive endoscopic frames and generates class activation maps (CAMs) [10], [12] to identify candidate polyp regions without additional spatial annotations. The CAM-derived localization cues are subsequently provided to MedSAM2 [13] as prompts to refine the coarse regions to better align with polyp boundaries. Thus, the proposed framework is designed to estimate both polyp presence and spatial location using only video-level supervision, without requiring frame-level bounding-box or pixel-level annotations.

The main contributions of this study are summarized as follows:

  • We propose a weakly supervised polyp localization framework that simultaneously determines polyp presence at the video level and performs spatial localization in individual frames using only video-level labels.
  • We integrate a 3D CNN with CAMs to exploit spatiotemporal information from consecutive endoscopic frames and estimate candidate polyp regions without frame-level spatial annotations.
  • We construct a localization refinement pipeline that uses CAM-derived localization information as prompts for MedSAM2 to refine coarse localization results according to polyp boundaries.

References (22)

  • Global cancer statistics 2022: Globocan estimates of incidence and mortality worldwide for 36 cancers in 185 countries
  • Prevention of colorectal cancer by colonoscopic polypectomy
  • Colonoscopic polypectomy and long-term prevention of colorectal-cancer deaths
  • Adenoma detection rate and risk of colorectal cancer and death
  • Factors influencing the miss rate of polyps in a back-to-back colonoscopy study
  • Progressively normalized self-attention network for video polyp segmentation
  • Tcam: Temporal class activation maps for object localization in weakly-labeled unconstrained videos
  • Explainable weakly supervised deep learning model for anomaly classification and localization in wireless capsule endoscopy images
  • Disentangling spatio-temporal knowledge for weakly supervised object detection and segmentation in surgical video
  • Learning deep features for discriminative localization
  • Attention-based dropout layer for weakly supervised object localization
  • Grad-cam: Visual explanations from deep networks via gradient-based localization
  • Medsam2: Segment anything in 3d medical images and videos (opens arXiv in a new tab)
  • Deep learning localizes and identifies polyps in real time with 96% accuracy in screening colonoscopy
  • Gastric polyp detection module based on improved attentional feature fusion
  • Vision transformer with hybrid shifted windows for gastrointestinal endoscopy image classification
  • Adversarial complementary learning for weakly supervised object localization
  • Ts-cam: Token semantic coupled attention map for weakly supervised object localization
  • Vitol: Vision transformer for weakly supervised object localization
  • Leveraging transformers for weakly supervised object localization in unconstrained videos (opens arXiv in a new tab)
  • Segment anything
  • SAM 2: Segment Anything in Images and Videos