TIER: Trajectory-Invariant Execution Rewards for Multi-Step Tool Composition
Abstract
Tool use enables large language models to solve complex tasks through sequences of API calls, yet existing reinforcement learning approaches fail to scale to multi-step composition settings. Outcome-based rewards provide only sparse feedback, while trajectory-supervised rewards depend on annotated reference solutions, penalizing valid alternatives and limiting scalability. We propose TIER: Trajectory-Invariant Execution Rewards, a reward framework that derives supervision directly from function schemas and runtime execution, rather than from reference trajectories. The reward decomposes into format validity, schema adherence, execution success, and answer correctness, providing graded, interpretable sequence-level feedback derived from verification of each tool call. This design allows any valid execution path to receive credit, naturally supporting multiple solution strategies and requiring no trajectory re-annotation when tool interfaces change. On DepthBench, a compositional benchmark stratified by depth (0- to 6-step tasks), TIER achieves >90% accuracy across all strata, while trajectory-supervised rewards fall below 25\% from 2 steps onward and reach 0% at 5-6 steps. We further demonstrate consistent gains on benchmarks such as BFCL v3 and NestFUL. Ablations show that schema and execution rewards are each necessary, highlighting the importance of multi-level supervision for compositional reasoning.