EndoSERV Cuts Robotic Bronchoscopy Navigation Error in Half Without Real Labels
EndoSERV navigates robotic bronchoscopes using CT priors and domain transfer, cutting localization error by more than 2x over the best competing method — with zero real-world pose labels required.
ProTakeaways
- What: EndoSERV is a vision-based localization system for robotic bronchoscopes that uses pre-operative CT data instead of real pose labels.
- Key result: Achieves 1.90mm ATE on public colonoscopy data and 6.22mm on live animal bronchoscopy, cutting the best competitor's error by ~2x.
- Core innovation: Divides airways into sub-segments and maps real endoscope frames into the virtual CT domain to borrow pose ground truth for free.
- No real labels needed: The entire odometry network trains in the virtual domain; no manual pose annotation of real footage is required.
- Real-time capable: Full inference pipeline runs in 37.73ms per frame (27 fps) with a confidence-aware self-update loop running in parallel.
- Limitations: Validated on pig airways only; requires clean CT segmentation; no public code or model weights released.
Guiding a robotic bronchoscope through the branching maze of a patient's airways is one of the hardest localization problems in medical robotics. Every branch looks nearly identical to the next, tissue deforms as the patient breathes, and blood or mucus can obscure the camera at any moment. A team from Shanghai Jiao Tong University and Shanghai Chest Hospital has now published EndoSERV, a vision-based navigation system that cuts absolute trajectory error roughly in half compared to the previous best method , and does it without ever needing a single real-world pose label for training.
Why navigation inside the body is so hard
Current robotic bronchoscopy platforms rely heavily on electromagnetic (EM) sensors or shape-sensing fibers to track position. These work, but they require specialized external hardware that complicates the surgical workflow and adds cost. Pure vision-based approaches , the kind that work so well in self-driving cars and drones , fall apart inside the body for two fundamental reasons:
- Scale ambiguity: Monocular SLAM (Simultaneous Localization and Mapping) methods estimate relative poses between frames but have no access to absolute scale. In clinical use, you cannot align estimated trajectories to ground truth because ground truth simply does not exist at the bedside.
- Appearance similarity: Different bronchial branches share nearly identical geometry and texture. A localization system that relies on visual landmarks will frequently confuse one branch for another, causing catastrophic drift.

Existing real-virtual alignment methods sidestep scale ambiguity by registering live endoscope frames against pre-operative CT-derived virtual images, which carry absolute pose information. But they still struggle with the domain gap between synthetic CT renders and messy in-vivo footage , and with the visual monotony of airway anatomy.
Two ideas, one system
EndoSERV (short for SEgment-to-structure and Real-to-Virtual mapping) attacks both problems simultaneously. The name encodes the two core ideas:
- Segment-to-Structure: Rather than trying to localize across the entire airway tree at once, the system uses a sliding-window strategy to divide the path into smaller sub-segments. Each segment is processed independently, so the system never has to distinguish between two branches that are far apart in the anatomy , only the local neighborhood matters at any given moment.
- Real-to-Virtual mapping: Pre-operative CT scans are used to build a virtual 3D model of the patient's airways. EndoSERV then transfers live camera images into this virtual domain, where ground-truth poses are freely available from the CT reconstruction. The odometry network trains entirely on virtual data, so no real pose labels are ever needed.

How the training pipeline actually works
EndoSERV has two training phases that mirror the surgical workflow , one happens before the patient enters the room, the other runs during the procedure itself.
Offline pretraining (pre-operative): The goal here is to build a feature encoder that ignores texture and focuses on structure. The team uses GPT-4o to generate descriptive prompts for endoscopic appearance (things like "bleed, inflamed red, pale yellow"), then feeds those prompts into InstructPix2Pix, a diffusion-based image editor, to create texture-diverse augmentations of virtual CT renders. A contrastive loss then forces the encoder to map images of the same anatomical location , regardless of texture , to the same feature vector. A CycleGAN-based style transfer model is also pretrained at this stage to bridge the real-virtual domain gap.
Online training (intra-operative): As the surgeon navigates, the system retrieves the most relevant slice of the virtual CT database using R2Former, a retrieval transformer, to find virtual frames that match the current real-world view. It then fine-tunes the style transfer model on just those frames. A key innovation here is DDAug (Distortion and Deformation Augmentation): the system generates synthetic real images from virtual ones, then deliberately corrupts them with color jitter, fractal noise mixup (to simulate blood and mucus), and camera parameter perturbation (to simulate tissue deformation). A reconstruction decoder then learns to recover the clean virtual image from the corrupted one , essentially learning to undo the artifacts that make clinical footage so hard to work with.
Once real and virtual images are aligned in feature space, a scene coordinate head predicts the 3D location of each pixel in the CT coordinate frame. A PnP+RANSAC solver (Perspective-n-Point, a classical geometry algorithm that recovers camera pose from 2D-3D point correspondences) then computes the absolute 6DoF pose. The whole inference pipeline runs in 37.73 ms per frame , fast enough for real-time surgical guidance at 27 fps.

