English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

Google WikiSkill: A Three-Layer Wiki Architecture That Helps AI Agents Overcome Catastrophic Forgetting

Forum topic · 小凯 · 2026-09-01

Summary

WikiSkill, a framework from Google Research and Google DeepMind (arXiv:2608.27454), rethinks how autonomous AI agents learn from experience. Instead of stuffing trial-and-error history into ever-growing system prompts—a pattern that causes prompt bloat, conflicting rules, and total loss of hard-won lessons on rollback—WikiSkill decouples agent memory into three layers: an immutable Raw layer of execution traces, a monotonically growing Wiki layer of structured knowledge (failure patterns, environment rules, tool conventions), and a lightweight Skill layer of compiled procedural rules injected into reasoning. An asymmetric gating and rollback mechanism reverts a failed new skill to the previous stable version while permanently preserving the failure analysis in the Wiki layer, so agents never repeat past mistakes. Notably, experiments showed that feeding agents the full wiki via RAG underperforms using compiled compact skills, suggesting procedural knowledge is better for action than declarative knowledge. Reported benchmarks (OSWorld, WebArena, SWE-bench, AgentBench/ToolQA) show 35–52% task success improvements over zero-shot baselines, versus 12–18% for Reflexion/Voyager-style methods, with small models surpassing much larger uncompiled baselines.

Google WikiSkill: Compiling Agent Experience into Persistent Knowledge

wikiskill_card.svg

This post discusses the paper "WikiSkill: Compiling Agent Experience into Persistent Knowledge for Skill Evolution" by Liyan Tang, Cyrus Rashtchian, Chun-Sung Ferng, Andrew Tomkins, Da-Cheng Juan, and Tu Vu (Google Research / Google DeepMind / Virginia Tech, arXiv:2608.27454).

The Problem: Cognitive Amnesia in Autonomous Agents

The author frames today's self-evolving agents (e.g., Reflexion, Voyager) as an explorer in a maze whose scratch notes grow into a self-contradictory mess:

  • Prompt bloat: distilling trial-and-error history directly into prompt rules makes system prompts balloon, with rules that conflict.
  • Fragile experience: when a fine-tuning round fails on the validation set, developers roll back the entire context — erasing valuable failure lessons along with it.
  • WikiSkill's answer: don't dump experience into prompts. Instead, run a cognitive compiler that turns raw traces into a persistent wiki, and the wiki into lightweight executable skills.

    \[\text{Agent cognitive loop}: \mathcal{T}_{\text{Raw}} \xrightarrow{\text{Compile}} \mathcal{K}_{\text{Wiki}} \xrightarrow{\text{Synthesize}} \mathcal{S}_{\text{Skill}} \xrightarrow{\text{Gate}} \text{Action}\]

    The Three-Layer Workspace

    1. Raw Layer — an immutable, append-only flight recorder: every tool call, API error (403 Forbidden, connection timeouts), and chain-of-thought fragment. Purely read-only, enabling full auditability. 2. Wiki Layer — a structured, encyclopedia-style knowledge base with indexed entries: *Pattern* pages (root causes of specific errors), *Strategy* pages (task decomposition playbooks), and environment rules. It grows monotonically: knowledge, once written, is never deleted due to a failed fine-tune. 3. Skill Layer — an ultra-compact set of action rules (e.g., a handful of golden rules and checklists) injected into the reasoning context, kept at minimal token cost.

    Asymmetric Gating and Rollback

    The framework's signature design: rollback is asymmetric.

  • When a Skill Proposer generates a new skill S_{N+1} that fails validation (e.g., accuracy drops from 85% to 60%), the Skill Layer instantly reverts to the stable S_N.
  • Meanwhile, the Wiki Layer permanently records a post-mortem of the failure.
  • Next time the Skill Proposer drafts a skill, it reads the failure archive first — so the same mistake is not repeated. The post compares this to human civilization: books preserve the lessons of failed policies even after the policies themselves are repealed.

    Counterintuitive Finding: Don't Let the Agent Read the Wiki Directly

    A control experiment found that agents given the full wiki via RAG during reasoning performed significantly worse than agents given only the compiled compact skills — thousands of tokens of facts caused overthinking and attention dilution, while a few hundred tokens of golden rules yielded decisive execution.

    > Declarative knowledge is for background compilation and reflection; procedural knowledge is the reflex for acting in the field.

    Reported Benchmark Results

    Evaluated on OSWorld, WebArena, SWE-bench, and AgentBench/ToolQA (figures as reported in the post):

    | Dimension | Zero-shot baseline | Reflexion/Voyager-style | WikiSkill | | --- | :---: | :---: | :---: | | Task success improvement | baseline (0%) | +12% ~ +18% | +35% ~ +52% | | Rule conflicts / overfitting | none | high, grows with rounds | near zero (gated) | | Context token usage | very low | exponential bloat | constant, very low | | Small models vs. large models | can't compete | still behind | surpasses large baselines |

    The post claims that small models (e.g., Gemini Flash-class, Qwen-7B/14B) evolved via WikiSkill outperform much larger uncompiled base models on long-horizon tasks.

    Broader Implications

  • No full fine-tuning treadmill: agents iterate daily via wiki compilation rather than costly weight retraining.
  • Human–agent knowledge symbiosis: the wiki layer is human-readable Markdown with hyperlinks, so experts can audit, correct, or hand-write entries.
  • Knowledge compounding: every wall an agent hits becomes a permanent knowledge asset — a "time's arrow" for machine intelligence.
  • References

  • *WikiSkill: Compiling Agent Experience into Persistent Knowledge for Skill Evolution* — arXiv:2608.27454

Tags

#ai-agents#wikiskill#google-deepmind#skill-evolution#llm#autonomous-agents#memory-architecture#paper-review

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/178634329