← Latest papers
💻 computer science

AndroTMem: From Interaction Trajectories to Anchored Memory in Long-Horizon GUI Agents

The paper introduces AndroTMem, a diagnostic framework and benchmark that identifies memory failures as the primary bottleneck in long-horizon GUI agents, leading to the proposal of Anchored State Memory (ASM), a method that significantly improves task completion by representing interaction sequences as causally linked intermediate-state anchors rather than full replays or summaries.

Original authors: Yibo Shi, Jungang Li, Linghao Zhang, Zihao Dongfang, Biao Wu, Sicheng Tao, Yibo Yan, Chenxi Qin, Weiting Liu, Zhixin Lin, Hanqian Li, Yu Huang, Song Dai, Yonghua Hei, Yue Ding, Xiang Li, Shikang Wang
Published 2026-03-20
📖 5 min read🧠 Deep dive

Original authors: Yibo Shi, Jungang Li, Linghao Zhang, Zihao Dongfang, Biao Wu, Sicheng Tao, Yibo Yan, Chenxi Qin, Weiting Liu, Zhixin Lin, Hanqian Li, Yu Huang, Song Dai, Yonghua Hei, Yue Ding, Xiang Li, Shikang Wang, Chengdong Xu, Jingqi Liu, Xueying Ma, Zhiwen Zheng, Xiaofei Zhang, Bincheng Wang, Nichen Yang, Jie Wu, Lihua Tian, Chen Li, Xuming Hu

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 Big Problem: The "Goldfish" Phone Assistant

Imagine you hire a very smart, super-intelligent robot assistant to help you do a complex errand on your phone.
The Task: "Go to the JD app, find the price of AirPods. Then go to Taobao, find the price there. Compare them, buy the cheaper one, and then text your friend Alice on WeChat saying, 'I found a deal!'"

This sounds simple, right? But for a computer, this is a nightmare.

  • Step 1-10: You are in the JD app. You find the price ($100).
  • Step 11-20: You switch to Taobao. You find the price ($120).
  • Step 21: You have to remember that $100 was the cheaper one.
  • Step 22: You have to remember which item it was so you can buy it.
  • Step 23: You switch to WeChat to text Alice.

The Issue: Current AI assistants are like goldfish with a 3-second memory. As the task gets longer (more steps), they forget the important details. They might get to the WeChat app and say, "Okay, I'm ready to text Alice," but they have forgotten what to say or which phone they just bought. They get lost in the middle of the journey.

The researchers call this the "Memory Bottleneck." The AI isn't bad at seeing the screen or tapping the right button; it's bad at remembering the story of what it just did.


The Solution: The "Anchored Memory" System

The paper introduces a new system called AndroTMem (Android Trajectory Memory). To fix the goldfish problem, they didn't just give the AI a bigger brain; they gave it a better filing system.

1. The Old Way: The "Scroll of Doom"

Previously, if an AI wanted to remember what happened, it would try to read its entire history from start to finish every single time it needed to make a decision.

  • Analogy: Imagine trying to find a specific sentence in a 500-page novel by reading the whole book from page 1 every time you want to know what happened in Chapter 3. It's slow, confusing, and you get distracted by irrelevant details (like the description of a tree in Chapter 1 that has nothing to do with the plot).

2. The New Way: The "Anchored State Memory" (ASM)

The researchers propose Anchored State Memory. Instead of reading the whole book, the AI creates a list of "Anchors."

  • What is an Anchor? Think of an anchor as a milestone or a sticky note you put on a map.

    • Anchor 1: "I found the AirPods on JD for $100." (This is a State Anchor).
    • Anchor 2: "I found the AirPods on Taobao for $120."
    • Anchor 3: "I decided the JD one is cheaper."
    • Anchor 4: "I added the JD one to the cart."
  • How it works: When the AI needs to decide what to do next, it doesn't read the whole history. It looks at its Anchors.

    • AI asks: "What did I decide about the price?"
    • AI looks at Anchor 3: "Oh right, JD is cheaper."
    • AI acts: "Okay, I will buy the JD one."

This is like a hiker on a long trail. Instead of remembering every single step they took (the texture of the dirt, the color of the grass), they remember the landmarks: "I passed the big red rock," "I crossed the bridge," "I reached the summit." These landmarks (Anchors) are enough to navigate the rest of the journey.


The Experiment: The "AndroTMem-Bench"

To prove this works, the researchers built a giant test track called AndroTMem-Bench.

  • They created 1,069 difficult tasks that require switching between apps and remembering details over 30 to 65 steps.
  • They tested the best AI models available (like GPT-4o, Gemini, and open-source models).

The Results:

  • Without Anchors: The AI got lost. As the tasks got longer, the success rate dropped like a stone.
  • With Anchors: The AI stayed on track. It remembered the "cheap price" and the "friend's name" even after 50 steps.
  • The Improvement: The new system improved success rates by 5% to 30%. In the world of AI, that is a massive jump.

Why This Matters

Think of the future of AI assistants. We want them to do our taxes, plan our vacations, or manage our entire digital lives. These are long-horizon tasks (they take a long time and have many steps).

If we don't fix the memory problem, our AI assistants will always be clumsy, forgetful helpers who need constant reminders. AndroTMem shows that by organizing memory into structured, connected "anchors" rather than a messy pile of history, we can build agents that are actually reliable enough to work in the real world.

Summary in One Sentence

AndroTMem teaches AI assistants to stop trying to remember every single step of a long journey and instead focus on remembering the key landmarks (Anchors) that connect the beginning of the task to the end.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →