TL;DR
This paper introduces RetailBridge, a new benchmark for evaluating AI agents on complex retail tasks that require "chaining" evidence across both structured databases (like order logs) and unstructured text (like customer reviews). To tackle these challenges, the authors developed RetailRAG, a specialized framework that uses schema briefing and diagnostic plan revision to significantly outperform existing agentic RAG systems.
What Problem Does This Paper Address?
Large Language Model (LLM) agents are increasingly used in retail for customer support and sales analytics. However, real-world retail data is messy and "heterogeneous." If a customer asks, "What is the average rating of the most expensive product I bought last month?", an agent must:
- Query a structured SQL database for order history and prices.
- Identify the specific product.
- Retrieve and analyze unstructured text reviews for that product.
Existing Retrieval-Augmented Generation (RAG) benchmarks usually focus on a single type of data (mostly text) or open-domain sources like Wikipedia. They fail to capture the "multi-source chaining" required in enterprise environments, where links between data sources are often implicit (e.g., a shared product_id across a table and a text file).
Methods
The authors contribute two major components: a benchmark and a framework.
1. RetailBridge (The Benchmark)
To create a realistic but controllable testbed, the authors used persona-driven simulations to generate a retail history. They then built queries using a two-step compositional pipeline:
- Atomic QA: Generating simple questions answerable from a single source.
- Recursive Composition: Using "entity-linked" and "answer-linked" operators to hide entities behind referring expressions, forcing the agent to hop between sources.
2. RetailRAG (The Framework)
RetailRAG is designed to handle the specific hurdles of retail workflows through three stages:
- Auto-Schema Briefing: It pre-computes a "brief" of the database (schemas, join keys, and KPIs like "refund rate") and injects it into the LLM's prompt.
- Source-Routed Plan Chaining: It creates a full execution plan in one pass, explicitly routing each step to either SQL or text sources.
- Diagnostic Plan Revision: If a step fails (e.g., a SQL query returns zero rows), the system diagnoses the specific error and repairs only that step, rather than restarting the entire expensive workflow.
Datasets
The primary dataset is the newly introduced RetailBridge, which consists of:
- 1,680 queries stratified by reasoning depth (Level 1 to 3).
- 8 data sources: 5 tabular (Product, Order, Script, Review, Inquiry) and 3 textual (Script Text, Review Text, Inquiry Text).
- The authors also evaluated their framework on the BIRD benchmark (a large-scale text-to-SQL dataset) to prove that RetailRAG's designs generalize to other structured-data domains.
Key Insights and Ideas
- The Chaining Bottleneck: The biggest hurdle for LLMs isn't just the size of the model; it's the ability to coordinate evidence across different sources. Even frontier models like GPT-4 and Qwen3-Plus struggle as the number of "hops" between SQL and text increases.
- Scaling is Not a Silver Bullet: The study found that multi-source chaining is a dominant bottleneck across all model scales. Reliable agents require explicit cross-source orchestration rather than just more parameters.
- Implicit vs. Explicit Links: Unlike Wikipedia-based RAG where links are often explicit (hyperlinks), enterprise retail requires resolving implicit links (matching IDs across different systems), which is significantly harder for current agents.
- The Power of Composition: By using specific operators to bridge values, the authors can precisely control query difficulty.
Key Results
- Performance: RetailRAG consistently outperformed representative baselines like MAC-SQL and HetaRAG. On the hardest "Level-3 Heterogeneous" queries, RetailRAG achieved an accuracy of ~30%, while the best baseline trailed at ~21%.
- Reasoning Decay: Accuracy drops sharply as complexity increases. Every backbone tested lost about half or more of its performance when moving from Level-1 (single-hop) to Level-3 (multi-hop) queries.
- Efficiency: RetailRAG's diagnostic revision allowed it to recover from failures at a fraction of the cost of full replanning, maintaining a moderate average of 7.45 API calls per query.
- Modality Gap: Text-only queries proved to be a steeper bottleneck than SQL-only queries, identifying dense text retrieval as a primary area for improvement.
Limitations and Future Work
- Synthetic Data: While the simulation is persona-driven and validated by retail experts, it remains a simulation. Real-world enterprise data may contain even more "noise" and edge cases.
- Retrieval Bottlenecks: The authors noted that "text retrieval" remains a dominant modality bottleneck, suggesting that better embedding models or hybrid retrieval strategies are needed.
- Future Directions: The authors suggest expanding the benchmark to include more complex analytical tasks and exploring how agents handle real-world data corruption (e.g., typos, missing records, or mixed date formats).
Summary updated