TL;DR
VerificAgent introduces a "generate-then-freeze" framework that treats an agent's persistent memory as an explicit alignment surface. By combining expert-seeded knowledge, iterative trajectory-based learning, and a post-hoc human fact-checking pass, it nearly doubles computer-using agent success rates on complex office tasks and completely neutralizes adversarial memory injection attacks—all without model fine-tuning.
What Problem Does This Paper Address?
Large Language Models (LLMs) acting as Autonomous Computer-Using Agents (CUAs) are transforming software interaction by executing tasks directly via Graphical User Interfaces (GUIs). However, current CUAs struggle with complex, multi-step workflows in domain-specific applications like Microsoft Office, where state-of-the-art models often plateau at low success rates.
While giving agents persistent memory helps them learn from past interactions, it introduces a critical alignment risk: silent policy drift. Over time, unvetted memories accumulate hallucinations, non-functional shortcuts, or spurious heuristics. Even worse, malicious actors can exploit this via prompt injection, embedding latent, harmful policies directly into the agent's long-term memory store. This paper tackles the challenge of scaling agent capabilities through memory while ensuring that this memory remains safe, accurate, and aligned with user intent.
Methods
VerificAgent addresses memory reliability through a three-stage "generate-then-freeze" pipeline:
- Learning Phase: The agent starts with an expert-curated seed of domain knowledge. It then iteratively attempts tasks in a developer environment. After each task, a trajectory-analysis module evaluates the execution trace, extracts lessons learned, and integrates them into a provisional memory store.
- Memory Oversight Phase: Before deployment, the accumulated memory undergoes a post-hoc fact-checking pass. Human reviewers, aided by an AI-assisted tool that highlights hallucination-prone phrases, audit and sanitize the memory entries to remove erroneous or unsafe rules.
- Inference Phase: The verified memory is completely frozen and deployed as a read-only safety contract. During production, the agent's planner queries this immutable memory to guide its actions, preventing any further runtime memory corruption or drift.
Datasets
The authors evaluated VerificAgent using three distinct datasets:
- Memory Acquisition Dataset: A newly curated dataset of 50 diverse Office tasks designed to bootstrap the agent's memory module across atomic GUI operations (e.g., formatting, slide navigation).
- Inference Dataset: A filtered subset of 64 office productivity tasks derived from the standard OSWorld benchmark, consisting of 36 PowerPoint, 18 Word, and 10 Excel tasks compatible with cloud-based Office Online apps.
- Red-Team Memory Injection (RTMI) Testbed: A new safety benchmark introduced by the authors containing 60 adversarial instructions across 10 abuse classes (e.g., bypassing security confirmations, skipping backups) to evaluate memory tampering defenses.
Key Insights and Ideas
- Memory as an Alignment Surface: Instead of trying to audit uninterpretable neural network weights, VerificAgent treats persistent memory as a human-readable, auditable security boundary.
- The Verification Asymmetry: Verifying a candidate memory rule is significantly faster and cheaper than generating correct actions from scratch. By shifting the human-in-the-loop intervention to a post-hoc memory review, the framework achieves scalable oversight.
- AI-Assisted Human Triage: Purely manual verification is labor-intensive, but pairing humans with an AI that pre-highlights suspicious phrases yields a ~9× speedup (reducing review time from ~72 seconds to ~8.4 seconds per memory entry).
Key Results
VerificAgent was integrated into two prominent GUI agents: OpenAI's computer-use-preview and ByteDance's UI-TARS-1.5-7B.
- Performance Boost: On the OSWorld PowerPoint benchmark, VerificAgent lifted the success rate of the OpenAI agent from 25% to 52.78%—a 111% relative improvement over the baseline. For the ByteDance agent, Excel task success jumped from 0% to 40%.
- Adversarial Robustness: In the RTMI evaluation, VerificAgent's automated two-tier defense filtered out roughly 80% of prompt-injection attempts. The remaining 21.6% that slipped through were successfully caught and purged during the human oversight pass, resulting in a 0% final infiltration rate.
Limitations and Future Work
- Domain Specificity: The current verification heuristics and evaluation tasks are strictly tailored to Microsoft Office applications. Adapting VerificAgent to other high-stakes domains (like medical UIs or industrial control systems) will require entirely new task suites and expert seeds.
- Scalability of Human Oversight: Even with a 9× speedup, manually verifying every single memory snapshot for a continuously running enterprise agent remains labor-intensive. The authors note that future work must explore hybrid strategies like active-learning prioritization and batched sampling to keep human effort sub-linear to memory growth.
- Perception and Control Bottlenecks: Qualitative error analysis revealed that even with a perfect plan guided by verified memory, agents still frequently fail due to low-level execution drift (e.g., clicking the wrong pixel or misinterpreting visual UI elements). True robustness will require concurrent advances in multimodal grounding.
Summary updated