KuaFu-Credit: Reward-Penalty Decoupling and Turn-Level Differencing for Credit Assignment in Long-Horizon RL with Lifelong User Memory
Lin Zhu, Jiahao Hui, Junxiu Chen, Xining Ran, Qiujia Ji, Yishen Hu, Siyuan Zhang, Jingdong Shu 等 15 位作者
原文摘要
Advertising, recommendation, and commercial agents require reusable user understanding, yet implicit user behavior is noisy and fragmented. Lifelong user memory distills this behavior into traceable facts and incrementally aggregates them into structured memory objects. This is a long-horizon, multi-turn decision-making task. Conventional GRPO assigns a shared trajectory-level reward, obscuring individual turns' contributions, carrying over scores from inherited memory, and entangling quality with penalties. We propose KuaFu-Credit, a reward-penalty-decoupled framework for turn-level credit assignment through differencing. Each turn's advantage combines a trajectory-level baseline with separately normalized quality and penalty differences. Counterfactual differencing re-evaluates the previous turn's memory objects using the current turn's input, holding the evaluation input fixed to reduce contamination from inherited memory and noise from changing inputs. A penalty-weight curriculum counteracts collapse to empty memory output, while span credit further refines advantages at the memory-object level. Experiments on an SFT-tuned Qwen3.5-4B model ablate turn-level differencing, dual-axis decoupling, and the curriculum, and compare against ProxMO. The benefits depend strongly on task difficulty: KuaFu-Credit leads on moderately difficult tasks, while its curriculum variant overtakes it on longer tasks. Removing differencing or axis decoupling harms key-information retention on long trajectories. In downstream incremental evaluation, KuaFu-Credit improves over the SFT base model by 1.8 percentage points, rising to 3.0 points with the curriculum; removing axis decoupling instead reduces performance by 0.7 points. These results support structured credit assignment for long-horizon memory construction with dense rewards and no natural stage boundaries.
cs.LG · cs.CL · cs.IR