Skip to content
AI-generated research idea🟡Fairly easy💡Moderate InnovationNo close match found

Cost-Aware Adaptive Threshold Calibration and Unsupervised Benign-Region Masking

Replace static perception thresholds and hardcoded screen masks with an adaptive controller that tunes trigger sensitivity to each application and agent speed.

Time

several weeks

Compute level

Single GPU or less

Resources

One NVIDIA L40S GPU (or comparable GPU) for running the frozen NightWatch-0.8B watcher, VLM API credits, and OSWorld-Verified / DynaCU-Bench evaluation environments.

What the paper used

One NVIDIA L40S GPU for NightWatch-0.8B inference/training; hosted APIs for MiMo-V2.6-Flash, Qwen3.8-27B (FP8), Gemini 2.5 Flash, and Jev teacher; 360 OSWorld training tasks (14,693 decision points, 6,646 settledness examples) plus 15,000 synthetic web examples; evaluated across 100 OSWorld-Verified and 49 DynaCU-Bench tasks (3 runs each).

Prerequisites

Online optimization or contextual bandits, calibration, and GUI agent evaluation harnesses.

Scope

modify existing code

The Gap

In Section 3.3, Appendix A (Controller and Table 7), and Table 8, NightWatch fixes all intervention thresholds (interrupt 0.5, void 0.8, wake 0.99, loading 0.5, benign 0.6), caps interrupts/voids at 2 per step, and hardcodes an OSWorld-specific pixel-gate exception ignoring the top-bar clock.

“They are fixed once and shared across applications, benchmarks, and agents.”
From the paper, Appendix A, Hyperparameters, page 16. Matched against the PDF text.

Limitation

Globally fixed thresholds and OS-specific pixel-gate heuristics cannot adapt to varying VLM reasoning latencies, application update patterns, or non-OSWorld UI layouts, contributing to success drops on specific desktop domains such as LibreOffice Impress (54.2% vs. 64.6% PUSV) and Operating System tasks (62.5% vs. 70.8% Vanilla).

Proposed Solution

Replace static global thresholds with an online contextual-bandit or Bayesian threshold controller that adjusts per-stage thresholds conditioned on observed VLM inference latency, recent premature/stale rates, and application identity to directly minimize the Equation (1) idle-plus-staleness cost. In parallel, replace the hardcoded OSWorld clock mask with a lightweight exponential-moving-average pixel-entropy map learned online per episode to automatically suppress recurring benign regions (clocks, tickers, blinking carets).

Why This Matters

Adaptive thresholding and learned spatial masking should reduce needless cancellations on slower or desktop-heavy tasks and eliminate brittle OS-specific engineering when porting the harness to new operating systems or browsers.

How to Get Started

How to test it: Test whether per-task adaptive thresholding and online benign-region masking improve avg@3 success on LibreOffice Impress and OSWorld Operating System subsets while maintaining overall non-reasoning time savings against the fixed-threshold NightWatch baseline; stop if online adaptation increases wasted-time share or destabilizes wake timing.

  1. Instrument the NightWatch controller in the released codebase to log per-application false-interrupt, premature-wake, and wasted-time statistics across OSWorld-Verified domains.
  2. Implement an online spatial change-frequency accumulator to replace the hardcoded OSWorld top-bar clock mask and verify equivalent pixel-gate trigger behavior on OSWorld and DynaCU-Bench.
  3. Formulate a latency-aware contextual bandit update rule over the discrete threshold vector using episode-level wasted time and stale-action proxies as rewards.
  4. Benchmark the adaptive controller against fixed Table 7 thresholds across both MiMo-V2.6-Flash and Qwen3.8-27B backbones on OSWorld-Verified.

Code linked to this paper on Hugging Face: github.com/SuJQ0722/NightWatch

Suggested by AI. Adapt it to your setup.

Has This Been Done?

No close match in 10 results

The listed works explore GUI agents, anomaly detection, and calibration in different domains (such as medical imaging and IoT), but none propose cost-aware adaptive threshold calibration combined with unsupervised online pixel-entropy benign-region masking for GUI agents.

We searched OpenAlex and arXiv for “adaptive event-triggered control thresholds GUI agent perception” and “Cost-Aware Adaptive Threshold Calibration and Unsupervised Benign-Region Masking” 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 Agents

Jiaqi 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

Is this a good idea?

Share onXLinkedIn