Spatiotemporal Recognition of Abdominal Wall Layers During Optical Trocar Entry
Authors: Shreeram Athreya, Andrew Melehy, Carter Prentice, Michael Robinson, Corey Arnold, James Wu, William Speier
Organizations: Department of Electrical and Computer Engineering, University of California, Los Angeles, Los Angeles, California, USA. · Department of Surgery, University of California, Los Angeles, Los Angeles, California, USA. · Department of Radiological Sciences, University of California, Los Angeles, Los Angeles, California, USA. · Department of Bioengineering, University of California, Los Angeles, Los Angeles, California, USA. · Department of Pathology and Laboratory Medicine, University of California, Los Angeles, Los Angeles, California, USA.
Objective. To evaluate whether spatial context and temporal modeling improve tissue recognition during optical trocar entry, where multiple abdominal-wall tissues may be visible simultaneously. Methods. We retrospectively analyzed 71 recordings with 1,516 annotated keyframes and 29,151 clinician-annotated sectors. Each frame was divided into 28 polar-grid sectors assigned to nine tissue classes. Color, neighboring-sector, and positional features were used by a gradient-boosted emission classifier. The full pipeline added learned temporal smoothing, spatial regularization, an anatomically ordered hidden Markov model, and posterior blending. Five-fold cross-validation was grouped by recording, with cross-fitting to prevent within-recording leakage. Primary evaluation used clinician-derived targets; ablations assessed classification, probability quality, spatial consistency, and peritoneum-or-deeper onset timing. Results. The complete pipeline achieved accuracy 0.646, macro-F1 0.507, and macro-AUROC 0.882, versus 0.600, 0.440, and 0.861 for emissions alone. Macro-F1 improved by 0.066 across all five folds. Label changes decreased from 66.2 to 19.5 per sector-minute, and median onset error decreased from 15.58 to 2.45 seconds. Frames with a tissue-depth-code span of at least three decreased from 53% to 26%, versus 22% for clinician annotations. Performance remained limited for preperitoneal fat and bowel, and the full model retained a 44% premature-onset proportion. Conclusions. Combining appearance, spatial context, and temporal constraints improved retrospective tissue recognition and onset localization. Tissue-specific limitations, residual timing errors, and reliance on future observations warrant external validation and prospective evaluation of causal models before clinical use.
Figures & tables
Figure 1: Spatial and temporal posterior refinement. Learned temporal smoothing combines emission probabilities across a temporal neighborhood, shown schematically around time t . MRF regularization couples neighboring sectors within each frame. The banded HMM permits persistence and transitions between adjacent tissue states k−1 , k , and k+1 . Posterior blending combines the regularized output with the original emission probabilities, represented by the dashed bypass, to obtain final tissue-class probabilities. The illustrated temporal neighborhood and colors are schematic; the temporal neighborhoods and nine-class vocabulary are specified in the text.
Dataset component
Count or specification
Analyzed videos
71 (21 dense; 50 transferred)
Approximately 60-fps recordings
62 (59.99–60.02 fps)
Approximately 30-fps recordings
9 (29.97–30.01 fps)
Annotated keyframes with eligible sectors
1,516
All-label sectors
36,886
Clinician-only sectors
29,151
Table 1: Dataset Assembly and Evaluation Populations
Channel
Lower endpoint
Upper endpoint
L∗
25
95
a∗
−15
40
b∗
−15
55
Rotated hue
0
0.45
Saturation
0
0.7
Value
0.3
1.0
Table 2: Color Normalization and Sector Descriptor Composition
Model
Accuracy
Macro-F1
Macro AUROC
Δ F1 (positive folds)
Class-prior reference
0.084±0.024
0.017±0.005
0.500±0.000
−0.423±0.046(0/5)
Emission model
0.600±0.033
0.440±0.045
0.861±0.024
—
Learned temporal smoothing
0.615±0.031
0.469±0.036
0.879±0.018
+0.029±0.020(4/5)
MRF
0.603±0.036
0.462±0.044
0.854±0.028
+0.021±0.015(4/5)
Strict left-to-right HMM
0.622±0.045
0.429±0.041
0.816±0.014
−0.011±0.023(1/5)
Banded HMM
0.625±0.044
0.443±0.048
0.838±0.045
+0.003±0.019(2/5)
Table 3: Primary Performance on Clinician-Annotated Sectors
Model
Accuracy
Macro-F1
Macro AUROC
Δ F1 (positive folds)
Class-prior reference
0.298±0.044
0.051±0.006
0.500±0.000
−0.399±0.047(0/5)
Emission model
0.656±0.035
0.450±0.045
0.867±0.031
—
Learned temporal smoothing
0.665±0.034
0.468±0.039
0.883±0.022
+0.017±0.013(4/5)
MRF
0.641±0.040
0.457±0.046
0.859±0.035
+0.007±0.014(4/5)
Strict left-to-right HMM
0.700±0.030
0.450±0.034
0.827±0.015
+0.000±0.020(2/5)
Banded HMM
0.691±0.036
0.461±0.046
0.852±0.048
+0.010±0.014(3/5)
Table 4: Secondary Performance on All Labeled Sectors
Figure 2: Qualitative examples of spatially resolved tissue recognition. Columns show the optical-entry frame, clinician annotations, and model predictions on the polar grid. The upper row contains subcutaneous fat (yellow), anterior rectus sheath (cyan), and rectus muscle (red); the lower row contains peritoneum (purple) and intraperitoneal fat (green). Clinician-drawn boundaries vary within sectors, whereas predictions assign one tissue class to each sector. These examples illustrate the spatial representation and do not establish pixel-level segmentation accuracy.
Model
Changes/sector-min
Backward share
Clinician keyframes
5.9±1.1
0.148±0.039
Emission model
66.2±3.7
0.477±0.006
Learned temporal smoothing
43.0±4.5
0.452±0.010
MRF
61.2±3.0
0.472±0.007
Strict left-to-right HMM
6.1±1.5
0.002±0.001
Banded HMM
10.4±1.5
0.248±0.037
Table 5: Temporal Coherence and Peritoneum-or-Deeper Onset Recognition
Figure 3: Class-specific recognition for seven of the nine tissue classes. Gray bars show the emission baseline. Red bars, labeled “Hidden markov model,” represent the complete pipeline: learned temporal smoothing, MRF regularization, banded HMM inference, and blending. Their values correspond to the full-pipeline column of Table 6 . Percentages give each class’s share of the 29,151 clinician-annotated sectors. F1 values pool held-out predictions across folds. Scarpa’s fascia and preperitoneal fat are omitted from this plot and retained in the table.
Tissue
Sectors
Emission
Temporal smoother
MRF–HMM–blend
Full pipeline
Subcutaneous fat
2,373
0.590
0.646
0.637
0.676
Scarpa’s fascia
1,082
0.229
0.381
0.313
0.455
Anterior sheath
2,406
0.515
0.519
0.543
0.572
Rectus muscle
7,876
0.768
0.756
0.778
0.778
Posterior sheath
4,517
0.481
0.501
0.525
0.555
Preperitoneal fat
537
0.018
0.015
0.025
0.024
Table 6: Pooled Class-Specific F1 on Clinician-Annotated Sectors
Purpose: In this paper, we present a novel approach for online object tracking in laparoscopic cholecystectomy (LC) surgical videos, targeting localisation and tracking of critical anatomical structures and instruments. Our method addresses the challenges of costly pixel-level annotations and label inconsistencies inherent in existing datasets. Methods: Leveraging the inherent object localisation capabilities of pre-trained text-to-image diffusion models, we extract representative features from surgical frames without any training or fine-tuning. Our tracking framework uses these features, along with cross-frame interactions via an affinity matrix inspired by query-key-value attention, to ensure temporal continuity in the tracking process. Results: Through a pilot study, we first demonstrate that diffusion features exhibit superior object localisation and consistent semantics across different decoder levels and temporal frames. Later, we perform extensive experiments to validate the effectiveness of our approach, showcasing its superiority over competitors for the task of temporal object tracking. Specifically, we achieve a per-pixel classification accuracy of 79.19%, mean Jaccard Score of 56.20%, and mean F-Score of 79.48% on the publicly available CholeSeg8K dataset. Conclusion: Our work not only introduces a novel application of text-to-image diffusion models but also contributes to advancing the field of surgical video analysis, offering a promising avenue for accurate and cost-effective temporal object tracking in minimally invasive surgery videos.
Subhadeep Koley, Abdolrahim Kadkhodamohammadi, Santiago Barbarisi +2
Medtronic plc., London, UK. · UCL Hawkes Institute, University College London, London, UK.
Abdominal ultrasound is indispensable for rapid, noninvasive trauma triage. However, interpreting the subtle dynamic cues embedded in continuous scanning is time-intensive and operator-dependent. Parameter-Efficient Image-to-Video Transfer Learning (PEIVTL), which efficiently adapts pre-trained image models to the video domain, notably through visual-textual alignment, offers a promising paradigm for ultrasound video analysis. Nevertheless, substantial spatiotemporal and semantic variations arising from physician-dependent scanning practices continue to limit the effectiveness and generalizability of this framework. We propose TRUST, a scan-aware PEIVTL framework that explicitly models fine-grained spatiotemporal variations to enable reliable ultrasound video understanding. First, we introduce a Cross-Frequency Collaborative Adapter (CFCA) that establishes mutual constraints between low- and high-frequency components, enhancing discriminative spatial feature extraction under heavy speckle corruption. Second, we design a Multi-Granularity Motion-Aware (MGMA) module that integrates local temporal convolutions with motion-prior-guided global self-attention, jointly capturing stable intra-view patterns and abrupt inter-view transitions to characterize complex scanning dynamics. Third, a Visual Query Semantic Aggregation (VQSA) module dynamically generates text prototypes conditioned on visual features, enabling adaptive visual-textual alignment robust to intra-class variability under diverse scanning conditions. Experiments on in-house ultrasound trauma datasets demonstrate that TRUST outperforms state-of-the-art methods by 9.63% with superior computational efficiency.
Enguang Wang, Hao Zhou, Shuo Gao +2
School of Biological Science and Medical Engineering, Southeast University, Nanjing, China · Jiangsu Key Laboratory of Biomaterials and Devices, Southeast University, Nanjing, China · State Key Laboratory of Digital Medical Engineering, Southeast University, Nanjing, China +1
Online Surgical Phase Recognition (SPR) models can reach high frame-wise accuracy, yet their predictions often lack temporal stability, fragmenting workflow understanding and reducing the reliability of downstream assistance. We show that this instability is not random noise but arises from two mechanisms: early misclassifications corrupt temporal feature states and propagate forward to form error cascades, and phase transitions follow evidence-accumulation dynamics whereas most online SPR systems rely on memoryless frame-wise decisions, making them sensitive to transient confidence fluctuations. We propose a unified Train-Inference-Evaluation framework that explicitly stabilizes temporal inference dynamics using model-agnostic, plug-and-play components. For training, the Temporal Error-Cascade (TEC) loss suppresses error onset and mitigates forward error propagation by stabilizing temporal feature evolution. For inference, the Evidence-Gated Transition Predictor (EGTP) enforces evidence-driven state transitions, allowing phase changes only when accumulated evidence exceeds a confidence boundary. For evaluation, we introduce the Temporal Fragmentation Index (TFI), a reliability-aware metric that quantifies instability-induced temporal disagreement beyond conventional frame-wise and token-based measures. Experiments on Cholec80 and AutoLaparo across three representative backbones show that the proposed framework substantially improves temporal stability and reduces prediction fragmentation, while maintaining or modestly improving frame-wise performance.
Yang Liu, Ning Zhu, Jingjing Peng +4
King’s College London, London, UK · University of Electronic Science and Technology of China, Chengdu, China · Mach Drive