Imitation learning for surgical robots is limited by the cost of collecting demonstrations. Meanwhile, many robot-assisted procedures are recorded as stereo video, yet policies cannot learn from them directly; clinical video carries no action labels. We present FlowScope, which pretrains a surgical policy network on unlabeled clinical video by forecasting scene flow, the metric 3D motion of scene points, with labels computed by off-the-shelf stereo depth and optical flow models. We pretrain the trunk of an Action Chunking Transformer (ACT) on a dataset of 1,149 clinical procedures (1.35M clips) and discard the flow head afterward, so the deployed policy is a standard ACT with no added inference cost. On a real surgical robotic system, FlowScope raises needle pickup success from 54% to 90% and first-handover success on needle regrasp from 4% to 52% (full task: 2% to 14%) over training from scratch (n=50 trials each), and retains its gains with a generative flow-matching action head. Ablations indicate that metric 3D motion is the strongest pretraining signal among those tested; kinematics, 2D tracks, depth alone, and scale-free 3D flow, each paired with kinematics, yield smaller or no gains. Representation analyses suggest that scene-flow pretraining encodes metric needle depth more accurately, that kinematics pretraining increases reliance on the robot state, and that needle-depth probes follow the ordering of real-robot success where offline validation error does not.
Figures & tables
Figure 1: FlowScope. Each image is encoded by a frozen DINOv2 pretrained on surgical images. Pretraining (top): point queries read the image features at their pixels, and the flow head predicts each point’s metric 3D position and future trajectory, supervised with an L1 loss on scene flow pseudo-labeled by off-the-shelf stereo and optical-flow models. The robot state is set to zero. Fine-tuning (bottom): the point queries and flow head are discarded, and the pretrained trunk is trained on robot demonstrations to predict action chunks with either the ACT or a flow-matching (FM) action head, giving a standard ACT policy. The CVAE (encoder not shown) is used only during training; z = 0 at test, similar to standard ACT rollout.
Figure 2: Scene-flow pseudo-labels on clinical video. Each track shows where a point on the anchor frame moves over the next 10 keyframes (1.7 s), computed from stereo depth and optical flow and kept only where both pass consistency checks. More visualizations can be seen in Figure S2 .
Pickup (%)
Regrasp
Pretraining
Policy
1st
≤ 3
S1
S2
S3
Stages
External baselines
—
Diffusion Policy
28
62
42
18
2
0.62
VLA
π0.5 (full FT)
42
42
24
8
0
0.32
VLA
π0.5 (LoRA)
38
38
20
10
0
0.30
ACT trunk: pretraining × action head
Table 1: Real-robot success (%). Pickup: success on the first attempt and within three attempts. Regrasp: subtasks completed (S1 pickup, S2 first handover, S3 second handover/full task) and the mean number of stages completed (max 3). n=50 trials per policy (10 needle configurations × 5 checkpoints). ACT: the standard action-chunking transformer with its CVAE and L1 action loss. FM: the flow-matching action head ( Sec. 3.4 ). 95% Wilson intervals for pickup ( ≤ 3): scratch [40, 67], kinematics [46, 72], FlowScope [79, 96] with the ACT head.
Figure 3: Data efficiency. Real-robot performance with 50% and 100% of the demonstrations (ACT head, 50 trials per point). With half the demonstrations, FlowScope matches the pickup success of a policy trained from scratch on all of them and far exceeds it on regrasp, while kinematics pretraining is no better than training from scratch.
Pretraining target
Success
1st attempt
None (from scratch)
70%
45%
Kinematics
70%
50%
Kinematics + 2D tracks
70%
45%
Kinematics + depth only
60%
30%
Kinematics + scale-free 3D flow
35%
20%
Kinematics + metric 3D flow
80%
45%
Table 2: Pretraining targets. Needle pickup success within three attempts and on the first attempt, after fine-tuning each pretrained trunk with the ACT head. n=20 trials per target (10 needle configurations × the 40k and 60k checkpoints). All targets are computed from the same anchors and points. “Flow-matching flow head”: the pretraining flow head is generative instead of L1 ( Sec. 3.3 ); the fine-tuned policy is unchanged. Different session from Tab. 1 .
Depth abs_rel ↓
IoU ↑
Features
needle
instr.
image
needle
instr.
DINOv2-IH (1024-d)
0.10
0.08
0.04
0.49
0.95
Pretrained trunk (512-d)
Kinematics
0.13
0.15
0.06
0.44
0.93
Kin. + flow
0.10
0.11
0.04
0.44
0.94
Flow only (ours)
0.08
0.09
0.04
0.46
0.95
Table 3: What the policy trunk encodes. Linear probes on 80 held-out demonstrations. Bold: best trunk in each block. Over 2,000 bootstrap resamples of the validation demonstrations, flow-only pretraining gives the lowest needle and instrument depth error among pretrained trunks.
Appendix figures & tables18 assets
Supplementary material from the paper’s appendix.
Appendix
Stage
Test
Threshold
Clip
Camera static
<0.5 mm and <0.5∘ over the clip
An instrument is driven
≥1 arm for the whole window
Kinematics readable
all frames
Depth
Left–right consistency
<1 px
Brightness
>0.03
Flying pixels
3%
Appendix
Table S1 : Label filters. We apply numerous filtering steps to ensure training data quality. We only use clips where the camera is static, at least one instrument is being driven, and kinematic signals are valid. We convert disparity maps in both L↔ R directions and only use pixels where they agree up to a pixel. We also ignore dark pixels and only use depth values between 5-300 mm. We apply similar checks for optical flow.
Figure S1 : Label statistics. Left: 3D displacement of uniformly sampled points over the 1.7 s horizon (dotted: the 5 mm mover threshold). Right: fraction of tracked points still valid at each keyframe.
Figure S2 : Samples of scene-flow pseudolabels. Tracks of the moving points over frames. For the purposes of visualization, we only draw the top 25 pixels that move more than 20 mm. In reality, our labeling pipeline stores 512 tracks per clip; during training, FlowScope samples 256.
Figure S3 : Physical setup for data collection and rollout for needle pickup and regrasp tasks.
Figure S4 : Evaluation configurations. The ten evaluation needle configurations for needle pickup and regrasp.
Setting
Stage 1
Stage 2
Architecture
ViT-L/14
ViT-L/14
Input resolution
224 × 224
518 × 518
Patch tokens
256
1,369
Training iterations
625K
10K
Global batch size
1280
256
Optimizer
AdamW
AdamW
Appendix
Table S2 : Surgical DINOv2 pretraining. The model is trained in two stages using frames sampled dynamically from surgical videos. Since training uses an iterable dataset, the number of distinct frames encountered is not explicitly tracked.
Figure S5 : Choice of vision model. Needle-pickup success of ACT trained from scratch with each frozen DINO (25 trials: 5 configurations × 5 checkpoints, success within three attempts). The surgical DINOv2 doubles success over off-the-shelf DINOv2 and DINOv3.
Architecture
Width / heads (head dim)
512 / 8 (64)
Encoder / decoder layers
4 / 7
FFN width
3,200
Image tokens
1,369 (1024 → 512-d)
Parameters
Transformer encoder
17.33M
Appendix
Table S3 : Policy architecture. Parameter counts from the flow-only pretraining checkpoint (PT: pretraining, FT: fine-tuning). Only the trunk is pretrained and transferred to fine-tuning; the point queries and flow head are discarded, and the state and latent tokens, the CVAE encoder, and the action head start from their initialization. The flow-matching action head ( Sec. E.1 ) adds 19.5M parameters in place of the CVAE encoder and the ACT action head.
Pretraining
Fine-tuning
Data
clinical video
robot demos
Iterations
100k
100k
Batch size
512
128
Optimizer
AdamW
AdamW
Learning rate (trunk)
8×10−5
4×10−5
LR schedule
constant
constant ∗
Appendix
Table S4 : Training hyperparameters. Both stages warm up the learning rate over 500 steps; it is 10−5 at a reference batch of 8, scaled by the square root of the batch size. Pretraining uses an L1 loss on P0 and the displacements; fine-tuning uses ACT’s L1 + KL ( β=10 ) or the flow-matching loss. The DINOv2 is frozen and the input is the left image at 518×518 in both stages. ∗ With the flow-matching action head: cosine decay to 10% of the peak rate, the head in fp32, and an EMA of the weights (decay 0.9995) for evaluation and checkpoints. † Gaussian noise on the robot state, 1.5 mm and 3 ∘ .
Checkpoint
Total
Pretraining
Head
20k
40k
60k
80k
100k
1st
≤ 3
None
ACT
5
7
4
5
6
11/50
27/50
None
FM
4
6
5
7
7
7/50
29/50
Kinematics
ACT
6
7
9
4
4
15/50
30/50
Kinematics
FM
5
7
4
5
7
3/50
28/50
Flow (ours)
ACT
8
10
10
8
9
27/50
45/50
Appendix
Table S5 : Needle pickup, by fine-tuning checkpoint. Successes within three attempts, out of the 10 needle configurations at each checkpoint, and totals over the 50 trials (first attempt and within three).
Figure S6 : Every needle-pickup trial. Rows: pretraining and fine-tuning checkpoint; columns: the 10 needle configurations, the same for every policy. Colour and number give the attempt on which the needle was picked up; grey marks a failure within three attempts. Counts on the right are successes per checkpoint.
Pretraining
Head
Pickup
Handover 1
Full task
None
ACT
28
4
2
Kinematics
ACT
46
12
2
Kin. + flow
ACT
58
16
4
Flow (ours)
ACT
76
52
14
None
FM
36
20
0
Kinematics
FM
14
4
0
Appendix
Table S6 : Needle regrasp, all policies (% of trials completing each stage).
Checkpoint (k steps)
Total
Pretraining
20
40
60
80
100
1st
≤ 3
vs. scratch
None
1
2
6
2
3
6
14/50 (28%)
–
Kinematics
0
3
5
4
1
7
13/50 (26%)
9 / 10
Flow (ours)
6
3
4
7
6
11
26/50 (52%)
22 / 10
Appendix
Table S7 : Needle pickup with 50% of the demonstrations (ACT head). Checkpoint columns count successes within three attempts out of 10 configurations; “1st” counts successes on the first attempt. The last column gives paired wins / losses against scratch ( p=1.0 and p=0.050 ).
Checkpoint (k steps)
Total (%)
Pretraining
Data
20
40
60
80
100
Pickup
HO1
Full
None
100%
1/0/0
4/0/0
1/0/0
3/1/1
5/1/0
28
4
2
None
50%
1/0/0
2/0/0
4/1/0
5/2/1
3/3/2
30
12
6
Kinematics
100%
3/1/0
3/1/0
5/0/0
6/4/1
6/0/0
46
12
2
Kinematics
50%
0/0/0
3/0/0
1/0/0
1/0/0
3/0/0
16
0
0
Flow (ours)
100%
5/3/0
9/4/1
9/8/3
8/5/2
7/6/1
76
52
14
Appendix
Table S8 : Needle regrasp at 50% and 100% of the demonstrations (ACT head). Checkpoint columns give pickup / handover 1 / full task out of 10 configurations; totals are over 50 trials. Mean stages reached (0–3): scratch 0.34 / 0.48, kinematics 0.60 / 0.16, flow 1.42 / 0.98 (100% / 50%).
Pretraining target
Scratch
Kin.
Kin. + flow
Flow only
Attention on the robot-state token (%)
Image tokens (PT)
–
24.5
16.7
0.1 †
Image tokens (FT)
7.7
21.3
14.7
7.9
Action queries (FT)
0.21
0.71
0.25
0.10
Offline error after fine-tuning
Translation (mm / step)
0.31
0.30
0.31
0.30
Appendix
Table S9 : Reliance on the robot state, and offline metrics. Top: share of attention given to the robot-state token, from the image tokens in the encoder and from the action queries in the decoder, averaged over layers and heads, after pretraining (PT) or fine-tuning (FT). Bottom: action error on held-out demonstrations; perturbed Δ is the increase in translation error under 12 image perturbations (photometric changes, blur, noise, and occlusion). † The flow-only trunk is pretrained with a zero state, so its state token carries no information.
Figure S7 : Samples of the needle segmentation and depth datasets. From left to right: RGB image with needle segmentation overlaid, RGB image with instrument segmentation overlaid, and metric depth map generated from Fast-FoundationStereo. Segmentation maps are generated with an internal needle segmentation model.
Figure S8 : Where the action queries look. Decoder cross-attention from the action queries to the image, averaged over layers, heads, and queries, on held-out frames of needle pickup. Each map is normalized by its own maximum, limiting comparison between columns. From left to right: input image, training from scratch, kinematics pretraining, FlowScope, and a randomly initialized policy (untrained action queries) for reference.
Encoder
Stereo input
Pickup 1st
Pickup ≤ 3
Surgical DINOv2
mono (left)
22
54
Surgical DINOv2
concat
28
44
Surgical DINOv2
fusion
20
52
DINOv2 (off the shelf)
mono (left)
14
32
DINOv2 (off the shelf)
concat
10
34
DINOv2 (off the shelf)
fusion
18
40
Appendix
Table S10 : Stereo at the policy input. Needle-pickup success (%) of ACT trained from scratch, with the left image or both eyes as input; n=50 trials per row, all rolled out in one session.
Paired video-action demonstrations enable autonomous surgical behavior, but such data is scarce: robots perform roughly 1% of surgeries, while video-only data is abundant. Learning 3D object flow offers an embodiment-agnostic way to utilize video data, but flow alone specifies how an object should move, not where and when the tool should engage it, a distinction that is critical in surgery. We introduce SurgFlow, a framework that learns 3D Object-Centric Contact Flow from stereo surgical video without action labels. For each object point, it predicts a future 3D trajectory and contact scores. We extract targets via 3D tracking and tool-object proximity, train a flow matching generator to predict them, and use predicted contact to trigger grasp and release while optimizing end effector motion from flow. On the da Vinci Research Kit (dVRK), SurgFlow succeeds in 37 of 39 stage evaluations across tissue retraction, bimanual reveal, needle pickup, and handover, outperforming baselines trained on equal data with or without action labels. Zero-shot transfer to a humanoid-based laparoscopic robot achieves 85% and 70% average success under similar and novel camera viewpoints, respectively.
Changwei Chen, Xiao Liang, Yinuo Yang +6
Department of Electrical and Computer Engineering, University of California San Diego, La Jolla, CA 92093, USA
Learning-based surgical robot autonomy requires large-scale demonstrations with synchronized videos and robot actions, but such data are exceedingly rare in clinical or realistic tissue settings because robot kinematics are typically inaccessible outside controlled research systems. In contrast, phantom data collected on research platforms provide accurate action labels but lack the visual diversity of real tissue. We propose SurgVIL, a framework for scaling surgical robot imitation learning using open-source surgical videos. SurgVIL combines kinematically labeled phantom robot demonstrations with surgical videos from open-source datasets and online sources for policy learning. Since these videos lack robot motion labels, we estimate approximate kinematics as weak supervision. We evaluate SurgVIL on two da Vinci robot tasks: needle pick-up and cholecystectomy cutting. Across ACT, π0, and GR00T-H backbones, adding surgical videos substantially improves generalization to real-tissue and out-of-distribution settings, suggesting a scalable path from phantom training toward generalizable surgical robot policies.
Xinhao Chen, JuoTung Chen, Nigel Nelson +4
Laboratory for Computational Sensing and Robotics (LCSR) Johns Hopkins University, USA · Nvidia, USA
Learning reliable surgical manipulation policies is bottlenecked by the scarcity of action-labeled demonstrations: teleoperated surgical robot (e.g., dVRK) trajectories with synchronized kinematics are costly to collect, while surgical tasks demand precise contact handling, long-horizon reasoning, and bimanual coordination. Endoscopic video is comparatively inexpensive and abundant relative to synchronized video--kinematics trajectories, and a natural way to exploit it is to learn world models of surgical scenes. However, existing surgical world models use video primarily for simulation or policy evaluation, and rarely translate the learned dynamics into closed-loop control. This gap raises our central question: under a fixed budget of action-labeled demonstrations, does action-free video pretraining improve closed-loop surgical manipulation? To answer it, we introduce the Surgical World-Action Model (Surgical WAM), a unified generative model built on Cosmos Policy that jointly predicts future endoscopic observations and executable surgical robot action chunks. Surgical WAM first learns surgical visual dynamics from action-free video and is then fine-tuned on the fixed action-labeled budget; at deployment, it acts as a closed-loop, receding-horizon controller that executes a short prefix of each predicted action chunk and replans from the resulting observation. On a suite of four simulated surgical manipulation tasks, video pretraining improves the average success rate from 63.5% to 77.8%, including an absolute gain of 20 percentage points on PegTransfer, with the largest improvements on contact-rich and bimanual tasks. These results demonstrate that action-free video provides transferable visual dynamics priors for learning surgical robot control with limited action supervision, positioning data-efficient video pretraining as a practical path toward scaling up surgical robot learning.