Hugging Face Papers ↗ · 2026-11-21
Don't Sleep, Keep Watch: Proactive Perception for Computer-Use Agents
Media reports Hugging Face Papers Source language: Chinese
NightWatch gives computer-use agents a 0.8B streaming watcher, cutting OSWorld non-reasoning time 33% and wasted time 53% while raising DynaCU-Bench success from 39.5%…
Full text
Don’t Sleep, Keep Watch: Proactive Perception
for Computer-Use Agents
Jiaqi Su1 Jie-Jing Shao2 Yichen Liu3 Long-Kai Huang4 Haiyan Yin2
1National University of Singapore 2A*STAR Centre for Frontier AI Research (A*STAR CFAR)
3SenseTime 4Hong Kong Baptist University
Abstract
Computer-use agents (CUAs) built on vision–language models are increasingly entrusted with long-horizon tasks in live desktop, web, and mobile environments, where the screen keeps changing on its own. However, current CUAs lack real-time situational awareness: they perceive the environment through discrete snapshots, and the substantial inference latency of VLMs, compounded by highly dynamic interfaces, opens a perception–action gap in which the observed state frequently becomes stale before the corresponding action is executed. To bridge this gap, we present NightWatch, a plug-and-play framework that endows any CUA with continuous, temporally grounded perception without changing the agent’s model, prompt, or action space. NightWatch couples the VLM agent with NightWatch-0.8B, a lightweight System-1 model that performs streaming monitoring of the interface state and keeps the agent synchronized with the evolving environment at low computational cost and latency, thereby grounding each decision in the current state rather than an outdated snapshot and reducing both stale actions and idle waiting while preserving task success. Experiments on desktop and dynamic web environments (OSWorld-Verified and DynaCU-Bench) show that NightWatch, driven by a watcher of only 0.8B parameters, reduces non-reasoning wall-clock time by 33% and wasted time by 53% on OSWorld while keeping task success on par, raises success on DynaCU-Bench from 39.5% to 44.2% with the large VLM agent, and is more efficient than passive-watching baselines such as AOI and PUSV under the same screenshot-only input, as well as a System-1 decision model more than 30×30\times its size. Overall, NightWatch demonstrates that the timing of perception is as critical as its content, marking a step toward agents that maintain continuous awareness of their environment rather than perceiving it turn by turn.
Project Page: https://sujq0722.github.io/NightWatch
Code: https://github.com/SuJQ0722/NightWatch
Model: https://huggingface.co/nullptr04/NightWatch-0.8B
Data: https://huggingface.co/datasets/nullptr04/NightWatch-Data
1 Introduction
Computer-use agents (CUAs) built on vision–language models (VLMs) now operate real desktops, browsers, and phones Xie et al. [2024], Rawles et al. [2025], Qin et al. [2025], Yuan et al. [2026]. Unlike a single image, these screens move on their own: pages load, dialogs pop up, notifications flash and vanish, and animations settle on schedules that the agent does not control. Yet almost every CUA still perceives its world through the same loop: take a screenshot, reason, act, sleep for a fixed delay, and repeat.
This loop is reactive, or time-triggered: the agent looks only when its own clock says so, which has two consequences. First, the agent is blind between screenshots. The gap from observation to execution averages 6.516.51 s on OSWorld Xu [2026] and reaches 4.184.18–15.4315.43 s on Android Qian et al. [2026]. A pop-up arriving within this gap can lower task success by 47%47\% Zhang et al. [2025a], and agents that act on an outdated screen rarely recover from it Zhang et al. [2026a]. Second, how long to wait is set by hand, with no principled signal that the screen is ready. Across the official agent scripts of OSWorld Xie et al. [2024], the post-action sleep ranges from 00 to 1010 s, a twentyfold spread on a single benchmark. A short sleep captures a half-rendered transition, whereas a long one idles while transient feedback disappears (Figure 1a). Static benchmarks largely hide these failures behind generous waits Zhang et al. [2026b], paying for them in wall-clock time that existing efficiency analyses attribute to model calls and step counts but not to sleep Abhyankar et al. [2026].

