ZICQ
中 Log in / Sign up
Newsroom Agentic #Hugging Face #Reinforcement Learning #Agent Training #HarnessAdapt-RL #AI Tools

Hugging Face Releases HarnessAdapt-RL: Revolutionizing Agent Training with Adaptive Policy and Tool Co-evolution

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version

Summary:Hugging Face introduces HarnessAdapt-RL, a novel reinforcement learning framework that dynamically adapts an agent's policy and harness during training. By leveraging a frozen teacher model to generate task-specific skills and a separate teacher model to evolve tools and hooks, HarnessAdapt-RL achieves significant performance improvements over traditional methods like GRPO. For instance, it boosts the pass rate by 6.4%-12.6% on SWE-bench tasks. This approach highlights the importance of co-evolv


Technical Mechanism Analysis

The core mechanism of HarnessAdapt-RL lies in its ability to co-evolve an agent's policy and harness during training. The process works as follows:

  1. Task-Specific Skill Generation: A frozen teacher model generates task-specific skills based on the task requirements. These skills aim to address the flawed repair strategies encountered by the agent in specific tasks.

  2. Tool and Hook Optimization: A separate teacher model optimizes tools and hooks, which are used to solve recurring interaction problems across tasks. The teacher model evaluates the observed pass rate and trainable rate, retaining changes to the tools and hooks only if neither metric decreases.

  3. Co-training of Policy and Tools: The agent's policy trains with the adapted harness, and the new trajectories guide further adaptation of the tools and hooks, forming a dynamic feedback loop.

Engineering Trade-offs and Performance

HarnessAdapt-RL demonstrates strong performance across multiple benchmarks. In the SWE-bench tasks, it improves the pass@1 rate by 9.8% (Verified), 12.6% (Multilingual), and 6.4% (Pro) compared to the traditional GRPO method. Additionally, the performance gains persist even after removing the mechanism-level skills, while removing the tools and hooks results in up to a 7.7 percentage point loss in performance. This highlights the critical role of dynamic tool optimization in the agent's performance in complex tasks.

Developer Deployment Recommendations

For developers, Hugging Face recommends prioritizing the use of HarnessAdapt-RL in the following scenarios:

  • Complex Task Environments: In tasks that involve multiple subtasks or complex interactions, HarnessAdapt-RL's co-evolution mechanism can significantly enhance the agent's performance.

  • Long-Horizon Tasks: For tasks that require sustained operation over time, HarnessAdapt-RL's dynamic adjustment of the harness can effectively address changes in the environment and task requirements.

  • Resource-Constrained Environments: Given the method's persistent performance gains even after removing mechanism-level skills, developers can flexibly adjust the harness in resource-constrained environments to balance performance and resource consumption.

Conclusion

The release of HarnessAdapt-RL marks a significant advancement in the field of AI agent training. By dynamically adapting the policy and harness, this method not only improves the agent's performance in complex tasks but also provides new insights for the application of AI technology in multi-task, long-horizon, and resource-constrained environments.


Source: Hugging Face Daily Papers (2026-10-20)

— END —

Tags: #Hugging Face #Reinforcement Learning #Agent Training #HarnessAdapt-RL #AI Tools

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

Community Comments

Loading live comments and annotations…