SuperAgent: A Customer Service Chatbot for E-commerce Websites

Lei Cui, Shaohan Huang, Furu Wei, Chuanqi Tan, Chaoqun Duan, Ming Zhou

Introduction

Traditional e-commerce customer service often relies on human agents to handle repetitive queries, creating a significant cost burden for companies. While automated chatbots offer a potential solution, they typically require large, private datasets of human-to-human dialogues, which are difficult to acquire and raise privacy concerns. Furthermore, shoppers face "information overload" when trying to navigate hundreds of product specifications, Q&A pairs, and thousands of reviews on platforms like Amazon.

SuperAgent, presented at ACL 2017, addresses these challenges by treating the product page itself as a live, structured knowledge base. Instead of relying on private chat logs, it mines publicly available data—specifications, existing Q&A, and user reviews—to provide instant, accurate answers to customer inquiries.

SuperAgent mines data directly from product pages, including specifications, Q&A, and reviews.

System Architecture

SuperAgent is implemented as a browser extension (Chrome/Edge) that scrapes the active page's HTML to build a local knowledge base. The system's core is a Meta Engine that coordinates four specialized sub-engines in parallel to address different types of queries.

The SuperAgent architecture utilizes a crawler to build a knowledge base, which feeds into four specialized QA engines managed by a Meta Engine.

Specialized Engines

  • Fact QA Engine: Handles objective questions (e.g., "What is the CPU?") by converting product specifications into knowledge triples. It uses a Deep Structured Semantic Model (DSSM) to match user queries to specific product attributes.
  • FAQ Search Engine: Utilizes a Regression Forest model to find semantically similar questions in the existing product Q&A section, leveraging features like Word Mover’s Distance and GloVe embeddings.
  • Opinion-Oriented Text QA: Extracts subjective answers from customer reviews using opinion mining (aspect-sentiment pairs) and ranks candidate sentences via BiCNN and MatchLSTM architectures.
  • Chit-chat Engine: Provides a "back-fill" for general greetings or comments using an attention-based LSTM seq2seq model trained on Twitter data. To ensure professional behavior, it is restricted to a set of 5 million human-vetted responses.

The Meta Engine prioritizes these outputs based on confidence scores, favoring factual and FAQ-based answers over general conversation.

Evaluation and Key Results

The researchers validated SuperAgent using several benchmarks to test the efficacy of its individual engines:

  • FAQ Ranking: The model achieved a Pearson Correlation of 0.78455 on the SemEval-2016 dataset, outperforming the top-ranked competition entry of that year (0.77807).
  • Text QA: On the WikiQA dataset, the system reached a state-of-the-art Mean Average Precision (MAP) of 0.7164.
  • Practical Utility: In a live demonstration on a Surface Pro 4 Amazon page, SuperAgent synthesized answers from over 800 Q&A pairs and 1,200 reviews instantly—a task that would take a human shopper hours to complete manually.

Discussion and Future Work

The "page-as-database" approach represents a significant shift in chatbot design. By operating as a browser extension, SuperAgent bypasses the need for site-side integration and reduces server load by performing scraping on the client side.

However, the system currently faces limitations in multi-turn dialogue and intent detection. Future work aims to implement a dedicated query intent detection module to better select the appropriate sub-engine and improve the handling of context-dependent follow-up questions. Additionally, the bot's effectiveness remains dependent on the richness of the data available on the specific product page; for new products with few reviews, its utility is primarily limited to basic specifications.

Summary updated

BibTeX
@inproceedings{cui2017superagent,
  author = {Lei Cui and Shaohan Huang and Furu Wei and Chuanqi Tan and Chaoqun Duan and Ming Zhou},
  title = {{SuperAgent: A Customer Service Chatbot for E-commerce Websites}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2017},
  doi = {10.18653/v1/p17-4017},
}
Figure