Using Event Graph to Improve Question Answering in E-commerce Customer Service

Feng-Lin Li, Kehan Chen, Yan Wan, Weijia Chen, Qi Huang, Yikun GuoISWC (Satellites) 2019

Abstract

Modern e-commerce customer service bots often struggle with complex, regulation-oriented queries that require logical reasoning rather than simple pattern matching. This paper presents a transition from traditional Question-Answer (QA) pairs to an Event Graph architecture for Alibaba’s AliMe assistant. By structuring regulatory knowledge into states and operations, the system enables precise reasoning over business rules, leading to a significant improvement in query resolution.

Introduction

While retrieval-style bots handle the majority of customer queries effectively, they frequently fail in scenarios governed by complex regulations. For instance, a user asking about their ability to list items while under a penalty requires the bot to understand the user's current state, the specific operation requested, and the underlying business logic. To bridge this gap, researchers at Alibaba developed an Event Graph framework that moves beyond flat text matching to structured knowledge reasoning.

The Event Graph Ontology

The core of the proposed system is a specialized ontology that categorizes knowledge into two primary node types: State-oriented events and Operation-oriented events.

  • State-oriented events define specific situations (e.g., "account frozen"). These nodes track properties such as the reason for the state and sequential steps.
  • Operation-oriented events define actions a user might take (e.g., "filing an appeal"). These focus on feasibility (whether the action is allowed), the process (how to perform it), and the resulting state.
The Event Graph ontology and a specific application to counterfeiting penalty scenarios.

To handle complex, multi-conditional logic—such as allowing an appeal only if a penalty is currently "in progress"—the framework utilizes Compound Value Types (CVT). As shown in the figure, CVTs map various conditions to specific answers, allowing the system to resolve "what if" scenarios through logical traversal.

Two-Stage Pipeline: Matching and Reasoning

The system operates via a two-stage pipeline:

  1. Matching: Deep learning models parse the user's query to identify relevant events, properties, and conditions.
  2. Reasoning: The system constructs a query graph based on the foundational Event Graph. It then traverses this graph—for example, following a "cause" relation across multiple hops—to determine the downstream impact of a penalty or the requirements for an operation.

This approach provides inherent explainability. Instead of a black-box prediction, the bot can cite the specific condition in the graph (e.g., a specific CVT entry) that determines the answer.

Evaluation and Results

The Event Graph was evaluated using internal Alibaba data, specifically focusing on "counterfeiting penalty" scenarios. In A/B testing, the system demonstrated an absolute 15% increase in resolution rate compared to the previous QA-pair-based model. This improvement underscores the value of structured reasoning in rule-heavy domains where precision is critical.

Conclusion and Future Work

The transition to an Event Graph architecture represents a significant step toward more intelligent and explainable customer service bots. While currently focused on penalty scenarios, the framework's success suggests broad applicability. Future efforts will focus on scaling the ontology to cover the diverse and evolving regulatory landscape of the entire Alibaba ecosystem.

Summary updated

BibTeX
@inproceedings{li2019using,
  author = {Feng-Lin Li and Kehan Chen and Yan Wan and Weijia Chen and Qi Huang and Yikun Guo},
  title = {{Using Event Graph to Improve Question Answering in E-commerce Customer Service}},
  booktitle = {ISWC (Satellites)},
  year = {2019},
}
Figure