MACS: A Hybrid Multi-Agent Framework for Reliable Conversational E-Commerce Recommendation
Organizations: Stanford University Department of Computer Science Stanford, CA, USA · University of Southern California Los Angeles, CA, USA · Massachusetts Institute of Technology MIT Sloan School of Management Cambridge, MA, USA · Stanford University Department of Management Science & Engineering Stanford, CA, USA
Abstract
Conversational recommendation for e-commerce is increasingly mediated by large language models (LLMs), yet many real-world deployments operate under a stricter requirement: recommendations must be drawn only from a merchant's fixed catalog, without web search or unsupported product claims. In this setting, the main challenge is reliability under hard constraints: the system must satisfy user requirements, remain grounded in available inventory, and preserve preferences across multiple conversational turns. We present MACS (Multi-Agent Commerce System), a hybrid multi-agent framework for reliable conversational recommendation in fixed-catalog settings. MACS uses LLMs for language-facing tasks such as interpreting user requests, eliciting preferences, and generating responses, while correctness-critical operations, including product retrieval, hard-constraint filtering, brand exclusion, and progressive relaxation, are executed deterministically by the merchant agent. A session-persistent preference layer tracks constraints across turns, enabling consistent handling of budget overwrites and exclusion reversals. On a 140-query single-turn benchmark, MACS achieves the highest pass rate (87.1%) and perfect brand compliance (1.000). On a 10-scenario multi-turn benchmark, MACS achieves the strongest macro Pass@5 (72% vs. 56% GPT+Catalog / 52% Gemini+Catalog) with zero constraint drift. The advantage is sharpest on exclusion reversal (100% vs. 20% / 0%) and constraint accumulation (100% vs. 60% / 40%). Mean judged response quality is similar across systems (0.751 vs. 0.736). These results suggest that hybrid architectures combining deterministic constraint enforcement with session-persistent preference tracking provide stronger reliability-oriented performance than catalog-bound prompt-only baselines in the fixed-catalog merchant setting.
Figures & tables
| Use case | components | |||
|---|---|---|---|---|
| Gaming | 0.15 | 0.20 | 0.60 | GPU tier (0–0.40) + refresh rate (0–0.15) + RAM 16 GB (+0.03) |
| ML | 0.15 | 0.20 | 0.60 | RAM tier (0–0.40) + GPU (0–0.20) |
| Video edit. | 0.15 | 0.20 | 0.60 | GPU tier (0–0.30) + RAM tier (0–0.20) |
| Student | 0.45 | 0.30 | 0.20 | Battery tier (0–0.30) + RAM tier (0–0.15) |
| Programming | 0.20 | 0.30 | 0.45 | RAM tier only (0–0.20) |
| Default | 0.35 | 0.35 | 0.20 | RAM tier only (0–0.20) |
| Phase | Median (ms) | Notes |
|---|---|---|
| CPU phases (rewrite, filter) | 1 | Pure Python, no I/O |
| Domain detection — fast path | 1 | Keyword dictionary |
| Domain detection — LLM | 1,630 | gpt-4o-mini; ambiguous only |
| Criteria extraction (LLM) | 1,927 | Primary bottleneck |
| Question generation (LLM) | 1,645 | Preference elicitation |
| Post-rec intent detection | 556 | gpt-4o-mini classification |
| System | Avg | Pass% | Brand | Filter | Quality |
|---|---|---|---|---|---|
| MACS | 0.681 | 87.1% | 1.000 | 0.970 | 0.394 |
| Gemini+Catalog | 0.662 | 68.6% | 0.833 † | N/A | 0.427 |
| GPT+Catalog | 0.639 | 72.1% | 1.000 † | N/A | 0.392 |
| Group | Avg | Pass% | |
|---|---|---|---|
| Strong groups | |||
| Multi-intent rigidity | 5 | 0.775 | 100.0% |
| One-liner purchase intent | 6 | 0.833 | 100.0% |
| Refinement | 3 | 0.756 | 100.0% |
| Follow-up service QA | 4 | 0.810 | 100.0% |
| Multi-constraint | 17 | 0.791 | 94.1% |
| System | MT Avg SD | MT Pass@5 | Drift |
|---|---|---|---|
| MACS | 0.751 0.095 | 72% | 0.000 |
| GPT+Catalog | 0.736 0.090 | 56% | 0.000 |
| Gemini+Catalog | 0.717 0.118 | 52% | 0.014 |
| Category | MACS | GPT+Catalog | Gemini+Catalog |
|---|---|---|---|
| Brand Exclusion | 0.640 / 20% | 0.667 / 40% | 0.685 / 40% |
| Budget Overwrite | ✓0.793 / 100% | ✓0.739 / 80% | ✓0.712 / 80% |
| Budget Refinement | ✓0.748 / 60% | ✓0.802 / 80% | ✓0.811 / 80% |
| Clarification | ✓0.793 / 100% | ✓0.802 / 100% | ✓0.730 / 100% |
| Comparison | 0.658 / 40% | 0.631 / 0% | 0.586 / 0% |
| Constraint Accum. | ✓0.784 / 100% | ✓0.739 / 60% | 0.640 / 40% |
| System | Grounding | Disclosure | Drift |
|---|---|---|---|
| MACS | 1.000 | 0.925 | 0.000 |
| GPT+Catalog | 1.000 | 0.588 | 0.000 |
| Gemini+Catalog | 1.000 | 0.550 | 0.014 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| ID | Name | Turns | Key challenge |
|---|---|---|---|
| S1 | Constraint Accumulation | 4 | Preserve all accumulated constraints |
| S2 | Mind-Change Pivot | 3 | Use-case pivot (gaming editing) |
| S3 | Brand Excl. Persist. | 4 | Maintain brand exclusion across turns |
| S4 | Vague Specific | 4 | Elicit & resolve underspecified query |
| S5 | Comparison + Follow-up | 3 | Context-free comparison |
| S6 | Price Refinement | 3 | Budget update (narrowing) |
Recommender Systems
Recommender systems predict and rank items for people using interaction histories, content, context, and feedback.
See all 516 papers