Skip to main content
Back

SAVA-X Beats Every Video Detector at Catching Training Errors Across Camera Views

A new framework tackles procedural error detection when a first-person video must be judged against an unaligned third-person demo, beating strong baselines on EgoMe.

Pro

  • SAVA-X formalizes Ego to Exo imitation error detection using unaligned first- and third-person videos
  • Framework combines adaptive frame sampling, scene-adaptive view embeddings, and bidirectional cross-attention fusion
  • On EgoMe, hits 22.36 Mean AUPRC versus 19.69 for Exo2EgoDVC, a 13.56 percent relative gain
  • Trained on 4,777 paired videos from EgoMe's 7,902 pairs and 82.8 hours of footage
  • Ablations show Exo-to-Ego attention direction drives most localization gains
  • Code released at github.com/jack1ee/SAVAX for reproducibility

Imagine a nurse learning a medical protocol by watching an instructor on video, then repeating the procedure with a head-mounted camera on. Or a factory worker following an assembly demo. The obvious computer vision question is: did the trainee actually do it correctly? A new paper from the University of Electronic Science and Technology of China formalizes that question as a task, benchmarks it, and proposes a model called SAVA-X that beats off-the-shelf video detectors by a wide margin.

The mismatch problem nobody was solving

Video error-detection research has largely lived inside a single camera. You get one stream, you look for mistakes. But real training almost never works that way. Most existing work assumes a single-view setting and cannot handle the practical case where a third-person (exo) demonstration is used to assess a first-person (ego) imitation, so the authors formalize Ego to Exo Imitation Error Detection: given asynchronous, length-mismatched ego and exo videos, the model must localize procedural steps on the ego timeline and decide whether each is erroneous.

That framing sounds simple until you look at what breaks. The two videos come from different cameras, at different paces, with different framings, recorded independently. This setting introduces cross-view domain shift, temporal misalignment, and heavy redundancy. An egocentric camera stares at hands and objects; an exocentric camera captures the whole body and scene. Naively concatenating features from the two views tends to confuse the model, which mistakes viewpoint differences for actual behavioral errors.

Why baselines choke

The authors first tested strong existing methods from two adjacent fields, dense video captioning and temporal action localization, under a unified protocol. They adapt strong baselines from dense video captioning and temporal action detection and show that they struggle in this cross-view regime. A telling detail from their analysis: performance often drops as you feed more frames, because redundant frames dilute attention and generate false positives.

Align, Fuse, Detect

SAVA-X is built around three components, each targeting one bottleneck:

  • Gated adaptive sampling. Instead of processing every frame, the model scores frames and keeps only the most informative ones. Exo frames are scored by self-attention; ego frames are scored by cross-attention conditioned on the already-selected exo summary, so the imitation stream knows which demonstration moments to align to.
  • Scene-adaptive view embeddings (SVE). A small learnable dictionary of prototype vectors captures view-related sub-factors like close hand-object interaction versus full-body motion. Each frame queries this dictionary to get a scene-specific view embedding, injected before and inside the encoder.
  • Bidirectional cross-attention fusion. Ego queries Exo for boundary and ordering cues, Exo queries Ego for object and hand details, and a learnable gate mixes the results back with the original per-view features so neither side dominates.

The selection step uses a Gumbel Top-K straight-through estimator paired with residual gating on full-length features, which gives the scorer a differentiable gradient path while keeping downstream computation sparse. Two regularizers keep things honest: a selection-entropy term prevents the sampler from collapsing onto a few frames, and a VICReg-style variance and covariance penalty stops the retained tokens from becoming redundant.

For the view dictionary, the paper adds an entropy term that pushes attention toward the uniform distribution so the model does not fixate on a single prototype, plus an orthogonality penalty that keeps dictionary rows spread out. The fused sequence then flows into a deformable Transformer encoder-decoder that follows the PDVC design, with a set-prediction loss and added binary heads for per-segment and video-level error classification.

The dataset that made it possible

Training and evaluation run on EgoMe, described by the same group. The dataset includes 7902 paired exo-ego videos spanning diverse daily behaviors in various real-world scenarios, where for each video pair one video captures an exocentric view of the imitator observing the demonstrator's actions, while the other captures an egocentric view of the imitator subsequently following those actions. It contains 7,902 pairs of asynchronous Exo to Ego videos, approximately 82.8 hours, and the authors use only RGB videos together with fine-grained procedural step annotations and error labels, following the official train/validation/test split with 4,777/997/2,128 video pairs.

The numbers

Because errors are rare and imbalanced, the paper reports AUPRC for the error class at temporal IoU thresholds of 0.3, 0.5, and 0.7, plus mean tIoU for localization quality.

MethodMean AUPRC (val)tIoU (val)
PDVC18.8858.58
Exo2EgoDVC19.6959.06
ActionFormer16.4748.89
TriDet15.7049.05
PDVC (ego-only)12.7957.63
SAVA-X22.3659.31

SAVA-X attains the best AUPRC and tIoU across all thresholds, achieving a Mean AUPRC of 22.36 on the validation set, an absolute +2.67 (relative +13.56%) improvement over the strongest baseline Exo2EgoDVC at 19.69, and localization quality also shows a modest increase. Ablations show each module helps on its own, and combining all three yields the strongest result. A single-direction test is revealing: Exo to Ego attention alone nearly matches the full bidirectional setup, while Ego to Exo alone is clearly weaker, confirming that demonstration cues drive most of the localization signal.

Where this is useful, and where it is not

The obvious use cases are procedural training and quality control:

  • Industrial assembly monitoring where a trainee wears a camera and follows an expert's recorded demo
  • Medical protocol verification, checking whether steps match a reference procedure
  • Robot learning from human demonstration, where the robot needs to judge its own execution
  • Skill assessment platforms that grade recorded practice against a canonical performance

The limitations are worth naming. Absolute AUPRC numbers are still modest at high tIoU (around 9 at 0.7), which means precise boundary detection remains hard. The method depends on TSP features pretrained on ActivityNet and a frozen backbone, so domain-specific finetuning would probably be needed for narrow verticals. And the setup assumes a paired exo demonstration is actually available, which is the whole point of the task but does exclude open-ended error detection.

Getting the code

The authors have released their implementation on GitHub, alongside the EgoMe dataset from the earlier paper. Together they give a reproducible baseline for anyone building cross-view procedural monitoring systems, and a clean formalization of a task that had been implicit in a lot of applied work but never nailed down.