When Actions Go Off-Task: Detecting and Correcting Misaligned Actions in Computer-Use Agents
This work addresses safety and reliability issues in computer-use agents, which is crucial for users relying on these systems, but it is incremental as it builds on existing agent frameworks.
The paper tackles the problem of misaligned actions in computer-use agents, which deviate from user intent due to external attacks or internal limitations, by proposing DeAction, a guardrail that detects and corrects these actions, achieving over 15% F1 score improvement on a new benchmark and reducing attack success rates by over 90% in adversarial settings.
Computer-use agents (CUAs) have made tremendous progress in the past year, yet they still frequently produce misaligned actions that deviate from the user's original intent. Such misaligned actions may arise from external attacks (e.g., indirect prompt injection) or from internal limitations (e.g., erroneous reasoning). They not only expose CUAs to safety risks, but also degrade task efficiency and reliability. This work makes the first effort to define and study misaligned action detection in CUAs, with comprehensive coverage of both externally induced and internally arising misaligned actions. We further identify three common categories in real-world CUA deployment and construct MisActBench, a benchmark of realistic trajectories with human-annotated, action-level alignment labels. Moreover, we propose DeAction, a practical and universal guardrail that detects misaligned actions before execution and iteratively corrects them through structured feedback. DeAction outperforms all existing baselines across offline and online evaluations with moderate latency overhead: (1) On MisActBench, it outperforms baselines by over 15% absolute in F1 score; (2) In online evaluation, it reduces attack success rate by over 90% under adversarial settings while preserving or even improving task success rate in benign environments.