arXiv(opens in a new tab)cs.AIOct 2026Cited by 5 papers on PaperVantage

Manuscript Offprint

arXiv:2610.01787

Not All Experience Belongs in the Weights: Component Routing for Self-Improving GUI Agents

Beining Wu, Zihao Ding, Jun Huang

Abstract

Self-improving GUI agents keep the trajectories they produce and return them to the agent, by fine-tuning or by retrieval into the prompt, and studies that compare the two destinations disagree. We attribute this to the unit of experience: a trajectory bundles items with different properties, so a conclusion about the bundle depends on its mix. To address this, (i) we introduce component routing, which splits the experience into locators, procedures, state facts and lessons and sends each component to the context or to the weights, compared on the same items across three backbone families, two environments and three seeds. One pool has two destinations: locators and lessons win in the weights, procedures and state facts in the context. (ii) We fit a rule in two properties measured before any training, recurrence and state-conditionality; it recovers the destination of a held-out backbone family in 24 of 24 cells, two interventions move a component toward the boundary, and routing by the rule beats every whole-trajectory baseline and, by +3.5 points on average, the better single destination of each backbone. (iii) We identify how training and producer-consumer differences change the value of the two destinations: note readout decreases after the same component is written into the weights, most for the items that recur most, context gains increase with the information gap, and weights gains decrease with the policy gap. Code and data will be released.

(a) Where Experience Belongs

Figure

(b) Routing Pays Off

Figure 1: Component routing. (a) The four components on the plane of recurrence r and state-conditionality κ\kappa, measured before any training; fill marks the winning destination on held-out tasks, the dashed line is the fitted boundary, the arrow one intervention. (b) Held-out success, mean over three backbones and three seeds; arrows: gain over whole-trajectory fine-tuning and the higher single-destination bar.

1 Introduction

GUI agents that operate phones and desktops are increasingly improved with their own traces: an agent runs a batch of tasks, the trajectories are kept, and the experience is returned to the agent. Where that experience should go is an open decision. One line of work fine-tunes the agent on its successful trajectories; another keeps the trajectories, or notes distilled from them, in a library that is retrieved into the prompt. On MobileGym, an 8B agent whose whole pool goes to the weights gains 7.1 points of held-out success and one whose whole pool goes to the context gains 8.0, yet the two destinations disagree on which parts of the pool are responsible: the components that gain most in the weights are the ones that gain least in context (Figure 1a). Figure 2 shows the smallest version of this. One trajectory on a weather application teaches where the search field is and that a city is saved by tapping Add on its preview; fine-tuning on the whole trajectory learns the first and loses the second.

We attribute this to the unit of experience. Existing methods treat a trajectory as the unit: success-filtered fine-tuning distills whole trajectories into the weights (Zhang et al., 2026; Men et al., 2026; Fan et al., 2026), and retrieval keeps whole trajectories or trajectory-level skills in context (Xiong et al., 2026; Hu et al., 2026; Sui et al., 2026). Comparisons of the two destinations reach opposite conclusions: internalized hints beat the prompt on tool tasks (Alakuijala et al., 2026), prompt-side updates beat gradient updates on web tasks (Li et al., 2026; Agrawal et al., 2026), and the same skill representation helps one task and hurts another (Liu et al., 2026b). A trajectory bundles items with different properties, so any conclusion about the bundle depends on its mix.

Figure

Figure 2: A motivating example. G recurs across tasks and goes to the weights; P matters only on the preview screen and stays in context. Screens are illustrative.

Deciding where a piece of experience belongs requires two things: a property of the piece that can be measured before any training, and a comparison in which both destinations consume the same items and are read on the same held-out tasks. Existing comparisons pit one whole pipeline against another, so the items differ before the destinations do (Alakuijala et al., 2026; Gou et al., 2026), and none asks it per component.

References (3)

  • DOUBLE_TAP
  • : [x, y] 指定输入位置;可选
  • : [x1, y1]