The numbers that matter
The team benchmarked EndoSERV against eight competing methods across three categories (SfM, NeRF-SLAM, and real-virtual alignment) on two datasets:
- C3VD: A public colonoscopy dataset with 22 video sequences paired with CT-derived virtual models.
- Clinical in-vivo dataset: 52,340 bronchoscopy frames from 6 pigs across 33 sequences, captured on a 4.2mm continuum-joint robotic bronchoscope during live animal trials.
The primary metric is ATE (Absolute Trajectory Error) in millimeters , the average distance between the estimated and true camera positions over a full trajectory. Lower is better.
| Method | Category | C3VD ATE (mm) | Clinical ATE (mm) |
|---|---|---|---|
| AF-SfMLearner | SfM | 4.69 ± 2.18 | 12.49 ± 5.06 |
| EndoDAC | SfM | 3.89 ± 2.50 | 11.10 ± 5.63 |
| MonoGS | NeRF-SLAM | 4.08 ± 1.75 | 11.61 ± 5.70 |
| UNSB | Real-Virtual | 3.06 ± 1.44 | 11.19 ± 4.91 |
| EndoSERV | Real-Virtual | 1.90 ± 0.51 | 6.22 ± 2.83 |
On rotation error (r_RPE in degrees), EndoSERV scores 0.50 ± 0.26 deg on C3VD and 1.05 ± 0.44 deg on clinical data, versus the next-best competitor at 1.80 deg and 3.14 deg respectively. The improvement over EndoDAC on C3VD is statistically significant (p = 3.5e-5). Critically, unlike SfM and NeRF-SLAM methods, EndoSERV produces absolute poses directly , no post-hoc 7-DoF alignment to ground truth is needed, making it actually deployable in a real OR.
The confidence loop that makes it surgical-grade
One underappreciated contribution is the confidence-aware switching mechanism. EndoSERV maintains a rolling buffer of 50 frames and tracks the RANSAC inlier count , a natural signal for how well the current scene matches the trained model. When inlier counts drop below two standard deviations of the recent mean, the system automatically triggers a new online training cycle. In a 3,000-frame clinical sequence, this required only two refinement cycles of roughly 45 seconds each, running in parallel with live inference. The surgeon sees continuous guidance; the model self-updates in the background.
What it can't do yet
EndoSERV has real limitations worth noting. The online training phase requires a few seconds of deliberate multi-angle scanning at the entry point to bootstrap the initial model , a small but non-trivial workflow change. The system was validated on pig airways, not human patients, so generalization to human anatomy and pathology (tumors, inflammation, heavy bleeding) remains to be demonstrated. The method also depends on a high-quality pre-operative CT segmentation of the bronchial tree; poor segmentation quality would degrade the virtual database and hurt performance. No code or pretrained models have been released publicly.
The broader context matters here: robotic-assisted bronchoscopy has emerged as a transformative modality in diagnosing peripheral pulmonary lesions, overcoming the limitations of traditional diagnostic techniques. Johnson and Johnson recently announced regulatory clearance for Monarch Quest, an enhanced iteration of the Monarch platform that supports AI-powered navigation and explicit compatibility with mobile CBCT systems, enabling real-time fusion of volumetric imaging and robotic guidance for improved targeting accuracy in lung nodule procedures. EndoSERV represents the research frontier pushing toward pure vision-based guidance that requires no additional imaging hardware at all , a direction that could significantly reduce procedure cost and complexity if it holds up in human trials.