TL;DR
Hypothesis-Driven Skill Optimization (HDSO) is a train-free framework that treats external skill updates for LLM agents as falsifiable hypotheses rather than permanent memory additions. By using a frozen curator LLM to validate proposed skills through rigorous, paired control/treatment testing, HDSO significantly boosts agent success rates while preventing prompt pollution from noisy or over-general rules.
What Problem Does This Paper Address?
As LLM agents are increasingly deployed in long-running environments, they frequently run into procedural failures—like getting stuck in repetitive search loops or formatting actions incorrectly. A common workaround is to maintain a repository of external "skills" (reusable prompts or code helpers) without altering the model's weights.
However, automatically updating these skill repositories is highly risky. If an agent distills a lesson from a single lucky or noisy trajectory, it might generate a spurious shortcut or an over-general rule that it cannot reliably execute. Over time, unconstrained memory accumulation pollutes the agent's prompt context, leading to contradictory behaviors and degraded performance.
Methods
The authors introduce HDSO, a framework that decouples the system into two frozen components: a Skill Curator and an Agent Executor. Instead of immediately adopting a newly generated skill, HDSO subjects it to a structured scientific lifecycle:
- Observe: The curator reviews compact execution traces from the executor.
- Hypothesize: The curator proposes a structured skill package along with an explicit validation and falsification plan.
- Validate: The system runs prospective, paired control (current repository) vs. treatment (repository + candidate skill) simulations on identical task indices.
- Review & Consolidate: The curator reviews the behavioral differences. Only skills that demonstrate clear net wins without causing guardrail regressions are consolidated into the Approved Skill Repository. Rejected candidates are logged in a Hypothesis Ledger to prevent future cycles from re-discovering the same failed rules.
Furthermore, skills are delivered to the executor via progressive disclosure: the executor is only exposed to compact "skill cards" at each step and must explicitly request the full skill body only when relevant. This preserves the clean, baseline execution path when no skills are needed.
Datasets
The framework was evaluated using ALFWorld, a standard text-based environment containing multi-step action and planning tasks (e.g., cooking, cleaning, and navigating). The curator observes trajectories from the official training split to propose skills, which are then validated on held-out pools from the same split.
Key Insights and Ideas
- Skills as Falsifiable Hypotheses: The core "aha" moment is that agent self-improvement shouldn't just be an unconstrained memory dump. Forcing the curator to define how a skill can be proven wrong allows the system to filter out fragile or harmful prompt modifications.
- Progressive Disclosure is Vital: Simply appending an entire skill repository to an agent's prompt unconditionally pollutes the context and limits performance. Giving the agent a mechanism to selectively "pull" skill details based on compact cards yields much stronger transfer results.
- Remarkable Noise Tolerance: In real-world applications, success/failure feedback can be highly unreliable. Because HDSO relies on a strict validation gate, even when 20% of the training labels are randomly flipped, the framework avoids absorbing bad habits and maintains its performance gains by simply becoming more conservative in admitting skills.
Key Results
- Performance Boosts: In homogeneous setups (where the curator and executor use the same LLM), HDSO improved the Average Success Rate (SR) of Qwen3-8B by +6.9 points and Qwen3.6-27B by +4.0 points, while simultaneously reducing the average number of steps per episode.
- Cross-Model Curation: A smaller Qwen3-8B curator successfully optimized a larger Qwen3.5-9B executor, yielding a +7.8 point gain—the largest improvement reported in the paper.
- Robustness to Noisy Logs: Under 20% label corruption during optimization, HDSO still preserved a +7.1 point gain for Qwen3-8B, demonstrating that the hypothesis lifecycle prevents the agent from collapsing under unreliable feedback.
Limitations and Future Work
- Benchmark Scope: HDSO's empirical validation is currently limited to ALFWorld, an action-centric, multi-step planning environment. The authors note that this specific skill interface cannot be assumed to transfer unchanged to single-turn question answering or pure reasoning tasks without a completely different adapter design.
- The Scale Gap in Heterogeneous Pairs: Surprisingly, using a larger model to curate skills for a smaller model (e.g., Qwen3.6-27B $\rightarrow$ Qwen3-8B) often failed. The stronger curator proposed sophisticated, high-level strategies that exceeded the execution capabilities of the weaker model, causing the candidate skills to get rejected during the validation phase. Future work is needed to better align cross-model curation.
Summary updated