Efficient Vision and Language Models for Real-Time Endoscopic Video Analysis and Report Generation
Abstract: Upper gastrointestinal (GI) endoscopy requires continuous visual monitoring to evaluate mucosal clarity, track anatomical landmarks, detect lesions, and document biopsy sites to compile structured diagnostic reports. In high patient-flow clinical settings, heavy workload contributes to incomplete examinations, missed lesions and variable documentation. Existing solutions rely on computationally intensive artificial intelligence (AI) model ensembles or cloud-hosted models that conflict with patient-data privacy regulations. In this study, we present a locally deployable, privacy-preserving pipeline integrating real-time vision models and language models, developed using a clinical dataset collected specifically for this study.
We first developed EndoGate-Net, a hybrid CNN-Transformer model performing four tasks in a single pass: image clarity assessment, anatomical landmark classification, and biopsy tool and polyp presence classification. A quality-gating mechanism skips non-diagnostic frames. It achieved 88.7–98.2% accuracy across tasks at 86 frames per second (FPS) on an NVIDIA Jetson AGX Orin, but showed lower anatomical accuracy and lacked spatial polyp localization. To overcome these limitations, we decoupled classification from localization. The classification tasks were assigned to a shared EfficientNet-B0 multi-task encoder, and adding task-specific adapters raised accuracies to 94.9% for anatomical landmarks, 97.8% for biopsy tool presence, and 98.3% for image clarity. Polyp localization was offloaded to a dedicated YOLO26s detector (mAP@0.5: 86.9%), with the full pipeline running at 60 FPS.
To bridge vision with language, four 4-bit quantized open-source large language models (LLMs) were benchmarked on generating Impressions and Recommendations from the structured findings of 16 endoscopy reports: MedGemma-4B, BioMistral-7B, Llama-3.1-8B, and Qwen-2.5-14B. Blinded evaluation by four gastroenterologists (512 total ratings) alongside an automated LLM-as-a-judge (DeepSeek-R1-Distill-Qwen-32B) showed that MedGemma-4B (64.1%) scored within 4.3 percentage points of the top-performing Qwen-2.5-14B (68.4%) at under a third of its parameter count, making it the most practical choice for local deployment. Although the automated LLM judge largely mirrored human rank order, its significant leniency bias confirmed that expert clinical oversight remains indispensable. Together, these findings show the feasibility of a privacy-preserving, real-time AI system that supports clinical endoscopy workflow through assisted video analysis, lesion detection and clinician-supervised report generation.
Event Details
Title: Efficient Vision and Language Models for Real-Time Endoscopic Video Analysis and Report Generation
Date: November 06, 2026 at 03:00 PM
Venue: Google Meet (https://meet.google.com/meet/npo-itcr-fbg)
Speaker: Mr. JANAK Y DAVE (EE23S055)
Guide: Dr. Mohanasankar S
Type: MS seminar