PRL 开源框架让智能体逐步学习语言反馈

原标题:An agent runs a trajectory. Some steps are blind retries, some are it reading an error, some are the...
68AI 研判分

TokenWave.AI 开源了 PRL(Programmable Reinforcement Learning for Agents),把自然语言反馈落到智能体轨迹的具体步骤上,支持重加权、重写上下文与从错误处重试三种变换,而非只给整条轨迹一个 0/1 奖励。在 Qwen3.5-9B 上,Reroll 方案得分 58.8,高于 GRPO 的 54.3,重写机制仍有较大探索空间。

报道正文

Rohan Paul (@rohanpaul_ai) · 2026-12-04 01:57

An agent runs a trajectory. Some steps are blind retries, some are it reading an error, some are the actual fix. Handing the whole thing a single 0/1 reward lumps all of that together.

PRL (a new an agentic RL training framework ) lets you write a function that processes the trajectory before training: which steps count more, which get rewritten, where to retry from. The teacher's judgment lands on specific steps instead of staying a black-box score.

They tried it on Qwen3.5-9B. Reroll hits 58.8 vs 54.3 for GRPO. Rewrite is still underexplored, which is the interesting part.

↳ 引用 @TokenWaveai (TokenWave.AI): With natural language feedback, RL agents should be able to learn from more than a 0 or a 1.

We built PRL (Programmable Reinforcement Learning for Agents) to turn feedback on individual steps into policy updates.

Reweight a step to reinforce or discourage it. Rewrite its context with a hint. Reroll from the mistake and train on the next attempt.

Combine all three in one trajectory transform. PRL is open source and built on Miles.

Code:

推文配图