Don't Sleep, Keep Watch: Proactive Perception for Computer-Use Agents

Jiaqi Su, Jie-Jing Shao, Yichen Liu, Long-Kai Huang, Haiyan YinarXiv 2026

Imagine you’re trying to drive a car, but there’s a catch: you can only open your eyes for a split second every ten seconds. In between, you have to keep your eyes shut, think about what you saw, and then turn the steering wheel based on that memory.

If a pedestrian steps off the curb while your eyes are closed, you’re in trouble.

This is exactly how most modern AI "Computer-Use Agents" (CUAs) operate. They take a screenshot, spend several seconds "reasoning" with a large Vision-Language Model (VLM), execute an action, and then sleep for a fixed amount of time to let the page load. This paper introduces NightWatch, a way to let these agents keep their eyes open.

TL;DR

Current AI agents are often "blind" while they think, leading them to click on buttons that have already disappeared or wait needlessly for pages that have already loaded. NightWatch adds a lightweight, high-speed "watcher" model that monitors the screen in real-time, allowing the agent to interrupt its own thoughts if the screen changes or wake up the instant a loading bar finishes.

What Problem Does This Paper Address?

We are moving toward agents that can handle complex desktop and web tasks. However, these environments are dynamic: notifications pop up, carousels slide, and network speeds vary.

The authors identify a "perception-action gap." Because large models (like GPT-4o or Claude 3.5 Sonnet) have significant inference latency, the "state" of the screen the agent saw is often "stale" by the time it actually clicks. Furthermore, developers usually hard-code "sleep" timers (e.g., "wait 5 seconds after clicking"). If the page loads in 0.5 seconds, the agent wastes 4.5 seconds. If it takes 10 seconds, the agent clicks on a half-rendered mess.

Figure 1: Observation and execution control in computer-use agents. (a) Fixed scheduling. Reasoning continues after a di- alog appears, and fixed waits continue after the page is ready. (b) Passive watching. Buffered frames inform later observa- tions, while pre-dispatch checks can reject actions after reason- ing completes. (c) Proactive perception. NightWatch com- bines a 0.8B System-1 watcher with threshold rules to inter- rupt reasoning, void pending actions, and end post-action waits based on estimated interface state. (d) OSWorld-Verified re- sults. 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.

Methods

The researchers propose a "System-1" and "System-2" approach. The main agent is the slow, heavy-thinking System-2. NightWatch-0.8B is the System-1: a tiny (0.8 billion parameter) model that acts like a reflex system.

NightWatch doesn't decide what to do; it just watches the "stream" of frames and answers 16 generic questions (e.g., "Is there a new dialog box?", "Is the screen still loading?", "Is the target I'm about to click still there?").

Based on these answers, it performs three "proactive" interventions:

  1. Interrupt: If a new error message or pop-up appears while the agent is still "thinking," NightWatch kills the process and tells the agent to look again.
  2. Void: If the agent decides to click a button, but that button disappears right before the click is sent, NightWatch cancels the action to prevent a "stale" click.
  3. Wake: Instead of a fixed sleep timer, NightWatch signals the agent to start the next step the moment the pixels stop churning and the page is "settled."

Datasets

  • Training: The authors trained the 0.8B watcher on 360 interaction trajectories from OSWorld (using different tasks than the evaluation) and 15,000 synthetic web pages designed to simulate rare events like toasts, errors, and loading states.
  • Evaluation:
    • OSWorld-Verified: A benchmark for desktop tasks (Chrome, GIMP, LibreOffice, etc.).
  • DynaCU-Bench: A benchmark specifically for dynamic web environments like live dashboards and games where the screen changes independently of the agent.

Key Insights and Ideas

  • Timing is as critical as content: An agent that knows what to do but does it at the wrong time is useless.
  • "Settledness" is semantic, not just visual: A screen isn't "ready" just because the pixels stop moving. A page might pause while loading data. NightWatch learns to recognize "readiness" by looking at "hindsight labels"—it looks at recordings to see when the next successful action actually occurred and trains the model to predict that state.
  • Small models are better watchers: You don't need a massive model to tell if a loading spinner is gone. A 0.8B model is fast enough to watch a 10Hz video stream on a single GPU, something a giant VLM couldn't dream of doing.

Key Results

The results show that being "proactive" pays off significantly:

  • Efficiency: On OSWorld, NightWatch reduced "non-reasoning" time (the time the agent spends waiting or idling) by 33% and reduced total "wasted time" by 53%.
  • Success: In dynamic web environments (DynaCU-Bench), it raised the success rate from 39.5% to 44.2%.
  • Speed: It is more than 30x faster than using a larger decision model to perform the same monitoring tasks.
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.

Limitations and Future Work

The authors are clear that NightWatch doesn't make the agent "smarter"—it just makes it more punctual. If the underlying VLM is confused by the task, NightWatch can't fix that.

Additionally, for extremely high-speed interfaces (like fast-paced games), even NightWatch might be too slow because the "System-2" reasoning still takes seconds. The authors suggest that future work should focus on "faster agents" that can match the speed of the "watcher."

Ultimately, this work moves us away from agents that perceive the world "turn-by-turn" and toward agents that maintain a continuous, flickering awareness of their digital surroundings.

Summary updated

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\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.
BibTeX
@misc{su2026don,
  author = {Jiaqi Su and Jie-Jing Shao and Yichen Liu and Long-Kai Huang and Haiyan Yin},
  title = {{Don't Sleep, Keep Watch: Proactive Perception for Computer-Use Agents}},
  year = {2026},
  eprint = {2611.28947},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.28947},
}
Figure