StateForge framework synthesizes verifiable data for tool-using agents

A new framework called StateForge uses state-change supervision to generate training data for tool-using agents.

2 min read

StateForge framework synthesizes verifiable data for tool-using agents

Training artificial intelligence models to use software tools over long sequences of actions is difficult. A common challenge is that a successful individual tool call does not guarantee that the overall task is complete, while strict reference matching can wrongly reject valid alternative paths. To address this, researchers have introduced StateForge, a new framework that unifies data synthesis, supervised fine-tuning, and reinforcement learning.

Key facts

Parameters
4B
Environments produced
544
Tasks produced
1,697
Average tool calls per task
69
tau^2-Bench success
91.17%
DeepPlanning Shopping accuracy
43.33%

Understanding state-change supervision

StateForge operates by constructing executable environments that feature explicit state spaces alongside tools for querying and transforming those states. Instead of relying purely on final outcomes, the framework focuses on state-change supervision. Executing dependency-guided tool workflows yields reachable state-change targets, which then ground task synthesis and consistency checks.

For each generated task, the system employs three trajectory synthesis modes while preserving the same target. Direct mode provides complete goals upfront, Progressive mode reveals goals in stages, and Recovery mode introduces recoverable environment perturbations to test resilience. This shared target supports exact state-change matching, which filters supervised fine-tuning trajectories and provides reinforcement learning rewards that credit required modifications while penalizing unintended changes.

Performance and scale

The framework generates a diverse training resource consisting of 544 environments and 1,697 tasks, averaging 69 tool calls per task. Despite using a model with only 4 billion parameters, StateForge achieves leading performance among specialized agent models on representative tool-use benchmarks.

Specifically, the model attains a 91.17 percent macro-average success rate on the tau-two-Bench benchmark, 43.33 percent accuracy on DeepPlanning Shopping, and an overall score of 27.25 percent on BFCL-v3 Multi-Turn. These results demonstrate that careful data synthesis focused on verifiable state changes can significantly improve the reliability of tool-using agents without requiring massive parameter counts.

Source: Original announcement

Worth a read?

Report

Comments