Master's thesis · University of Kaiserslautern-Landau

ParityLM

Real-time Task Verification using Expert Demonstration Priors

Motivation

Training takes human hours. It doesn't have to.

A trainer watches every repetition until the order and the manner both stick. That watching is the expensive part, and it doesn't have to be a person.

Vocational trainingQuality assuranceProcedural complianceAssistive guidance
One demonstration. One correct execution and a written instruction.
No error examples. Nothing showing how the procedure goes wrong.
Live and first-person. Head-mounted, partial, moving; judged while it happens.
A different person. Their pace, habits and tool order differ from the demonstrator's.
Related work

Existing methods need what we don't have

Supervised classifiers

Trained on a fixed set of tasks, usually with error labels.

Assembly101 Sener et al., CVPR 2022
IndustReal Schoonbeek et al., WACV 2024
CaptainCook4D Peddi et al., NeurIPS 2024
HoloAssist Wang et al., ICCV 2023

Needs labelled errors

Task-graph reasoning

Flag executions that break an explicit procedure structure.

EgoPED Lee et al., CVPR 2024
Video-mined task graphs Ashutosh et al., NeurIPS 2023

Needs many runs to mine the graph

Anomaly detection

Model only correct execution; flag anything novel.

ATA Ghoddoosian et al., ICCV 2023
PREGO Flaborea et al., CVPR 2024

Alarms it can't explain

And most report results with the true step boundaries supplied, which leaves open who finds the segments in the first place.

Research question
Can a general-purpose vision-language model, given one expert demonstration and no error supervision, follow a worker through a live stream and speak up when they deviate?
Online stream. Frames arrive once, in order. No step boundaries are given.
One reference. Every expected duration belongs to someone else.
Opposite failure costs. A false alarm is worse than a miss: the system gets switched off.
Dataset

EgoPER

Egocentric recordings of people cooking, with every moment labelled as correct or as a type of error.

Recipescoffee · tea · oatmeal · pinwheels · quesadilla
Clips396 annotated, dense in time
Error typesSlipCorrectionAdditionModification Omission
Normal execution: slicing the folded tortilla with a knife
Normal · Slice using knife quesadilla_u2_az_normal_016
Error execution: ripping the tortilla by hand
Modification · Rip tortilla by hand quesadilla_u1_a1_error_009

EgoPER: Lee et al., CVPR 2024

The system at a glance

Seeing is cheap. Thinking is rare.

How it works · 01 / 08

One expert demo becomes one graph

Expected duration per step, taken from the expert's run Completion criteria in the annotator's own words Nothing trained: no visual templates, no reference frames
How it works · 02 / 08

Live, at three frames per second

How it works · 03 / 08

Two memories

How it works · 04 / 08

Is the step done?

How it works · 05 / 08

Follow the worker along the graph

A minimum time in each step keeps the cursor from racing ahead on look-alike steps, such as pour grounds → pour water.

How it works · 06 / 08

Something off? Raise a candidate

How it works · 07 / 08

Describe first, then judge

How it works · 08 / 08

Mistake · OK · Desync

Results · EgoPER test split, 187 clips

83.1% EDA, the only streaming method

EgoPED sup. · CVPR'2457.0
AMNAR sup. · CVPR'2564.4
AEM sup. · ICLR'2666.7
GTG2Vid sup. · ICCV'2579.7
ZeProM-M 0-shot · arXiv'2680.1
ParityLM streaming83.1
ZeProM-L 0-shot · arXiv'2684.1
ParityLM per recipe
Coffee91.0 best published
Oatmeal85.1
Tea83.9
Pinwheels79.2
Quesadilla76.1

EDA: the share of annotated segments, background included, labelled correctly as error or normal (EgoPER evaluation code). A MISTAKE at time t flags the 10 s before it.

All other methods process the whole video offline. ZeProM-M uses a 35B model from the same family as ours; ZeProM-L uses 397B.

Results · what it catches

Detection by error type

Modification 99/26337.6%
Addition 36/10434.6%
Slip 30/14321.0%
Correction 8/4219.0%
All error segments: 173 / 552 = 31.3%. Bar length is the detection rate, on a 0–100% scale.
Tracking and cost
Steps88.5% of 2,125 confirmed
Boundaries8.4 s median error; 84% fire early
Runs153 of 187 reach the last step
Speed1.8× real time on 2× H200
L1 call3–30 s, and the stream waits
The inspection tool

Review

  1. The clip, and the step the system believed was current.
  2. Reference and tracker lanes on one clock.
  3. Tracker node against the annotated action, and their drift.
  4. Every probe, candidate and verdict, scrubbable.

Opens a run folder directly. No server.

ParityLM Review view of oatmeal_u1_a4_error_015 at 2:23 1 2 3 4
ParityLM Replay view of coffee_u1_a5_error_027 while L1 is reasoning 1 2 3 4
The inspection tool

Replay

The run on its measured clock: when L1 is called, the video stops.

  1. Stream paused while L1 thinks.
  2. Wall clock and stream clock.
  3. L1's reasoning, over its real duration.
  4. The decision feed, in recorded order.
The inspection tool · Example: a miss

The tool shows why a run went wrong

Tortilla placed on the table beside the cutting board
quesadilla_u1_a2_error_028 · 10 s

“The worker placed it on the table instead. However … a common preparatory action.” CORRECTNESS → OK · 10.6 s

Annotated as a modification: tortilla on the table, not the board.

Worker scooping jelly with a spoon
pinwheels_u1_a5_error_029 · 68.5 s

“…using a spoon instead of a knife … a common and acceptable variation.” CORRECTNESS → OK · 12.6 s

At 61.7 s in the same clip, cleaning a spoon during Clean knife came back MISTAKE. L1 saw the deviation both times and judged it two ways.

Open issues

What's still wrong, and what's next

Completion cascades

Look-alike steps get confirmed in quick succession: one coffee clip confirmed all 14 steps in its first 200 s.

→ Require the step probe to agree before a second completion.

Someone else's pace

Expected durations come from one demonstrator, so a slower worker triggers stall checks.

→ Estimate the worker's pace from the first steps.

Seen, then excused

L1 describes a deviation correctly and then calls it acceptable.

→ A second, independently worded correctness check.

Invisible errors

Additions belong to no step, and "too short" slips can't be seen in still frames.

→ A probe not tied to any step; timer-aware slip checks.

Also next: keep perception running during L1 calls, and move to a live camera, which only changes the frame source.

Conclusion

The answer is split, and that is the result

Tracking
88.5% confirmed · 8.4 s median
Detection
83.1% EDA · online · no task training
  • Contrastive questions took tracking out of the coin-flip regime.
  • One normal demonstration per recipe is the only task knowledge used.
  • DESYNC turns false alarms into silent corrections.
  • The inspection tool shows which layer failed: tracker or judge.
THEEND
Thank you · questions welcome
DFKIRPTU Kaiserslautern-Landau
DFKIRPTU Kaiserslautern-Landau
← → navigate · ↑ overview · ↓ back · click a slide · R camera roll