Long-horizon tasks often become difficult only after an agent has made many decisions. The early steps may look sound, yet one poor choice can send everything that follows off course. A reward based only on final success says little about where the breakdown began. Dense distillation adds feedback, but still leaves two questions: where should teaching start, and when should it stop? FrontierSD, the method described in the paper, is designed to make those choices more targeted.
Its central idea is an “error frontier.” In an agent-generated trajectory, the prefix is treated as relatively reliable, while progress in the suffix is less dependable. Rather than interpreting every uncertain decision as a request for supervision, FrontierSD searches near the boundary between the two for a likely current bottleneck.
The approach has three stages:
- WHERE — locate: It recalls the five candidate decisions with the highest action-token entropy. At each candidate, it samples eight independent next responses without executing them, then compares support for alternative actions against support for the recorded action. A position is selected only if an alternative has a positive support margin and sufficient support; otherwise, teaching is skipped.
- WHAT — guide: The same agent uses the selected position, its recorded experience, and hindsight available during training to extract one reusable decision rule. In some settings, a successful reference from the same task can also be used.
- HOW — internalize: The unguided student and rule-conditioned teacher share model parameters, decision context, and response prefix. The method distills predictions for the original response, while action-token distribution differences regulate the strength and duration of the rule’s influence. GRPO over the full trajectory remains active as well.
The recursive loop is another defining feature. Rule generation is initially seeded with externally labeled examples and guidance-only supervised fine-tuning. During reinforcement learning, however, rules come from the current agent’s fresh trajectories rather than a separate, fixed rule generator. A rule stays fixed for its source trajectory, while teacher distributions are recalculated using the current parameters during learning. The updated agent can then produce new experiences and rules for subsequent updates. At evaluation time, it acts without a rule or teacher.
This approach links the question of what to teach with where to teach it. In principle, that could focus long-horizon learning on the agent’s present weakness and reduce reliance on a frozen rule-writing component. But the estimated frontier is inferred from model signals; it is not automatically a verified causal explanation of failure. A misplaced teaching point or flawed rule could reinforce the wrong behavior. The supplied description says Qwen3-1.7B and Qwen3-4B were evaluated in four environments, but it includes no numerical outcomes or detailed comparisons. The available evidence therefore supports discussion of the design, not claims about the size of its gains.
Source: Hugging Face Daily Papers
Comments
Checking sign-in status...
Loading comments...