TACTUS: Unifying Surgical Action Understanding in Time and Space
Advancing surgical automation requires a comprehensive spatio-temporal understanding of how instruments act on tissue throughout an action. Existing surgical benchmarks, however, largely define supervision through task-specific targets, leaving the relationships between action semantics, instrument motion, and tissue interaction incompletely specified.
From the abstract. Our summary is in progress.
Full paper
TACTUS: Unifying Surgical Action Understanding in Time and Space
Published under CC BY-NC-SA 4.0. Reproduced with attribution; original at arXiv:2611.31956 (PDF).
Abstract
Advancing surgical automation requires a comprehensive spatio-temporal understanding of how instruments act on tissue throughout an action. Existing surgical benchmarks, however, largely define supervision through task-specific targets, leaving the relationships between action semantics, instrument motion, and tissue interaction incompletely specified. To address this limitation, we introduce TACTUS (Tool, Action, Contact and Trajectory Understanding in Surgery), a new dataset and benchmark that establishes a unified annotation framework for complete surgical actions. The framework jointly specifies tool and action identities, nested action and interaction windows, instrument-specific landmark trajectories, and tissue-region tracks. To construct these annotations at scale, we develop a two-tier pipeline combining human annotation, point tracking, and model-generated spatial prompts. Using this pipeline, we re-annotate 141 videos from five public sources, producing 22,995 action clips spanning 2.9 million frames. The dataset comprises 15,668 Gold clips with human spatial prompts followed by review and re-checking, and 7,327 Silver clips combining human semantic and temporal annotations with model-generated spatial prompts. We further introduce TactusNet, the companion reference network, to benchmark semantic, temporal, and spatial prediction from shared video features. Across TactusNet and 13 published baselines, tool–action accuracy reaches 95.8% with per-head encoder fine-tuning, while the best temporal recall and contact Dice reach 46.6% at temporal IoU 0.7 and 0.351, respectively. Moreover, adding Silver improves the default TactusNet’s pair accuracy from 93.8% to 95.5%. Together, these contributions establish a foundation for learning and evaluating the instrument–tissue interactions underlying future surgical automation. Project page: https://ruifreddie.github.io/TACTUS/.
1 Introduction
Advancing surgical automation requires a comprehensive spatio-temporal understanding of how instruments act on tissue. Such understanding requires supervision that links which instrument acts (Which), what it does (What), when it acts (When), how it moves (How), and where it interacts with tissue (Where), collectively termed 4W1H. Their annotations must therefore preserve a common action identity from approach through execution to completion.
Existing surgical datasets provide valuable supervision for action recognition, temporal localization, and instrument tracking [40, 14, 39, 49, 66]. However, their annotation targets often describe selected aspects of an interaction, leaving its full temporal and spatial extent unspecified. Temporally, an interval restricted to active execution excludes the surrounding approach and completion, leaving instrument behavior during these stages outside the action annotation. For spatial supervision, SurgAM expands a single annotated point in a pre-contact frame into an affordance mask [53]. However, SurgAM’s mask describes the actionable tissue region only in the pre-contact frame, leaving the region’s subsequent movement and deformation unannotated. Consequently, execution-only intervals omit the temporal context surrounding the maneuver, while SurgAM’s pre-contact masks omit the evolution of tissue involvement during execution. These gaps leave the relationship between instrument motion and tissue involvement incompletely specified throughout a complete surgical action.
Constructing such joint supervision at scale introduces a further challenge. Instrument landmarks and tissue regions must be followed throughout each action despite occlusion, deformation, and camera motion. Maintaining these correspondences requires careful trajectory review. Repeating prompt placement, track inspection, and error correction for additional clips creates a growing manual workload. A scalable process must therefore preserve supervision quality while reducing the effort required to annotate additional clips.
Contributions.
To address these annotation and construction challenges, we establish a new protocol with an individual action or attempt as its fundamental unit. Within this unit, the protocol jointly defines tool and action identities, a complete action window and an inner interaction window, instrument-specific tip and anchor trajectories, tissue-region tracks, and point visibility.
To enable larger-scale annotation with limited human effort, we develop a two-tier pipeline that combines human-reviewed supervision with model-assisted expansion (Fig. 2). Gold uses human spatial prompts, trajectory propagation, and review to produce checked spatial annotations [25]. These annotations also support training a model to generate spatial prompts for additional clips. Building on this capability, Silver expands the collection through model-generated spatial prompts while retaining human tool, action, and temporal labels.
Using this pipeline, we construct TACTUS (Tool, Action, Contact and Trajectory Understanding in Surgery), a large-scale dataset and benchmark for following surgical actions in time and space. We re-annotate 141 videos from five public sources, producing 22,995 clips and 2.9 million frames across six tool–action pairs, with per-frame spatial annotations in nearly all clips (Figs. 1 and 1). These aligned annotations support recognition, temporal-boundary, tool-keypoint, and contact-region evaluation on the same actions. The clips and annotations are available on Hugging Face. The benchmark code is on GitHub, and the model checkpoints are publicly available.
To establish reference performance on these tasks, we introduce TactusNet as the companion network and compare it with 13 published baselines on 11 Gold test videos. With per-head encoder fine-tuning, TactusNet achieves 95.8% tool–action pair accuracy. Across the evaluated methods, the best localization results reach 46.6% recall at temporal IoU 0.7, 18.68 pixels of tool-point error at a resolution of 384\times 384, and 0.351 contact Dice. Moreover, adding Silver to Gold training raises the default TactusNet’s pair accuracy from 93.8% to 95.5%. By making complete tool–tissue interactions explicit targets for learning and evaluation, TACTUS establishes a foundation for future surgical perception research supporting planning and control.
2 Related work
Surgical datasets.
Public surgical datasets support recognition and localization (Tab. 1). Cholec80, HeiChole, CholecT50, and ProstaTD provide workflow, instrument, and action annotations [59, 61, 40, 14], while CholecTrack20, PhaKIR, and SurgPose support instrument tracking and keypoint localization [39, 49, 66]. However, these task-specific annotations only partially specify an interaction’s temporal extent, instrument motion, and tissue involvement. Larger collections, including OphNet and LEMON, broaden video and procedural coverage, but complete action-level spatio-temporal supervision remains limited [22, 13]. SurgAM extends spatial supervision to actionable tissue regions by expanding a single annotated pre-contact point into an affordance mask [53]. However, SurgAM provides this region annotation only for the pre-contact frame, leaving the tissue region’s movement and deformation during the subsequent action unannotated. To address these limitations, our new TACTUS protocol uses each action or attempt as its annotation unit, jointly defining semantics, nested temporal windows, instrument trajectories, and tissue-region tracks (Fig. 3).
Model-assisted annotation.
Model-assisted annotation provides established methods for extending sparse human input into dense supervision. The SAM family generates masks from prompts [27, 47, 9], while CoTracker propagates points across video frames [26, 25]. SurgPose integrates SAM2-based propagation with frame-by-frame review, demonstrating how automated annotation can be combined with human quality control [66]. VISOR and InterHand2.6M further distinguish human annotations from model-generated labels, making their sources of supervision explicit [15, 35]. Following these practices, TACTUS uses point tracking to extend sparse spatial prompts and retains human semantic and temporal annotations in both tiers. Gold combines manually placed spatial prompts with reviewed tracks, while Silver expands the collection through model-generated spatial prompts. Moreover, the differing training benefits reported by COCONut and CoTracker3 motivate evaluating generated labels through downstream performance [17, 25]. Accordingly, we assess the contribution of additional Silver annotations across recognition and localization tasks.
- SurgAM [53]
- –
- –
- S
- \circ
- \bullet
- \circ
- \circ
- \bullet
- PhaKIR [49]
- 8
- 5.4
- M
- \bullet
- \circ
- \circ
- \bullet
- \circ
- PSI-AVA [60]
- 8
- 20
- M
- \bullet
- \bullet
- \circ
- \circ
- \circ
- GraSP [6]
- 13
- 32
- M
- \bullet
- \bullet
- \circ
- \circ
- \circ
- CholecTrack20 [39]
- 20
- 14
- M
- \bullet
- \circ
- \circ
- \circ
- \circ
- ProstaTD [14]
- 21
- –
- M
- \bullet
- \bullet
- \bullet
- \circ
- \circ
- AutoLaparo [65]
- 21
- 23
- M
- \bullet
- \circ
- \circ
- \circ
- \circ
- SurgPose [66]
- 30
- –
- M
- \bullet
- \circ
- \circ
- \bullet
- \circ
- HeiChole [61]
- 33
- 22
- M
- \bullet
- \bullet
- \bullet
- \circ
- \circ
- M2CAI16 [56, 58]
- 41
- 26
- M
- \circ
- \circ
- \circ
- \circ
- \circ
- CholecT50 [40]
- 50
- 28
- M
- \bullet
- \bullet
- \bullet
- \circ
- \circ
- Cholec80 [59]
- 80
- 51
- M
- \bullet
- \circ
- \circ
- \circ
- \circ
- TACTUS (ours)
- 141
- 66
- M+S
- \bullet
- \bullet
- \bullet
- \bullet
- \bullet
3 The TACTUS dataset
We construct TACTUS by applying a newly specified action annotation protocol to videos from five public sources. The release contains 22,995 clips from 141 videos and 2.9 million frames, counting overlapping action windows once per video. Its construction combines this protocol with two tiers of spatial supervision.
3.1 Dataset construction
Source selection and clip extraction.
To identify suitable sources, we systematically screened 36 public surgical datasets and two YouTube collections for continuous video, clear instrument and tissue views, and relevant procedures and actions (Supp. B.1). The five selected sources are Cholec80 [59], HeiChole [61], SurgVU [76], CRCD [41, 42], and a collection of YouTube videos (Tab. 2). Together, these sources cover clinical laparoscopic cholecystectomy, robot-assisted surgical training, and ex vivo cholecystectomy simulation. First, annotators reviewed each complete video and identified actions with operative intent, including incomplete or failed attempts. Each action attempt was then extracted as a separate clip and assigned tool and action labels, together with the two temporal spans defined below. A new clip begins only when the action restarts, while pauses and temporary loss of visibility remain within the same attempt.
Gold quality control.
For the 15,668 Gold clips, annotators placed spatial prompts on selected frames, and CoTracker3 [25] propagated the points throughout the window. The annotation guide specifies two roles and two stages: annotators label the actions; reviewers inspect the complete videos, identify missed actions, and provide decisions and correction reasons; annotators then revise the returned clips; and reviewers finalize the remaining annotations. Finally, the project added a core-team re-check of every finalized Gold clip. Supp. B.4 reports the annotation-stage review log, and Supp. E gives the annotation rules.
Silver annotation.
To reduce manual spatial prompting, Silver retains human annotation and review of tool classes, action classes, and temporal spans, while an early version of the TactusNet Spatial Head generates the spatial prompts (Supp. B.5, B.6). The same tracker then propagates these prompts through each clip. Silver contains 7,327 clips from SurgVU, and its spatial predictions are not reviewed point by point.
Data use and release.
All source videos are publicly available, and no new patient or animal data were collected. The release includes annotations, prompt points, review status, and clip boundaries. The source licenses govern distribution of the video clips (Supp. F).
3.2 Annotation definition
Each clip is described through five linked dimensions, with all labels referring to the same action.
Which and What.
These identify four tools (hook, grasper, scissors, and clipper) and four actions (dissect, grasp, clip, and cut), covering six annotated tool–action combinations.
When.
Two nested temporal spans describe the action and its surrounding motion. The action window includes the tool’s approach and completion or withdrawal, with boundaries determined by the tool-specific rules. Within it, the interaction window is defined by the visible events of the annotated action: for example, grasper grasp begins when the jaws start closing and ends when motion stops after retraction, while hook dissection begins with pulling or cauterizing and ends when the hook leaves the contact area. Supp. A.2, E.1 give the corresponding events, and Supp. B.3 gives the tolerances.
How.
Three instrument-specific keypoints form per-frame trajectories throughout the action, with a visibility flag at each frame. A hook has one tip point and two points at the head–shaft junction; jawed instruments have two tip points and one point at the jaw pivot or base. Placement follows the tool-specific annotation rules in Supp. E.3.
Where.
Four tissue-attached point tracks represent the contact region throughout the window, enclosing the affected tissue with a small buffer (Supp. B.2, D.2). During the interaction window, the region encloses contacted tissue; before and after it, the tracks follow the corresponding tissue through the window. For both tool and tissue points, visibility flags determine their contribution to spatial supervision and evaluation.
- Source
- Setting
- Video
- Vid.
- Clips
- Vid.
- Clips
- Cholec80 [59]
- Clinical laparoscopic cholecystectomy
- 854\times480 25 fps
- 30
- 6,058
- –
- –
- SurgVU [76]
- Robot-assisted training, porcine model
- 1280\times720 60 fps
- 32
- 4,281
- 40
- 7,327
- YouTube
- Public laparoscopic cholecystectomy
- \leq1280\times720 25–30 fps
- 21
- 2,766
- –
- –
- HeiChole [61]
- Clinical laparoscopic cholecystectomy
- 960\times540 25 fps
- 10
- 1,799
- –
- –
- CRCD [41, 42]
- Robot-assisted pseudo-cholecystectomy, ex vivo porcine liver
- 1280\times792 60 fps
- 8
- 764
- –
- –
- Total
- 101
- 15,668
- 40
- 7,327
4 TactusNet
T sampled frames. For dense annotation, Track Propagation selects a key frame (black box) separately for tool and contact points and propagates them to all N frames.We introduce TactusNet (Fig. 4), a unified reference model for predicting the five annotated attributes of a surgical action. Given a clip, we uniformly sample T=16 frames from its action window and encode them using a frozen V-JEPA 2.1 ViT-L [37] at 384\times 384 resolution. The video tokens are shared by a Semantic Head for tool and action recognition, a Temporal Head for interval localization, and a Spatial Head for tool and contact points. Tool and action classes condition both localization heads.
Semantic prediction.
The annotated combinations are constrained by the dataset vocabulary, so the Semantic Head predicts a pair from the valid set \mathcal{K}. A tool query and an action query cross-attend to the video tokens [10], with the tool prediction supplied to the action query as a prior. Accordingly, the predicted pair is
\hat{k}=\operatorname*{arg\,max}_{k\in\mathcal{K}}\left(\ell^{\mathrm{t}}_{\mathrm{tool}(k)}+\ell^{\mathrm{a}}_{\mathrm{act}(k)}\right),where \ell^{\mathrm{t}} and \ell^{\mathrm{a}} are the tool and action logits. Pairs with a common tool or action share evidence, and the prediction belongs to \mathcal{K}.
Temporal localization.
The Temporal Head predicts the interaction window within the action window. Spatial pooling converts the video tokens into temporal features, and FiLM [44] incorporates the tool and action conditions. Following anchor-free temporal localization [72, 52], the head predicts an actionness logit A_{t}, distances \hat{l}_{t} and \hat{r}_{t} to the interval boundaries, and a quality logit Q_{t} at each sampled frame. We select t^{*}=\arg\max_{t}\sigma(A_{t})\sigma(Q_{t}) and decode
\hat{s}=\frac{t^{*}-\hat{l}_{t^{*}}}{T-1},\qquad\hat{e}=\frac{t^{*}+\hat{r}_{t^{*}}}{T-1},where t\in\{0,\ldots,T-1\} and the distances are measured in sampling steps. The decoded boundaries are normalized positions within the window.
Spatial localization.
Instrument landmarks occupy a small image region, motivating coarse-to-fine prediction for fine-grained tool localization. It first predicts tool points over the full frame and defines a crop around them. The cropped frames are then encoded again, allowing separate decoders to estimate tool points and contact-region corners. Finally, a refiner adjusts the tool points using image crops at the original resolution. Each point decoder receives the tool and action conditions and predicts a confidence for every point.
For contact supervision, we derive a target from annotated tool-tip positions. For sampled frame t with source-frame index f_{t}, let \mathcal{F}_{t} contain the frames within the annotated interaction window at or after f_{t} that have a visible tip. Specifically, the target map is
M_{t}(\mathbf{g})=\max_{i\in\mathcal{F}_{t}}\exp\!\left(-\frac{\|\mathbf{g}-\mathbf{u}_{i}\|^{2}}{2\sigma_{g}^{2}}\right),where \mathbf{u}_{i} is the mean position of the visible tips in frame i and \sigma_{g} controls the Gaussian width. An empty \mathcal{F}_{t} is replaced by all frames with visible tips in the interval; clips without any such frame receive no contact target. From these tip positions, we derive four corner targets (Supp. C.1). This target describes tool-tip activity, whereas the benchmark evaluates overlap with the human-defined tissue regions (Supp. C.3).
Training and inference.
In the default configuration, the video encoder remains frozen, and the heads are trained separately using its shared features. Ground-truth tool and action labels condition the Temporal and Spatial Heads. At inference, these conditions come from the Semantic Head or supplied labels. For dense annotation, we select the most confident sampled frame within the interaction window separately for tool and contact points, and propagate the prompts using CoTracker3 (Supp. C.1). Model-assisted annotation uses the human-annotated interaction window for this selection. For benchmark evaluation, spatial scores use the direct predictions on sampled frames, before propagation. Supp. C provides the architecture, losses, and optimization details.
5 Experiments
- No data
- Backbone
- Pretraining
- Acc (%)\uparrow
- Acc (%)\uparrow
- Acc (%)\uparrow
- mAcc (%)\uparrow
- Majority class
- /
- /
- 68.4
- 77.2
- 68.4
- 16.7
- TSN [62]
- ResNet-50
- ImageNet-1k
- 84.7
- 81.4
- 78.4
- 56.3
- TSM [31]
- ResNet-50
- SSv2
- 87.8
- 90.3
- 85.1
- 56.5
- VideoMAE [57]
- ViT-B/16
- VideoMAE, SSv2
- 94.2
- 96.2
- 92.8
- 73.3
- X-CLIP [38]
- ViT-B/16
- CLIP, K400
- 91.3
- 90.6
- 87.1
- 68.7
- Endo-FM∗ [64]
- ViT-B/16
- Endo-FM
- 85.1
- 82.9
- 80.0
- 42.5
- TactusNet (ours)
- ViT-L/16†
- V-JEPA 2.1
- 96.3
- 96.5
- 93.8
- 82.7
- fine-tuned, shared
- ViT-L/16
- V-JEPA 2.1
- 96.3
- 96.9
- 94.1
- 84.9
- fine-tuned, per head
- 3\timesViT-L/16
- V-JEPA 2.1
- 97.6
- 97.8
- 95.8
- 89.2
- (b) Temporal localization
- When
- No data
- Backbone
- Pretraining
- tIoU\uparrow
- [email protected] (%)\uparrow
- Whole window
- /
- /
- 0.454
- 15.4
- Pair-mean interval
- /
- /
- 0.569
- 36.1
- ActionFormer [72]
- ViT-L/16†
- V-JEPA 2.1
- 0.624
- 46.6
- TriDet [52]
- ViT-L/16†
- V-JEPA 2.1
- 0.616
- 45.5
- QD-DETR [36]
- ViT-L/16†
- V-JEPA 2.1
- 0.599
- 44.3
- MS-TCN [1]
- ViT-L/16†
- V-JEPA 2.1
- 0.607
- 43.3
- TactusNet (ours)
- ViT-L/16†
- V-JEPA 2.1
- 0.592
- 40.7
- fine-tuned, shared
- ViT-L/16
- V-JEPA 2.1
- 0.592
- 40.8
- fine-tuned, per head
- 3\timesViT-L/16
- V-JEPA 2.1
- 0.592
- 40.4
- (c) Keypoints and regions
- How
- Where
- No data
- Backbone
- Pretraining
- ADE (px)\downarrow
- >32 px (%)\downarrow
- Dice\uparrow
- DARK [73]
- HRNet-W32
- ImageNet-1k
- 23.88
- 24.4
- 0.347
- ViTPose [70]
- ViT-B/16
- MAE, ImageNet-1k
- 23.64
- 24.0
- 0.339
- DSTA [21]
- ResNet-50
- ImageNet-1k
- 25.70
- 25.2
- 0.312
- SegFormer [68]
- MiT-B2
- ImageNet-1k
- –
- –
- 0.351
- TactusNet (ours)
- ViT-L/16†
- V-JEPA 2.1
- 19.15
- 20.3
- 0.242
- fine-tuned, shared
- ViT-L/16
- V-JEPA 2.1
- 19.10
- 20.3
- 0.244
- fine-tuned, per head
- 3\timesViT-L/16
- V-JEPA 2.1
- 18.68
- 19.9
- 0.244
5.1 Tasks, data splits and evaluation
We systematically evaluate TactusNet and 13 published methods across the five annotation dimensions. The benchmark uses 15,499 Gold clips, split by video into 12,372 training, 1,604 validation, and 1,523 test clips (Supp. D.1). All checkpoints are selected on the validation set. All learned models in the main comparison train on Gold; the default TactusNet uses a frozen video encoder. Localization uses ground-truth tool and action labels; interaction windows, tool keypoints, and contact regions are scored separately. We further evaluate training with additional Silver annotations. We also assess encoder fine-tuning.
Tool and action recognition.
We report top-1 accuracy for the tool, action, and pair, together with mean accuracy across the six pairs. The baselines are TSN [62], TSM [31], VideoMAE [57], X-CLIP [38], and Endo-FM [64], with a majority-class reference.
Temporal localization.
We report temporal IoU (tIoU) and recall at a tIoU threshold of 0.7. ActionFormer [72], TriDet [52], QD-DETR [36], and MS-TCN [1] use features from the same frozen encoder as TactusNet. Whole-window and pair-mean intervals provide references requiring no model training.
Tool-keypoint localization.
We report average displacement error (ADE) and the share of visible tool points with errors above 32 pixels. Spatial metrics use 16 uniformly sampled frames in a 384\times 384 coordinate system. DARK [73], ViTPose [70], and DSTA [21] serve as keypoint baselines.
Contact-region estimation.
We measure overlap with the annotated tissue regions using Dice. For keypoint methods, the region is the convex hull of the contact points; SegFormer [68] predicts a region mask. Metric definitions and baseline adaptations are given in Supp. D.2, D.5.
Baseline implementation.
To apply this protocol, we initialize the baselines with public pretrained backbone weights and follow their published training recipes with the adaptations listed in Supp. D.5. Specifically, classification baselines predict the six pairs, from which tool and action labels are read. For spatial localization, the keypoint baselines predict three tool points per tool and four contact points per pair; training and evaluation select the outputs associated with the annotated classes. These models operate on the complete content frame, using a fixed crop per video to remove borders and interface panels. The temporal baselines use the true pair’s output channel, while QD-DETR receives a fixed text query for that pair. The interaction window supplies the temporal supervision target.
5.2 Main results
Table 3 reports results across the five tasks. Qualitative examples and subgroup analyses appear in the supplement.
Tool and action recognition.
The default TactusNet achieves 93.8% pair accuracy, compared with 92.8% for VideoMAE, the strongest external classifier. Its mean pair accuracy is 82.7%, compared with 73.3% for VideoMAE.
Temporal localization.
ActionFormer achieves the highest tIoU of 0.624 and a recall of 46.6% at the 0.7 threshold. All four temporal baselines outperform the default TactusNet Temporal Head, which reaches 0.592 tIoU. However, the pair-mean interval already achieves 0.569 without observing the video, leaving a margin of 0.055 for ActionFormer.
Tool-keypoint localization.
The default TactusNet achieves 19.15 pixels ADE, compared with 23.64 for ViTPose. Despite this lower average error, 20.3% of its visible tool points remain more than 32 pixels from the annotated positions.
Contact-region estimation.
SegFormer achieves the highest Dice of 0.351, followed by the keypoint baselines at 0.312–0.347 and the default TactusNet at 0.242. These methods also use different supervision targets. The baselines learn human-defined tissue regions, whereas TactusNet learns tip-derived targets, making the observed differences a combined effect of architecture and supervision (Supp. C.3). Within TactusNet, Dice increases from 0.096 on frames with two visible contact points to 0.306 with four (Supp. D.3). This visibility-dependent gap is consistent with the geometry of the annotated regions, as two visible points produce thin targets whose overlap is particularly sensitive to spatial offsets.
\dagger, ∗, and metrics as in Tab. 3.5.3 Ablation studies
We examine additional training data, encoder configuration, spatial refinement, and class conditions (Tab. 4).
The complementary roles of Gold and Silver.
To assess the contribution of Silver annotations, we compare Gold-only, Silver-only, and joint training under the same evaluation protocol (Tab. 4(c)). On SurgVU, Silver-only training achieves 18.67 pixels ADE, compared with 19.73 pixels for Gold-only training, showing that Silver provides useful supervision for tool localization within its source domain. Moreover, adding Silver clips and their human class labels to Gold training increases pair accuracy from 93.8% to 95.5%. Together, the source-domain localization result and the recognition gains support the training value of Silver. Gold provides multi-source supervision, while Silver expands the collection through model-assisted spatial annotation (Supp. D.3).
Results by pair and source.
Figure 5 reveals substantial variation in tool-point localization across both maneuvers and video sources. Grasper grasp has the largest error, at about 33 pixels, compared with 16–19 pixels for the other pairs. Similarly, the error on YouTube clips reaches about 27 pixels, compared with 16–20 pixels for the other sources. Against this variation, adding Silver changes each group’s ADE by less than 3 pixels. Its largest source-level improvement occurs on SurgVU, which supplies the Silver clips, suggesting that the additional annotations provide their clearest localization benefit within the represented source domain.
The choice of video encoder.
We compare frozen VideoMAE, Endo-FM, V-JEPA 2 [5], and V-JEPA 2.1 configurations with retrained heads. At the tested model sizes and resolutions, V-JEPA 2.1 gives the strongest recognition and tool-point results, supporting its use as the default encoder. Temporal performance ranges from 0.586 to 0.592 tIoU.
Shared and per-head fine-tuning.
We compare shared and per-head encoder fine-tuning with a frozen control, all trained for ten additional epochs. Per-head fine-tuning raises pair accuracy from 94.0% to 95.8% and reduces ADE from 19.08 to 18.68 pixels. The gain also appears in mean pair accuracy, which weights all six pairs equally: 83.0% for the frozen control, 84.9% for shared fine-tuning, and 89.2% for separate encoders (Supp. D.6). Compared with equally extended head training, per-head encoder adaptation improves recognition and tool-point localization using three encoder instances (Supp. D.6).
Spatial refinement.
Across successive outputs of the same trained Spatial Head, zoom reduces ADE from 20.24 to 19.42 pixels, and the refiner further reduces it to 19.15. The median error falls from 12.5 to 9.9 pixels, while the share above 32 pixels remains near 20%. These reductions support local refinement for improving instrument-landmark precision.
Predicted class conditions.
To measure error propagation, we replace ground-truth classes with the predicted pair. ADE rises from 19.15 to 19.85 pixels, while tIoU and Dice decrease by 0.002 and 0.001. The increased tool-point error is consistent with instrument-specific landmark definitions, linking semantic predictions to subsequent spatial estimation.
6 Conclusion
We presented TACTUS, a dataset and benchmark built on a unified annotation protocol for complete surgical actions. The protocol connects action semantics, nested temporal windows, instrument trajectories, and tissue-region tracks, establishing explicit learning targets for understanding how instruments interact with tissue over time. Through a scalable Gold–Silver construction pipeline, we created 22,995 action clips from 141 videos across five public sources. We further introduced TactusNet and a common evaluation framework for semantic, temporal, and spatial prediction. Our experiments demonstrate the benefits of spatial refinement and the complementary training value of Gold and Silver annotations. Together, these contributions provide a foundation for developing surgical perception models that connect action recognition with execution timing, instrument motion, and tissue involvement. Future work will extend the protocol to additional procedures and instruments and expand Silver across more diverse video sources. By broadening the scale and coverage of this supervision, we aim to advance surgical action understanding and pave the way for future perception-guided surgical automation.
Supplementary Material
This supplement details how TACTUS is defined, constructed, and evaluated. We first describe the source videos and action definitions (Supp. A), followed by the construction pipeline and annotation-quality evidence (Supp. B). We then present the model implementation (Supp. C) and evaluation protocols and additional results (Supp. D). The operational annotation rules (Supp. E) and release contents (Supp. F) provide the remaining specifications.
Appendix A Surgical background
The surgical context below explains the visual differences among the sources and the tissue interactions represented by the tool–action pairs. The timing analysis in Sec. A.3 characterizes the pair- and tier-specific distributions relevant to When.
A.1 Surgical scenes of the five sources
The sources selected in Sec. 3.1 differ in tissue condition, instrument design, and image appearance. Cholec80, HeiChole, and the YouTube collection show laparoscopic cholecystectomy performed through small incisions, while SurgVU shows robot-assisted surgical training on porcine models. CRCD provides endoscopic views of robot-assisted cholecystectomy simulated on an ex vivo porcine liver placed on a table. The following source characteristics account for these visual differences.
Clinical laparoscopy.
Cholec80, HeiChole, and YouTube depict cholecystectomy, the removal of the gallbladder, in patients. These clinical scenes include bleeding from living tissue, smoke produced by electrical cautery, and rapid camera motion [59]. Their acquisition conditions also vary: Cholec80 originates from one hospital [59], whereas HeiChole spans three centers, two camera systems, and several instrument vendors [61]. Some YouTube frames additionally contain overlaid text, logos, or camera menus.
Robotic simulation on ex vivo tissue.
CRCD records simulated cholecystectomy with a first-generation da Vinci robot on an ex vivo porcine liver and gallbladder, removed from a pig [41, 42]. The absence of blood flow distinguishes this tissue from clinical scenes, while the similar colors of the liver and gallbladder can limit their visual separation [41]. TACTUS uses the left image from CRCD’s stereo endoscope.
Robotic training on porcine models.
SurgVU provides the second robotic source, with trainees and experts performing standard surgical steps on porcine models [76]. Up to three instruments can appear in a SurgVU frame. In its tool-detection validation set, embedded interface information is blurred [76].
Instruments.
Laparoscopic instruments have straight shafts, while many da Vinci instruments have an articulated distal wrist [76]. This articulation changes the orientation of the working tip relative to the shaft and informs the tool-specific keypoint definitions (Sec. E.3).
A.2 Tool–tissue interactions and boundaries
- hook dissect
- Tissue, including fat
- Retracts or cauterizes tissue to separate tissue layers and expose the structures beneath
- The hook starts to retract or cauterize, whichever comes first
- The hook leaves the contact area
- grasper grasp
- Tissue, organs
- Holds tissue and retracts or stabilizes it, to improve the view and access or to support another action such as dissection
- The jaws start to close
- The tool stops moving after the retraction
- scissors dissect
- Tissue
- Separates tissue; the protocol gives this pair no events of its own
- The tip begins to work on or deliberately touch tissue
- The tip leaves the contact area or retracts
- grasper dissect
- Tissue, including fat
- The closed tips enter the tissue shallowly, and the opening jaws then separate it bluntly
- The closed jaws enter the tissue
- The jaws stop opening
- clipper clip
- Ducts, vessels
- Places a clip on a duct or vessel to stop bleeding or to close it off
- Clipping starts: the jaws close
- The clipper resets and lets go
- scissors cut
- Ducts, vessels
- Closes the blades across a clipped duct or vessel
- Cutting starts
- Cutting ends
Table S1 specifies the visible events that delimit each pair’s interaction window, extending the general definition in Sec. 3.2. Scissors dissect follows the general rule without additional pair-specific events.
A.3 Action and interaction window lengths
The pair-specific distributions in Fig. S1 provide a temporal cue for When (Sec. 5.1). Silver action windows are shorter for every pair, including when compared only with Gold clips from SurgVU, Silver’s sole source. Both tiers follow the shared action and interaction definitions, with operational rules and tolerances specified in Tabs. S18, S19 and B.3. Median interaction-window lengths differ by at most 0.3 s, except for clipper clip, whose Silver median is 0.9 s longer. Consequently, the interaction window occupies a larger fraction of the Silver action window for every pair. Adding Silver changes this distribution during Temporal Head training, while the measured tIoU remains nearly unchanged (Sec. 5.3).
Appendix B Dataset construction
The construction pipeline integrates source selection, spatial annotation, track propagation, and quality control (Secs. 3.1 and 2); Supp. E provides the operational rules.
B.1 Source survey
- Used: four datasets and one YouTube collection
- Cholec80 [59], HeiChole [61], CRCD [41, 42], SurgVU [76], YouTube cholecystectomy collection
- Cholecystectomy, its robot-assisted simulation, and robot-assisted training (Tab. 2)
- Suitable
- Meets all criteria
- Shortlisted, not used: nine datasets
- GraSP [6]
- Robot-assisted prostatectomy
- Suitable, pooled
- Other procedure
- SAR-RARP50 [45]
- Robot-assisted prostatectomy
- Suitable, pooled
- Mostly suturing, not one of our actions
- AutoLaparo [65]
- Laparoscopic hysterectomy
- Undecided, pooled
- Other procedure
- MultiBypass140 [28]
- Laparoscopic gastric bypass
- Undecided
- Other procedure
- PhaKIR [49]
- Laparoscopic cholecystectomy
- Undecided
- Proposed after the Gold videos were labeled
- SARAS-MESAD [7]
- Robot-assisted prostatectomy, real and phantom
- Rejected
- Too sparse in time
- SARAS-ESAD [7]
- Robot-assisted prostatectomy
- Rejected
- Too small
- SurgT [12]
- Robot-assisted, porcine and human cases
- Rejected
- Too small
- SurgicalActions160 [50]
- Gynecologic laparoscopy
- Rejected
- Too small
- Not shortlisted: 23 datasets and one YouTube collection
- SIMS [54], SISVSE [71], Kvasir-Instrument [23], Dresden [11], DesmokeData [67], LapGyn4 [29], Sinus Surgery [46] (images); SPPIN [8] (MRI volumes)
- No video
- EndoVis17 [4] (temporally sampled frames), HiSWA-RLLS [55] (5 Hz), ROBUST-MIS [48] (one labeled frame per 10-s snippet)
- Sparse annotations or temporally sampled frames
- DeSmoke-LAP [43] (images and 10 short video clips), EndoNeRF [63] (six clips of 4–8 s), CVS challenge [2] (90-s segments), SurgToolLoc [77] (30-s training clips)
- Short clips or few videos
- EndoVis18 [3] (nephrectomy), PitVis-2023 [16] (pituitary surgery), PSI-AVA [60] (prostatectomy), ART-Net [20] (hysterectomy), LapEx [18] (sleeve gastrectomy), EgoSurgery [19] (egocentric open surgery), SurgRIPE [69] (phantom background), SurgPose [66] (ex vivo tool motion), YouTube mixed collection (many procedures)
- Other procedure or none
The survey considered 36 datasets and two YouTube collections, yielding five sources (Tab. S2). Suitable entries and AutoLaparo, initially undecided, formed the candidate pool. Annotation focused on cholecystectomy and its robot-assisted simulation and training, so pooled prostatectomy and hysterectomy datasets were excluded. PhaKIR, the remaining shortlisted cholecystectomy source, was proposed after Gold annotation was completed.
B.2 Annotation tool and track propagation
Gold tracks each clip from sparse key-frame prompts (Sec. 3.1).
Annotation tool.
The web tool in Fig. S2 supports temporal labels and spatial prompts, with server-side tracking. Reviewers inspect and revise clips in the same interface, and the release contains their latest annotations.
Propagation.
The server uses offline CoTracker3 [25] with backward tracking, propagating each point in both temporal directions from its selected key frame. Tracking covers the action window and all prompt frames; only frames within the window are retained. Each retained frame stores the point coordinates in source-video pixels, visibility flags, and exact frame index. Early grasp annotations used multiple points to outline the contact region. To simplify and standardize the annotation format across actions, these contours were converted to four tissue points, one at each corner of the minimum-area rectangle enclosing the annotated contact region. The points were tracked again to obtain the final four tissue tracks used by the benchmark (Sec. D.2). The standardized tracks were included in the final re-check. Contact points enclose the affected tissue with a small buffer, following the tool-specific placement rules in Sec. E.1 and the tolerances in Sec. B.3.
B.3 Rules and tolerances of the two tiers
- Tool, action
- Exactly right
- Missed actions
- Under 10% of the actions
- Action window ends
- About {\pm}5 frames; whole action inside
- {\pm}10–20 frames; whole action inside
- Interaction window ends
- 1–2 frames; grasp end about 5 frames
- 3–5 frames
- Tool points
- 5 px; scissors pivot 2 px; grasper tighter
- Placed by the Silver generator
- Contact points
- Enclose the contact region with a small buffer, allowing a placement tolerance of 5–10 px
- Placed by the Silver generator
- Review
- Two rounds, then reviewer correction; core-team re-check
- One reviewer checks the human labels
The requirements in Tab. S3 specify accepted precision and annotation procedures. Sections E.1 and E.2 provide the remaining protocol rules.
B.4 Review and re-check
- Labeled by
- Videos
- records
- records
- %
- Recruited annotators
- Cholec80
- 12
- 2,813
- 120
- 4.3
- HeiChole
- 10
- 1,799
- 111
- 6.2
- CRCD
- 7
- 727
- 130
- 17.9
- SurgVU
- 32
- 4,281
- 205
- 4.8
- YouTube
- 21
- 2,866
- 87
- 3.0
- All
- 82
- 12,486
- 653
- 5.2
- Core team
- 19
- 3,282
- 0
- 0.0
The final Gold release contains 15,668 clips (Tab. 2). Table S4 reports annotation-stage review records, including 12,486 records produced by recruited annotators, of which 653 required reviewer correction after two review rounds (5.2%).
Review.
Records revised by their annotators are included in the approved total of the review log.
Corrections are concentrated in a small subset of videos: the six videos with correction rates above 20% contain 5.9% of the records and account for 39% of corrections. One CRCD video has the highest rate, 78% (80 of 102 clips), and contributes most of that source’s corrections.
Re-check.
The final re-check assigned each Gold video to one core-team member for inspection of all finalized clips. It included the grasp clips after standardization to four tissue tracks (Sec. B.2). Changes made during this re-check were not counted (Tab. S5).
B.5 Annotation effort
Separating human semantic and temporal labeling from automated spatial prompting reduces the manual effort required for Silver annotation.
People.
Sixteen recruited students annotated 82 Gold videos, and four core-team members annotated the remaining 19. Three core-team members reviewed the student annotations, and five conducted the final Gold re-check. Students annotated Silver following Sec. E.2.
B.6 The Silver generator
For model-assisted annotation, we use an early version of the TactusNet Spatial Head, trained on data selected for spatial prompt generation. Human annotators provide the tool and action labels and temporal boundaries, while the trained model generates spatial prompts for propagation.
Model.
All four components follow the Spatial Head architecture of TactusNet (Sec. C.1). They comprise the full-frame stage 1 that also defines the zoom region, the zoom stage for tool points, the contact decoder, and the refiner. Full-frame and zoomed inputs are encoded by a frozen V-JEPA 2.1 ViT-L at 384 pixels. The refiner operates on native-frame crops.
Training data.
The following describes the training data used for this annotation task. The benchmark experiments in the main paper follow the video-level partitions in Sec. D.1. For spatial prompt generation, the three tool-point components, stage 1, zoom, and refinement, were trained only on SurgVU. An earlier split divided each of the 32 SurgVU Gold videos temporally into training, validation, and test segments (70/15/15%), separated by 30 s gaps. Excluding clips in these gaps left 3,528 clips. The tool-point components of the early generator evaluated in Sec. B.7 were trained on the training and validation segments. The contact decoder is trained on targets derived from annotated tool-tip trajectories (Eq. 3) and evaluated against human-annotated tissue regions. It was trained on these SurgVU clips and 5,082 clips from the other 69 Gold videos, covering every pair with hook dissect subsampled. Thus, only the contact decoder was trained on Gold videos outside SurgVU.
Point placement.
The Silver release contains 7,327 clips from SurgVU. For spatial annotation, Track Propagation (Sec. C.1) selects the prompt frames, and CoTracker3 propagates the seven predicted points using the Gold settings (Sec. B.2).
B.7 Gold review and model-assisted annotation evaluation
- Review (Gold, recruited annotators)
- Table S4; per video, median 2.6% corrected, none in 24 of 82 videos
- Clips that still failed after two rounds
- Re-check (all Gold)
- Every clip re-checked
- Changes not counted
- Reference model (Gold test set)
- Direct How and Where predictions in Tab. 3; propagation examples in Fig. S4
- Gold-only benchmark model
- Early-model evaluations (417 held-out SurgVU clips)
- Tool points: 6.56 px at 256 px, PCK@8 0.799. Contact Dice: 0.23 against human regions†
- Test segments of the earlier within-video split, using separate tool-point and contact-decoder variants
Table S5 combines Gold review records with model-based evaluations on Gold-labeled clips. Every Gold clip underwent review and a final re-check. We assess Silver-style re-annotation on the Gold test set using Gold-trained TactusNet and separately evaluate early tool-point and contact-decoder variants on held-out SurgVU clips. These early evaluations use the within-video SurgVU split, while the main benchmark uses the held-out videos defined in Sec. D.1. Section C.3 provides the corresponding contact-supervision comparison and further Spatial Head development analyses.
Appendix C TactusNet architecture and implementation
This section details the architecture, objectives, implementation, and design choices of TactusNet (Sec. 4).
C.1 Architecture and losses
Figure S3 shows four components: semantic, temporal, and spatial prediction from shared video tokens, followed by dense track propagation. Their architectures and objectives follow below, with hyper-parameters in Tab. S6.
R updates. (d) Track Propagation: separately for tool points and corners, the most confident sampled frame inside the interaction window seeds CoTracker3, which propagates them to all N frames. \mathcal{L} denotes the losses in Sec. C.1. Roman numerals I–IV identify the four architectural components. Within component III, stages 1 and 2 denote full-frame and zoomed tool-point prediction, respectively.In the default configuration, the frozen encoder maps the T sampled frames to tokens \mathbf{Z}\in\mathbb{R}^{T^{\prime}\times H^{\prime}\times W^{\prime}\times C}, with each of the T^{\prime} tubelets covering T/T^{\prime} frames.
- Encoder
- V-JEPA 2.1 ViT-L/16, frozen; input 384\times 384; T=16, T^{\prime}=8, H^{\prime}=W^{\prime}=24, C=1024; full-frame last-layer tokens computed once per clip and cached in fp16
- Semantic Head
- One query per branch, of dimension C, with 16 attention heads; \alpha starts at 0.05
- Temporal Head
- C_{\mathrm{p}}=512; \mathbf{v}_{t} of dimension 256; adapter kernel 5; \phi=0.5; K=15
- Temporal loss
- \lambda_{\mathrm{cls}}=0.1, \lambda_{\mathrm{b}}=0.1, \lambda_{\mathrm{prop}}=0.2, \lambda_{\mathrm{Q}}=0.15, \lambda_{\mathrm{ada}}=0.05; focal loss with focusing parameter 1.5 and positive weight 0.25; sensitivity widths 0.5 (center) and 0.35 (ends) of half the interaction window, with floor 0.25; total weights 0.2 and 0.8 for the positive and the negative frames of a clip; varifocal loss with parameters 2 and 0.75
- Point decoders
- P=3 (tool) or 4 (contact); V=8; L=2; R=4; 16 attention heads in the cross-attention passes and query mixing, and 4 heads of width 128 in the update steps, whose sampled features are projected to 64 channels; median filter over 5 frames; soft-argmax window of 5\times 5 cells; offsets bounded by 0.2 and each update by 0.06, in normalized image coordinates; local features from 3\times 3 cells; \psi starts at 0
- Point loss
- Huber threshold 6 px; \lambda_{\mathrm{ce}}=2 with a Gaussian of 1 cell; \lambda_{\mathrm{conf}}=0.5 with an error threshold of 8 px; both thresholds in pixels at 384\times 384 of the decoder’s input (full frame or zoom crop). (w_{0},\dots,w_{4})\propto(0.60,0.50,0.45,0.40,0.50) up to epoch 16, (0.35,0.45,0.60,0.80,1.00) from epoch 20 to 44, and (0.15,0.25,0.50,0.90,1.00) from epoch 50, linear in between
- Augmentation
- Token masking rate 0 for 5 epochs, then linear to 0.075 at epoch 20 and to 0.15 at epoch 30, then constant. A masked token becomes a learned mask token with a position embedding (80%) or a random token of its tubelet (10%), or it stays (10%). Centroid noise with probability 0.5 and standard deviation 0.015 in normalized coordinates
- Zoom box
- Percentiles 5 and 95; \mu=1.5; \nu=96 px; B_{\min}=256 px; B_{\max}=720 px (native pixels). Training boxes: center shifted by up to 0.08B per axis and side scaled by a factor in [0.9,1.25], drawn once per clip
- Contact targets
- \sigma_{g}=14W/384 native px, isotropic in the frame (W: content-box width), i.e., 14 px across and 14W/H px down at 384\times 384; grid of 48\times 48 cells over the zoom box; \eta=1.5; \lambda_{\mathrm{dice}}=60; \tau=0.5
- Refiner
- D=128 native px; 12 input channels; 32\times 32 heatmap (4 native px per cell); input Gaussians of 6 native px; target Gaussian of 1 cell; \lambda_{1}=0.025 per native pixel; \lambda_{\mathrm{tr}}=0.2; 32 base channels
Semantic Head.
The tool and action queries each attend to all T^{\prime}H^{\prime}W^{\prime} tokens through separate multi-head cross-attention layers. A linear classifier maps each pooled feature to logits \boldsymbol{\ell}^{\mathrm{t}} or \boldsymbol{\ell}^{\mathrm{a}}. To incorporate the tool–action relationships in Sec. 3.2, the action query \mathbf{q}^{\mathrm{a}} also receives the tool prediction as a prior. This prior is initialized to zero and uses a stopped gradient to preserve the tool branch during action training:
\mathbf{q}^{\prime\mathrm{a}}=\mathbf{q}^{\mathrm{a}}+\alpha\,\mathbf{W}\,\operatorname{sg}\big(\operatorname{softmax}(\boldsymbol{\ell}^{\mathrm{t}})\big),where \mathbf{W} is a zero-initialized linear map, \alpha is a learnable scalar, and \operatorname{sg} denotes stop-gradient. The two sets of logits are combined through Eq. 1 to select a valid pair.
Temporal Head.
Frame-level prediction requires converting tubelet tokens into one feature per frame. A frozen channel-reduction block first maps C channels to C_{\mathrm{p}}. It retains its random initialization and comprises a linear projection, depthwise and pointwise convolutions, and a residual that moves each tubelet halfway toward the mean over tubelets. Concatenated spatial mean and maximum features are mapped to C_{\mathrm{p}} channels by a trained layer (LayerNorm, linear map, GELU), then linearly interpolated to the T frames. To adapt these frozen features for localization, a temporal adapter adds a zero-initialized residual branch, inspired by SoLa [24]. The pair also provides a cue for When (Sec. 5.1). Accordingly, FiLM [44] conditions each adapted feature \mathbf{h}_{t} on \boldsymbol{\kappa}, the sum of a tool and an action embedding:
\mathbf{h}^{\prime}_{t}=\mathbf{h}_{t}\odot\big(1+\phi\tanh(\mathbf{W}_{1}\boldsymbol{\kappa})\big)+\mathbf{W}_{2}\boldsymbol{\kappa},where \mathbf{W}_{1} and \mathbf{W}_{2} are linear maps and \phi bounds the scale. A shared MLP maps \mathbf{h}^{\prime}_{t} to \mathbf{v}_{t}, and linear layers predict the actionness logit A_{t} and boundary logits b^{\mathrm{s}}_{t} and b^{\mathrm{e}}_{t}.
Following TriDet [52], each distance to an interval boundary is represented by a distribution over bins d\in\{0,\dots,K\}. Each bin incorporates the boundary logit of the frame at that distance:
\zeta^{\mathrm{s}}_{t,d}=\beta^{\mathrm{s}}_{t,d}+b^{\mathrm{s}}_{t-d},\qquad\zeta^{\mathrm{e}}_{t,d}=\beta^{\mathrm{e}}_{t,d}+b^{\mathrm{e}}_{t+d},where \beta^{\mathrm{s}} and \beta^{\mathrm{e}} are predicted from \mathbf{v}_{t}, and frames outside the action window contribute zero. This formulation increases the weight of distances that align with likely boundaries. The means of the two softmax distributions over d yield \hat{l}_{t} and \hat{r}_{t} in Eq. 2. Inspired by GFLV2’s distribution-guided quality prediction [30], the quality logit Q_{t} evaluates these distances using \mathbf{v}_{t} and the top-1 probability, top-1 margin, and entropy of each distribution. Finally, a proposal branch [32] regularizes \mathbf{v}_{t} during training by scoring every candidate interval from its boundary features, mean feature, and length.
Point-decoder architecture.
The stage-1, zoom, and contact decoders share an architecture of two cross-attention passes followed by R updates. For frame t, each decoder uses 1+P+V queries indexed by n: a centroid query, P point queries, and V virtual queries for context. Each query combines a shared learned state, condition \boldsymbol{\kappa}, a query-specific embedding, and an embedding of the frame within its tubelet. In the first pass, queries cross-attend to their tubelet’s tokens, with keys modulated by FiLM from \boldsymbol{\kappa}. This produces query states and attention maps \pi^{(1)}_{t,n} over the H^{\prime}\times W^{\prime} cells. To exchange motion information across frames, query mixing operates on these states. It stacks L blocks, each with one transformer layer along time and one across the queries within a frame. The resulting zero-initialized residual is added to the second-pass queries, which reuse the cross-attention weights.
The second pass further incorporates a learned local prior around the first-pass estimates. For point p, a windowed soft-argmax around the peak of \pi^{(1)}_{t,p}, followed by temporal median filtering, gives a reference \bar{\mathbf{y}}_{t,p}. The local prior added to the second-pass attention logits is
a_{t,p}(\mathbf{g})=-\,\omega_{t,p}\,\big\lVert(\mathbf{g}-\bar{\mathbf{y}}_{t,p})\odot(W^{\prime},H^{\prime})\big\rVert^{2},where \mathbf{g} is the normalized center of a cell. A zero-initialized MLP predicts \omega_{t,p} from the peak value and normalized entropy of \pi^{(1)}_{t,p} and the tool identity, controlling the strength of the prior. The centroid query averages the point references and weights; virtual queries receive no local prior.
To represent shared tool motion and relative geometry, the decoder separates the centroid from the point layout. The centroid \mathbf{c}_{t} is obtained from the second-pass centroid map \pi^{(2)}_{t,n} by soft-argmax, followed by a correction of at most one cell. Each point state predicts a bounded offset \mathbf{o}_{t,p}, with zero mean over points. The point’s own map supplies a complementary estimate through its windowed soft-argmax \hat{\mathbf{y}}^{(2)}_{t,p}. The initial prediction blends the centroid-offset and map-based estimates:
\mathbf{x}^{0}_{t,p}=(1-\gamma)\,(\mathbf{c}_{t}+\mathbf{o}_{t,p})+\gamma\,\hat{\mathbf{y}}^{(2)}_{t,p},where \gamma=\sigma(\psi) with a learned scalar \psi. Next, R update steps refine the points using shared weights and a learned step embedding, as in CoTracker [26]. At step r, token features sampled around the points and centroid update \mathbf{c}^{r} through a state carried across steps. Attention within each frame and along time then predicts a bounded update \Delta\mathbf{o}^{r}. The new offsets are \mathbf{x}^{r-1}-\mathbf{c}^{r}+\Delta\mathbf{o}^{r} minus their mean; adding them to \mathbf{c}^{r} gives \mathbf{x}^{r}, with \mathbf{x}^{R} as the final output.
For subsequent Track Propagation, a small MLP predicts each point’s confidence from its second-pass state and the peak value and entropy of \pi^{(2)}_{t,p}.
Coarse-to-fine spatial refinement.
To localize the tool at finer resolution, the stage-1 points from all T frames define one square zoom box per clip in native pixels. With \Delta x and \Delta y the ranges between a lower and an upper percentile of the points, the side of the box is
B=\operatorname{clip}\big(\mu\max(\Delta x,\Delta y)+\nu,\;B_{\min},\;B_{\max}\big),where \mu and \nu provide a margin and B_{\min} and B_{\max} bound the box size. The box is centered on the middle of the two ranges. Areas outside the frame are zero-padded, and the T crops are resized to the encoder input. The refiner then uses a D\times D native-frame crop around each zoomed tool point to refine its position at the original resolution. Its input comprises the image, Gaussian maps of the tool points with the current point first, and one-hot maps of the tool and point role (tip or anchor). A small residual encoder–decoder predicts a crop heatmap, whose full-map soft-argmax gives the refined point. Refinement applies to tool landmarks; contact corners define a region rather than visible landmarks and retain their decoder predictions.
Track Propagation.
For dense annotation, Track Propagation extends the sampled-frame predictions across the clip. Among sampled frames inside the interaction window, it selects the frame with the highest mean confidence of the three tool points or the four corners, separately for each group. If the interaction window contains no sampled frame, it uses the nearest sampled frame as a fallback. CoTracker3 then propagates all tool and contact points using the settings in Sec. B.2.
Semantic and temporal objectives.
The prediction heads use separate training objectives. Because the action branch incorporates the tool prediction, the tool branch is trained first with \mathcal{L}_{\mathrm{tool}}=\operatorname{CE}(\boldsymbol{\ell}^{\mathrm{t}},y^{\mathrm{t}}), where y^{\mathrm{t}} is the true tool. The tool branch is then frozen, and its attention weights initialize the action attention. The action branch and tool prior are trained with \mathcal{L}_{\mathrm{action}}=\operatorname{CE}(\boldsymbol{\ell}^{\mathrm{a}},y^{\mathrm{a}}) for the true action y^{\mathrm{a}}. For the Temporal Head, the frames inside the true interaction window [s^{*},e^{*}] are positive, and their distances to its ends are the targets. The temporal objective is
\begin{split}\mathcal{L}_{\mathrm{time}}&=\lambda_{\mathrm{cls}}\mathcal{L}_{\mathrm{cls}}+\mathcal{L}_{\mathrm{reg}}\\
&\quad{}+\lambda_{\mathrm{b}}\bigl(|\hat{s}-s^{*}|+|\hat{e}-e^{*}|\bigr)\\
&\quad{}+\lambda_{\mathrm{prop}}\mathcal{L}_{\mathrm{prop}}+\lambda_{\mathrm{Q}}\mathcal{L}_{\mathrm{Q}}+\lambda_{\mathrm{ada}}\mathcal{L}_{\mathrm{ada}}.\end{split}Here \mathcal{L}_{\mathrm{cls}} applies focal loss [33] to A_{t}, with frame sensitivity peaking at the interaction-window center [51] and count-based balancing of positive and negative frames [34]. The complementary regression term \mathcal{L}_{\mathrm{reg}} applies DIoU loss [75] to the positive-frame distances, with sensitivity peaking at the interaction-window ends. The \lambda_{\mathrm{b}} term directly supervises the decoded boundaries by comparing \hat{s} and \hat{e} in Eq. 2 with the true ends. Two additional terms supervise interaction-window quality using tIoU. \mathcal{L}_{\mathrm{prop}} is the binary cross-entropy between proposal scores and their tIoU with [s^{*},e^{*}]. \mathcal{L}_{\mathrm{Q}} applies varifocal loss [74] to Q_{t}, with the tIoU of the interaction window predicted at t as the positive-frame target and zero elsewhere. Finally, \mathcal{L}_{\mathrm{ada}} provides temporal feature regularization following SoLa. For distinct sampled frames t\neq t^{\prime}, let \mathbf{z}_{t} denote a linear projection of the adapted feature. Binary cross-entropy brings \big(1+\cos(\mathbf{z}_{t},\mathbf{z}_{t^{\prime}})\big)/2 toward \sigma\big(16/(t-t^{\prime})^{2}\big), which decreases with frame separation.
Point-decoder objectives.
Each point decoder minimizes
\mathcal{L}_{\mathrm{dec}}=\sum_{r=0}^{R}w_{r}\,\mathcal{L}^{r}_{\mathrm{pt}}+\lambda_{\mathrm{ce}}\mathcal{L}_{\mathrm{ce}}+\lambda_{\mathrm{conf}}\mathcal{L}_{\mathrm{conf}},where \mathcal{L}^{r}_{\mathrm{pt}} applies Huber loss to visible points after update r, with r=0 corresponding to Eq. S5. The weights w_{r} sum to one and progressively emphasize later updates during training. \mathcal{L}_{\mathrm{ce}} directly supervises the second-pass maps through cross-entropy between \pi^{(2)} and a Gaussian around the true point. \mathcal{L}_{\mathrm{conf}} uses binary cross-entropy to identify final points that are visible and lie within a fixed error threshold. To approximate stage-1 localization errors, the zoom and contact decoders train on randomly shifted and scaled boxes around visible true points. Training additionally masks a subset of input tokens and perturbs the centroid before the first update.
Tip-derived contact supervision.
The contact decoder represents its tip-derived training target in two complementary forms: a region map and four corner points. Equation 3 defines the map M_{t} on a grid over the zoom box. The set \mathcal{F}_{t} uses frames within the interaction window at the native frame rate, retaining those at or after the source frame corresponding to t with a visible tip. If this set is empty, all frames with a visible tip in the interaction window are used. Interaction windows without visible tips receive no contact target. For the corner representation, let \bar{\mathbf{u}}_{t} be the mean of the tip positions \mathbf{u}_{i} over \mathcal{F}_{t}, and let (\xi_{t,j},\mathbf{e}_{t,j}), j\in\{1,2\}, be the eigenpairs of their covariance plus \sigma_{g}^{2}\mathbf{I}. A single position has zero covariance. The four corner targets lie at the ends of the two principal axes, scaled by \eta:
\mathbf{x}^{*}_{t,j\pm}=\bar{\mathbf{u}}_{t}\pm\eta\sqrt{\xi_{t,j}}\,\mathbf{e}_{t,j}.The corners are expressed in zoom-box coordinates and clipped to [0,1] on each axis. Because their order is arbitrary, each clip uses the one of the 4! assignments with the lowest visibility-weighted L1 distance to the final predictions over the T frames.
The region map contributes to \mathcal{L}_{\mathrm{contact}}=\mathcal{L}_{\mathrm{dec}}+\lambda_{\mathrm{dice}}\mathcal{L}_{\mathrm{dice}}, where \mathcal{L}_{\mathrm{dice}} compares M_{t} with a soft rasterization of the predicted quadrilateral. For this rasterization, corners \mathbf{p}_{1},\dots,\mathbf{p}_{4} are sorted by angle around their mean, placing the interior on the positive side of each edge. In grid units, a cell \mathbf{g} receives \prod_{m=1}^{4}\sigma\big((\mathbf{p}_{m+1}-\mathbf{p}_{m})\times(\mathbf{g}-\mathbf{p}_{m})/\tau\big), where \times is the 2D cross product, \mathbf{p}_{5}=\mathbf{p}_{1}, and \tau is a temperature. The score therefore approaches one inside all four edges. Both targets use later-frame annotations. Query mixing provides bidirectional context over the sampled frames.
Refiner objective.
To model stage 1 uncertainty, refiner training crops are displaced from true points by stage-1 errors sampled from validation clips. Its loss is \mathcal{L}_{\mathrm{refine}}=\mathcal{L}_{\mathrm{hm}}+\lambda_{1}\mathcal{L}_{1}+\lambda_{\mathrm{tr}}\mathcal{L}_{\mathrm{tr}}. Here \mathcal{L}_{\mathrm{hm}} is the cross-entropy between the heatmap and a Gaussian around the true point, and \mathcal{L}_{1} is the L1 loss of the refined point; both are evaluated on crops containing the true point. \mathcal{L}_{\mathrm{tr}} trains an auxiliary head to predict whether a windowed soft-argmax is closer to the true point than the crop center. The auxiliary head is used for checkpoint selection and omitted at inference (Tab. S7).
C.2 Implementation details
The default frozen-encoder configuration uses the component-specific schedules in Tab. S7 and the shared preprocessing and optimization settings described below. Each frame is first cropped to its video’s content box, excluding black borders and static interface panels, and resized to 384\times 384 without preserving the aspect ratio. This defines the metric coordinates in Sec. 5.1 (Sec. D.2). The resulting image is normalized using the ImageNet mean and standard deviation. All components use AdamW with a weight decay of 0.05 and are validated after every epoch. Except for the refiner, they use bf16 mixed precision, a constant learning rate, gradient-norm clipping at 1.0, and seed 42. To account for the long-tailed pair distribution (Fig. 1), training clips are sampled in proportion to the inverse square root of their pair’s training count. These weights are normalized by their mean over the six pairs and capped at 10. We train the stage-1 decoder before the zoom and contact decoders and the refiner. The Semantic and Temporal Heads are trained independently.
- Semantic, tool branch
- \leq200a
- 64
- 5{\times}10^{-5}
- 0.999
- loss
- Semantic, action branch
- \leq73b
- 64
- 5{\times}10^{-5}
- 0.999
- loss
- Temporal Head
- \leq80c
- 64
- 5{\times}10^{-5}
- –
- tIoU
- Each point decoder
- 80
- 24
- 10^{-4}
- 0.999
- loss
- Refiner
- 20
- 4
- 10^{-3}d
- –
- ADEe
C.3 Spatial Head design analysis
The development variants in Tab. S8 use the earlier within-video SurgVU split in Sec. B.6, with 2,692 training, 419 validation, and 417 test clips. Training and held-out segments share videos. The main results in Tab. 3 use the final video-level benchmark. Section B.7 separately reports Gold-test re-annotation and held-out evaluations of early tool-point and contact-decoder variants.
For stage 1, five of the six individual changes reduce validation error, and their combination lowers it from 12.76 to 11.07 pixels. FiLM on the keys increases the error by 0.11 pixels; it is retained in the architecture on which the subsequent variants are built.
The contact-supervision comparison evaluates both variants against human-annotated tissue regions. Training on human regions gives a test Dice of 0.421, compared with 0.232 for the tip-derived targets used by TactusNet. For model-assisted annotation, however, the four contact points predicted on one selected frame initialize CoTracker3, which propagates them throughout the action window (Sec. C.1). The spatial coverage of these initial points therefore matters for the resulting annotation. During development, we observed that some predictions from the decoder trained on human regions covered only part of the instrument’s activity during the interaction. This motivated tip-derived targets, which incorporate visible tool-tip positions from the current frame onward through the temporal aggregation in Eq. 3. We retained this supervision in TactusNet to encourage more complete initial contact-prompt coverage for subsequent propagation, despite its lower Dice against human regions in the development comparison. As noted in the main paper, the Where comparison in Tab. 3 therefore reflects differences in both architecture and supervision.
- Stages of the Spatial Head: test ADE / PCK@12
- + zoom stage
- 11.82/0.720
- 10.67/0.772
- \bullet
- + refiner
- 10.67/0.772
- 10.17/0.787
- \bullet
- Stage-1 decoder: validation ADE
- + per-point map (\gamma, \mathcal{L}_{\mathrm{ce}})
- 12.76
- 12.45
- \bullet
- + FiLM on the keys
- 12.45
- 12.56
- \bullet
- + confidence
- 12.56
- 12.23
- \bullet
- + query mixing
- 12.23
- 11.86
- \bullet
- + L{=}2 blocks, V{=}8
- 11.86
- 11.57
- \bullet
- + local prior
- 11.86
- 11.67
- \bullet
- + both of the last two
- 11.86
- 11.07
- \bullet
- Contact decoder
- One joint tool–contact decoder
- \circ
- validation tool ADE
- 10.08
- 11.49
- validation hull IoU
- 0.264
- 0.263
- Tip-derived instead of human targets
- \bullet
- test Dice to human regions
- 0.421
- 0.232
Appendix D Evaluation protocol and additional analyses
This section specifies the benchmark partitions, model inputs, and task metrics for Sec. 5. Sections D.1 and D.2 define the partitions and metrics; Secs. D.3 and D.4 report results and computational cost of TactusNet. Sections D.5, D.6, D.7 and D.8 cover baseline adaptations, model comparisons, Silver-style re-annotation, and qualitative predictions.
D.1 Video partitions and model inputs
The Gold release contains 15,668 clips (Tab. 2). The benchmark uses a fixed set of 15,499 of these clips, split by video into 12,372 training, 1,604 validation, and 1,523 test clips (Tab. S9). Every split covers all five sources and six pairs. Whole videos are assigned while balancing source composition, action pairs, and clip duration (Tab. S9). The validation and test splits each target 10% of the merged annotated frames in Gold. Merged annotated frames are the union of a video’s action windows, so overlapping windows contribute only once. Gold and Silver contain 1,816,646 and 1,082,230 such frames, respectively, totaling 2,898,876 frames, or approximately 2.9 million. Each held-out split contains three videos each from Cholec80, SurgVU, and YouTube, and one each from HeiChole and CRCD. YouTube videos are grouped by channel before assignment, keeping each channel within one split. Under these constraints, simulated annealing (30 restarts of 2,000 steps) selects the video set \mathcal{V} from the candidate videos \mathcal{P} by minimizing
\mathcal{L}(\mathcal{V})=100\sum_{k}[3-n_{k}]_{+}+\sum_{x}w_{x}r_{x}^{2}+20\sum_{k}\Delta_{k}^{2},with [a]_{+}=\max(0,a).
In Eq. S10, k indexes pairs and s sources. The count n_{k} is the number of videos in \mathcal{V} containing pair k; the first term encourages each pair to occur in at least three videos per split. The second term weighs the squared deviation from the target share \rho of every source s, pair k, and source–pair cell sk, with r_{x}=\bigl(F_{x}(\mathcal{V})/F_{x}(\mathcal{P})-\rho\bigr)/\rho. F_{s} is the merged frame count of source s, and F_{k} and F_{sk} sum the clip frames of pair k (within source s). The weights are w_{s}=w_{k}=4 and w_{sk}=\min\bigl(1,\,F_{sk}(\mathcal{P})/30{,}000\bigr), so a rare cell weighs less. The final term controls duration through \Delta_{k}=\bar{\ell}_{k}(\mathcal{V})-\bar{\ell}_{k}(\mathcal{P}), where \bar{\ell}_{k} is the mean log duration in seconds of clips of pair k. It penalizes differences in this mean relative to the candidate set. The test split is selected first with \rho=0.1. The validation split is then drawn from the remaining videos with \rho=1/9, again targeting 10% of Gold.
- Training
- 79
- 12,372
- Validation
- 11
- 1,604
- Test
- 11
- 1,523
- Total
- 101
- 15,499
Clip inputs.
Each clip holds 16 sampled frames of its action window, cropped to the video’s content box (Sec. D.2). Each Gold benchmark clip contains at least one window frame with all three tool points annotated, regardless of visibility. A sampled frame without all three points receives their coordinates from the previous sampled frame, with the points marked invisible. For the first sampled frame, the fallback is initialized from the earliest window frame with all three tool points annotated. The Gold-only, Silver-only, and Gold + Silver models are evaluated on the same Gold test set.
D.2 Task-specific metrics and paired bootstrap
The evaluation in Sec. 5.1 measures each question separately. The definitions below specify the scoring and aggregation used in the implementation. All spatial metrics use one fixed 384\times 384 coordinate system per video.
Which, What, and Pair.
Each accuracy is the share of the 1,523 test clips whose prediction equals the label. For TactusNet, the pair follows Eq. 1, and Tab. 3 and Tab. 4(a) read Which and What from this pair, as they do for the classifiers. Table 4(c) instead reads them from the argmax of the tool and action logits. Pair mAcc averages the accuracy within each true pair over the six pairs, giving each pair equal weight.
When.
Temporal localization compares the predicted and annotated interaction windows on the normalized action-window axis. Let f_{1},\dots,f_{16} be the frame indices of the sampled frames, so that f_{1} and f_{16} are the ends of the action window. The annotated interaction window [a_{s},a_{e}] then maps to s=(a_{s}-f_{1})/(f_{16}-f_{1}) and e=(a_{e}-f_{1})/(f_{16}-f_{1}), and the predicted interaction window (\hat{s},\hat{e}) of Eq. 2 is clipped to [0,1] as well. On this axis,
\mathrm{tIoU}=\frac{\max\bigl(0,\,\min(\hat{e},e)-\max(\hat{s},s)\bigr)}{\max(\hat{e},e)-\min(\hat{s},s)}is averaged over the 1,523 clips. R@\theta is the share of clips with \mathrm{tIoU}\geq\theta, for \theta\in\{0.3,0.5,0.7\}. The whole-window floor predicts (\hat{s},\hat{e})=(0,1), so its tIoU equals the share of the action window that the interaction window fills.
How.
The coordinate system starts from one fixed content box per video, which removes black borders and static interface panels. The box is derived from the pixel motion in the middle frames of up to 40 clips of the video, so it uses no annotated points. Points are normalized to this box and scaled by 384 in both axes. Since the content box never exceeds the source frame, at most 1280\times 792 (Tab. 2), one metric pixel spans at most 3.3 source pixels horizontally and 2.1 vertically. In these coordinates, let \mathbf{p}_{tj} and \hat{\mathbf{p}}_{tj} be the annotated and the predicted position of tool point j in sampled frame t, and v_{tj}\in\{0,1\} its visibility flag. For TactusNet, \hat{\mathbf{p}} is the output of the refiner. The error of clip c is
e_{c}=\frac{\sum_{t=1}^{16}\sum_{j=1}^{3}v_{tj}\,\lVert\hat{\mathbf{p}}_{tj}-\mathbf{p}_{tj}\rVert}{\sum_{t=1}^{16}\sum_{j=1}^{3}v_{tj}},and the ADE averages e_{c} equally across clips with at least one visible tool point. In contrast, the median, the share above 32 px, and PCK@\delta pool all visible tool points, so every point counts equally. PCK@\delta is the share of these points with an error below \delta pixels, for \delta\in\{4,8,12,16\}.
Where.
Contact-region evaluation uses the four exported tissue tracks of each clip and their visibility flags across the sampled frames. For a sampled frame t with at least two visible annotated contact points, let G_{t} be the convex hull of these points and P_{t} the hull of the four predicted points; for SegFormer, P_{t} is instead its predicted mask, with the logits upsampled to 384\times 384 and thresholded at zero. Both hulls are rasterized in the 384\times 384 frame with a disc of radius 6 px at each hull vertex, and two-point hulls also receive a 12-pixel-wide line. These widths apply to scoring. Annotation buffers follow Secs. B.2 and E.1. Then
\mathrm{Dice}_{t}=\frac{2\,|P_{t}\cap G_{t}|}{|P_{t}|+|G_{t}|},and the IoU uses the same regions. Contact-point error measures location rather than overlap: the Hungarian algorithm matches the four predictions to the visible annotated points in each frame, and the matched distances are averaged. The reported Where Dice averages \mathrm{Dice}_{t} over all 21,070 scored test frames. Clips with more scored frames therefore receive greater weight.
Paired video bootstrap.
For clip-averaged ADE in Sec. 5.3, we evaluate the Gold-only and Gold + Silver models on the same test clips and resample whole videos. Let d(c) be the difference in ADE between the two models on clip c, and \mathcal{C}(v) the clips of video v. Each of 2,000 resamples draws V videos v_{1}^{(b)},\dots,v_{V}^{(b)} with replacement from the V test videos and computes
\hat{\Delta}^{(b)}=\frac{\sum_{i=1}^{V}\sum_{c\in\mathcal{C}(v_{i}^{(b)})}d(c)}{\sum_{i=1}^{V}\bigl|\mathcal{C}(v_{i}^{(b)})\bigr|}.A video selected twice contributes its clips twice. The 95% confidence interval is bounded by the 2.5th and 97.5th percentiles of \hat{\Delta}^{(b)}. The point estimate is the mean of d(c) over all clips.
D.3 Results by threshold, pair, and source
To characterize the aggregate results in Tab. 3, we examine localization thresholds, action pairs, and source-specific performance. Table S10 reports threshold-based and complementary metrics for Gold-only and Gold + Silver training. The whole-window reference reaches an [email protected] of 72.4% because the interaction window occupies at least 30% of the action window in most clips. The advantage of TactusNet over this reference increases from 11 points at \theta=0.3 to 25 points at \theta=0.7, the threshold reported in Tab. 3.
For the Gold-only model, averaging by clip gives an ADE of 19.15 px (Sec. D.2). Pooling visible point observations gives an ADE of 18.55 px, with greater weight assigned to clips containing more visible points. A quarter of the points lie within 4 px, while the median is approximately half the ADE, indicating a heavy error tail.
Contact overlap also depends on annotation visibility: Where Dice increases from 0.096 with two visible points to 0.306 with four. A two-point target forms a thin segment whose overlap is particularly sensitive to spatial displacement.
- When
- [email protected] (%)\uparrow
- 83.5
- 83.5
- 72.4
- [email protected] (%)\uparrow
- 67.0
- 67.2
- 43.1
- [email protected] (%)\uparrow
- 40.7
- 39.7
- 15.4
- How
- ADE over points (px)\downarrow
- 18.55
- 18.37
- –
- Median (px)\downarrow
- 9.9
- 9.7
- –
- PCK@4 (%)\uparrow
- 25.4
- 25.9
- –
- PCK@8 (%)\uparrow
- 44.8
- 44.8
- –
- PCK@12 (%)\uparrow
- 54.4
- 55.5
- –
- PCK@16 (%)\uparrow
- 61.0
- 62.1
- –
- >32 px (%)\downarrow
- 20.3
- 19.5
- –
- Where, human regions
- IoU\uparrow
- 0.153
- 0.154
- –
- Frames with Dice \geq 0.5 (%)\uparrow
- 12.6
- 12.4
- –
- Dice, 2 visible points\uparrow
- 0.096
- 0.095
- –
- Dice, 3 visible points\uparrow
- 0.185
- 0.184
- –
- Dice, 4 visible points\uparrow
- 0.306
- 0.308
- –
- Contact-point error (px)\downarrow
- 33.9
- 33.9
- –
Table S11 evaluates When, How, and Where separately for each pair, showing that the most difficult pair depends on the task. The changes from Silver are smaller than the differences between pairs: at most 0.020 in tIoU and 0.010 in human-region Dice for each pair. [email protected] varies more for rare pairs, by up to 9 points; these estimates are based on only 33 to 88 test clips per pair.
- No data
- tIoU\uparrow
- [email protected] (%)\uparrow
- ADE (px)\downarrow
- Dice, human regions\uparrow
- Pair
- Clips
- G
- G+S
- G
- G+S
- G
- G+S
- G
- G+S
- hook dissect
- 1,041
- 0.576
- 0.573
- 40.3
- 39.2
- 15.98
- 15.33
- 0.241
- 0.244
- grasper grasp
- 258
- 0.594
- 0.592
- 34.9
- 37.2
- 33.04
- 33.92
- 0.217
- 0.218
- grasper dissect
- 88
- 0.717
- 0.698
- 63.6
- 54.5
- 17.47
- 17.54
- 0.268
- 0.263
- scissors dissect
- 46
- 0.747
- 0.735
- 65.2
- 65.2
- 17.26
- 17.76
- 0.302
- 0.292
- clipper clip
- 57
- 0.582
- 0.562
- 33.3
- 28.1
- 18.79
- 21.47
- 0.276
- 0.275
- scissors cut
- 33
- 0.530
- 0.533
- 15.2
- 21.2
- 18.24
- 16.23
- 0.266
- 0.257
Table S12 compares tool-point localization across sources. YouTube has the highest error under Gold-only and Gold + Silver training. HeiChole and CRCD each have one test video.
- Cholec80
- 3
- 15.99
- 16.34
- +0.35
- SurgVU
- 3
- 19.73
- 18.52
- -1.21
- YouTube
- 3
- 26.79
- 26.77
- -0.02
- HeiChole
- 1
- 16.15
- 15.26
- -0.89
- CRCD
- 1
- 18.10
- 19.34
- +1.24
Training with Silver alone.
To further assess Silver as a training resource, we train all prediction heads on Silver alone, using the same frozen video encoder, training recipes, and Gold validation and test sets as the Gold and Gold + Silver settings. The Gold validation set supplies checkpoint selection and the refiner’s error bank under the existing recipe (Secs. C.1 and C.2). Silver provides human class and temporal labels together with model-generated spatial annotations (Sec. B.6). Gold and Silver use disjoint sets of video IDs. Table 4(c) reports the resulting recognition, temporal, and spatial scores under the common evaluation protocol. For Gold + Silver, tIoU decreases from 0.592 to 0.587, Dice increases from 0.242 to 0.244, and ADE decreases by 0.22 pixels, with a 95% confidence interval of [-1.28,0.89]. Silver-only training achieves a human-region Dice of 0.271.
Table S13 examines tool-point localization across test sources. On SurgVU, Silver-only training gives an ADE of 18.67 px, compared with 19.73 px for Gold-only training and 18.52 px for Gold + Silver. On SurgVU, Silver-only training has a lower point estimate of ADE than Gold-only training, while the paired 95% confidence interval for their difference includes zero. Across the other four sources, the corresponding errors are 30.10, 18.94, and 19.07 px. The source-dependent results support combining Silver’s additional supervision with Gold’s broader coverage.
- All sources
- 11
- 19.15
- 18.93
- 27.10
- +7.96 [2.23,14.86]
- +8.18 [2.99,14.58]
- SurgVU
- 3
- 19.73
- 18.52
- 18.67
- -1.06 [-2.76,2.66]
- +0.16 [-3.15,1.32]
- Other four sources
- 8
- 18.94
- 19.07
- 30.10
- +11.15 [5.23,18.19]
- +11.02 [5.33,17.83]
D.4 Computational cost
Table S14 reports hardware and elapsed times for training and inference. The default frozen encoder supports training on cached tokens. Two GPUs process separate module groups in parallel: one trains stage 1, the zoom stage, and the refiner sequentially, while the other trains the Semantic Head, Temporal Head, and contact decoder.
- Clip export
- 32 vCPUs
- 1.2 h
- Token cache
- 2\timesRTX 4090
- 1.3 h
- Training, Gold only
- 2\timesRTX 4090
- 19 h
- Training, Gold + Silver
- 2\timesRTX 4090
- 30 h
- Encoder fine-tuning, 5 runs
- 4\timesH100
- 10 h
- Inference, Spatial Head
- 1\timesRTX 4090
- 0.83 s/clip
D.5 Baseline recipes and task-specific adaptations
- (a) Which and What: video classifiers fine-tuned with six pair outputs
- TSN [62] TSM repository, SSv2
- ResNet-50
- ImageNet-1k
- 16{\times}224^{2}
- 50
- 64
- 1e-2
- 16 frames (8)
- TSM [31] TSM repository, fine-tuning
- ResNet-50
- SSv2
- 16{\times}224^{2}
- 25
- 64
- 1e-3
- 16 frames as its checkpoint (recipe: 8)
- VideoMAE [57] SSv2 fine-tuning
- ViT-B/16
- VideoMAE, SSv2
- 16{\times}224^{2}
- 30
- 64
- 1.25e-4
- batch 64 (384); horizontal flip on (off for SSv2 only)
- X-CLIP [38] K400, 16 frames
- ViT-B/16
- CLIP, K400
- 16{\times}224^{2}
- 30
- 64
- 2e-6
- one fixed prompt per pair; batch 64 (256)
- Endo-FM [64] PolypDiag fine-tuning
- ViT-B/16
- Endo-FM
- 16{\times}224^{2}
- 20
- 64
- 2.5e-4
- 16 frames (8), time embeddings interpolated; batch 64 (4)
- (b) When: heads trained from scratch on the frozen features of TactusNet
- ActionFormer [72] THUMOS14
- ViT-L/16†
- V-JEPA 2.1
- 8 steps
- 5+30
- 2
- 1e-4
- 3 pyramid levels (6); global attention (local window 19)
- TriDet [52] THUMOS14
- ViT-L/16†
- V-JEPA 2.1
- 8 steps
- 20+20
- 2
- 1e-4
- 3 pyramid levels (6); 4 boundary bins (16)
- QD-DETR [36] QVHighlights
- ViT-L/16†
- V-JEPA 2.1
- 8 steps
- 200
- 32
- 1e-4
- a fixed sentence per pair as query; saliency labels from the interaction window; negative queries formed by rolling the batch by one sample; ends not rounded (rounded to 2-s clips)
- MS-TCN [1] released defaults
- ViT-L/16†
- V-JEPA 2.1
- 32 steps
- 50
- 1
- 5e-4
- per-pair sigmoid outputs (softmax); 6 layers per stage (10)
- (c) How and Where: fine-tuned end to end on the full content frame
- DARK [73] COCO, Adam
- HRNet-W32
- ImageNet-1k
- 1{\times}384{\times}288
- 210
- 112
- 1e-3
- input turned to landscape (288{\times}384)
- ViTPose [70] COCO, ViT-B
- ViT-B/16
- MAE, ImageNet-1k
- 1{\times}256{\times}192
- 210
- 512
- 5e-4
- input turned to landscape (192{\times}256)
- DSTA [21] PoseTrack17, ResNet-50
- ResNet-50
- ImageNet-1k
- 5{\times}256{\times}192
- 20
- 32
- 5e-5
- key frame \pm 2 raw frames (\pm 1); ImageNet backbone (COCO pose checkpoint); local joint groups: the 4 tools and 6 pairs (limbs)
- SegFormer [68] ADE20K, 160k
- MiT-B2
- ImageNet-1k
- 1{\times}512^{2} crop
- 160k it
- 16
- 6e-5
- per-pair sigmoid maps with BCE + soft Dice (softmax CE); human contact region as target
The comparisons in Sec. 5.1 adapt published recipes to the common Gold training set as follows. Table S15 identifies the reference recipe for each learned baseline in Tab. 3. Beyond the listed adaptations, each baseline retains the reference architecture, input size, optimizer, learning-rate schedule, augmentation, loss, decoding, and number of epochs (iterations for SegFormer). Each baseline is trained on one RTX 4090 GPU with 24 GB; gradient accumulation preserves the reference batch size where needed. VideoMAE, X-CLIP, and Endo-FM instead use batches of 64 clips, with the reference learning rate scaled linearly. All baselines use the same 12,372 Gold training clips as TactusNet, with no Silver data. The selected checkpoint maximizes validation Pair accuracy, tIoU, or Dice, or minimizes ADE, according to the task. Reported runs use the published configuration with seed 0. The Spatial Head of TactusNet was developed through comparisons on an earlier SurgVU split (Sec. C.3), separately from these baseline recipes.
Task outputs and class conditioning.
Outputs are defined per action pair, with tool-point outputs defined per tool. X-CLIP scores a fixed prompt for each pair, such as “a video of a hook dissecting tissue”. ActionFormer, TriDet, and MS-TCN use one output channel per pair. Training and inference select the channel for the true pair. For MS-TCN, the per-frame argmax readout is replaced by the contiguous run above 0.5 with the highest summed probability. Boundaries are interpolated at the 0.5 crossings and extended to an action-window boundary when the run reaches it; the whole action window is returned when no run exists. QD-DETR supplies the pair as a fixed text query, such as “a hook dissects tissue”, encoded by the CLIP ViT-B/32 text encoder used in its reference recipe. The keypoint models provide 36 outputs: three tool points per tool, reflecting their tool-specific roles, and four contact points per pair. Training supervises the seven outputs associated with the true tool and pair, weighted by visibility; evaluation reads the same seven outputs. The four exported contact tracks have clip-dependent ordering. Training therefore orders each clip’s tracks by the angle of their mean positions. Hull-based Dice is invariant to this ordering.
Input construction and temporal sampling.
For classification, each sampled content frame is resized to a square and augmented at the reference pre-crop size. At test time, the complete frame at 224\times 224 replaces center cropping to retain tool tips near the image boundary. Keypoint models also retain the complete frame, resized to the reference input dimensions in landscape orientation, without an object box or detector. DSTA additionally uses the two raw frames on each side of a sampled frame. During each epoch, it selects 8 of the 16 sampled frames per clip as key frames. The single-frame methods DARK, ViTPose, and SegFormer train on sampled frames nearest to each whole second of the action window. At test time, these models predict on all 16 sampled frames. Scoring follows the visibility rules in Sec. D.2. SegFormer training retains only frames with at least two visible contact points. Temporal methods use the frozen V-JEPA 2.1 tokens of TactusNet, spatially averaged over the 24\times 24 grid. The temporal sequence contains 8 steps from 16 sampled frames; MS-TCN instead receives 32 steps from 64 frames sampled uniformly over the action window. These short sequences motivate the reductions in pyramid levels, boundary bins, and layers listed in Tab. S15.
Initialization and training.
All How and Where baselines learn their task-specific points and regions from Gold, without initialization from pose, detection, or segmentation checkpoints. The keypoint and contact models load ImageNet-1k or MAE backbone weights and initialize their decoders from scratch. For DSTA, this backbone initialization replaces the COCO pose checkpoint in its released configuration. Human-pose half-body cropping and flip testing are removed from the keypoint recipes. Horizontal flips are also removed to preserve the ordering of mirrored points. SegFormer likewise trains without flips, making this setting common to all How and Where baselines; classifiers retain their reference flipping augmentation. Image and video models train with bf16 mixed precision. For single-GPU SegFormer training, BatchNorm replaces SyncBN in the decoder. Validation is performed every 10 epochs for DARK and ViTPose, ten times over training for SegFormer, and after each epoch for the other baselines.
Non-parametric references.
The majority-class reference predicts hook dissect, the most frequent training pair. The pair-mean reference averages each pair’s training start and end positions on the normalized action-window axis (Sec. D.2), quantifying the temporal information available from the pair alone.
D.6 Controlled model comparisons
We examine the backbone, spatial stages, and class conditioning of TactusNet through Tab. 4(a), (b), and (d).
- VideoMAE ViT-L/16 K400, self-supervised, no fine-tuning
- 16{\times}224^{2}
- 8{\times}14^{2}{\times}1024
- Endo-FM∗ ViT-B/16 endoscopy videos, teacher weights
- 16{\times}224^{2}
- 8{\times}14^{2}{\times}768
- V-JEPA 2 ViT-L/16 [5] public model at 256 pixels
- 16{\times}256^{2}
- 8{\times}16^{2}{\times}1024
- V-JEPA 2.1 ViT-L/16 (TactusNet) [37] distilled from ViT-G, 384 pixels
- 16{\times}384^{2}
- 8{\times}24^{2}{\times}1024
Backbones (Tab. 4(a)).
Table S16 lists the four frozen encoders and their public checkpoints. Each encoder processes the 16 sampled frames of a Gold clip once and produces the temporal layout of TactusNet: 8 steps, each covering two consecutive frames, on its native token grid. Preprocessing follows TactusNet: frames are resized to the encoder’s input size and normalized with ImageNet statistics. Endo-FM retains its own normalization (mean 0.45, standard deviation 0.225). The VideoMAE and V-JEPA encoders produce these steps directly, because their tubelets span two frames. Endo-FM produces one token per frame and spatial patch. Its eight learned time embeddings are interpolated to the 16 frames, after which tokens from frames 2k and 2k{+}1 are averaged into step k. The heads adapt to the token grid and feature width, without an additional external layer. The Semantic Head, Temporal Head, and stage 1 of the Spatial Head are retrained on each token set using the full recipe in Sec. C.2; stage 1 again trains for 80 epochs with batches of 24 clips. The V-JEPA 2.1 configuration corresponds to the default TactusNet.
Spatial Head stages (Tab. 4(b)).
This comparison evaluates successive outputs of the same trained Spatial Head. A single run on each test clip records tool points after stage 1, zoom, and refinement; each output is scored directly without retraining.
Predicted pair (Tab. 4(d)).
This comparison isolates the effect of class-conditioning errors by supplying the same trained model with its predicted pair. The Temporal Head is re-evaluated on all test clips using the predicted pair from Eq. 1. The full Spatial Head, including stage 1, zoom-box construction, contact decoding, and refinement, is re-evaluated on clips with an incorrect pair prediction. Clips with a correct pair prediction retain their protocol-run outputs. The two rows of (d) therefore use identical trained heads and differ only in the supplied class condition.
- Encoder
- Epochs
- Acc
- Acc
- Acc
- mAcc
- tIoU
- ADE
- Median
- >32 px
- Dice
- Stage 1
- Stage 2
- frozen (TactusNet)‡
- 0
- 96.3
- 96.5
- 93.8
- 82.7
- 0.591
- 40.5
- 19.15
- 9.86
- 20.3
- 0.242
- 20.24
- 19.42
- frozen, +10 epochs
- 1, 2, 1
- 96.3
- 96.8
- 94.0
- 83.0
- 0.591
- 40.6
- 19.08
- 9.81
- 20.3
- 0.242
- 20.29
- 19.34
- fine-tuned, shared
- 1
- 96.3
- 96.9
- 94.1
- 84.9
- 0.592
- 40.8
- 19.10
- 9.75
- 20.3
- 0.244
- 20.22
- 19.38
- epoch per group
- 1, 4, 1
- 96.3
- 96.9
- 94.1
- 84.9
- 0.590
- 40.2
- 19.10
- 9.75
- 20.3
- 0.244
- 20.22
- 19.38
- fine-tuned, per head
- 10, 1, 6
- 97.6
- 97.8
- 95.8
- 89.2
- 0.592
- 40.4
- 18.68
- 9.29
- 19.9
- 0.244
- 19.78
- 18.84
Encoder fine-tuning (Tab. 4(c)).
We evaluate fine-tuning with a shared encoder or separate encoders for each head group. Five runs start from the trained heads of TactusNet and continue for 10 epochs on the same clip stream: 387 steps of 32 clips each, sampled with the pair weights of the training recipe (Sec. C.2). Their epoch 0 corresponds to TactusNet before adaptation. The control keeps V-JEPA 2.1 frozen. The shared run adapts one encoder for all heads, while the per-head runs adapt separate encoders for the Semantic, Temporal, and Spatial Heads. Within the Spatial Head, stage 1, zoom, and contact decoders share their encoder; the refiner uses native crops and retains its trained weights. The encoder follows the ViT-L fine-tuning recipe of VideoMAE [57]: AdamW at a learning rate of 2.5{\times}10^{-4} for 32 clips, layer decay 0.75, drop path 0.1, weight decay 0.05, warmup over the first 5/35 of the steps, and cosine decay. Each head retains the optimizer, weight decay, gradient clipping, and learning rate of its recipe (Tab. S7), except that the Semantic and Temporal learning rates are halved for the batch of 32. The Semantic Head optimizes tool and action losses jointly, and all weights use a moving average with decay 0.999. To account for the different loss scales, each head’s gradient on the tokens is divided by its initial training loss, by the number of heads in its group, and by the number of groups. This applies equal group weights after normalization by the initial loss scale. Training runs in bf16, and validation and test tokens run in fp32. Each head is validated after every epoch using its loss or, for the Temporal Head, tIoU. The shared run uses one validation-selected epoch for all head groups. The other runs select the best epoch separately for each head group. Before adaptation, each run reproduces the validation results of TactusNet within 0.1%. The epoch-0 adaptation evaluation reports a tIoU of 0.591 and an [email protected] of 40.5%. The separate main benchmark evaluation in Tab. 3 reports 0.592 and 40.7%, respectively. Table S17 reports the metrics and paired differences obtained by resampling test videos (Sec. D.2). Per-head fine-tuning improves classification and tool-point localization, while shared fine-tuning produces smaller changes relative to the frozen control. Selecting the best shared-model epoch for each head group still leaves it behind the separately adapted encoders on these tasks.
D.7 Silver-style re-annotation on the Gold test set
We illustrate Silver-style re-annotation by comparing propagated model-generated tracks with Gold. Table 3 evaluates direct How and Where predictions before propagation on the Gold test set (Sec. B.7). Figure S4 illustrates the complete annotation procedure using Gold-only TactusNet on three random test clips. Tool-point errors on these examples range from 12.7 to 37.0 pixels over the 16 sampled frames, compared with the aggregate 19.15 pixels for TactusNet in Tab. 3. The largest example-level error occurs for grasper grasp, consistent with the pair-level pattern in Fig. 5.
D.8 Variation in clip-level predictions
Clip-level visualizations reveal method-specific prediction patterns. Figure S5 compares frozen TactusNet and the task-specific baselines on four random test clips from four different action pairs. TactusNet has the lowest tool-point error on three of these clips (6.7 to 24.1 pixels), consistent with its aggregate advantage in How. The keypoint baselines drift away from the tool in the YouTube example, with errors of 62.8 to 132.5 pixels. For the other questions, example-level rankings differ more often from the dataset averages. The four examples illustrate variation across clips and questions. Table 3 summarizes performance on the Gold test set.
Appendix E Annotation and evaluation protocols
Consistent annotation requires explicit temporal, spatial, and review rules. Sections E.1, E.2 and E.3 specify the Gold and Silver protocols and the tool keypoint manual. Section E.4 defines the corresponding evaluation protocol.
E.1 Gold protocol: key rules
The general definitions in Sec. 3.2 are operationalized by tool-specific rules for the action-window boundaries and the placement of contact points around the touched tissue (Tab. S18). Pauses and temporary loss of visibility remain within the same attempt. A new clip begins only when the action restarts. The final row of Tab. S18 adds rules shared by all tools: handling unknown classes, correcting contact points that follow the tool instead of tissue, and checking visibility. These rules are complemented by the tier-specific tolerances in Sec. B.3, review procedures in Sec. B.4, and shared tool-keypoint definitions illustrated in Fig. S6 (Sec. E.3).
- Hook (dissect; tissue)
- Starts as the tool moves toward the target; ends as it moves away or stops
- 4 points enclosing the dissected region
- Grasper (grasp; tissue)
- Starts as the tool moves toward the target, usually after the jaws open; ends as it stops after retracting
- 4 tissue points enclosing the grasped region with a buffer of about one tip width. Initial prompts are placed on a frame near the interaction window (Sec. B.2).
- Clipper (clip; duct or vessel)
- Starts as the tool moves toward the target; ends as it retracts
- Exactly 4 points enclosing the clipped region, on one duct or vessel
- Scissors (cut; duct or vessel)
- As for the clipper
- 4 points enclosing the cut region, on one duct or vessel
- All tools
- An unknown tool or action is not labeled but marked missing and reported. Review returns contact points that move with the tool instead of staying on tissue. It checks visibility only when a tool point is hidden for most of the action and returns hidden points marked visible.
E.2 Silver protocol
Gold and Silver share the tool categories, action definitions, and tool-keypoint definitions introduced in Sec. 3.2. Figure S6 illustrates these shared keypoint definitions with 28 robotic and laparoscopic examples. For Silver, annotators provide tool, action, and temporal labels, while the generator supplies spatial prompts (Sec. B.6). Table S19 summarizes the semantic and temporal annotation rules, and Sec. B.3 specifies the corresponding tolerances.
- Human labels
- Tool, action, and times; the Silver generator places the points (Sec. B.6)
- Action window
- Covers one attempt. It starts as the tool moves toward its target with clear intent and ends when the attempt ends and the tool stops or leaves
- Tool classes
- Grasper, hook, scissors, clipper; appearance examples are shown in Fig. S6.
- Events
- Label every valid event; never merge independent events; mark unknown cases missing
- Priority
- Label completely and consistently; quality first
- Workflow
- Practice (demo video, protocol, 20 to 30 items; optional for experienced annotators), annotation, review of missed events, times, tool, and action by a core-team member, small fixes by the reviewer, final check
E.3 Tool keypoint manual
Visible tool points lie at the distal, working end of the instrument, inside its outline rather than on its edge. For points that are never visible, annotators record a rough location and mark them invisible. Within this common constraint, tip and anchor locations are defined as follows:
- Hook: the tip is placed where the metal hook emerges from the instrument head, rather than at its far end; the two anchors lie on opposite sides of the head–shaft junction.
- Grasper: each tip is placed at the center of a jaw tip, and the anchor at the jaw pivot.
- Scissors: each tip is placed just inside a blade tip, and the anchor exactly at the pivot.
- Clipper: each tip is placed just inside a jaw tip, and the anchor at the jaw base, slightly inward along the midline of the shaft end.
Figure S6 applies these definitions to every example in the manual. In TACTUS, the bipolar instruments shown in R1, R2, and L2 are labeled as graspers and follow the grasper keypoint rules.
E.4 Evaluation protocol
The benchmark fixes model inputs and checkpoint selection and uses the Gold test set in Sec. D.1. Video counts follow the source video IDs. IDs associated with the same recording remain together, with the CRCD ID pair assigned to training and the two SurgVU ID pairs assigned to Silver. Which, What, and Pair models receive only video. The annotated interaction window defines temporal and tip-derived training targets (Secs. C.1 and D.2). No benchmark model receives it as input. Checkpoint selection uses only validation data, following Secs. C.2, D.5 and D.6.
Appendix F Release and licenses
The release specification connects the annotation and evaluation protocols to the distributed files, documenting their formats and source-specific license terms.
F.1 Release format
The project page is at https://ruifreddie.github.io/TACTUS/. TACTUS annotations and video clips are available at https://huggingface.co/datasets/hding2455/surgical-action-affordance. The source-specific licenses in Sec. F.2 apply to the clips. The benchmark code is available on GitHub, and the model checkpoints are hosted on Hugging Face.
- Clip index
- One record per clip: video, start and end frame of the action window, tool, and action
- Video clips
- Source-video frames spanning the annotated action window
- Tracks
- Tool and action labels, action and interaction windows in frames, and per frame the coordinates, type (tool tip, anchor, or contact), and visibility of each point
- Prompt points
- Key-frame points that prompted the tracker
- Review status
- Review outcome of each record
- Video table
- Source, clip counts, frames, frame rate, duration, and resolution per video
- Evaluation
- Metric code (Sec. D.2) and video-level Gold split assignments (Sec. D.1)
- TactusNet
- Benchmark code and released checkpoints
Table S20 lists the release components. The benchmark experiments use the data partitions in Sec. D.1.
F.2 License and release of each source
- Cholec80 [59]
- CC BY-NC-SA 4.0 (dataset web page)
- Clips, annotations
- HeiChole [61]
- CC BY-NC-SA, version not stated (User Notes of the paper)
- Clips, annotations
- CRCD [41, 42]
- CC BY 4.0 (license file of the data repository)
- Clips, annotations
- SurgVU [76]
- CC BY-NC-SA 4.0 (official dataset repository)
- Clips, annotations
- YouTube
- Terms set by each video’s rights holder
- Clips, annotations
We distribute clips from all five sources together with their TACTUS annotations. The source-specific terms in Tab. S21 apply to the video clips. Cholec80, HeiChole, CRCD, and SurgVU use Creative Commons licenses requiring attribution. Cholec80, HeiChole, and SurgVU also require non-commercial use and share-alike terms for adaptations. HeiChole also requires citation of its paper [61]. Use of each YouTube video is governed by its rights holder’s terms.