Product-Aware Answer Generation in E-Commerce Question-Answering

Shen Gao, Zhaochun Ren, Yihong Eric Zhao, Dongyan Zhao, Dawei Yin, Rui Yan

Abstract

Automated question-answering (QA) in e-commerce is often hindered by the informal nature of customer reviews and the difficulty of integrating structured product specifications. We present the Product-Aware Answer Generator (PAAG), a framework designed to synthesize natural-sounding, factually grounded answers by leveraging both unstructured reviews and structured product attributes. PAAG employs a gated fusion mechanism to denoise reviews and a Key-Value Memory Network for attribute encoding. To address the issue of generic or "hallucinated" responses, we introduce an adversarial consistency discriminator based on WGAN-GP. Evaluations on a large-scale dataset from JD.com show that PAAG significantly outperforms existing baselines, achieving a 111% improvement in BLEU scores and superior human ratings for consistency and fluency.

1. Introduction

In e-commerce, users often seek specific information—such as whether a garment is suitable for pregnancy—that may not be explicitly stated in a product's main description. While community QA platforms allow users to help one another, many questions remain unanswered for long periods. Automated systems could bridge this gap, but they face three primary challenges:

  1. Noise: Customer reviews are often informal and contain irrelevant information.
  2. Data Heterogeneity: Models struggle to process both unstructured text and structured key-value pairs (e.g., "Material: Silk").
  3. Generic Responses: Standard models often default to safe but unhelpful answers like "I'm not sure."

2. The PAAG Architecture

To overcome these hurdles, the PAAG model integrates four specialized components designed to extract and fuse relevant information while maintaining factual integrity.

The PAAG architecture featuring the Review Reader, Attribute Encoder, Facts Decoder, and Consistency Discriminator.
  • Review Reader: Utilizes a Bi-directional RNN with a gated fusion mechanism. This component acts as a filter, focusing on question-relevant segments of reviews while ignoring noise.
  • Attribute Encoder: Uses a Key-Value Memory Network (KVMN) to store and retrieve structured product data based on the input question.
  • Facts Decoder: An RNN-based decoder that synthesizes representations from both reviews and attributes. It includes a pointer mechanism to copy specific technical terms or brand names directly into the answer.
  • Consistency Discriminator: This novel adversarial module (WGAN-GP) penalizes the generator if the output does not match the facts found in the input data, effectively forcing the model to be factually consistent rather than just fluent.

3. Experimental Setup and Results

The model was trained and tested on a massive dataset from JD.com, encompassing 469,953 products across 38 categories. Each entry includes question-answer pairs, multiple customer reviews, and structured attributes.

Key Performance Metrics

PAAG demonstrated a substantial leap over state-of-the-art baselines like SNet. Key results include:

  • Automatic Evaluation: A 111% improvement in BLEU score over the SNet baseline.
  • Human Evaluation: Blind tests rated PAAG at 2.86/3.0 for Fluency and 2.20/3.0 for Consistency.
  • Ablation Studies: Removing the adversarial discriminator led to a marked decrease in performance, confirming its role in preventing generic responses.
Training dynamics showing cosine similarity improvements and embedding greedy scores across different parameter scales.

4. Discussion and Future Work

PAAG successfully bridges the gap between experiential facts in reviews and technical facts in spec sheets. By using adversarial fact-checking, the model moves beyond simple statistical word prediction toward grounded knowledge synthesis.

However, limitations remain. The current system uses a "single-hop" attribute encoder, which may struggle with complex questions requiring multi-step reasoning. Furthermore, performance varies across product domains, and generating long-form, detailed explanations remains a challenge for future iterations of the framework.

Summary updated

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
real-world e-commerce dataset · dataset from a real-world e-commerce websitePAAG (RAGFWD + Gradient Penalty)BLEU2.0189+1.06 vs baselineOverall baseline comparison. QA pairs are associated with the corresponding product's r…
Source quote
L435: PAAG │ 2.0189 (\blacktriangle) │ 16.2232 (\blacktriangle) │ 3.5711 (\blacktriangle) │ 1.0290 (\blacktriangle) │ 0.2787 (\blacktriangle)
real-world e-commerce dataset · dataset from a real-world e-commerce websitePAAG (RAGFWD + Gradient Penalty)Embedding Greedy103.912364+8.12 vs baselineOverall baseline comparison. Embedding metrics measure semantic similarity between gene…
Source quote
L456: PAAG │ 0.424218 (\blacktriangle) │ 103.912364 (\blacktriangle) │ 0.288321 (\blacktriangle)
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
real-world e-commerce dataset · dataset from a real-world e-commerce websiteSNet baselineBLEU0.9550Overall baseline comparison. SNet is adapted because the dataset has no text-span label…
Source quote
L432: \cbkgrnd SNet │ \cbkgrnd 0.9550 │ \cbkgrnd 13.7029 │ \cbkgrnd 2.5374 │ \cbkgrnd 0.4007 │ \cbkgrnd 0.0597
real-world e-commerce dataset · dataset from a real-world e-commerce websiteSNet baselineEmbedding Greedy95.791356Overall baseline comparison. SNet is adapted because the dataset has no text-span label…
Source quote
L453: \cbkgrnd SNet │ \cbkgrnd 0.397162 │ \cbkgrnd 95.791356 │ \cbkgrnd 0.277781
BibTeX
@inproceedings{gao2019product,
  author = {Shen Gao and Zhaochun Ren and Yihong Eric Zhao and Dongyan Zhao and Dawei Yin and Rui Yan},
  title = {{Product-Aware Answer Generation in E-Commerce Question-Answering}},
  booktitle = {WSDM},
  year = {2019},
  doi = {10.1145/3289600.3290992},
}
Figure