Product Answer Generation from Heterogeneous Sources: A New Benchmark and Best Practices

Xiaoyu Shen, Gianni Barlacchi, Marco Del Tredici, Weiwei Cheng, Bill Byrne, Adrià de Gispert2022

Abstract

It is of great value to answer product questions based on heterogeneous information sources available on web product pages, e.g., semistructured attributes, text descriptions, userprovided contents, etc. However, these sources have different structures and writing styles, which poses challenges for (1) evidence ranking, (2) source selection, and (3) answer generation. In this paper, we build a benchmark with annotations for both evidence selection and answer generation covering 6 information sources. Based on this benchmark, we conduct a comprehensive study and present a set of best practices. We show that all sources are important and contribute to answering questions. Handling all sources within one single model can produce comparable confidence scores across sources and combining multiple sources for training always helps, even for sources with totally different structures. We further propose a novel data augmentation method to iteratively create training samples for answer generation, which achieves close-to-human performance with only a few thousand annotations. Finally, we perform an in-depth error analysis of model predictions and highlight the challenges for future research.

Introduction

Answering customer questions on e-commerce platforms requires synthesizing information from a variety of sources, ranging from structured technical specifications to unstructured user reviews. Existing research often focuses on a single source, but real-world product pages are a patchwork of formats. This heterogeneity introduces three primary challenges: ranking relevant evidence across formats, selecting the most authoritative source for a specific query, and generating natural-sounding answers from raw data snippets.

Furthermore, existing datasets like AmazonQA are often noisy and biased toward user opinions rather than manufacturer-provided facts. To address these gaps, this work introduces a new large-scale benchmark containing 309,347 question-evidence pairs across six sources: Attributes, Bullet Points, Descriptions, On-site Publishing (OSP), Community QA (CQA), and User Reviews.

Methodology

The proposed system moves away from source-specific architectures toward a unified Transformer-based approach.

Homogenization and Ranking

To handle diverse data structures, the system "flattens" structured JSON attributes into simple strings. This allows a single ELECTRA-base model to perform evidence ranking across all sources simultaneously. A key finding is that training on all sources together produces calibrated confidence scores, enabling the system to select the best source simply by identifying the highest model score.

Iterative Answer Generation

For the generation phase, the researchers utilized BART-large. To mitigate the scarcity of high-quality human-annotated data, an iterative training pipeline was developed:

  1. Conditional Back-translation (CBT): Generating synthetic evidence from existing QA pairs.
  2. Noisy Self-training (NST): Creating pseudo-answers for unannotated data and introducing noise to improve model robustness.
  3. Fine-tuning: The model is "warmed up" on synthetic data before final fine-tuning on a small set of human annotations.
Impact of data augmentation strategies on P@1 scores.

Key Results and Insights

The unified approach demonstrated significant performance gains. The best ranker achieved a precision at 1 (P@1) of 0.6986, vastly outperforming traditional keyword-based methods like BM25 (0.2880).

The Mixed-Source Advantage

A notable discovery was that training on all sources together improved performance on every individual source. Linguistic patterns from unstructured reviews helped the model better interpret structured technical attributes. Access to all six sources allowed the system to answer 93.7% of questions, highlighting the importance of source coverage.

Generation Quality

Simply copying evidence snippets leads to a poor user experience. The generative model achieved a naturalness score of 95.51%, compared to only 15.44% for raw evidence. Human evaluations confirmed that generated answers were 94.4% faithful to the evidence and 95.5% natural-sounding, approaching human-level performance.

BLUE scores for different generation strategies.

Conclusion

This study provides a robust benchmark and a set of best practices for product QA. While the system achieves near-human performance in naturalness and faithfulness, challenges remain in numerical reasoning and handling typos in user queries. Future work should focus on finer-grained relevance labels and improving the model's ability to perform logical inferences from manufacturer data.

Summary updated

BibTeX
@misc{shen2022product,
  author = {Xiaoyu Shen and Gianni Barlacchi and Marco Del Tredici and Weiwei Cheng and Bill Byrne and Adrià de Gispert},
  title = {{Product Answer Generation from Heterogeneous Sources: A New Benchmark and Best Practices}},
  year = {2022},
  doi = {10.18653/v1/2022.ecnlp-1.13},
}
Figure