Abstract
E-commerce stores collect customer feedback to let sellers learn about customer concerns and enhance customer order experience. Because customer feedback often contains redundant information, a concise summary of the feedback can be generated to help sellers better understand the issues causing customer dissatisfaction. Previous state-of-the-art abstractive text summarization models make two major types of factual errors when producing summaries from customer feedback: wrong entity detection (WED) and incorrect product-defect description (IPD). In this work, we introduce a set of methods to enhance the factual consistency of abstractive summarization on customer feedback. We augment the training data with artificially corrupted summaries and use them as counterparts of the target summaries. We add a contrastive loss term into the training objective so that the model learns to avoid certain factual errors. Evaluation results show that a large portion of WED and IPD errors are alleviated for BART and T5. Furthermore, our approaches do not depend on the structure of the summarization model and thus are generalizable to any abstractive summarization systems.
Introduction
Modern abstractive summarization models, while fluent, frequently struggle with factual accuracy. In the context of e-commerce, where customer feedback is summarized for sellers, "hallucinations" or factual flips can lead to significant misunderstandings. This research addresses these flaws by teaching models not just what a good summary looks like, but specifically which factual traps they must avoid.
The Challenge: WED and IPD Errors
An analysis of over 600 model-generated summaries revealed that 70% of factual errors fall into two primary categories:
- Wrong Entity Detection (WED): The model identifies the wrong product (e.g., summarizing a review about a mouse as being about a "laptop").
- Incorrect Product-Defect Description (IPD): The model misrepresents the core issue (e.g., changing "not defective" to "defective").
Standard training objectives like Cross-Entropy loss maximize word probability but do not explicitly penalize these high-stakes factual blunders.
Methodology: Synthetic Corruption and Contrastive Learning
The researchers proposed a model-agnostic framework consisting of two steps:
1. Synthetic Factual Corruption
To provide negative examples, the authors automatically corrupted human-written summaries. For WED, they swapped product names with other entities using the spaCy NLP toolkit. For IPD, they used rule-based transformations to flip meanings, such as adding/removing negations or replacing adjectives with antonyms.
2. Constrained Contrastive Loss
The models were trained on triplets: (Source, Target, Corrupted Target). The most effective objective, Constrained Contrast ($L_{CC}$), forces the model to stay close to the ground truth while maintaining a specific distance from the factually incorrect version.
Key Results
The methods were evaluated on BART and T5 models using a proprietary dataset of 10,000 negative customer feedback samples. The results demonstrated substantial improvements in both factual accuracy and standard text overlap metrics.
As shown in the table above, the $L_{CC}$ method successfully corrected 63.6% of WED errors and 50% of IPD errors for the BART model. T5 saw similar, though slightly lower, improvements.
Crucially, this focus on factuality did not come at the cost of fluency. In fact, the $L_{CC}$ loss function led to improvements in ROUGE scores across the board, as detailed in the following table.
BART achieved a notable +1.12 improvement in ROUGE-2 when using the $L_{CC}$ objective. Human evaluation further confirmed these findings, with only 1-2% of originally correct summaries becoming corrupted by the new training logic, indicating the method is robust and safe for deployment.
Conclusion
By engineering the training objective to include factual boundaries, this research demonstrates that models can learn to avoid common hallucination patterns. While currently focused on e-commerce, the underlying principle of using synthetic corruption and contrastive learning is a promising path toward more reliable abstractive summarization in any domain.
Summary updated