Figure 1: Observation and execution control in computer-use agents. (a) Fixed scheduling. Reasoning continues after a dialog appears, and fixed waits continue after the page is ready. (b) Passive watching. Buffered frames inform later observations, while pre-dispatch checks can reject actions after reasoning completes. (c) Proactive perception. NightWatch combines a 0.8B System-1 watcher with threshold rules to interrupt reasoning, void pending actions, and end post-action waits based on estimated interface state. (d) OSWorld-Verified results. NightWatch reduces non-reasoning time by 33% and the wasted-time share from 16.3% to 7.7% at comparable success with the same agent.
Recent work has begun to watch the screen between steps, but the watching remains passive (Figure 1b). AOI Li and Shi [2026] samples frames between steps yet only attaches them to the next scheduled observation, and PUSV Xu [2026] checks the screen once, right before dispatch. Event-triggered waits and monitors read DOM or trajectory text rather than pixels Maldaner et al. [2026], Wei et al. [2026], while pre-compiled policy trees reuse the same large VLM as their observer Dong et al. [2026]. None of them lets the screen decide when the agent looks, and none can stop reasoning that the screen has already made obsolete.
We argue that CUAs need proactive perception: the perception layer, rather than the agent’s fixed schedule, decides when the agent observes, and whether its ongoing reasoning and pending action are still valid. The agent still pursues the task it was given, but no longer waits for its own clock to notice that the world has changed. Proactive perception is close in spirit to streaming video models that decide when to respond without being asked Chen et al. [2024], Wang et al. [2025b], Qian et al. [2025], and to event-triggered control, which samples a system when its state demands rather than at fixed intervals Åström and Bernhardsson [2002], Tabuada [2007]. Realizing it is hard: judgments must arrive in time, must separate changes that affect the pending action from unrelated animations, and err both ways, as a needless interrupt discards finished reasoning and an early wake shows an unready screen.
To this end, we present NightWatch, a plug-and-play framework that equips any CUA with proactive perception. A lightweight watcher continuously looks at the screen and answers a fixed set of event questions, and deterministic rules turn its answers into three interventions (Figure 1c): interrupting reasoning that a screen change has made obsolete, voiding a pending action whose target has gone stale, and waking the agent the moment the screen settles, in place of the fixed sleep. System-1 decision models Kahneman [2011], Almeida [2026], Yu and Yao [2026] are cheap enough to watch every frame, because they answer many multiple-choice questions from one encoding instead of generating text. Recent work has begun to hand agent decisions to such models, which choose the next tool or action in place of the large model Zhu et al. [2026]. Our small model instead never chooses what the agent does, but watches the screen and tells the agent when to look and whether its current reasoning or planned action still holds. To our knowledge, NightWatch is the first framework to bring proactive perception to CUAs, letting the screen decide when the agent looks and whether its reasoning and pending action still hold.
The design rests on three further observations. The questions that matter, such as whether a dialog has appeared or whether the screen is still loading, are generic across applications, so the questions and their thresholds can be fixed once and reused across applications. In addition, small models read states reliably but decide poorly, so the watcher only reads the screen while code makes the decision. Finally, a quiet screen is not necessarily a settled one, since a page may pause while it loads, so the watcher learns readiness from hindsight labels, read from what the screen does next in recorded trajectories, rather than from stillness alone. Our watcher, NightWatch-0.8B, is trained on desktop interaction trajectories from independently generated tasks and on procedurally generated synthetic interfaces, without any benchmark task, file, or trajectory.
With screenshot-only input on 100 OSWorld-Verified tasks, NightWatch reduces non-reasoning wall-clock time by 33%33\% and wasted time by 53%53\% with an unchanged large VLM agent, while task success stays on par with the unmodified agent (68.0%68.0\% vs. 66.3%66.3\%). On the 49 dynamic web tasks of DynaCU-Bench, the same frozen watcher raises success from 39.5%39.5\% to 44.2%44.2\% with the large VLM agent and keeps it with the small one. Moreover, NightWatch is more efficient than passive-watching baselines such as AOI Li and Shi [2026] and PUSV Xu [2026], and in a separate comparison of watchers, NightWatch-0.8B is faster and more successful than a System-1 decision model more than 30×30\times its size.
Our contributions are as follows.
•
We identify reactive perception as an overlooked bottleneck of CUAs, formulate proactive perception, and quantify the cost of the time-triggered loop through a wall-clock ledger of idle waiting, premature observations, and stale actions (Section 3.1).
•
We propose NightWatch, a plug-and-play framework in which a cheap watcher interrupts, voids, and wakes an unmodified agent, and train NightWatch-0.8B without benchmark data, releasing the code, data, and weights.
•
Experiments on desktop and dynamic web environments show that NightWatch saves 33%33\% of non-reasoning time on OSWorld-Verified with success on par, raises success by 4.74.7 points on DynaCU-Bench with the large VLM agent, and that a small trained watcher is both faster and more successful than a decision model more than 30×30\times its size and a closed System-1 API.
2 Related Work
Perception in computer-use agents.
Benchmarks such as OSWorld Xie et al. [2024], Yuan et al. [2026] and AndroidWorld Rawles et al. [2025] drive VLM agents Qin et al. [2025] through a discrete observe–reason–act loop, with a fixed pause after every action. A growing body of work shows that this loop breaks once the screen changes on its own. Pop-ups and environmental distractions mislead agents Zhang et al. [2025a], Ma et al. [2025], and injected anomalies, notifications, and fake loading pages cause large drops in success Chen et al. [2026], Wu et al. [2026a], Liu et al. [2026b], Wu et al. [2026b]. Single screenshots miss intermediate states of dynamic interfaces Liu et al. [2026a], Yao et al. [2026], agents trust outdated structure over current pixels Zhang et al. [2026a], and the delay between observing and acting opens a window for stale or even adversarial actions Xu [2026], Qian et al. [2026], which time-sensitive and real-time agent benchmarks also penalize Froger et al. [2026], Wen et al. [2026]. Several methods address parts of the problem. AOI Li and Shi [2026] attaches keyframes sampled between steps to the next observation, whereas AAPT Dong et al. [2026] pre-compiles a policy tree while the screen is idle and executes branches when changed frames match them. PUSV Xu [2026] validates the screen before dispatch, SentinelBench Maldaner et al. [2026] replaces sleeps with waits on DOM changes, and step-level monitors escalate to a stronger model on stuck or milestone events read from text Wei et al. [2026]. Action-induced visual differences have also been used for reflection Ma et al. [2026], and GUI testing has long replaced fixed waits with rendering-completion detectors Feng et al. [2023]. Beyond GUIs, streaming video models decide frame by frame when to respond Chen et al. [2024], Wang et al. [2025b], Qian et al. [2025], Ding et al. [2025], Wang et al. [2025a], Zhang et al. [2025b], Zheng et al. [2026], as rewarded by benchmarks of timely answers Li et al. [2025], Lin et al. [2024], but learn this gate end to end inside the model. NightWatch instead leaves the agent untouched: a cheap visual watcher in front of it decides, from the pixels and at every frame, when the agent looks, and can interrupt reasoning or void actions instead of only buffering or checking once.
Fast watchers for slow reasoners.
Pairing a fast monitor with a slow planner is common in robotics, where cheap checks of constraints or progress trigger replanning by a VLM Zhou et al. [2025], Guo et al. [2024], Agia et al. [2024], Shi et al. [2025], and real-time execution overlaps inference with action Black et al. [2025], Ramstedt and Pal [2019], Xiao et al. [2020]. Asynchronous LLM agents let events interrupt or redirect ongoing generation Gim et al. [2024], Yakushev et al. [2026], Sun et al. [2026]. System-1 decision models answer many typed questions from a single shared encoding at a fraction of the cost of a VLM call Yu and Yao [2026], and have been used as fast executors for mobile agents Zhang [2026]. These ideas echo event-triggered control, which samples a system when its state demands rather than periodically Åström and Bernhardsson [2002], Tabuada [2007], Heemels et al. [2012], and active perception, which treats when and how to sense as part of the task Bajcsy [1988]. NightWatch brings them to computer use, with a visual System-1 as the watcher and fixed thresholds that turn its answers into decisions.
3 Method
NightWatch operates at the harness level, placing a lightweight watcher between an unmodified VLM agent and its environment (Figure 2). The agent keeps its own prompts, action space, and reasoning, while the watcher only decides when the agent observes and whether its ongoing reasoning and pending action remain valid.
Figure 2: Overview of NightWatch. Left: the screen is watched as a stream, and NightWatch-0.8B reads a visual context built from recent frames and the pending action and answers every question of a fixed, generic bank with a probability. Middle: in proactive triggering, fixed thresholds turn these probabilities into three interventions on an unmodified agent: interrupt its reasoning when a new event appears, void a pending action whose target is lost, and wake it as soon as the screen settles. Right: NightWatch-0.8B is trained offline on decision points from the agent’s trajectories, with teacher, gold, and hindsight labels and a calibration-preserving objective.
3.1 Problem Formulation
Let s(t)s(t) be the screen at time tt, which changes both in response to the agent’s actions and on its own, and let F≤tF_{\leq t} be the stream of frames up to tt. An agent with policy π\pi proceeds in steps. At step kk it observes ok=s(tk)o_{k}=s(t_{k}) at time tkt_{k}, reasons, and dispatches an action ak∼π(⋅∣ok)a_{k}\sim\pi(\cdot\mid o_{k}) at time tkact≥tkt_{k}^{\mathrm{act}}\geq t_{k} (the interaction history is omitted for brevity). The screen may change both while the agent reasons, in [tk,tkact)[t_{k},t_{k}^{\mathrm{act}}), and while the action executes and the agent waits, in [tkact,tk+1)[t_{k}^{\mathrm{act}},t_{k+1}). The conventional, time-triggered loop ignores both and observes again after a fixed delay tfixt_{\text{fix}}, i.e., tk+1=tkact+tfixt_{k+1}=t_{k}^{\mathrm{act}}+t_{\text{fix}}, which causes two timing failures.
Stale actions.
The action is grounded in oko_{k} but applied to s(tkact)s(t_{k}^{\mathrm{act}}). With a validity indicator v(a,s)∈{0,1}v(a,s)\in\{0,1\} of an action aa on a screen ss, the action is stale when v(ak,ok)>v(ak,s(tkact))v(a_{k},o_{k})>v(a_{k},s(t_{k}^{\mathrm{act}})), i.e., it was valid when generated, and the screen, not the agent, invalidated it.
Premature and late observations.
The interface also needs time to become ready for the next decision. Let tkrdy≥tkactt_{k}^{\mathrm{rdy}}\geq t_{k}^{\mathrm{act}} be the time at which the transition caused by aka_{k} is complete. Readiness is semantic: it neither requires every pixel to stop changing, since a clock or a cursor may keep moving, nor follows from momentary stillness, since a page may pause while it loads. An observation with tk+1tkrdyt_{k+1}>t_{k}^{\mathrm{rdy}} leaves the agent idle for tk+1−tkrdyt_{k+1}-t_{k}^{\mathrm{rdy}}.
Proactive perception.
We therefore make the observation times a decision of the harness. A perception policy ϕ\phi, plugged in between the agent and its environment, reads F≤tF_{\leq t} and decides when the agent perceives the screen, and hence which screens it reasons on and acts against. At step kk, ϕ\phi decides whether to interrupt the reasoning at some t∈[tk,tkact)t\in[t_{k},t_{k}^{\mathrm{act}}) and restart the step from ok=s(t)o_{k}=s(t), whether to void aka_{k} at tkactt_{k}^{\mathrm{act}}, and when to take the next observation tk+1t_{k+1}. The time-triggered loop is the special case ϕfix\phi_{\text{fix}} that never interrupts or voids and waits tfixt_{\text{fix}}. Under any ϕ\phi, the time wasted at step kk is the idle time plus a cost cc for each step spent on a premature observation or a stale action,
Wk=(tk+1−tkrdy)++c(𝟏[tk+1v(ak,s(tkact))]),W_{k}=\bigl(t_{k+1}-t_{k}^{\mathrm{rdy}}\bigr)^{+}+c\,\Bigl(\mathbf{1}\bigl[t_{k+1}v\bigl(a_{k},s(t_{k}^{\mathrm{act}})\bigr)\bigr]\Bigr), (1)
and, with the agent fixed, we seek
minϕ𝔼[∑kWk]s.t.Succ(π,ϕ)≥Succ(π,ϕfix),\min_{\phi}\ \mathbb{E}\Bigl[\sum_{k}W_{k}\Bigr]\quad\text{s.t.}\quad\mathrm{Succ}(\pi,\phi)\ \geq\ \mathrm{Succ}(\pi,\phi_{\text{fix}}), (2)
which states the trade-off we target rather than an objective we optimize directly. Neither tkrdyt_{k}^{\mathrm{rdy}} nor vv can be read off when a decision is due, so ϕ\phi must estimate them from F≤tF_{\leq t} as it unfolds: a learned watcher estimates them (Section 3.2), and fixed thresholds trigger the three decisions (Section 3.3).
3.2 Streaming State Monitoring
The watcher is a System-1 decision model Kahneman [2011], Yu and Yao [2026] that answers typed questions about the interface without generating a reasoning trace. For a question qq in a fixed bank 𝒬\mathcal{Q} with answer options 𝒴q\mathcal{Y}_{q}, it reads a context xtx_{t} built at time tt and returns a distribution over the answers,
pθ(y∣xt,q),y∈𝒴q,xt=(ok,s(t−0.5s),s(t),s(t)|Bt⏟visual context ut from F≤t,a¯t⏟action),p_{\theta}(y\mid x_{t},q),\ \ y\in\mathcal{Y}_{q},\qquad x_{t}=\Bigl(\underbrace{o_{k},\ s(t-0.5\,\mathrm{s}),\ s(t),\ s(t)|_{B_{t}}}_{\text{visual context }u_{t}\text{ from }F_{\leq t}},\ \underbrace{\bar{a}_{t}}_{\text{action}}\Bigr), (3)
where the visual context holds the agent’s last observation, a recent frame, the current frame, and a crop of the region BtB_{t} that changed, and a¯t\bar{a}_{t} is the text of aka_{k} before dispatch or after execution and is empty while aka_{k} is still being generated (before dispatch, the crops cover the target of aka_{k}; Table 6). We write pq(t)p_{q}(t) for the probability of the answer that fires qq (e.g., “yes” for a dialog, “no” for a present target) in the latest request completed by tt. The target-validity questions thus estimate whether v(ak,s(t))=0v(a_{k},s(t))=0, the settledness and loading questions whether t≥tkrdyt\geq t_{k}^{\mathrm{rdy}}, and the event questions flag changes that make any plan obsolete.
Question bank.
𝒬\mathcal{Q} contains four groups of generic questions: ① change and stability, e.g., whether the screen is still changing or loading, or has settled; ② events, e.g., whether a dialog, an error, or a different page has appeared; ③ target validity, e.g., whether the element the agent is about to act on is still present and unoccluded; ④ action effect, e.g., whether the last action produced a visible or an unexpected outcome. 𝒬\mathcal{Q} is generic by design: no question names an application or a task, so the bank and the thresholds of Section 3.3 are fixed once rather than generated per step (all 16 questions are in Appendix A, and the exact request format in Appendix B).
Streaming inference.
A pixel-level gate sets χ(t)=1\chi(t)=1 when frame s(t)s(t) differs significantly from its predecessor and requests an evaluation only then, while a periodic probe keeps a static loading screen under examination. Each request asks the subset 𝒬t⊆𝒬\mathcal{Q}_{t}\subseteq\mathcal{Q} of the current stage and encodes the visual context once: with a visual encoder EθE_{\theta} and an answer readout RθR_{\theta},
pθ(⋅∣xt,q)=Rθ(Eθ(ut),a¯t,q)for every q∈𝒬t,p_{\theta}(\cdot\mid x_{t},q)=R_{\theta}\bigl(E_{\theta}(u_{t}),\,\bar{a}_{t},\,q\bigr)\quad\text{for every }q\in\mathcal{Q}_{t}, (4)
so the visual cost is paid once per request rather than once per question. While the agent waits, 𝒬t={settled,loading}\mathcal{Q}_{t}=\{\textit{settled},\textit{loading}\} is served apart from the full checks to keep waiting short.
3.3 Proactive Triggering
Proactive triggering lets the screen, not the agent’s clock, fire each decision of ϕ\phi. Fixed rules compare the watcher’s probabilities with thresholds, so the model only reads the state while the decision logic stays transparent. For a set of questions S⊆𝒬S\subseteq\mathcal{Q}, let g(S,t)=maxq∈Spq(t)g(S,t)=\max_{q\in S}p_{q}(t) be the strongest response among them. Each intervention d∈{I,V,W}d\in\{I,V,W\} watches a time window 𝒲d\mathcal{W}_{d} of step kk and fires at the first moment its trigger Td(t)∈{0,1}T_{d}(t)\in\{0,1\} holds,
td⋆=min{t∈𝒲d:Td(t)=1},t_{d}^{\star}=\min\bigl\{\,t\in\mathcal{W}_{d}:T_{d}(t)=1\,\bigr\}, (5)
and the three interventions differ only in their window, trigger, and effect.
Interrupt.
While the agent reasons on oko_{k}, the event questions SevtS_{\text{evt}} (a new dialog, an error, or a page change) are asked about every significant change of the screen:
𝒲I=[tk,tkact),TI(t)=𝟏[g(Sevt,t)≥τI].\mathcal{W}_{I}=[t_{k},\ t_{k}^{\mathrm{act}}),\qquad T_{I}(t)=\mathbf{1}\bigl[g(S_{\text{evt}},t)\geq\tau_{I}\bigr]. (6)
At tI⋆t_{I}^{\star}, the generation is cancelled and step kk restarts from ok=s(tI⋆)o_{k}=s(t_{I}^{\star}).
Void.
Before dispatch, the target-validity and dialog questions SvalS_{\text{val}} are asked about the target of aka_{k}:
𝒲V={tkact},TV(t)=𝟏[g(Sval,t)≥τV],\mathcal{W}_{V}=\{t_{k}^{\mathrm{act}}\},\qquad T_{V}(t)=\mathbf{1}\bigl[g(S_{\text{val}},t)\geq\tau_{V}\bigr], (7)
so that TVT_{V} estimates whether v(ak,s(tkact))=0v(a_{k},s(t_{k}^{\mathrm{act}}))=0. If it fires, aka_{k} is discarded rather than executed on an outdated screen, and step kk restarts from ok=s(tV⋆)o_{k}=s(t_{V}^{\star}).
Wake.
After execution, the wake replaces the fixed delay tfixt_{\text{fix}} with an online estimate of the ready time tkrdyt_{k}^{\mathrm{rdy}}, made in two stages:
𝒲W=[tkact,∞),TW(t)=𝟏[η(t)≥tmin]⋅𝟏[psettled(t)≥τW]⋅𝟏[ploading(t)<τL],\mathcal{W}_{W}=[t_{k}^{\mathrm{act}},\ \infty),\qquad T_{W}(t)=\mathbf{1}\bigl[\eta(t)\geq t_{\min}\bigr]\cdot\mathbf{1}\bigl[p_{\text{settled}}(t)\geq\tau_{W}\bigr]\cdot\mathbf{1}\bigl[p_{\text{loading}}(t)<\tau_{L}\bigr], (8)
and the next observation is taken at tk+1=tW⋆t_{k+1}=t_{W}^{\star}. The gate first establishes that the screen has stopped changing, with η(t)\eta(t) the time since the last χ=1\chi=1 after tkactt_{k}^{\mathrm{act}}, or since tkactt_{k}^{\mathrm{act}} if there has been none, so that an action with no visible effect needs no timeout. The watcher then judges whether this stillness is final, which pixels alone cannot tell (Section 3.1). If the watcher does not confirm, the agent is woken after a longer quiet time unless the watcher still reports the screen as busy, and a maximum waiting time bounds every step. The wake thus reduces the idle term of Equation 1 to a detection delay, analyzed in Appendix I.
The time-triggered loop ϕfix\phi_{\text{fix}} is recovered with TI=TV=0T_{I}=T_{V}=0 and tW⋆=tkact+tfixt^{\star}_{W}=t_{k}^{\mathrm{act}}+t_{\text{fix}}. The thresholds τI,τV,τW,τL\tau_{I},\tau_{V},\tau_{W},\tau_{L} and tmint_{\min} are fixed once and shared across applications and benchmarks (Appendix A).
3.4 Training the Watcher
A general-purpose decision model reads static states reliably but is weak at temporal judgments, such as whether a screen that has just stopped moving is final, so we train the watcher on the states that the agent visits, with labels from a teacher and from the frame stream in hindsight.
Training environments.
The training tasks 𝒯train\mathcal{T}_{\text{train}} use the operating system and applications of the evaluation, each starting from a freshly launched application, and tasks close to an evaluation task are discarded, so that no evaluation task, file, or trajectory is used.
Decision-point sampling.
We run the unmodified agent π\pi on 𝒯train\mathcal{T}_{\text{train}} while recording the frame stream. From each trajectory we sample decision points at the three stages of Section 3.3: frames during reasoning, the last frame before dispatch, and frames at several delays after execution. Each decision point gives a context xix_{i} built exactly as at inference and a question qiq_{i} asked at its stage, forming 𝒟={(xi,qi)}\mathcal{D}=\{(x_{i},q_{i})\}.
Teacher and gold labels.
The target yiy_{i} over 𝒴qi\mathcal{Y}_{q_{i}} combines the distribution yiTy_{i}^{\text{T}} of a larger teacher decision model on the same request with a gold label yiGy_{i}^{\text{G}} wherever the recorded stream determines the answer, e.g., no event when nothing changed during reasoning, or an unchanged target region before dispatch. When both exist and agree on the answer,
yi=αyiG+(1−α)yiT.y_{i}=\alpha\,y_{i}^{\text{G}}+(1-\alpha)\,y_{i}^{\text{T}}. (9)
Without a gold label, yi=yiTy_{i}=y_{i}^{\text{T}}; when the two disagree, a gold label that states a fact about the pixels, as in both examples above, replaces the teacher, and the teacher is kept otherwise. Synthetic interfaces with exact ground truth complement the recordings for rare events such as dialogs, toasts, and error messages.
Hindsight settledness.
For the settledness question, the gold label is defined by the future rather than the past:
yiG=𝟏[χ(t′)=0∀t′∈(ti,ti+h]],y_{i}^{\text{G}}=\mathbf{1}\bigl[\,\chi(t^{\prime})=0\ \ \forall\,t^{\prime}\in(t_{i},t_{i}+h]\,\bigr], (10)
where tit_{i} is the time of the decision point and t′t^{\prime} ranges over the recorded frames, a hindsight proxy for the ready time tkrdyt_{k}^{\mathrm{rdy}} of Section 3.1. A label based on elapsed quiet time would mark every frame that has just stopped moving as unsettled and could never wake earlier than a pixel-quiescence rule. We sample these examples where the wake rule decides, at the first quiet frames after each change and at short delays after an action that has not yet changed the screen, and keep only windows that close before the next dispatch.
Objective.
With pθ,i=pθ(⋅∣xi,qi)p_{\theta,i}=p_{\theta}(\cdot\mid x_{i},q_{i}), we fit the watcher with a cross-entropy term and a Brier term over the answer options,
ℒ(θ)=𝔼i∼𝒟[CE(yi,pθ,i)+λ‖yi−pθ,i‖22],\mathcal{L}(\theta)=\mathbb{E}_{i\sim\mathcal{D}}\bigl[\mathrm{CE}(y_{i},p_{\theta,i})+\lambda\,\|y_{i}-p_{\theta,i}\|_{2}^{2}\bigr], (11)
where the Brier term preserves the calibration that the thresholds in Section 3.3 rely on. A final temperature is fitted on a held-out split of 𝒯train\mathcal{T}_{\text{train}}.
4 Experiments
4.1 Experimental Setup
Evaluation benchmarks.
We evaluate NightWatch in two computer-use domains with different dynamics. ① Desktop: OSWorld-Verified Xie et al. [2024], on a random sample of 100 tasks that covers all ten application domains. ② Dynamic web: the 49 dynamic tasks of DynaCU-Bench Li and Shi [2026] that do not require audio, such as live dashboards, carousels, and games, in which the page changes while the agent acts. Each task is run three times. OSWorld is a largely static benchmark on which generous waits hide timing failures Zhang et al. [2026b], so we expect savings in wall-clock time with success on par, whereas DynaCU-Bench tests whether the same watcher also helps success when the screen does not wait for the agent.
Baselines.
All methods share the same agent, prompt, action space, and step budget, and differ only in how the agent perceives the screen. We compare against two paradigms.
■\blacksquare
Time-triggered: the official loop of each benchmark (Vanilla), which observes after the fixed pauses of the benchmark’s official setting, such as AOI’s 2 s interval on DynaCU-Bench.
■\blacksquare
Passive watching: AOI Li and Shi [2026], which samples frames at 3 Hz between steps and attaches pixel- and CLIP-gated keyframes with a visual narration to the next scheduled observation, and PUSV Xu [2026], which verifies the screen around the target once before each click and lets the agent re-decide when the check fails.
Section 4.4 compares other schemes and watchers.
Implementation.
Our harness follows the official setting of each benchmark: the agent is OSWorld’s screenshot-only prompt agent Xie et al. [2024] on OSWorld and AOI’s standard agent Li and Shi [2026] on DynaCU-Bench, each with two unchanged backbones: MiMo-V2.6-Flash Xiaomi LLM-Core Team [2026], a hosted large VLM, and Qwen3.8-27B (FP8) Qwen Team [2026], a small open-weight VLM. Tasks allow at most 100 executed steps on OSWorld and 50 on DynaCU-Bench, and all methods receive screenshots and the trajectory only, so AOI’s DOM element list is disabled. On DynaCU-Bench, all methods share AOI’s harness, with its agent, prompt, action parsing, failure feedback, and judge, and each baseline is reproduced as described in its paper (Appendix D). NightWatch-0.8B is initialized from d3-lite vLLM Semantic Router Team [2026a], a 0.8B System-1 decision model, fine-tuned with LoRA on 360 generated OSWorld tasks, and used frozen, with the same thresholds, on both benchmarks. It runs on one NVIDIA L40S GPU over a 10 Hz frame stream, and a settledness check takes about 0.3 s. Appendices C and D detail the training data, the harnesses, and the judge.
Metrics.
We report task success averaged over runs (avg@3) and the share of tasks solved in any run (pass@3). For efficiency, we report the non-reasoning time per task, i.e., wall-clock time minus the time spent in agent LLM calls, which isolates the part of the loop that perception controls, and the wasted-time share, the fraction of loop time spent idle, on premature observations, or on stale actions. For timeliness, we report the share of steps with a premature observation or a stale action, as defined in Section 3.1 and measured from screen changes (Appendix E).
4.2 Main Results
Table 1: Main results on OSWorld-Verified (100 tasks) and DynaCU-Bench (49 dynamic tasks) with two unmodified agents and screenshot-only input. Succ.: success averaged over three runs (mean ±\pm std); pass@3: share of tasks solved in any run; Non-reas.: wall-clock time per task outside agent LLM calls; Waste: share of loop time that is idle, premature, or stale; Prem./Stale: share of executed steps with a premature observation or a stale action. Green subscripts: relative reduction against Vanilla. ↑\uparrow/↓\downarrow: higher/lower is better. Within each agent block, the best result in each column is bold with a teal background, the second-best distinct value has a gray background, and ties receive the same formatting. –: not measured.
OSWorld-Verified DynaCU-Bench
Method Paradigm Succ.↑\uparrow pass@3↑\uparrow Non-reas. (s)↓\downarrow Waste (%)↓\downarrow Prem. (%)↓\downarrow Stale (%)↓\downarrow Succ.↑\uparrow pass@3↑\uparrow Non-reas. (s)↓\downarrow
Large VLM agent: MiMo-V2.6-Flash
Vanilla Time-triggered 66.3 ±\pm 4.5 82.0 197.4 16.3 9.6 17.4 39.5 ±\pm 4.2 53.1 –
AOI Li and Shi [2026] Passive watching 63.0 ±\pm 3.6 78.0 266.4 19.8 3.5 8.9 37.4 ±\pm 4.2 55.1 –
PUSV Xu [2026] Passive watching 67.3 ±\pm 0.6 81.0 218.6 14.8 7.1 12.2 33.3 ±\pm 4.2 49.0 46
NightWatch (Ours) Proactive watching 68.0 ±\pm 3.6 82.0 132.7(−-33%) 7.7(−-53%) 2.6(−-73%) 8.3(−-52%) 44.2 ±\pm 5.1 53.1 30
Small VLM agent: Qwen3.8-27B (FP8)
Vanilla Time-triggered 56.3 ±\pm 2.1 69.0 190.2 16.2 11.4 17.2 34.7 ±\pm 5.4 46.9 –
AOI Li and Shi [2026] Passive watching 56.3 ±\pm 1.2 74.0 124.8 7.6 4.9 12.7 34.0 ±\pm 2.4 44.9 –
PUSV Xu [2026] Passive watching 58.7 ±\pm 4.9 75.0 165.8 13.1 9.2 13.2 32.0 ±\pm 6.2 44.9 25
NightWatch (Ours) Proactive watching 58.7 ±\pm 1.2 77.0 111.9(−-41%) 5.4(−-67%) 1.9(−-83%) 11.8(−-31%) 34.7 ±\pm 4.1 49.0 17
Desktop.
As Table 1 and Figure 3a show, NightWatch spends the least time outside reasoning on OSWorld with both agents while keeping success on par with the strongest baseline. For the large VLM agent, success is 68.0% against 66.3% for Vanilla and 67.3% for PUSV, while non-reasoning time falls from 197.4 s to 132.7 s (−33%-33\%) and the wasted-time share from 16.3% to 7.7% (−53%-53\%). For the small VLM agent, success matches PUSV (58.7% against 56.3% for Vanilla), pass@3 rises from 69.0% to 77.0%, and non-reasoning time falls from 190.2 s to 111.9 s (−41%-41\%). Both reductions in non-reasoning time are significant in a paired test over tasks (p=0.026p=0.026 and p=0.016p=0.016; Appendix E). Passive watching does not act earlier: with the large VLM agent, AOI and PUSV spend 9.2 s and 7.4 s per step outside reasoning, against 6.9 s for Vanilla and 4.5 s for NightWatch (Appendix F).
Figure 3: Results at a glance for the large VLM agent. (a) Success against non-reasoning time per task on OSWorld, with error bars showing the standard deviation over three runs. (b) Share of steps with a premature observation or a stale action on OSWorld. (c) Success by task category on DynaCU-Bench (number of tasks in parentheses, with the two single-task categories omitted).
Dynamic web.
NightWatch reaches 44.2% with the large VLM agent on DynaCU-Bench, 4.7 points above Vanilla (39.5%) and 6.8 above AOI (37.4%), and spends 30 s of non-reasoning time per task against 46 s for PUSV; with the small VLM agent, it matches Vanilla (34.7%) with 17 s against 25 s for PUSV. PUSV falls below Vanilla with both agents (33.3% and 32.0%), mostly on live dashboards and transient notifications (Figure 3c), because a pixel-level check cannot tell a benign refresh from a change that invalidates the click. AOI runs without its DOM list, so that all methods receive the same screenshot-only input (Appendix F).
Timeliness.
For the large VLM agent, NightWatch cuts premature observations on OSWorld from 9.6% to 2.6% of executed steps (−73%-73\%) and stale actions from 17.4% to 8.3% (−52%-52\%; Figure 3b), and the small VLM agent follows the same trend (11.4% to 1.9% and 17.2% to 11.8%). AOI comes second with both agents, partly because its agent waits longer after each action.
Per-category results.
Across the categories of DynaCU-Bench, NightWatch is best or tied for best on videos, carousels, dashboards, and games (Figure 3c). Its largest margin appears on live dashboards (81.5% vs. 70.4% for Vanilla), where waking on a settled panel rather than on a fixed clock matters most. Appendix H gives a failure analysis.
4.3 Cost Efficiency
End to end (Table 2), NightWatch is the fastest method with both agents: a task takes 614.7 s against 666.0 s for Vanilla with the large VLM agent (−8%-8\%) and 625.4 s against 701.9 s with the small one (−11%-11\%). The generations that it interrupts or voids cost only 2.5 s and 4.5 s per task, and it issues about as many agent calls as Vanilla, so the time saved outside reasoning is not spent on extra reasoning. Its agent API cost stays within 3% of Vanilla, whereas AOI’s keyframes enlarge each call from about 4.5k to 7k input tokens and raise the cost by 52% and 37%. The watcher adds a 0.8B model on one L40S GPU and no API calls. With the large VLM agent, NightWatch lies outside the region dominated by the baselines in both cost and time (Figure 4).
Table 2: End-to-end cost per task on OSWorld-Verified (300 runs). Total: loop time (s); Disc.: discarded generation (s); API: agent API cost (US cents), counting interrupted calls.
MiMo-V2.6-Flash Qwen3.8-27B
Method Total↓\downarrow Disc.↓\downarrow API↓\downarrow Total↓\downarrow Disc.↓\downarrow API↓\downarrow
Vanilla 666.0 0.0 2.10 701.9 0.0 1.48
AOI 789.1 0.0 3.18 686.1 0.0 2.02
PUSV 700.7 15.0 2.21 676.9 25.6 1.55
NightWatch 614.7 2.5 2.16 625.4 4.5 1.45
Figure 4: Success against agent API cost and non-reasoning time on OSWorld-Verified with MiMo-V2.6-Flash (means over three runs; the standard deviations are in Table 1). The shaded region is dominated by the baselines’ Pareto front.
4.4 Ablation Study
Table 3: Control schemes on DynaCU-Bench (MiMo-V2.6-Flash, three runs). Time and Non-reas.: s per task. Fixed wait re-implements Vanilla’s 2 s pause in our controller, in runs separate from Table 1.
Control scheme Succ.↑\uparrow Time↓\downarrow Non-reas.↓\downarrow Fixed wait 33.3 127.6 43.5 Pixel rules 30.6 132.0 33.1 Jev API watcher 36.7 128.9 33.6 D3-27B (FP8) 32.7 124.3 54.7 NightWatch-0.8B (ours) 44.2 113.4 29.8
Table 4: Interventions on DynaCU-Bench (three runs). Each variant removes one intervention; w/o wake waits for pixel quiescence. Mism.: targeted actions whose target changed before dispatch (%); Fired: steps on which the removed intervention fires in NightWatch (%).
Variant Succ.↑\uparrow Time↓\downarrow Mism.↓\downarrow Fired NightWatch (full) 44.2 113.4 3.6 – w/o wake 38.1 122.7 3.8 49.0 w/o interrupt 30.6 133.1 4.2 15.0 w/o void 36.1 132.6 15.9 6.2
❶ Control schemes.
Table 4 isolates the decision layer. Fixed wait is the time-triggered loop, pixel rules make the same three decisions from pixel differences alone, and the Jev API watcher, a closed System-1 model Almeida [2026] served through an API, answers the same questions as NightWatch-0.8B. D3-27B is the official FP8 decision model vLLM Semantic Router Team [2026b] with the same question bank and thresholds, and its latency stays in the reported time (Appendix D). NightWatch-0.8B takes the least time per task, 113.4 s against 124.3–132.0 s for the other schemes, and the least time outside reasoning, 29.8 s against 33.1–54.7 s. The comparison is end to end: D3-27B, more than 30×30\times larger, takes 7.6 s per call, and the Jev API watcher 0.59 s per check before dispatch against 0.25 s. With the same controller, d3-lite without fine-tuning spends 35.0 s outside reasoning against 28.8 s in the same runs.
❷ Interventions.
Table 4 removes one intervention at a time on DynaCU-Bench, where all three fire often: NightWatch-0.8B wakes the agent early on about half of the steps, and interrupts and voids on 15 and 6 of every 100 steps. Removing any intervention lengthens the task without raising success, interrupt the most (19.7 s per task). Removing void raises mismatched actions from 3.6% to 15.9%, and replacing wake with pixel quiescence adds 9.3 s per task.
❸ Watcher against pixel quiescence on OSWorld.
On OSWorld, where NightWatch interrupts only 0.48 times and voids 0.03 actions per task, the wake carries most of the gain. A pixel-only variant that uses the same harness but wakes the agent on pixel quiescence alone, and never interrupts or voids, spends 179.8 s per task outside reasoning and 770.8 s in total, against 113.1 s (−37%-37\%) and 611.5 s (−21%-21\%) for NightWatch in a run with the same agent, and NightWatch is faster on two thirds of the tasks (Table 10). Judging whether stillness is final, rather than waiting for it to last, is thus what shortens the wait.
4.5 Qualitative Analysis

Figure 5: One intervention of each kind from the runs of Table 1 with MiMo-V2.6-Flash. Top: the screenshot the agent reasons on; bottom: the screen when NightWatch intervenes. Interrupt: a second server turns red while the agent is reasoning about the first. Void: the swatches rotate before the click on the cyan one is dispatched (red circle: click point), so the click is discarded. Wake: a terminal command returns, and the agent observes the result 1.1 s later.
Figure 5 shows one intervention of each kind. Interrupt: on a server dashboard where each alarm must