arXiv:2610.09800cs.CVOct 2026

Manuscript Offprint

arXiv:2610.09800

Beyond Masks and Trajectories: Flow-Guided Latent Action Injection for Stable Surgical Video Generation

Tsz-Yui Qin, Siyu Zhou, Chi-Keung Tang, Yuxiang Nie, Shu Yang

Abstract

Surgical video generation holds substantial potential for surgical education, simulation, and data augmentation, yet generating surgical videos with realistic and clinically plausible motion remains challenging. Most existing methods rely on auxiliary conditions, such as masks, trajectories, depth, or reference videos, to achieve visually plausible synthesis. Yet, these auxiliary conditions typically require additional manual annotation or specialized acquisition, making it difficult to scale such methods beyond small, curated datasets. This motivates the need for a reference-free architecture capable of generating high-quality surgical video without requiring auxiliary visual conditions at inference time. We propose FLAIR, a Flow-guided Latent Action Injection framework for Reference-free surgical video generation. FLAIR learns action priors from optical flow of real surgical videos, dynamically predicts corresponding latent action representation from an input prompt, and injects it into a frozen base model to generate surgical videos with improved action consistency. We further construct SurgActionClip-30K, the first large-scale surgical vision dataset comprising action-centric segmented clips and structured caption labels, addressing the persistent lack of fine-grained, action-centric surgical datasets. Lastly, we introduce SurgMetrics, the first surgical domain-specific evaluation metrics for quantifying the quality of generated surgical videos, addressing the persistent absence of clinically grounded evaluation standards in this domain. Extensive experiments demonstrate that FLAIR enables generating high-quality surgical videos using text-only inference without auxiliary conditions, and validation in SurgMetrics demonstrates its strength in alignment with human perception compared to traditional metrics.

1 Introduction

Surgical videos are widely used in medical education, skill assessment, and the development of downstream surgical AI systems [8, 16, 25]. Unlike general-domain videos, they contain procedure-constrained actions and fine-grained instrument-tissue interactions in which small motion deviations can alter clinical meaning [27]. Existing recordings are mostly long and untrimmed, lacking action-centric clips for learning motion patterns.

Recent surgical video generation methods mainly adapt general-domain generative models to surgical scenes through domain fine-tuning, text-guided diffusion, or additional structural conditioning [3, 5, 7, 21, 23, 29]. While these approaches have demonstrated the feasibility of surgical

∗^{*}Equal contribution. †^{\dagger}Corresponding author.

video synthesis and achieved improved visual realism and controllability, their controllability is often achieved through explicit inference-time conditions, including reference frames, segmentation masks, depth maps, or tool trajectories [3, 5, 29, 32, 48], which are costly to obtain and unavailable in many low-resource educational or clinical settings [45]. This raises the need for reference-free, text-only motion guidance.

Short action-centric clips make this problem tractable. Relative to the broad motion space of general-domain videos, surgical videos occupy a substantially narrower region constrained by anatomy, instrument affordances, and procedural workflow. Within this domain, instances of a specific action concentrate further into a compact action-conditioned region, allowing text alone to select a plausible motion mode without predicting arbitrary frame-level dynamics. Text therefore only needs to identify the intended action and map it to this restricted region, while the action's canonical execution paradigm can be learned from recurring examples in real surgical videos.

Motivated by the observation that optical flow naturally deemphasizes static background while highlighting the motion of surgical interactions in videos, we propose FLAIR, a Flow-guided Latent Action Injection framework for Reference-free surgical video generation. This framework introduces motion priors learned from real surgical videos into a text-to-video diffusion model, allowing text prompts to guide surgical video generation without requiring auxiliary inference-time conditions. Specifically, FLAIR first learns compact surgical action embeddings from optical flow, then trains a text-to-action predictor to map surgical prompts into the learned latent action space. The predicted action embedding is injected into a frozen diffusion Transformer through a lightweight adapter, providing motion guidance during generation without relying on masks, trajectories, depth maps, or reference videos. Experiments show that FLAIR improves motion stability and action consistency over domain-adapted baselines, demonstrating that text prompts can guide not only the appearance but also the motion of surgical video generation.

In summary, this work makes the following contributions: (1) We propose FLAIR, a framework that learns flow-derived latent action priors during training and enables reference-free, text-only inference without auxiliary conditions. (2) We construct SurgActionClip-30K, the first large-scale surgical video dataset with action-centric segmentation and template-guided captions. (3) We introduce SurgMetrics, the first objective evaluation metrics tailored for surgical video generation, which provide domain-specific measurements with six artifact-specific scores and an independent domain-typicality score. (4) Extensive experiments across standard metrics and SurgMetrics demonstrate that FLAIR consistently improves motion stability, action consistency, and surgical-domain plausibility over existing baselines, supporting the feasibility of text-only surgical video generation.

References (47)