Self-Supervised Skill Optimization

Siran Peng, Cuiyu Yang, Tianyu Fu, Tianshuo Zhang, Haoyuan Zhang, Weisong Zhao, Anyang Su, Minghui Wu, Huiying Li, Xiangyu Zhu, Chenxu Zhao, Zhen LeiarXiv 2026

TL;DR

Self-Supervised Skill Optimization (SSO) is a novel framework that optimizes reusable procedural skills for LLM agents using entirely unlabeled data. By extracting and ranking granular behaviors from pairwise execution comparisons, SSO matches or even exceeds the performance of state-of-the-art optimizers that require ground-truth feedback.

What Problem Does This Paper Address?

Large Language Model (LLM) agents are increasingly deployed to handle complex, multi-step tasks involving tool use and environment interaction. To guide these agents without retraining them, researchers use "skills"—persistent, natural language documents that outline domain conventions and procedural rules.

While these skills can be iteratively optimized, existing frameworks rely heavily on ground-truth (GT) feedback, such as task scores, rewards, or gold-standard labels. In real-world applications (like enterprise workflows or open-ended chatbots), ground truth is rarely available or is highly expensive to collect.

Existing "GT-free" prompt optimizers attempt to solve this by using an LLM to judge and rank complete prompt candidates. However, treating the entire prompt as a single unit fails to capture the complex, multi-step behavioral nuances of agent trajectories. SSO bridges this gap by shifting the optimization focus from the candidate level to the behavior level.

Figure 1: GT-based skill optimization and SSO. Existing methods use GT feedback to guide skill updates and selec- tion. SSO instead derives optimization feedback from pair- wise comparisons of observable executions on unlabeled task instances and uses no GT feedback during optimization.

Methods

SSO introduces a self-supervised, behavior-driven optimization loop that operates entirely on unlabeled training and validation batches:

  1. Probe Generation & Anchored Comparison: SSO takes the current skill ($S_t$) and runs it on an unlabeled batch to create an "anchor" execution. It then uses an LLM to generate $K$ alternative skill variants ("probes") and runs them on the same batch. A fixed LLM judge compares the probe executions against the anchor execution pairwise.
  2. Blinded Behavior Extraction & Clustering: To understand why a probe succeeded or failed, an LLM-based behavior extractor identifies specific behavioral differences between the executions. Crucially, the extractor is "blinded"—it does not see the judge's preferences—ensuring objective descriptions. A separate module then clusters these behaviors semantically.
  3. Evidence Aggregation & Ranking: SSO maps the judge’s decisions back to the behavior clusters. If a preferred probe introduced a specific behavior, that behavior receives positive evidence. Behaviors are ranked by their net evidence score.
  4. Whole-Skill Rendering & Validation: A renderer LLM compiles the top-ranked behaviors into a brand-new skill document. This candidate skill is then validated against the current skill on an unlabeled validation batch and is only accepted if it wins a majority of the pairwise matchups.
Figure 2: The SSO optimization loop. SSO executes the current skill and K complete probes on the same unlabeled training batch. An LLM judge then produces anchored pairwise decisions. A behavior extractor identifies observable differences without seeing the decisions, and a separate clusterer groups equivalent descriptions. SSO combines the decisions with behavior activations to rank behaviors and render a new skill, accepting it only if it wins against the current skill on a validation batch.

Datasets

The authors evaluated SSO across a diverse suite of benchmarks using three target models (GPT-5.5, GPT-5.4-mini, and Qwen3.5-4B):

  • Closed-ended Tasks:
  • SearchQA (Retrieval QA)
  • SpreadsheetBench (Spreadsheet artifact manipulation)
  • OfficeQA (Grounded enterprise QA)
  • DocVQA (Multimodal document understanding)
  • LiveMathematicianBench (Advanced mathematics)
  • ALFWorld (Embodied household decision making)
  • Open-ended Tasks: Three multi-turn dialogue tasks from MT-Bench-101 focusing on Context Memory (CM), Content Rephrasing (CR), and Proactive Interaction (PI).

Key Insights and Ideas

  • Granular over Global: Treating agent skills as a collection of modular behaviors rather than a monolithic prompt allows the system to pinpoint exactly what works.
  • Blinded Extraction Prevents Bias: Separating the behavior extraction from the judge's preference prevents the framework from creating post-hoc, biased justifications for the judge's choices.
  • Combinatorial Synthesis: Because evidence is aggregated at the behavior level, the final rendered skill can combine successful elements from multiple different probes, creating a composite skill that is superior to any single generated candidate.
Figure 4: Test accuracy of rendered candidates and post-hoc best probes over eight steps on Spreadsheet and OfficeQA with GPT-5.4-mini. Stars mark candidates accepted by the validation gate. The post-hoc best probes are identified using test-set GT only for analysis and never affect optimization.

Key Results

  • Outperforming GT-Free Baselines: SSO consistently outperformed existing label-free prompt optimizers (SPO and PDO) across all benchmarks and target models.
  • Closing the Ground-Truth Gap: On closed-ended tasks using GPT-5.5, SSO achieved an average accuracy of 79.2%, recovering 86.8% of the performance gain achieved by SkillOpt (82.3%), the leading ground-truth-dependent method.
  • Surpassing GT Methods: Remarkably, when optimizing for the GPT-5.4-mini target model, SSO achieved an average accuracy of 65.5%, actually outperforming the GT-based SkillOpt (64.3%).
  • Open-Ended Success: On MT-Bench-101, where ground truth is entirely absent, an LLM judge preferred SSO's optimized skills over the baseline methods in roughly 62% to 63% of pairwise matchups.

Limitations and Future Work

  • Dependence on a Strong Judge: SSO relies heavily on a highly capable frontier model (like GPT-5.5) to serve as the judge, extractor, and clusterer. Performance may degrade if weaker models are used within the optimization loop.
  • Computational Cost: Executing multiple probes across training and validation batches requires a significant number of forward passes, making the optimization process API-intensive.
  • Schedule Tuning: The optimization schedule (e.g., number of steps, batch sizes) currently requires manual adjustment depending on the dataset size and task complexity. Future work could explore automating these meta-parameters.

Summary updated

BibTeX
@misc{peng2026self,
  author = {Siran Peng and Cuiyu Yang and Tianyu Fu and Tianshuo Zhang and Haoyuan Zhang and Weisong Zhao and Anyang Su and Minghui Wu and Huiying Li and Xiangyu Zhu and Chenxu Zhao and Zhen Lei},
  title = {{Self-Supervised Skill Optimization}},
  year = {2026},
  eprint = {2607.28777},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.28777},
}
Figure