Surgeons who adopt a new technique get better along several axes at different speeds. In robotic colorectal surgery, one surgeon's technique stabilized after about 31 cases, while the team's setup and docking time took 60 cases to stabilize (Learning curve and surgical outcome of robotic assisted colorectal surgery with ERAS program). Reporting only operative time hides this. Reinforcement learning (RL) agents trained for surgical tasks have the same problem, made worse by design: they are trained on a single number that adds task progress and safety penalties together, and they are judged by how that number rises. We propose to treat an RL agent's training as a procedural learning curve. We track each clinical axis separately (catastrophic breach, damage to structures that should be preserved, efficiency) using the same change-detection statistic clinicians use to decide when a surgeon has become proficient. We then use that statistic to control training. The agent may trade away a higher-priority objective in favour of a lower one only after the higher one has provably stopped improving.
The setting is structural spinal preservation. These are approaches such as endoscopic discectomy through the foramen (the bony opening where a nerve root exits the spine), or retroperitoneal access to the disc, that reach the disc through natural anatomical windows instead of removing bone and ligament. They spare stabilizing structures and patients do well. A meta-analysis of 24 studies reports less blood loss and better disc-height and lordosis restoration with the oblique retroperitoneal approach (Meta-analysis of MIS-TLIF versus OLIF). The price is a narrow corridor in which an early mistake hits a nerve root or a vessel. The cost of a learning curve, for humans or robots, is the harm done while learning. Our main measure is therefore not final performance. It is the cumulative number of preservation violations an agent commits before it becomes proficient.
Core Claim
We make two claims, one about measurement and one about method. The measurement claim is that when surgical agents are trained with a single summed reward, the training-return curve flattens well before the preservation axes do. A scalar learning curve therefore declares proficiency too early, just as operative-time-only curves do in clinical studies (Bibliometric analysis of research trends on robot-assisted thyroid surgery).
The method claim concerns lexicographic RL, meaning RL in which objectives are ranked and a lower-ranked one is optimized only within a slack $\tau$ of the best achievable value on the higher-ranked ones (Lexicographic Multi-Objective Reinforcement Learning). Its weak point is that $\tau$ must be tuned by hand. We claim that setting $\tau$ from a per-objective CUSUM proficiency signal, rather than fixing it or scheduling it by episode count, reduces cumulative violations during training. It should do this without lowering final task completion, and the preservation axes should mature first, in the clinically sensible order.
Research Program
Corridor environment. No spinal-corridor learning benchmark exists in the file. Gap 5 notes that the abdominal assets in SARAMIS lack small ligaments and nerves, and the robotic spine work in the file covers only pedicle drilling (Robust-Sub-Gaussian MPC for ultrasound-guided spinal surgery). We will therefore build a modest corridor environment inside SurRoL, which runs at about 150 Hz in PyBullet and transfers to the da Vinci Research Kit (dVRK). The rigid vertebral geometry will come from the ITIS ViP3 anatomy already used in the drilling testbed.
The first task is a transforaminal endoscopic approach modelled on the cohort in Percutaneous endoscopic lumbar discectomy for sciatic scoliosis. A cannula must reach the herniated disc through the foramen. The exiting nerve root is a deformable body with a force limit, the facet joint is rigid and must not be resected, and the target is a disc fragment. The second task is an oblique-corridor psoas retraction with a vessel exclusion zone. It is chosen to resemble the kidney-fat retraction scene, so that results on our environment can be compared with published ones.
The ligaments and nerve roots will be parametric soft bodies, not image-derived models, and we will say so plainly. The scientific question is about learning dynamics under ranked objectives, not about anatomical fidelity. To mimic patient variation, every episode samples vertebral spacing, scoliotic tilt and tissue stiffness. Sensor and kinematic noise is injected as biased sub-Gaussian error, following the drilling paper, and as relative-pose slop, following Surgical Robot Transformer.
Vector objective. The agent receives three ranked signals, with no single summed reward. The top-ranked signal is catastrophic breach: nerve-root force above threshold or entry into the vessel zone. The middle signal is preservation damage, meaning facet or ligament removal volume and peak tissue force. The bottom signal is efficiency, meaning time and tool-path length. We will build on LPPO from the lexicographic RL paper.
CUSUM gating. For objective $i$, define a per-episode failure indicator $x^i_t$. The cumulative-sum chart is
$$S^i_t = \max\left(0,\; S^i_{t-1} + x^i_t - p^i_0 - k^i\right),$$
where $p^i_0$ is the acceptable failure rate for that axis and $k^i$ is the allowed drift. This is the statistic the colorectal study used to locate its 31-case and 60-case thresholds. Objective $i$ is declared mature once $S^i_t$ has stayed below a decision limit $h^i$ for a window of $W$ episodes. The slack that lets lower objectives trade against objective $i$ is $\tau^i = 0$ until objective $i$ matures, and is opened to a value $\tau^i_{\max}$ afterwards. It is closed again if $S^i_t$ rises past $h^i$. One consequence is that $p^i_0$, a clinically interpretable "acceptable error rate", takes over from the abstract $\tau$ as the quantity a practitioner has to choose. That substitution is a secondary contribution in its own right.
Measurement protocol. Every method, including the baselines, is logged with per-axis CUSUM curves. For each axis we report the "episodes to proficiency", which is the agent-side analogue of the clinical case counts (31, 40–50, 20 and 35 cases) reported in Learning curve of robotic colorectal surgery, Gupta et al., Teoh et al. and Asani et al..
Baselines
Naive reference. The first reference point is PPO trained on task reward alone, with violations logged but not penalized. This is the "Unsafe-PPO" condition of Safe RL with formal verification for tissue retraction. It shows how much harm an unconstrained learner causes and how misleading its return curve is.
Strongest scalar method. Penalty-shaped PPO is the method that paper uses: a fixed penalty $c$ for leaving a safety cylinder or touching forbidden organs. It is the most direct existing surgical competitor. On the UnityFlexML retraction scene it reached a 3.07% violation rate versus 27.02% for unconstrained PPO, with tumor exposure near 0.41 for both. This is a strong number, and we will reproduce it before anything else. We will sweep $c$ over the same tuning budget given to our method's $p_0$ and $h$, and report the whole frontier rather than one point.
Strongest constrained method. PPO with Lagrangian cost constraints, the decoupled reward-and-cost approach of Safe RLHF, is arguably the hardest competitor. Its multiplier already adapts during training. It gets one constraint per preservation axis, with thresholds set to the same $p_0$ values we use.
Ablations. LPPO with a fixed, tuned $\tau$ isolates whether gating matters at all. LPPO with $\tau$ opened on an episode-count schedule, matched to the median maturation episode of our method, isolates whether the proficiency signal matters or whether any curriculum would do.
Non-RL references. A force-aware imitation policy in the style of Force-Aware Autonomous Robotic Surgery is trained on scripted corridor demonstrations. A safety-filter baseline projects the learner's actions away from the known exclusion geometry; in simulation this is an advantaged, oracle-like competitor.
Fairness and the bar to beat. All methods share the environment seeds, network size, number of environment steps, and a hyperparameter budget of 20 trials. The method counts as beating the baselines only if three conditions hold. Cumulative top-priority violations over training must be at least 30% lower than the best of penalty-PPO, Lagrangian PPO and scheduled-$\tau$ LPPO, with a confidence interval over 10 seeds excluding zero. Final completion rate and path length must not be worse. Final breach rate must be no higher. For the spine corridor tasks themselves there is no reported result found on Lacuna, so the comparison there is internal.
Why not just…?
Why not just use a large safety penalty in one scalar reward? The best evidence for this option is the 3.07% violation rate of penalty-shaped PPO, which is respectable. But the reported number is a final rate. It says nothing about violations committed while learning, and nothing about whether the penalty traded preservation damage against time. The lexicographic RL paper argues that summed penalties let accumulated task reward offset rare violations. Our penalty sweep tests exactly this: if some value of $c$ matches our cumulative-violation curve, that part of the claim fails.
Why not just use Lagrangian constrained RL, which already adapts? This is the real threat. A Lagrange multiplier rises when a constraint is violated, which resembles gating. The differences are that it enforces an expected-cost budget rather than an ordering, and that its multiplier typically overshoots and oscillates early, which is exactly when cumulative harm builds up. If Lagrangian PPO matches us on cumulative violations and maturation order, we will report that the measurement claim stands and the method claim does not. The CUSUM protocol would then be offered as an evaluation tool for any constrained learner.
Why not just use model predictive control with chance constraints, as in spinal drilling? The sub-Gaussian controller satisfied the under-2 mm breach constraint on all test trajectories and achieved 33.53% Gertzbein–Robbins grade A versus 8.93% for position control. However, it relies on linear dynamics along a planned drill path. Our tasks involve deforming nerve roots and retracted muscle. The safety-filter baseline is the fair version of this alternative, and it is given the true exclusion geometry. If it matches the learner, that tells us corridor navigation is a geometry problem rather than a learning problem, which would be a useful finding.
Why not just use a fixed curriculum instead of a statistical proficiency test? The scheduled-$\tau$ ablation answers this directly. If gating by episode count does as well as gating by CUSUM, the proficiency signal adds nothing, and the simpler method should be preferred.
Decisive Experiments
Experiment 1 (measurement claim). In the penalty-PPO and Lagrangian baselines, on both corridor tasks and on the reproduced retraction scene, does the episode at which the return curve flattens come earlier than the CUSUM maturation episode of the preservation axes? A gap of at least 20% of training, consistent across seeds, confirms the masking effect. No gap refutes it.
Experiment 2 (method claim). We compare cumulative violation curves and final task metrics against every baseline under the fairness rules above. We also test whether preservation matures before efficiency, which is the ordering CUSUM gating is designed to produce.
Experiment 3 (robustness to noise). We repeat Experiment 2 with injected biased sensor noise and relative-pose slop. The risk is that noisy failure indicators cause CUSUM false alarms, which would freeze the slack. We will report how often gates close and reopen, and whether the method's advantage survives.
Experiment 4 (sanity check). We run the gated LPPO on CartSafe and GridNav from the lexicographic RL benchmarks, to confirm that gating does not hurt where fixed-$\tau$ LPPO already works.
Experiment 5 (transfer, if Experiments 1–3 hold). The best corridor policy and the best baseline are deployed on dVRK silicone phantoms. The phantoms have embedded force-sensed "nerve" tubes, built in the style of the force-aware testbed. This tests whether the training-time advantage carries over to fewer contact violations on hardware.
References
- Learning curve and surgical outcome of robotic assisted colorectal surgery with ERAS program
- Meta-analysis of minimally invasive transforaminal lumbar interbody fusion versus oblique lumbar interbody fusion for treating lumbar degenerative diseases
- Bibliometric analysis of research trends and hotspots on robot-assisted thyroid surgery
- Lexicographic Multi-Objective Reinforcement Learning
- SARAMIS: Simulation Assets for Robotic Assisted and Minimally Invasive Surgery
- Robust-Sub-Gaussian Model Predictive Control for Safe Ultrasound-Image-Guided Robotic Spinal Surgery
- SurRoL: An Open-source Reinforcement Learning Centered and dVRK Compatible Platform for Surgical Robot Learning
- Percutaneous endoscopic lumbar discectomy for single and double segment lumbar disc herniation with sciatic scoliosis in adults: a retrospective study
- Surgical Robot Transformer (SRT): Imitation Learning for Surgical Tasks
- Avoiding complications in endoscopic trans-sphenoidal surgery for pituitary adenoma: A beginner's perspective
- En bloc resection of bladder tumour: the rebirth of past through reminiscence
- 3D Heads-Up Display vs. Standard Operating Microscope Vitrectomy for Rhegmatogenous Retinal Detachment
- Safe Reinforcement Learning using Formal Verification for Tissue Retraction in Autonomous Robotic-Assisted Surgery
- Safe RLHF: Safe Reinforcement Learning from Human Feedback
- Force-Aware Autonomous Robotic Surgery