TL;DR
CANDID is a lightweight framework that boosts the reliability of local computer-use agents (CUAs) by intervening only at high-risk failure points. Instead of relying on complex self-reflection, it uses "candidate-driven" control: it samples multiple potential actions to break repetitive loops and requires a unanimous "DONE" consensus before allowing an agent to terminate a task.
What Problem Does This Paper Address?
Autonomous computer-use agents (CUAs) are designed to navigate GUIs—clicking, typing, and scrolling to complete tasks. While large, cloud-based models handle this well, deploying "local" CUAs on resource-constrained hardware using Small Language Models (SLMs) is much harder.
The authors identify two "coupled" failure modes that plague these smaller models:
- Repetitive Action Loops: The agent gets stuck performing the same useless action (e.g., clicking a button that doesn't respond).
- Premature False Success: The agent incorrectly signals
DONEbefore the task is actually finished.
Previous attempts to fix this usually involve "textual reflection," where the agent is asked to look at its history and critique its own mistakes. However, the authors argue that local SLMs aren't powerful enough to generate meaningful self-critiques or translate those critiques into better GUI actions.
Methods
CANDID (Candidate-Driven Intervention for Disciplined Execution) moves away from textual reflection toward a structural, execution-level intervention. It introduces two main modules that trigger only when the agent is at a "critical junction":
- Loop-Recovery Module: A rule-based detector monitors the execution history. If it flags a potential loop, the model is asked to confirm if it’s stuck. If confirmed, the system samples four candidate actions, filters out the ones that match the loop pattern, and forces the agent to pick a new, productive path.
- Unanimous DONE Gating: Termination is high-risk. When the agent proposes a
DONEaction, CANDID samples four additional candidates from the same context. The agent is only allowed to stop if all candidates agree on termination. If even one candidate suggests a continuation action (like a click or a scroll), theDONEsignal is rejected.
Crucially, this is a "sparse" intervention. It doesn't sample multiple actions at every step, which keeps the computational overhead low—a necessity for local deployment.
Datasets
The researchers evaluated CANDID primarily on OSWorld, a comprehensive benchmark for multimodal agents across various desktop domains (Office, Web, Workflow, etc.). They also tested cross-benchmark generalization on WindowsAgentArena. The framework was tested using several local CUA models, including variants of Qwen3-VL and OpenCUA-7B.
Key Insights and Ideas
- The "Right" Action is Already There: The authors found that even when an agent fails, the correct next action is often present in the model's underlying probability distribution. The bottleneck isn't the availability of good actions, but the agent's inability to commit to them under uncertainty.
- Reflection is a Cognitive Burden: For small models, asking "What did you do wrong?" is often too much. Structural interventions—like filtering out a specific repeated action—are much more effective than open-ended verbal feedback.
- Unanimity > Majority: In the context of task termination, majority voting is too weak to counter a model's inherent bias toward finishing early. Requiring a unanimous "DONE" acts as a conservative and highly effective filter against premature success.
- Complementary Strengths: Loop recovery and DONE gating solve different problems. As shown in the ablation studies, using both together provides the best balance between escaping loops and ensuring task completion.
Key Results
CANDID consistently outperformed both baseline models and existing feedback-based methods:
- Success Rate Boost: On OSWorld, CANDID improved absolute success rates by 2.01% to 4.54% across different models and step budgets.
- Efficiency: Despite sampling multiple candidates at failure points, the total execution time increased by only ~10%. This is because the intervention is sparse, and the improved reliability actually leads to shorter average trajectories (fewer wasted steps in loops).
- Outperforming Baselines: CANDID beat "Self-Guidance" and "Loop Breaker" (reflection-based methods) significantly. For example, on Qwen3-VL-30B, CANDID achieved 38.80% accuracy compared to the baseline's 35.31% and the reflection-based Loop Breaker's 36.98%.
Limitations and Future Work
- Candidate Collapse: If the model is "too sure" of its wrong answer, all sampled candidates might be identical, rendering the filtering and gating ineffective.
- Long-Range Loops: The current loop detector focuses on relatively local, repetitive patterns. It might miss more complex, multi-step cycles.
- Heuristic Reliance: The system relies on rule-based triggers (like coordinate tolerance for clicks). Integrating more sophisticated, learned triggers or higher-level planning modules could further refine the intervention points.
- Scope: The study focused on desktop environments; the authors suggest that extending this to mobile or large-scale multi-agent orchestrations is a promising next step.
Summary updated