KuaFu-Credit: Reward-Penalty Decoupling and Turn-Level Differencing for Credit Assignment in Long-Horizon RL with Lifelong User Memory
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,…
- arXiv
- 2612.01942
- Authors
- Lin Zhu, Jiahao Hui, Junxiu Chen, Xining Ran, Qiujia Ji and 10 more
- Categories
- cs.LG · cs.CL · cs.IR