Distilled Dual-Resolution Watcher for Sub-50ms Edge Inference and Fine-Grained UI Perception
Distill the visual watcher into a quantized dual-resolution model that pairs a tiny global encoder with local target crops for sub-50ms CPU or edge inference.
Time
Compute level
Resources
What the paper used
Prerequisites
Scope
The Gap
In Section 4.1 (Implementation) and Appendix C (Optimization), NightWatch-0.8B freezes its vision tower, resizes inputs to at most 768 px, and runs on a dedicated NVIDIA L40S GPU where each settledness check takes roughly 0.3 s.
“It runs on one NVIDIA L40S GPU over a 10 Hz frame stream, and a settledness check takes about 0.3 s.”
Limitation
Requiring a dedicated datacenter-class GPU alongside the agent limits practical deployment on consumer hardware, while 0.3 s watcher inference adds directly to the wake detection delay and 768 px downscaling with a frozen vision tower can blur tiny UI indicators (disabled buttons, small spinners), leaving 11.8% stale actions with Qwen3.8-27B on OSWorld.
Proposed Solution
Distill NightWatch-0.8B into a compact dual-branch vision-language architecture (<150M parameters) that processes a low-resolution global context (384 px) alongside native-resolution local crops (1920x1080 source) around changed regions and target coordinates, unfreezing the lightweight patch-embedder during distillation from NightWatch-0.8B and the Jev teacher. Apply INT4/FP8 quantization and ONNX/TensorRT compilation to push per-check inference below 50 ms on laptops or edge GPUs.
Why This Matters
Sub-50ms watcher latency on consumer hardware would shrink the wake detection delay in Equation (13) and eliminate the need for a dedicated L40S GPU, while native-resolution target crops should improve fine-grained state recognition for smaller VLM agents.
How to Get Started
How to test it: Test whether a distilled, quantized dual-resolution watcher matches NightWatch-0.8B's AUROC (0.917) on validation settledness and achieves parity in OSWorld/DynaCU-Bench avg@3 success while reducing per-check latency from 0.3 s to under 50 ms on a single consumer GPU; stop if calibration degrades and causes premature wakes above 2% on validation splits.
- Benchmark per-module latency (visual encoding vs. readout) of the released NightWatch-0.8B checkpoint on an L40S and a consumer GPU using NightWatch-Data.
- Design a dual-resolution student network combining a compact vision backbone for 384 px global frames and native-resolution target crops.
- Distill soft probability distributions from NightWatch-0.8B and gold hindsight labels using the cross-entropy plus Brier calibration loss, followed by post-training temperature scaling and INT4/FP8 quantization.
- Verify AUROC and calibration error on the 1,512 validation decision points, then run end-to-end OSWorld-Verified evaluations measuring non-reasoning time and stale-action rates.
Code linked to this paper on Hugging Face: github.com/SuJQ0722/NightWatch
Suggested by AI. Adapt it to your setup.
Has This Been Done?
The listed literature contains technical reports and benchmarks for foundational GUI agents, but none explore distilling a specific watcher model into a dual-resolution architecture with quantization for sub-50ms edge inference.
- MAI-UI Technical Report: Real-World Centric Foundation GUI Agents · 2025 · 132 citations
- Qwen-UI-Agent Technical Report: Toward Next-Generation Real-World Centric Foundation GUI Agents · 2026 · 21 citations
We searched OpenAlex and arXiv for “lightweight distilled visual state monitor UI agent low latency” and “Distilled Dual-Resolution Watcher for Sub-50ms Edge Inference and Fine-Grained UI Perception” and an AI compared the idea with the top 10 results. A small search can miss relevant work.
Source Paper
Don't Sleep, Keep Watch: Proactive Perception for Computer-Use AgentsJiaqi Su, Jie-Jing Shao, Yichen Liu +2 more · 2026
This paper introduces NightWatch, a plug-and-play perception harness that endows vision-language computer-use agents with continuous, proactive situational awareness without altering the underlying agent model, prompt, or action space. By pairing an unmodified VLM agent with a lightweight 0.8B System-1 watcher, the framework monitors a 10 Hz screen stream to interrupt obsolete reasoning, void stale pending actions, and wake the agent as soon as the interface settles, cutting non-reasoning time by 33% on OSWorld-Verified and boosting success from 39.5% to 44.2% on dynamic web tasks in DynaCU-Bench.
Related Ideas
- Hardware-Accessible Autoregressive Video Generation via Mixed-Precision Quantization and PruningFastFrames: Video Generation at Interactive Latency🟠Medium
- Foveated Spatial KV Compression and Sparse Attention for Interactive 720p Video GenerationFastFrames: Video Generation at Interactive Latency🔴Hard
- Workload-Adaptive Dynamic Expert Caching for Hybrid GPU-CPU On-Device ExecutionClover-35B-A3B-Preview Technical Report🟡Fairly easy
- Adaptive High-FPS Windowing and Frequency-Aware Visual AdaptersWeVisForensics: Self-Evolving Agent for Omni AI-Generated Video Detection🔴Hard
- Cross-Scale Representation Distillation from 552B MoE VLMs into Single-GPU Student PoliciesScaleVLA: Scaling Vision-Language-Action Models to 552 Billion Parameters🟠Medium