SAM-ColonPolypGen: Enhancing automated colon polyp report generation via reinforcement learning and prompt chaining

When polyps are detected during colonoscopy, endoscopists describe and record their characteristics based on endoscopic images, a process that is time-consuming and prone to error. Automated report generation has emerged as a promising approach to address this challenge. In this study, we propose SAM-ColonPolypGen, an automated model for colon polyp report generation that combines the Segment Anything Model (SAM) with a generative language model. Specifically, SAM-ColonPolypGen first extracts segmentation masks from endoscopic images using the SAM image encoder. These segmentation masks provide semantic information relevant to colon polyp description. Then the extracted masks are concatenated with textual prompts and provided as input to the generative language model to generate the corresponding colon polyp report. To further enhance the accuracy of our proposed model in describing colon polyp size and morphology, and to improve the professionalism of the generated reports, we integrate Reinforcement Learning (RL) and Prompt Chaining (PC) techniques. The entire framework was trained in an end-to-end manner. Comprehensive ablation studies and comparative experiments were conducted to evaluate the performance of the proposed SAM-ColonPolypGen model. Model assessment was performed using standard metrics, including METEOR, ROUGE, and BLEU, along with polyp size accuracy and polyp morphology accuracy. SAM-ColonPolypGen achieved the following results: METEOR 0.3961, ROUGE 0.6645, BLEU-1 0.5578, BLEU-2 0.4763, BLEU-3 0.4038, BLEU-4 0.3532, and polyp size accuracy of 62.00%, polyp morphology accuracy of 39.33%. These results indicate that SAM-ColonPolypGen outperforms baseline models, particularly in accurately describing polyp size, while also producing colon polyp reports that are more consistent and descriptive.

Authors

Institutions

Publication Details

Journal
Biomedical Signal Processing and Control
Published
2026-03-21
DOI
https://doi.org/10.1016/j.bspc.2026.110084
Primary Topic
Colorectal Cancer Screening and Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SAM-ColonPolypGen: Enhancing automated colon polyp report generation via reinforcement learning and prompt chaining

Siyuan Zhang, Yijun Chen, Yuang Cai, Peng Li et al.
Biomedical Signal Processing and Control
Colorectal Cancer Screening and Detection
article

SAM-ColonPolypGen: Enhancing automated colon polyp report generation via reinforcement learning and prompt chaining

Siyuan Zhang, Yijun Chen, Yuang Cai, Peng Li, Xiang Cai
article en

Abstract

When polyps are detected during colonoscopy, endoscopists describe and record their characteristics based on endoscopic images, a process that is time-consuming and prone to error. Automated report generation has emerged as a promising approach to address this challenge. In this study, we propose SAM-ColonPolypGen, an automated model for colon polyp report generation that combines the Segment Anything Model (SAM) with a generative language model. Specifically, SAM-ColonPolypGen first extracts segmentation masks from endoscopic images using the SAM image encoder. These segmentation masks provide semantic information relevant to colon polyp description. Then the extracted masks are concatenated with textual prompts and provided as input to the generative language model to generate the corresponding colon polyp report. To further enhance the accuracy of our proposed model in describing colon polyp size and morphology, and to improve the professionalism of the generated reports, we integrate Reinforcement Learning (RL) and Prompt Chaining (PC) techniques. The entire framework was trained in an end-to-end manner. Comprehensive ablation studies and comparative experiments were conducted to evaluate the performance of the proposed SAM-ColonPolypGen model. Model assessment was performed using standard metrics, including METEOR, ROUGE, and BLEU, along with polyp size accuracy and polyp morphology accuracy. SAM-ColonPolypGen achieved the following results: METEOR 0.3961, ROUGE 0.6645, BLEU-1 0.5578, BLEU-2 0.4763, BLEU-3 0.4038, BLEU-4 0.3532, and polyp size accuracy of 62.00%, polyp morphology accuracy of 39.33%. These results indicate that SAM-ColonPolypGen outperforms baseline models, particularly in accurately describing polyp size, while also producing colon polyp reports that are more consistent and descriptive.

Biomedical Signal Processing and ControlVol. 120
Beijing University of Posts and Telecommunications (CN), Capital Medical University (CN), Peking University (CN), National Clinical Research Center for Digestive Diseases (CN), Peking University Cancer Hospital (CN), Institut de Recherche en Santé Digestive (FR), Beijing Friendship Hospital (CN)
Quality Education
Openalex Percentile: Top 14%
Colorectal Cancer Screening and Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.