用强化学习让大模型更像真人网购,效果提升超65%。
Shop-R1: Rewarding LLMs to Simulate Human Behavior in Online Shopping via Reinforcement Learning
- 分两阶段优化:先生成人类购物理由,再预测具体操作。
- 引入难度自适应奖励机制,精准评估每步操作正确性。
- 适合做电商行为模拟、自动化测试或人机交互研究者。
大语言模型在生成‘可信的人类行为’方面展现出巨大潜力。以往方法通过LLM合成推理过程并采用监督微调提升推理能力,从而改善下游动作预测性能,但其表现受限于生成推理的模型本身能力。本文提出Shop-R1,一种新颖的强化学习框架,旨在提升大模型在在线购物环境中模拟真实人类行为的能力。Shop-R1将行为模拟任务分为两个阶段:推理生成与动作预测,分别由不同奖励信号引导。在推理生成阶段,利用模型内部信号(如logit分布)实现自监督引导;在动作预测阶段,设计分层奖励结构并结合难度感知缩放,防止奖励劫持,实现细粒度奖励分配。该机制同时评估高层动作类型与细粒度子动作细节(属性及取值),按难度比例给予奖励。实验表明,该方法相比基线相对提升超过65%。项目页面见https://damon-demon.github.io/shop-r1.html。
原文摘要 · Abstract (English)
Large Language Models (LLMs) have recently demonstrated strong potential in generating 'believable human-like' behavior in web environments. Prior work has explored augmenting training data with LLM-synthesized rationales and applying supervised fine-tuning (SFT) to enhance reasoning ability, which in turn can improve downstream action prediction. However, the performance of such approaches remains inherently bounded by the reasoning capabilities of the model used to generate the rationales. In this paper, we introduce Shop-R1, a novel reinforcement learning (RL) framework aimed at enhancing the reasoning ability of LLMs for simulation of real human behavior in online shopping environments. Specifically, Shop-R1 decomposes the human behavior simulation task into two stages: rationale generation and action prediction, each guided by distinct reward signals. For rationale generation, we leverage internal model signals (e.g., logit distributions) to guide the reasoning process in a self-supervised manner. For action prediction, we propose a hierarchical reward structure with difficulty-aware scaling to prevent reward hacking and enable fine-grained reward assignment. This design evaluates both high-level action types and the correctness of fine-grained sub-action details (attributes and values), rewarding outputs proportionally to their difficulty. Experimental results show that our method achieves a relative improvement of over 65% compared to the baseline. The project page is available at https://damon-demon.github.io/shop-r1.html.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。