cs.AIOct 12, 2026

Imitation Holds a Key to Evolution: Localized Repair and Verified Skill Acquisition for Adaptive Agents

Authors: Kai Hu, Hua Huang

Organizations: Beijing International Studies University · Chongqing University of Posts and Telecommunications

Abstract

An agent can retain successful trajectories without learning which part of an experience should repair a new discrepancy. We formulate passive imitation (PI) as an architectural loop that localizes a violated contract, extracts a local goal, proposes an effect-matched skill, tests a small patch, and retains evidence after full-task verification. We instantiate this loop as a deterministic symbolic controller and analyze its finite repair-query complexity under explicit identifiability and noninterference assumptions. Across ten simulated tool worlds, PI solves all 600 cold held-out composition tasks with three allowed small trials, compared with 6.17% for a whole-trajectory control, while an equally expressive compositional repair control matches PI. On an unseen tool revision, PI achieves 70.0% success versus 24.0% without small trials and 79.0% with self-trial enumeration; an exploratory 24-task adaptation stream subsequently raises first-submission success to 100%, supporting a limited correction-and-retention mechanism rather than a unique incentive advantage or general intelligence. The CPU-only implementation, integrity checks, and reproducible results are available at https://github.com/FriendOfYishan/PI.

Figures & tables

Explore similar work

CardsList
  1. Beyond Mimicry: Toward Lifelong Adaptability in Imitation Learning

    Feb 23, 2026Nathan Gavenski, Felipe Meneguzzi, Odinaldo RodriguesImitation LearningAgent Skill Learning

  2. Speculative Rollback Correction for Quality-Diverse Web Agent Imitation

    Jun 10, 2026Longkun Hao, Hongyu Lin, Hao Li +10Imitation LearningInteractive Imitation Learning

  3. SkillAdaptor: Self-Adapting Skills for LLM Agents from Trajectories

    May 31, 2026Zhuoyun Yu, Xin Xie, Wuguannan Yao +4LLM Agent Skill LearningFailure Attribution for LLM Agents