Goto

Collaborating Authors

 action type


Internalized Experience: How Training Data Shapes Memory Formation in LLMs

arXiv.org Artificial Intelligence

ABSTRACT Parametric memory enables large language models (LLMs) to retain information from past experience and reuse it in subsequent tasks. Yet how training data supports the internalization of reusable task rules remains unclear. We introduce FSMem (Finite-State Machine Memory), a state-transition framework for constructing training data and studying how data content and organization shape memory formation. We evaluate rule reuse across synthetic worlds, classical planning, and code execution through valid-action identification and execution-outcome prediction, complemented by next-operation prediction in code. Our experiments reveal several systematic learning patterns. Under matched training conditions, even unchanged task rules become harder to internalize when learned alongside a larger variety of action types; by contrast, scaling the training data to provide broader state-action coverage generally improves rule learning. We further find that training at a single execution depth produces depth-specialized behavior, with models performing best when training and test executions have similar lengths. Motivated by this finding, we construct cumulative corpora that combine short and long trajectories, which can outperform long-trajectory-only training while using fewer training tokens. Together, these results demonstrate that the same task rules can be internalized differently depending on how execution experience is constructed, and that understanding these learning patterns can guide the design of more effective training data for parametric memory. 1 INTRODUCTION Large language models (LLMs) are expected to build on past experience when facing new tasks and contexts. Memory supports this reuse by preserving information beyond the context in which it was acquired (Wang et al., 2023). Existing approaches realize this capacity mainly through textbased memory, which stores information externally for later retrieval (Lewis et al., 2020; Zhong et al., 2024; Lu et al., 2023), or parametric memory, which incorporates information into model parameters through updates (Roberts et al., 2020; Meng et al., 2022a;b; Back et al., 2026).


CANDID: Candidate-Driven Intervention for Disciplined Execution in Local Computer-Use Agents

arXiv.org Artificial Intelligence

Abstractory retrieval (Liu et al., 2025), and test-time scaling (Yang et al., 2025) strategies to improve execuWe present CANDID (Candidate-Driven In-tion robustness and task success rates. Yet such frequently fail at critical junctions due to rigiddeployment remains highly challenging: unlike action loops or premature DONE decisions. We introduce a loop-recovery 2026), local CUAs operate with limited model mechanism to filter candidates away from resizes and weaker multimodal reasoning. Under peated behaviors and a conservative, unani-these conditions, simply increasing execution mous DONE gating policy that requires abso-horizons or enlarging multimodal histories often lute consensus to terminate. Experiments onfails to reliably improve performance. The central OSWorld demonstrate that CANDID's strucobstacle is that local agents fail in two coupled tural control significantly improves success ways: they fall into repetitive action loops, orrates, outperforming feedback-based alternatives with minimal execution overhead. Moreover, naively scaling the step budget or 1 Introductioncontextual history merely shifts the failure pattern between the two, rather than resolving both. Computer-use agents (CUAs) have recently emerged as a promising paradigm for autonomous Prior methods for recovering failed agent trajectories primarily rely on textual reflection or verifier interaction with graphical user interfaces (GUIs), feedback (Shinn et al., 2023; Han et al., 2026), enabling multimodal agents to execute real-worldwhere the agent inspects its own recent trajectory, desktop and web tasks by understanding screenshots and executing GUI actions. Recent advances generates natural-language feedback, and incorporates it before revising its next action. These limitations prevent ingly realistic environments (Xie et al., 2024; Zhou et al., 2024; Bonatti et al., 2024; Deng et al., 2023). This suggests that the bottleneck lies not in the availability of good candidates, but in committing to one when progress or completion is uncertain. We therefore propose CANDID, a candidate-based control framework that treats candidate disagreement as an execution-control signal, rather than asking the model to reflect on its own failure.


RSI-Prime: Training Models to Train Models

arXiv.org Artificial Intelligence

Enabling large language models (LLMs) to autonomously conduct training and improve target models is an important foundation for recursive self-improvement (RSI). As LLMs expand their role from being trained to conducting training, their model-training capability warrants dedicated study and systematic development. To this end, we construct RSI-Prime, a dataset for improving model-training capability, comprising 350 complete experimental trajectories across seven task categories. To help LLMs learn to make high-quality experimental decisions from training practice, we perform fine-grained decision identification and quality annotation, then apply decision-level loss masking to exclude supervision on low-quality behavior. Experiments with GLM-5.3 on PostTrainBench, a benchmark for autonomous post-training, show that training on RSI-Prime yields a 31.95% relative improvement in overall performance over the original GLM-5.3, highlighting a path toward future RSI systems in which models autonomously sustain their own advancement.


IntentTwin: Deconfounding Candidate Support and the Oracle-to-Deployment Gap in Offline Web Behavior Prediction

arXiv.org Artificial Intelligence

