Imitation enables adaptive agents to fix skills using small local trials

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

Artificial Intelligence

Summary

When robots or computer programs try to learn from experience, they often don’t know which parts to change when things go wrong. The authors designed a system that watches what worked before, figures out exactly where a problem is, and tries small fixes to that part without changing everything. This method, called passive imitation, was tested on virtual tool-using tasks and succeeded much more often than methods that try to fix everything at once. Their approach helps agents quickly adapt to new situations by fixing just the broken pieces and remembering successful fixes.

What this means in practice

  • For robotics engineers: Develop robots that adapt skills through minimal local trial-and-error fixes to handle tool use in changing environments.
  • For software developers in ai: Create AI agents that retain and verify corrective skill adaptations, enabling more reliable performance across task variations.

Authors

Kai Hu, Hua Huang

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.