AnswerSumm: A Manually-Curated Dataset and Pipeline for Answer Summarization

Alexander R. Fabbri, Xiaojian Wu, Srini Iyer, Haoran Li, Mona T. Diab

Introduction

Community Question Answering (CQA) platforms, such as Stack Overflow and StackExchange, serve as vast repositories of human knowledge. However, the decentralized nature of these forums often results in a single question receiving numerous answers, each offering different perspectives, levels of detail, or even conflicting advice. While users typically rely on a "best answer" selected by the community, this single response rarely captures the full breadth of information available across an entire thread.

The task of multi-perspective answer summarization aims to distill these diverse viewpoints into a single, coherent summary. Despite its utility, progress in this field has been hampered by a lack of high-quality, manually-curated datasets. Existing resources often rely on noisy heuristics, such as using the "best answer" as a proxy for a summary, which fails to represent the multi-faceted nature of forum discussions. This paper introduces AnswerSumm, a novel dataset of 4,631 CQA threads designed to provide a robust benchmark for this complex task.

The AnswerSumm Dataset

AnswerSumm consists of 4,631 threads curated from various StackExchange forums, including English, Cooking, Gaming, and SciFi. To ensure high quality, the dataset was annotated by ten professional linguists. Unlike previous datasets that provide only a final summary, AnswerSumm includes annotations for every step of the summarization process: relevance filtering, perspective clustering, and cluster-level summarization.

Comparison of AnswerSumm with standard summarization benchmarks.

As shown in Figure 3, AnswerSumm occupies a unique space compared to standard benchmarks like XSum or CNN/DailyMail. While it is more abstractive than CNN/DailyMail (21.0% novel unigrams vs. 16.8%), it remains less abstractive than the highly compressed XSum. Furthermore, the input length for AnswerSumm is significantly higher, reflecting the challenge of processing multiple long-form answers across a single thread.

Methodology

The researchers proposed a comprehensive pipeline for both data creation and model training, decomposing the summarization task into four distinct sub-tasks.

The Annotation Pipeline

The annotation process was structured to mirror the cognitive steps required for complex summarization:

  1. SentSelect: Identifying sentences within the answers that are relevant to the original question.
  2. Clustering: Grouping relevant sentences based on the specific perspective or topic they address.
  3. ClusterSumm: Generating a concise summary for each identified cluster.
  4. Fusion: Combining these cluster summaries into a final, unified output.
The multi-stage annotation pipeline for AnswerSumm.

Unsupervised Data Augmentation and RL Training

To address the data scarcity common in specialized domains, the authors developed an unsupervised pipeline to generate "silver" training data. This pipeline uses a relevance model for filtering and a clustering algorithm to identify perspectives, selecting "centroid" sentences to form summaries.

For model optimization, a BART-large model was fine-tuned using Reinforcement Learning (RL) with two innovative rewards:

  • NLI (Natural Language Inference): This reward ensures factual consistency by penalizing summaries that are not logically entailed by the source answers.
  • Semantic Area: This novel geometric metric projects sentence embeddings into a 2D space. By maximizing the "area" (convex hull) covered by the summary sentences, the model is encouraged to cover a wider range of the perspectives present in the original source.

Key Insights and Results

The study yielded several critical insights into the nature of CQA summarization:

  • The "Best Answer" Fallacy: Analysis revealed that only 37% of "best answers" in existing datasets actually contained multiple perspectives. In contrast, 75% of AnswerSumm threads required a multi-perspective approach for an accurate summary, proving that "best answers" are poor proxies for comprehensive summaries.
  • Clustering as the Bottleneck: While models performed well at fusing summaries, identifying and summarizing distinct clusters of perspectives proved to be the primary performance bottleneck.
  • Performance Gains: The baseline BART-large model achieved a ROUGE-L of 24.01. Incorporating augmented "silver" data (BART-aug) boosted this to 24.63. The addition of RL rewards further improved factual consistency (NLI score increased from 0.74 to 0.76) and significantly expanded perspective coverage (Semantic Area increased from 0.01 to 0.05).

Discussion and Limitations

Despite these advancements, a significant "abstraction gap" remains. Human-written summaries in AnswerSumm contain roughly 21% novel words, whereas the best models only reach about 4%, tending toward more extractive behavior. Additionally, the subjectivity of relevance remains a challenge; inter-annotator agreement for sentence selection reached only a "fair" Kappa of 0.25, suggesting that relevance is often in the eye of the beholder.

Future work will focus on bridging the abstraction gap and exploring more granular segmentation, such as clause-level analysis, to better handle the intricate, multi-point answers typical of expert forums.

Summary updated

Abstract

Community Question Answering (CQA) fora such as Stack Overflow and Yahoo! Answers contain a rich resource of answers to a wide range of community-based questions. Each question thread can receive a large number of answers with different perspectives. One goal of answer summarization is to produce a summary that reflects the range of answer perspectives. A major obstacle for this task is the absence of a dataset to provide supervision for producing such summaries. Recent works propose heuristics to create such data, but these are often noisy and do not cover all answer perspectives present. This work introduces a novel dataset of 4,631 CQA threads for answer summarization curated by professional linguists. Our pipeline gathers annotations for all subtasks of answer summarization, including relevant answer sentence selection, grouping these sentences based on perspectives, summarizing each perspective, and producing an overall summary. We analyze and benchmark state-of-the-art models on these subtasks and introduce a novel unsupervised approach for multi-perspective data augmentation that boosts summarization performance according to automatic evaluation. Finally, we propose reinforcement learning rewards to improve factual consistency and answer coverage and analyze areas for improvement.
BibTeX
@inproceedings{fabbri2022answersumm,
  author = {Alexander R. Fabbri and Xiaojian Wu and Srini Iyer and Haoran Li and Mona T. Diab},
  title = {{AnswerSumm: A Manually-Curated Dataset and Pipeline for Answer Summarization}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  url = {https://openreview.net/forum?id=2cUop8VBcfm},
}
Figure