ABSTRACT Offline web-behavior benchmarks frequently insert the demonstrated action into a finite candidate set and then measure reranking. We show that this protocol can create a candidate-support confound: when the target is outside training support while all distractors are sampled from that support, support membership identifies the gold action without modeling behavior. We formalize this effect with supportidentifiability rate (SIR), construct support-balanced candidate sets, and evaluate a target-free dual-path proposer that combines support retrieval with open-vocabulary DOM/LM proposals. On filtered OPeRA (4,282/469/992 train/dev/test steps), the original protocol has SIR 1.0000 on target-OOV rows and a support-only rule reaches 1.0000 OOV Exact@1. Support balancing reduces SIR to 0.0000; the strongest conditional reranker obtains 0.7214overall Exact@1, 0.7988on IV rows, and 0.5668on OOV rows. The target-free dual-path system reaches Proposal Recall@16 0.6915 and end-to-end Exact@1 0.5212, compared with oracle conditional Exact@1 0.7450. These measurements show why support composition must be controlled alongside candidate accuracy when offline results are used to reason about deployment. 1 INTRODUCTION Web interaction traces contain a prefix of observations and actions, but an offline benchmark often supplies the gold action as an item in the candidate set. Consider a target such as click "Blue 256GB". In an oracle evaluation it is guaranteed to appear among 15 distractors; in deployment, a system must first discover and name that action from the current page and history. Ranking correctness is therefore conditional on candidate availability. A second issue appears when candidate availability is correlated with the evaluation label. In the original target-anchored construction, the logged action is inserted into the candidate set while every negative is sampled from the frozen training vocabulary. For a target-OOV row, the gold action is thus the unique out-of-support candidate. A support-only rule can identify the target from candidate membership alone; we call this candidate-support confounding. We therefore separate behavioral discrimination from the information revealed by the support composition of the candidate set. We study this distinction with a target-free context ct and a structured action key at = (type,target,value).


MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agents

arXiv.org Artificial Intelligence

Most Large Language Model (LLM) agent memory systems rely on a small set of static, hand-designed operations for extracting memory. These fixed procedures hard-code human priors about what to store and how to revise memory, making them rigid under diverse interaction patterns and inefficient on long histories. To this end, we present \textbf{MemSkill}, which reframes these operations as learnable and evolvable memory skills, structured and reusable routines for extracting, consolidating, and pruning information from interaction traces. Inspired by the design philosophy of agent skills, MemSkill employs a \emph{controller} that learns to select a small set of relevant skills, paired with an LLM-based \emph{executor} that produces skill-guided memories. Beyond learning skill selection, MemSkill introduces a \emph{designer} that periodically reviews hard cases where selected skills yield incorrect or incomplete memories, and evolves the skill set by proposing refinements and new skills. Together, MemSkill forms a closed-loop procedure that improves both the skill-selection policy and the skill set itself. Experiments on LoCoMo, LongMemEval, HotpotQA, and ALFWorld demonstrate that MemSkill improves task performance over strong baselines and generalizes well across settings. Further analyses shed light on how skills evolve, offering insights toward more adaptive, self-evolving memory management for LLM agents. Code is available at https://github.com/ViktorAxelsen/MemSkill


Macro-Operator Generation and Predicate Selection for TAMP Operator Learning

arXiv.org Artificial Intelligence

Creating symbolic operators by hand is one of the main bottlenecks in deploying Task and Motion Planning systems (TAMP). Recent works show that these operators can instead be learned from demonstration data. Existing methods, however, typically learn each action in isolation and cannot capture the recurring multi-step structure of manipulation tasks, so the search becomes intractable on long sequential tasks. A further inefficiency arises in the symbolic state: every provided predicate is evaluated at every search node, even when it never appears in any learned operator. We present a system that addresses both problems. Its central component is the automatic generation of macro-operators, composite actions that compress a recurring sequence of individual actions into a single planning step. Our system discovers causally linked action pairs from the training data, where one action produces exactly the condition that the next one requires, and turns each pair into a new operator. Alongside this, our system prunes every predicate that no learned operator references, which shrinks the symbolic state evaluated at each search node. Together, these changes shorten the effective planning horizon, and the benefit they bring grows with the length of the task. Across four TAMP domains, our method reaches up to a ~4.6x planning speedup compared to the baseline method, namely Learning Operators for TAMP. More importantly, it solves a long sequential task that the baseline cannot solve. Macro-operator discovery thus not only accelerates planning but, in our long-horizon domain, determines solvability in practice. Our code is available at https://github.com/canemirbora4/macro-tamp


Latent World Action Model for GUI Agents

arXiv.org Artificial Intelligence

