Customer-Agent: Overcoming Context Limitations in Ultra-Long Shopping Trajectories via Tool-Augmented Agents and RLVR
On the map: LLM agents and tool use → Social simulation and multi-agent debate
Abstract (arXiv)
Understanding customer shopping trajectories is essential for enabling personalized shopping experiences. However, shopping records (i.e., customer's search, clicks, purchases, etc.) often span long time horizons over multiple years, resulting in extremely long trajectories that pose significant challenges for existing large language models (LLMs). Despite the importance of this problem, existing benchmarks are limited to short customer trajectories, while real-world trajectories from large e-commerce platforms are rarely accessible due to data privacy constraints. To address this gap, we introduce ShopTrajQA, a long-context evaluation benchmark constructed from real-world product information and simulated shopping trajectories. The dataset includes variants of up to 32k and 64k tokens, enabling systematic evaluation of model robustness under varying context lengths. Through comprehensive benchmarking of frontier LLMs, we identify critical performance gaps in reasoning over long shopping trajectory data. To address these challenges, we propose a Customer Agent Framework for ultra-long context management. Leveraging a Reinforcement Learning with Verifiable Rewards (RLVR) agentic training paradigm, our approach stores trajectories as external local files and trains the agent to autonomously retrieve and parse them through code-interpreter interactions (e.g., SQL queries), effectively bypassing the fixed in-context window constraints of LLMs. Experimental results demonstrate that our framework achieves strong performance for ShopTrajQA and shows generalization to other complex reasoning tasks.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Social simulation and multi-agent debate, one of 16 directions in LLM agents and tool use. Builds on 31 of its 39 references that are in the map. First posted on arXiv 6 Jun 2026.
Builds on
31 of 39 references.
Closest ancestors · 1
Same direction, newest first
- 2025Customer-R1: Personalized Simulation of Human Behaviors via RL-based LLM Agent in Online Shopping8 Oct
Other references · 30
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2025Qwen3 Technical Reportcited by 8,195
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,371
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
- 2025ReTool: Reinforcement Learning for Strategic Tool Use in LLMscited by 377
18 more
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
- 2025Context Length Alone Hurts LLM Performance Despite Perfect Retrievalcited by 118
- 2025VerlTool: Towards Holistic Agentic Reinforcement Learning with Tool Usecited by 92
- 2022Shopping Queries Dataset: A Large-Scale ESCI Benchmark for Improving Product Searchcited by 58
- 2025Unlocking Exploration in RLVR: Uncertainty-aware Advantage Shaping for Deeper Reasoningcited by 34
- 2025Semantic-Aware Logical Reasoning via a Semiotic Frameworkcited by 32
- 2025Think-While-Generating: On-the-Fly Reasoning for Personalized Long-Form Generationcited by 29
- 2025OPeRA: A Dataset of Observation, Persona, Rationale, and Action for Evaluating LLMs on Human Online Shopping Behavior Simulationcited by 26
- 2025LoongRL: Reinforcement Learning for Advanced Reasoning over Long Contextscited by 25
- 2026Logical Phase Transitions: Understanding Collapse in LLM Logical Reasoningcited by 24
- 2025CoRT: Code-integrated Reasoning within Thinkingcited by 15
- 2026Coupling Macro Dynamics and Micro States for Long-Horizon Social Simulationcited by 14
- 2026CreativeBench: Benchmarking and Enhancing Machine Creativity via Self-Evolving Challengescited by 9
- 2026Reason in Chains, Learn in Trees: Self-Rectification and Grafting for Multi-turn Agent Policy Optimizationcited by 7
- 2026Self-Correcting RAG: Enhancing Faithfulness via MMKP Context Selection and NLI-Guided MCTScited by 5
- 2026GCoT-Decoding: Unlocking Deep Reasoning Paths for Universal Question Answeringcited by 4
- 2026DTCRS: Dynamic Tree Construction for Recursive Summarizationcited by 4
- 2026DimMem: Dimensional Structuring for Efficient Long-Term Agent Memorycited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Shopping Companion: Benchmarking and Training LLM Agents for Long-Horizon Preference-Grounded E-Commerce Tasks
- 2025ShoppingBench: A Real-World Intent-Grounded Shopping Benchmark for LLM-based Agents
- 2026ShopSimulator: Evaluating and Exploring RL-Driven LLM Agent for Shopping Assistants
- 2026RealWorldShop: Benchmarking and Improving Conversational Shopping Agents in Real-World E-commerce
- 2026ProductResearch: Training E-Commerce Deep Research Agents via Multi-Agent Synthetic Trajectory Distillation
- 2026AgenticShop: Benchmarking Agentic Product Curation for Personalized Web Shopping
- 2026RetailBench: Benchmarking long horizon reasoning and coherent decision making of LLM agents in realistic retail environments
- 2026RetailBench: Evaluating Long-Horizon Autonomous Decision-Making and Strategy Stability of LLM Agents in Realistic Retail Environments