What Makes Two States the Same? Value-Aware State Matching for Multi-Turn Agent Credit Assignment
Abstract
Credit assignment for multi-turn LLM agents comes down to estimating how good each intermediate state is, and so-called critic-free methods still make such an estimate: the group mean reward of GRPO is a Monte Carlo estimate of the value of the initial state. Recent step-level methods extend this estimate to later states by finding steps in other rollouts that reach the "same" state and averaging their returns, which amounts to a value lookup table keyed on raw observation text that ignores whether textual differences matter for future returns. Under simple noise assumptions, we show that the error of such a step baseline splits into bias and variance: matching on value-irrelevant features creates unnecessarily small groups (high variance), while ignoring value-relevant features merges states that should be distinguished (high bias). Guided by this analysis, we propose Structured State Abstraction (SSA), a value estimator without a critic that decomposes observations into typed fields using environment-provided metadata and learns per-field importance weights from return variance. Instead of exact text matching, SSA computes a kernel-smoothed baseline in which every state contributes to each step in proportion to its structured similarity, with a temperature that moves between exact matching and the task-level mean. On ALFWorld and WebShop, SSA improves over GiGPO and HGPO at both model scales, and kernel smoothing gives a comparison set to every step, including the 30–36% of steps that exact matching leaves as singletons without step-level credit.