These agents are designed to complete complex, user-specified tasks on mobile platforms by automatically executing sequences of actions. By reducing manual interaction, they facilitate mobile app use across diverse real-world domains, ranging from commercial services such as e-commerce (Zhang et al., 2025) to accessibility support for people with visual or motor impairments and older adults (Huq et al., 2026). Among such efforts, recent works (Xu et al., 2026) have explored world models that simulate the consequences of actions proposed by GUI agents (e.g., button clicks and scrolling) prior to direct execution. Such foresight enables GUI agents to anticipate potential failures and adjust their strategies accordingly, improving robustness in long-tail and irreversible scenarios (e.g., payments and account deletion), as well as in long-horizon tasks involving extended action sequences. One promising approach is visual-space prediction (Zheng et al., 2026; Luo et al., 2026), where GUI world models forecast a corresponding next GUI state for each candidate action in a visually renderable form (e.g., a screenshot or renderable HTML). These predicted future states are then re-perceived by a separate action-scoring model, which selects the candidate that best advances the task goal. This two-stage "Render-and-Re-Perceive" pipeline provides explicit spatial and visual information, such as element locations and layouts, that can support grounded GUI action planning beyond relatively concise textual descriptions (Gu et al., 2025).


GraphPoint: Semantic Entity Graphs and Point Trajectories for Compositional Robot Manipulation

arXiv.org Artificial Intelligence

Robot manipulation policies often struggle to generalize beyond their demonstrations, even when new instructions involve familiar objects and behaviors. When language and scenes are strongly correlated during training, a policy can learn a fixed visual-action mapping rather than respond to the requested behavior. We investigate compositional reuse at two levels: within a subtask, combining familiar entities, action types, and action modifiers; and across subtasks, reusing learned subtasks in unseen long-horizon tasks. We introduce CoMani, a benchmark with controlled splits for evaluating both capabilities. Matched initial scenes and controlled changes to a single semantic factor encourage reliance on language rather than visual shortcuts. We further propose GraphPoint, which connects semantic entity graphs to geometric control by predicting future gripper point trajectories and converting them into actions using robot geometry. The framework organizes the gripper and objects by semantic roles and conditions their interactions on action types and modifiers, while predicted progress guides transitions during execution. Experiments and ablations on CoMani validate the effectiveness of our method for instruction-dependent generalization at both levels. Code will be released at GraphPoint.


Model Reconciliation via Cost-Optimal Explanations in Probabilistic Logic Programming

Neural Information Processing Systems

In human-AI interaction, effective communication relies on aligning the AI agent's model with the human user's mental model, a process known as model reconciliation. However, existing model reconciliation approaches predominantly assume deterministic models, overlooking the fact that human knowledge is often uncertain or probabilistic. To bridge this gap, we present a probabilistic model reconciliation framework that resolves inconsistencies in MPE outcome probabilities between an agent's and a user's models. Our approach is built on probabilistic logic programming (PLP) using ProbLog, where explanations are generated as cost-optimal model updates that reconcile these probabilistic differences. We develop two search algorithms - a generic baseline and an optimized version. The latter is guided by theoretical insights and further extended with greedy and weighted variants to enhance scalability and efficiency. Our approach is validated through a user study on explanation types and computational experiments showing that the optimized version consistently outperforms the generic baseline.


GUI-Libra: Training Native GUI Agents to Reason and Act with Action-aware Supervision and Partially Verifiable RL

arXiv.org Artificial Intelligence

Open-source native GUI agents have made rapid progress in visual grounding and low-level action execution, yet they still lag behind closed-source systems on long-horizon navigation tasks that demand both high-level reasoning and precise actions. This gap stems from two limitations in the open-source ecosystem: a shortage of high-quality, action-aligned reasoning data, and the direct adoption of generic post-training pipelines that overlook the unique challenges of GUI agents. We identify two fundamental issues in these pipelines: (i) standard supervised fine-tuning (SFT) with long chain-of-thought (CoT) reasoning often hurts grounding accuracy, and (ii) step-wise RLVR-tyle training faces partial verifiability, where multiple actions can be correct at a given state but only a single demonstrated action is used for verification. This causes reward ambiguity and makes offline step-wise metrics weak predictors of online task success during RL training. In this work, we present GUI-Libra, a systematic study and tailored training recipe that addresses these challenges. First, to mitigate the scarcity of action-aligned reasoning data, we introduce a data construction and filtering pipeline and release a curated 81KGUI reasoning dataset. Second, to reconcile reasoning with grounding, we propose action-aware supervised fine-tuning that mixes reasoning-then-action and direct-action supervision, and reweights tokens to emphasize action and grounding. Third, to stabilize RL under partial verifiability, we identify the overlooked importance of KL regularization and show, both theoretically and empirically, that a KL trust region is critical for improving offline-to-online predictability; we further introduce success-adaptive scaling to downweight unreliable negative gradients. Across diverse web and mobile benchmarks, GUI-Libra consistently improves both step-wise accuracy and end-to-end task completion, while strengthening the alignment between offline metrics and online performance.