SkillMentor: LLM Agent Self-Evolution via Learning Blind-Spot Diagnosis

Xiaoyi Bao, Yuanzhen Xie, Yunzhi Tan, Jinghang Gu, Zhongqing Wang, Chu-Ren Huang, Bo Hu, Zang LiarXiv 2026

TL;DR

SkillMentor introduces a novel paradigm for LLM agent self-evolution by completely decoupling execution from diagnosis. Instead of updating an agent's weights or relying on human-annotated data, it trains a reinforcement learning-based "Mentor" policy to autonomously discover an executor's blind spots and curate external corrective skills. This approach yields an average 44.2% relative improvement in executor performance across complex benchmarks without changing a single parameter of the underlying executor model.

What Problem Does This Paper Address?

Existing approaches to LLM agent self-evolution focus almost exclusively on teaching agents how to act—either by fine-tuning the executor model or using fixed prompting frameworks like Reflexion. However, these methods typically assume that failure discovery is given, or they rely on static, expensive frontier models to point out mistakes.

This paper addresses a fundamental, overlooked capability: learning to diagnose what an agent does not know (its blind spots).

To study diagnosis as an independent capability, the authors introduce a strict, isolated setting:

  1. The executor agent is completely frozen (no weight updates).
  2. No human-labeled data or supervision is permitted.

Under these constraints, any performance gains must come entirely from the learned diagnostic capability of a separate "Mentor" agent, forcing the system to autonomously identify and repair recurrent failure modes.

Figure 1: Diagnosis and execution are distinct capabilities. To study diagnosis in isolation, we freeze the executor and remove human supervision, making diagnosis the only source of improvement. SkillMentor trains a Mentor policy to discover blind spots and build an external skill repository, enabling self-evolution without updating executor weights.

Methods

The authors propose SkillMentor, which trains a Mentor policy ($\pi_\theta$) via Reinforcement Learning (specifically Group Relative Policy Optimization, or GRPO) to discover blind spots and manage an external skill repository.

As illustrated in the overall design, SkillMentor operates in a three-stage loop:

Figure 2: Overall design of SkillMentor.
  1. Blind-Spot Discovery: The Mentor interacts with an environment sandbox to generate a batch of candidate diagnostic tasks. To prevent the policy from collapsing into repetitive behaviors, it maintains a diversity buffer that penalizes redundant trajectories.
  2. Gap Evaluation: Each candidate task is executed by both a strong reference model and the frozen executor. The difference between their scores defines the "diagnostic gap," which serves as the discovery reward ($r_{disc}$). Tasks with a significant gap proceed to the next stage.
  3. Skill Curation: The Mentor generates candidate corrective skills using three operations: ADD (expand), UPDATE (refine), or MERGE (compress). These skills are passed through an executor-grounded validation gate; if a skill successfully improves the executor's task score, it is saved to a human-readable Markdown repository.

Joint Optimization: Crucially, the Mentor's parameters are optimized to maximize both the discovery and curation rewards simultaneously. This creates a positive feedback loop: better discovery uncovers more informative failures, which leads to higher-quality skills, which in turn shifts the executor's capability boundary and exposes new blind spots.

Datasets

SkillMentor was evaluated across two primary benchmarks under zero-human-data conditions:

  • AppWorld: A complex, long-horizon planning benchmark featuring a simulated environment of apps, APIs, and users designed for interactive coding agents.
  • BFCLv3 (Berkeley Function Calling Leaderboard): A rigorous benchmark evaluating precise tool-use and function-calling capabilities across single-turn and multi-turn interactions.

Key Insights and Ideas

  • Diagnosis $\neq$ Execution: Treating diagnosis as a distinct, learnable policy allows agents to evolve externally. This bypasses the need for costly parameter updates on massive executor models.
  • Learning Beats Scale: A relatively small, RL-trained 4B Mentor policy consistently outperformed much larger, static prompt-based frontier models (such as DeepSeek-V4-Flash). Targeted optimization is more effective than raw model scale for diagnostic tasks.
  • Dynamic Capability Boundaries: Blind spots are non-stationary. As the executor adopts curated skills, its failure distribution shifts. SkillMentor handles this by using a linearly decaying diagnostic threshold to continuously track and push the agent's capability frontier.
  • Portable, Transferable Knowledge: Because the curated skills are stored as external Markdown files rather than implicit weight changes, they are highly transferable. Interestingly, the authors found that skills discovered using a weaker executor often form a broader, highly effective repository that can directly improve stronger executors without retraining.

Key Results

  • Significant Performance Gains: Across three different executor models (Qwen3.5-9B, Qwen3.5-4B, and DeepSeek-R1-Distill-Qwen-7B), SkillMentor achieved an average 44.2% relative accuracy improvement over the "No Skill" baseline.
  • Increased Efficiency: On the AppWorld benchmark, the curated skills allowed executors to complete tasks more efficiently, reducing the required interaction steps by 1.4 to 3.5 steps per task.
  • High Cost-Effectiveness: During training, SkillMentor is highly robust to the choice of the LLM judge. Using a low-cost Flash-tier judge (DeepSeek-V4-Flash) yielded near-optimal diagnostic performance at a fraction of the cost (¥32 vs. ¥349 for flagship models). Furthermore, the judge is completely removed at deployment, leaving zero frontier-model dependencies.

Limitations and Future Work

  • Threshold Scheduling: The framework relies on a manually designed, linearly decaying threshold to filter diagnostic tasks. A more adaptive, automated thresholding mechanism could improve stability.
  • Patches vs. Generalization: The curated skills function as procedural text patches prepended to prompts. Future work could explore internalizing these diagnostic insights directly into code libraries or broader tool synthesis frameworks.
  • Sandbox Dependency: The discovery phase requires a sufficiently rich interactive sandbox environment to surface diverse failure modes; its effectiveness may decrease in highly constrained or static environments.

Summary updated

BibTeX
@misc{bao2026skillmentor,
  author = {Xiaoyi Bao and Yuanzhen Xie and Yunzhi Tan and Jinghang Gu and Zhongqing Wang and Chu-Ren Huang and Bo Hu and Zang Li},
  title = {{SkillMentor: LLM Agent Self-Evolution via Learning Blind-Spot Diagnosis}},
  year = {2026},
  eprint = {2607.27360},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.27360},
}
Figure