OLED: Online Latent Exception Detector via Semantic Rules and Jev for Embodied Tasks

Xueliang Sun, Ziyi Liu, Bo Liu, Wanyou Wang, Qichen Tan, Jiajie Xu, He Huang, Min Zhang, Zhijun LiarXiv 2026

TL;DR

Robots often fail at multi-step tasks because of small, early mistakes—like dropping a pen mid-transport—that go unnoticed until it’s too late to recover. OLED (Online Latent Exception Detector) catches these "latent exceptions" in real time using only RGB video and task descriptions, without peeking inside the robot's policy or training on target-task failures. By pairing reusable semantic rules with a fast, non-generative visual judge (Jev) and context-aware temporal reasoning, OLED outperforms strong vision-language baselines on both failure detection and pinpointing when things went wrong.

What Problem Does This Paper Address?

Imagine a robot tasked with moving a pen onto a plate. Midway through, the pen slips from the gripper and falls onto the table—but the robot, blissfully unaware, keeps moving its empty gripper toward the plate. By the time the task is clearly a failure, the moment for an easy recovery has long passed.

This is the latent exception detection problem. Existing monitors typically fall into two camps, both with drawbacks:

  1. Policy-signal monitors rely on internal robot states or action outputs, which aren't always accessible.
  2. Vision-language monitors watch the video feed, but on unseen tasks they struggle to tell normal intermediate behavior apart from actual mistakes (e.g., a pen resting on the table before being grasped is fine; a pen resting on the table after being dropped is an exception).

OLED tackles this by detecting task-relevant exceptions close to their onset on unseen tasks, using only streaming RGB observations and a task specification.

Figure 1. Latent exception detection on ViFailBack. (a) Task examples and timelines show exception onset and first alarms in seen and unseen tasks. (b) Balanced accuracy (BA) across task groups. (c) Onset localization accuracy within ±25 frames (bars) and mean absolute error (MAE) over detected failures (diamonds). VLM denotes ViFailback-8B.

Methods

OLED is a dual-model framework that separates what to look for from when to sound the alarm:

  1. Offline Source-Guided Rule Generation: Instead of generating monitoring rules from scratch for every new task, an offline LLM (DeepSeek) distills reusable rule families from source-task specifications. Each family defines when a rule applies, what a violation looks like, and what counts as a legitimate exception (e.g., for a "Drop" rule, a valid release at the goal is fine, while an early fall is not). For a new task, OLED adapts these priors using the task description and the initial RGB frame.
  2. Online Joint Visual Assessment: Rather than prompting a slow, chatty Vision-Language Model to generate free-form text, OLED uses a frozen Jev model—a structured, non-generative decision model that outputs categorical probabilities. In a single call per monitoring window (using recent frames, earlier reference frames, and optional optical-flow motion cues), Jev jointly evaluates:
  3. EVENT: Did a rule violation occur?
  4. GOAL: Is the required goal relation satisfied or unmet?
  5. ACT & ENGAGE: Is the robot actively manipulating the goal object or engaged in the task?
  6. Contextual Temporal Inference: A separate temporal controller tracks unmet goals and event violations over time. Crucially, it uses manipulation context (ENGAGE) to gate alarms: if a goal is unmet but the robot is still actively manipulating, OLED defers the alarm rather than crying wolf. Event violations, meanwhile, require confirmation across consecutive windows.

Datasets

The authors evaluate OLED across four simulation and real-robot datasets using strict task-disjoint splits (testing on tasks the monitor has never seen):

  • LIBERO-Pro: 200 simulated $\pi_{0.5}$ rollouts across 10 task families.
  • ViFailBack: 80 real-world ALOHA trajectories from 5 held-out tasks (with 420 trajectories from 17 other tasks as the source pool).
  • SAFE-WidowX: 532 real-robot OpenVLA trajectories across 8 lifting and pick-and-place tasks.
  • SAFE-Franka: 13 real-robot $\pi_0$-FAST-DROID tasks (30 successes and 30 failures per task).

Key Insights and Ideas

  • Separating visual judgment from alarm timing: A frozen visual model doesn't need to be fine-tuned on target-task failures if a temporal controller handles uncertainty, accumulates goal evidence, and defers ambiguous cases based on ongoing manipulation.
  • Non-generative models for low-latency monitoring: Using Jev's structured probability outputs avoids the latency and parsing headaches of free-form VLM text generation, achieving a median request latency of 0.328 s (well below API VLM alternatives).
  • Source priors curb false positives: Ablations show that transferring rule families from just 4–6 source tasks improves balanced accuracy by up to 5.0 percentage points compared to generating constraints without source priors, primarily by cutting down false alarms.

Key Results

  • Balanced Accuracy (BA): OLED achieves the highest BA across all four datasets—83.00% on LIBERO-Pro, 71.03% on ViFailBack, 69.70% on SAFE-WidowX, and 54.10% on SAFE-Franka—outperforming ViFailback-8B by 3.1 to 10.3 percentage points.
  • Pinpointing Exception Onset: On ViFailBack, OLED boosts strict $\pm 25$-frame localization accuracy ($A_{25}$) from 23.75% (ViFailback-8B) to 38.75%, while reducing Mean Absolute Error (MAE) on detected failures from 67.35 to 57.83 frames.
  • Component Ablations: Removing goal monitoring causes the largest BA drop across all datasets, and removing contextual confirmation drops ViFailBack BA by 14.62 points, confirming that both pieces are essential.

Limitations and Future Work

While OLED improves failure coverage, false-positive control remains uneven across environments. On SAFE-Franka, OLED reaches 68.21% recall but suffers a 60.00% false-positive rate, flagging more than half of successful runs as failures and limiting its BA to 54.10%. The authors note that future work will focus on reducing these false alarms under visual ambiguity and integrating OLED into closed-loop robot recovery.

Summary updated

BibTeX
@misc{sun2026oled,
  author = {Xueliang Sun and Ziyi Liu and Bo Liu and Wanyou Wang and Qichen Tan and Jiajie Xu and He Huang and Min Zhang and Zhijun Li},
  title = {{OLED: Online Latent Exception Detector via Semantic Rules and Jev for Embodied Tasks}},
  year = {2026},
  eprint = {2611.40847},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.40847},
}
Figure