Executable Agentic Memory for GUI Agent
This paper introduces Executable Agentic Memory (EAM), a structured Knowledge Graph-based framework that replaces fragile, step-wise LLM interactions with a robust retrieval-and-execution process using value-guided graph search, thereby achieving superior performance, lower costs, and reduced latency in long-horizon GUI automation tasks.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
The Problem: The "Amnesiac" Robot
Imagine you hire a robot to help you use your smartphone. Every time the robot looks at a new screen (like opening a settings menu), it has to forget everything it just did, re-read the screen from scratch, and guess what to do next.
This is how most current AI agents work. They are like amnesiac tourists in a giant, confusing city.
- They see a street sign (the screen).
- They guess which way to go.
- They take a step.
- Then, they see a new street sign, forget the previous one, and guess again.
If they make a small mistake early on, they get lost. They might wander into a dead-end alley (a wrong app screen) and keep guessing, wasting time and money. This is called a "fragile" system, especially for long tasks like "Turn on Bluetooth, then find a specific photo, then email it."
The Solution: EAM (The "Living Map")
The authors propose a new system called Executable Agentic Memory (EAM). Instead of guessing every step, the robot builds a structured, living map of the phone's interface.
Think of EAM not as a list of text notes, but as a giant, interactive subway map.
- The Stations: These are the different screens on your phone.
- The Tracks: These are the buttons and actions you can click.
- The Connections: The map knows exactly which button leads to which screen.
Once this map is built, the robot doesn't need to "guess" what happens when it clicks a button. It just looks at the map, sees the track, and follows it.
How They Build the Map (Offline Phase)
Before the robot can use the map, someone has to draw it. The paper describes a smart way to do this without wasting time:
- The Explorer (DFS): Imagine a very organized explorer sent into the phone's apps. Instead of wandering randomly, they use a "Depth-First Search" strategy. They go down one path as far as it goes, mark the dead ends, and then backtrack to try the next path. This ensures they find every possible route without getting stuck in loops.
- The Condenser (Action Group Mining): Sometimes, a task requires clicking five buttons in a row (e.g., "Open Settings" -> "Network" -> "Wi-Fi" -> "Scan"). Doing this one by one is slow. The system looks for these frequent patterns and glues them together into a single "Super Button" (like a subway express train). This makes the map much smaller and faster to navigate.
How the Robot Uses the Map (Online Phase)
When you give the robot a task (e.g., "Turn on Wi-Fi"), it doesn't just guess. It uses a GPS Navigator to find the best route on the map.
- The GPS (Q-Model): The robot has a small, smart brain (a lightweight AI model) that acts like a GPS. It looks at the map and says, "If I take this track, there is a 90% chance I reach the goal. If I take that one, there's only a 10% chance."
- The Search (MCTS): The robot simulates a few possible routes in its head (like checking Google Maps for traffic) to pick the absolute best path.
- The Execution: Once the path is chosen, the robot executes the steps. Because the path comes from a verified map, it is guaranteed to be valid. It won't accidentally click a button that doesn't exist or lead to a broken screen.
Why This is a Big Deal
The paper claims this approach solves three major problems:
- Reliability: Because the robot follows a pre-verified map, it doesn't get lost or hallucinate (make things up). It's like following a subway map vs. asking a stranger for directions who might be guessing.
- Speed: The robot is much faster. Instead of asking a giant, slow AI (like GPT-4) to think about every single step, it uses a small, fast AI to read the map. The paper says it's 6 times cheaper in terms of computing costs and takes only 2.8 seconds per step.
- Long Tasks: It can handle long, complicated tasks without forgetting where it started. The map keeps the whole journey in view.
The Results
The researchers tested this on real-world Android phone tasks.
- Success Rate: Their system beat the current best AI models (like UI-TARS-7B) by a significant margin (up to 19.6% better).
- Efficiency: It used far fewer computer resources (tokens) than the big cloud-based models.
Summary Analogy
- Old Way: A tourist trying to cross a city by asking a different stranger for directions at every single intersection. They get tired, confused, and often end up in the wrong neighborhood.
- EAM Way: A tourist with a perfect, pre-drawn subway map and a smart GPS. They know exactly which train to take, which stop to get off at, and they never get lost. They get to their destination quickly, cheaply, and reliably.
The paper concludes that by treating the phone's interface as a structured machine (the map) rather than a series of random images to be guessed, we can make AI agents much more reliable and efficient for long-term automation.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.