COSPLAY: Co-Evolving LLM Agents for Long Tasks

💡25%+ reward boost for LLM game agents via skill co-evolution framework
⚡ 30-Second TL;DR
What Changed
Introduces COSPLAY for co-evolving LLM decision agent and skill bank.
Why It Matters
Advances LLM agent capabilities in complex long-horizon environments, enabling better skill reuse for real-world applications like robotics or games. Bridges gap between raw LLM reasoning and structured skill chaining.
What To Do Next
Reproduce COSPLAY on arXiv:2604.20987 with your 8B LLM for long-horizon agent benchmarks.
Key Points
- •Introduces COSPLAY for co-evolving LLM decision agent and skill bank.
- •Decision agent retrieves skills with contracts for action guidance.
- •Skill pipeline extracts/refines skills from unlabeled agent rollouts.
- •25.1% reward gain vs. baselines on six single-player game benchmarks.
- •Competitive performance on multi-player social reasoning games.
🧠 Deep Insight
AI-generated analysis for this event — not the original article.
🔑 Enhanced Key Takeaways
- •COSPLAY utilizes a 'skill contract' mechanism that defines pre-conditions and post-conditions for each skill, enabling the decision agent to perform formal verification of skill applicability before execution.
- •The framework addresses the 'catastrophic forgetting' problem in skill acquisition by employing a dynamic memory buffer that prioritizes the retention of high-reward trajectories during the skill refinement phase.
- •Experimental results indicate that the 8B parameter model using COSPLAY matches the performance of significantly larger (70B+) models on long-horizon tasks, suggesting high parameter efficiency in complex decision-making environments.
📊 Competitor Analysis▸ Show
| Feature | COSPLAY | Voyager | ReAct |
|---|---|---|---|
| Skill Acquisition | Co-evolutionary pipeline | LLM-prompted code generation | N/A (Prompt-based) |
| Long-horizon Strategy | Skill contract retrieval | Iterative code library | Chain-of-thought |
| Reward Optimization | Policy-based refinement | Exploration-based | Zero-shot |
| Benchmarks | 25.1% improvement | Minecraft-specific | General QA/Tasks |
🛠️ Technical Deep Dive
- Architecture: Comprises a dual-loop system: an 'Inner Loop' for decision-making via skill retrieval and an 'Outer Loop' for skill discovery via trajectory clustering and refinement.
- Skill Representation: Skills are stored as parameterized action sequences encapsulated with metadata (contracts) that describe the expected state transition.
- Refinement Mechanism: Uses a variational autoencoder (VAE) to compress rollout trajectories into latent skill representations, which are then decoded into executable action primitives.
- Partial Observability: Employs a temporal memory module that integrates historical observations to mitigate the lack of full state information in game environments.
🔮 Future ImplicationsAI analysis grounded in cited sources
⏳ Timeline
Weekly AI Recap
Read this week's curated digest of top AI events →
👉Related Updates
AI-curated news aggregator. All content rights belong to original publishers.
Original source: ArXiv AI ↗
This is a summary, not the original. Read the source, or get the weekly briefing.
The weekly digest
One email a week. Unsubscribe anytime.