arXiv:2610.22408cs.AIOct 2026

Manuscript Offprint

arXiv:2610.22408

ECHOES: Seeing Beyond the Current Image via Recursive History Compression and Privileged On-Policy Distillation

Tengda Guo, Jiawang Hu, Yifei Tao, Yin Wang, Haotian Hu, Fanyi Wang, Liujuan Tang

Abstract

Long-horizon GUI agents rely on visual history to maintain task states, but retaining historical screenshots increases visual-token usage and inference costs, while textual summaries can discard critical state information, undermining long-horizon reliability. We propose ECHOES, which leverages training-time privileged information to guide textual history compression and strengthen long-horizon reasoning. Specifically, ECHOES adopts a Compression–Think–Action (CTA) format to recursively update a textual history state and reason. The same model, given privileged multi-image inputs, serves as a teacher that provides dense token-level on-policy distillation on student-generated CTA rollouts. Our Perception–Memory Fidelity (PMF) Gap-guided OPD–RL framework dynamically balances privileged distillation and task-reward optimization, with periodic teacher updates supporting continued improvement. We further introduce ECHOESBMK, a fine-grained diagnostic benchmark derived from real GUI agent failure trajectories to jointly evaluate visual perception and cross-modal state retention. Experiments on four GUI benchmarks and ECHOESBMK demonstrate substantial gains in task performance and memory fidelity. Without retaining historical screenshots at deployment, ECHOES achieves competitive performance with a favorable performance–inference-cost trade-off and exhibits positive zero-shot transfer to unseen visual planning tasks.

1 Introduction

Recent advances in multimodal large language models (MLLMs) have enabled agent systems capable of perceiving, reasoning, and acting in complex visual environments, with increasing success in long-horizon visual reasoning tasks (Xu et al., 2025; Liu et al., 2025a). As a representative application, graphical user interface (GUI) agents have made substantial progress in single-step visual decision-making and grounding (Cheng et al., 2024; Lin et al., 2025), yet remain brittle in long-horizon control tasks (Tian et al., 2025; Zhou et al., 2026). A key cause is state-retention failure, which causes decisions and execution to drift out of alignment with the actual environment state. As interaction trajectories grow, long-horizon GUI agents must therefore not only understand the current interface but also preserve past states that remain relevant to future decisions. Existing approaches support long-horizon reasoning by retaining visual history (Zhou et al., 2026), generating textual summaries (Liu et al., 2025a), or maintaining structured states (Tian et al., 2025). However, these gains exhibit diminishing returns as trajectories lengthen, while accumulating visual tokens, context length, and KV-cache overhead hinder efficient deployment (Huang et al., 2025; Zhou et al., 2026). Long-horizon visual agents thus face a fundamental tension: additional historical screenshots increase inference costs, whereas directly converting visual history into text can omit critical task states through cross-modal information loss. We term this loss the Perception–Memory Fidelity Gap (PMF Gap). This motivates a different question: Can multi-image visual history be used only during training to transfer its decision-making capabilities to a model that relies solely on the current image and low-cost reasoning over compressed history at deployment?

To address this question, we propose ECHOES, a training method for long-horizon visual agents, as illustrated in Figure 1. We model task-relevant compressed history as a learnable approximate sufficient statistic of multi-image visual history for subsequent decisions. We first adopt the Compression–Think–Action (CTA) reasoning mode, which continuously maintains long-horizon task states through recursive Compression. We then introduce training-time privileged on-policy distillation (OPD) (Agarwal et al., 2024), using the stronger multi-image privileged view as the teacher to provide dense token-level supervision on CTA trajectories generated by the single-image + Compression deployable view itself. This encourages the textual state to progressively preserve information in the full visual history that is relevant to subsequent decisions. Building on this design, we construct a PMF Gap-guided OPD–RL training

Figure

Figure 1: Motivation and method comparison. (a) History-independent versus history-dependent decisions. (b) ECHOES’s performance–cost advantage on GUI-Odyssey. (c) Existing methods versus ECHOES with recursive CTA and training-time multi-image supervision.

framework that dynamically coordinates the optimization weights of OPD and GRPO (Shao et al., 2024) across rounds according to the information gap between the privileged and deployable observation modes. When the gap is large, the framework emphasizes privileged-policy supervision; as it narrows, task-reward optimization receives greater weight, gradually shifting learning from absorbing the privileged policy's information advantage to directly optimizing the actual task objective. To evaluate GUI agents' long-horizon performance at a finer granularity, we additionally introduce ECHOESBMK, a benchmark constructed from real failure trajectories that spans seven task categories across three levels and jointly evaluates perception and cross-modal information retention.

Experiments show that ECHOES substantially improves performance on long-horizon GUI benchmarks and ECHOES-BMK with lower inference overhead, while demonstrating strong zero-shot generalization to non-GUI visual planning environments. Further experiments reveal pronounced improvements on longer-horizon and history-dependent tasks, and show that these gains stem from the CTA reasoning mode and the training design. In summary, our main contributions are as follows:

  1. We propose ECHOES, a training-time privileged OPD method that adopts CTA reasoning and uses additional historical visual information to provide dense supervision, transferring the decision-making advantage of multi-image inputs to a low-cost deployment mode that relies only on the current observation and a recursive textual state.

  2. We propose a PMF Gap-guided OPD–RL training framework that dynamically balances privileged distillation and task-reward optimization according to the privileged–deployable information gap. A round-wise self-evolving teacher continuously strengthens both observation modes, substantially improving long-horizon visual decision-making.

  3. We construct ECHOESBMK, a fine-grained benchmark derived from real GUI agent failure trajectories, to jointly evaluate visual perception and memory fidelity in the conversion of visual information into textual states. We further demonstrate the advantages of ECHOES across multiple benchmarks and analyze its performance along multiple dimensions.

References (63)