arXiv(opens in a new tab)cs.AISep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.05261

Trace2Tower: Transition-Aware EigenTrace Induction of Multi-Level Skills for LLM Agents

Jiazheng Sun, Boyu Yang, Binhao Yuan, Mingxuan Li, Xin Peng

Abstract

Large language model agents increasingly rely on execution traces to master complex interactive tasks. However, current paradigms are bottlenecked by shallow trajectory retrieval and flat skill summarization, fundamentally ignoring the temporal dependencies and outcome-conditioned topology of agent behavior. We introduce Trace2Tower, a transition-aware EigenTrace framework that distills raw trajectories into a robust skill hierarchy. Trace2Tower abstracts step-level interactions into canonical events, constructing a unified graph governed by semantic compatibility, transition dynamics, and outcome evidence. Through a novel contrastive spectral decomposition, it isolates stable, success-aligned behavioral modes while rigorously suppressing failure-prone shortcuts. These modes organically populate a dynamic skill tower of action templates, procedural routines, and overarching task strategies, continuously refined via verifier-guided feedback. On ALFWorld, Trace2Tower achieves 87.31% success requiring only 10.35 steps and 0.26 invalid actions; on WebShop, it reaches 50.67% exact success. Across both benchmarks, Trace2Tower significantly outperforms existing baselines in task mastery and context-efficient experience reuse.

Code — https://github.com/FudanSELab/Trace2Tower

Introduction

LLM agents are increasingly expected to improve through continued interaction rather than address each task in isolation (Song et al. 2024b; Wang et al. 2026b). In interactive environments, agent behavior develops through a sequence of observations, actions, state changes, and feedback signals (Hu et al. 2025). The value of an action therefore depends not only on its immediate effect, but also on how it shapes later decisions and the final outcome. Historical trajectories preserve this decision process and provide a rich source of behavioral knowledge beyond the pretrained model (Song et al. 2024a). They reveal effective action patterns, useful intermediate states, recovery procedures, and long-term strategies that support successful execution (Fu et al. 2024; Agashe et al. 2024). However, raw trajectories are difficult to reuse directly. They are often lengthy, redundant, and closely tied to specific tasks (Hu et al. 2025; Yang et al. 2025). They may also contain unnecessary exploration and unsuccessful behavioral branches that should not be reused indiscriminately (Song et al. 2024b). The central challenge is therefore

to transform diverse execution traces into compact and reliable behavioral structures that retain decision patterns while removing task-specific noise and failure-related shortcuts.

Existing studies mainly address this challenge through experience reuse and skill construction. Experience-based methods preserve interactions as demonstrations, memories, guidelines, or retrieved experiences and use them to guide future execution (Fu et al. 2024; Agashe et al. 2024; Yang et al. 2025). Skill-based methods further convert accumulated experience into persistent and reusable capabilities organized in skill libraries (Wang et al. 2026b). These directions have shown that historical interactions can improve task success, adaptation, and execution efficiency (Fu et al. 2024; Wang et al. 2026b). Nevertheless, most existing representations remain centered on the content or organization of individual experiences, guidelines, plans, or skills (Fu et al. 2024; Yang et al. 2025; Wang et al. 2026b). They focus primarily on what information should be retained and reused, while behavioral relations among these units remain implicit. Events with similar descriptions may serve different functions during execution, whereas events with different surface forms may support the same procedure (Pysklo, Zhuravel, and Watson 2026). Such representations do not explicitly distinguish reliable execution transitions from failure-related shortcuts or explain how local behaviors compose into success-aligned procedures and task-level strategies (Yu et al. 2026).

These limitations have gradually shifted research from the reuse of complete trajectories toward the construction of more general and persistent skills. ExpeL extracts transferable insights from accumulated experience and combines them with relevant demonstrations to support future tasks (Zhao et al. 2024). SkillIX organizes reusable capabilities at multiple levels of abstraction for long-term agent learning (Wang et al. 2026a). Trace2Skill further uses both successful and failed executions to extract trajectory-level lessons and consolidate them into reusable skill directories (Ni et al. 2026). This progression from raw experience to structured skill artifacts is reflected in Figure 1. Although these methods improve the organization and reuse of experience, the behavioral structure that supports skill formation remains largely implicit. They do not explicitly identify stable functional groups, reliable execution transitions, or recurring patterns that are associated with success rather than failure. They also provide limited support for modeling how local skills form

∗^{*}These authors contributed equally.

Figure

Figure 1: From experience reuse to behavioral structure induction. Existing methods transform trajectories into reusable insights or skills, but the underlying behavioral relations remain implicit. Trace2Tower recovers success-aligned behavioral structures through semantic, transition, and outcome-aware EigenTrace induction.

reusable procedures and higher-level strategies. These limitations motivate a structure-aware method that jointly captures semantic relations, execution transitions, task outcomes, and hierarchical composition.

To address this problem, we propose Trace2Tower, a transition-aware EigenTrace framework that transforms raw LLM agent trajectories into structured multi-level skills. Trace2Tower abstracts executions into canonical events, constructs an outcome-aware transition graph, and applies contrastive spectral decomposition to discover success-aligned behavioral modes. These modes are organized into an action-, procedure-, and strategy-level skill tower with verifier-guided refinement. Experiments on ALFWorld and WebShop show that Trace2Tower achieves 87.31% task success and 50.67% exact success, while reducing ALFWorld execution steps to 10.35 and invalid actions to 0.26. The main contributions of this paper are summarized as follows:

  • We propose Trace2Tower, a framework that transforms LLM agent trajectories into structured skills by explicitly capturing behavioral relations, execution dependencies, and outcome information beyond conventional skill extraction and experience accumulation approaches.
  • We introduce transition-aware EigenTrace induction, which integrates semantic compatibility, transition dynamics, and success/failure evidence into a unified graph and employs contrastive spectral decomposition to uncover stable outcome-aligned behavioral structures.
  • We develop a hierarchical skill construction and refinement mechanism that organizes induced behaviors into action-, procedure-, and strategy-level skills, enabling compact, transferable, and reliable experience reuse for LLM agents across long-horizon decision-making tasks.

References (29)