Distinguish Before Answer: Generating Contrastive Explanation as Knowledge for Commonsense Question Answering

Qianglong Chen, Guohai Xu, Ming Yan, Ji Zhang, Fei Huang, Luo Si, Yin Zhang · DOI

Abstract

While Large Language Models (LLMs) demonstrate impressive factual recall, they often struggle with the nuanced "distinguishability" required for complex commonsense reasoning. Traditional knowledge-enhanced models typically retrieve isolated facts from symbolic databases, which can be noisy or contextually irrelevant. This paper introduces CPACE (Concept-centric Prompt-bAsed Contrastive Explanation generation), a framework that transforms raw symbolic knowledge into natural language contrastive explanations. By explicitly highlighting the differences between candidate answers before making a final selection, the CPACE model achieves state-of-the-art performance on the CommonsenseQA (CSQA) benchmark, notably surpassing the human baseline.

1. Introduction

Commonsense question answering requires more than just factual knowledge; it requires the ability to discriminate between closely related concepts. When presented with multiple-choice questions, models often fail not because they lack information about the correct answer, but because they cannot articulate why the correct answer is superior to the distractors.

Existing methods often rely on retrieving triples from knowledge graphs like ConceptNet. However, these raw triples (e.g., "doctor AtLocation hospital") lack the explanatory power needed to resolve ambiguity in complex scenarios. To address this, we propose a "distinguish before answer" paradigm. This approach shifts the focus from simple knowledge retrieval to the generation of contrastive explanations—natural language descriptions that synthesize knowledge to clarify the boundaries between potential choices.

2. The CPACE Framework

The CPACE workflow is structured into three distinct stages designed to move from raw data to reasoned inference.

2.1 Symbolic Knowledge Acquisition

The process begins by identifying key concepts within the question and its candidate answers using a RoBERTa-based recognizer. For each identified concept, the system retrieves structured data from two primary sources:

  • ConceptNet: To provide relational triples (e.g., magazine AtLocation bookstore).
  • Cambridge Dictionary: To provide formal definitions that offer semantic depth.

2.2 Contrastive Explanation Generation

This stage represents the core innovation of the framework. Rather than feeding raw, fragmented data into the final classifier, CPACE employs a fine-tuned BART model to synthesize the retrieved information. Using human-designed prompts—such as "Given concept sets, the difference among them is..."—the model generates a coherent paragraph. This paragraph explicitly compares the candidates, filtering out irrelevant noise and focusing on the discriminative features that separate the correct answer from the distractors.

2.3 Explanation-Enhanced Inference

In the final stage, the generated contrastive explanation is prepended to the original question and candidate set. This enriched input is then processed by a high-capacity encoder, such as ALBERT or DeBERTaV3. By "reading" the explanation first, the encoder can leverage the synthesized reasoning to make a more informed final prediction.

3. Experimental Evaluation

3.1 Datasets

The researchers evaluated CPACE across three major commonsense reasoning benchmarks:

  • CSQA (CommonsenseQA): A benchmark for general commonsense knowledge.
  • QASC: A dataset focused on multi-hop reasoning and sentence composition.
  • OBQA (OpenBookQA): A dataset modeled after elementary science exams.

To train the BART-based generator, the authors utilized existing datasets containing human-annotated explanations, including ECQA, eQASC, and e-SNLI.

3.2 Results and Performance

The CPACE model demonstrated significant performance gains across all tested benchmarks:

  • Surpassing Human Performance: On the CSQA leaderboard, the CPACE ensemble reached an accuracy of 89.8%, exceeding the human baseline of 88.9%.
  • Ablation Gains: On the CSQA development set, the addition of contrastive explanations boosted the performance of a standard ALBERT model from 73.8% to 85.2%.
  • Cross-Domain Success: The model showed robust generalization, improving performance on QASC by 4.2% and OBQA by 3.5% compared to previous state-of-the-art methods.

4. Discussion

4.1 The Power of Contrast

The primary advantage of CPACE lies in its focus on discriminative features. By forcing the model to explain why one concept differs from another, the framework effectively filters the "noise" inherent in general knowledge bases. This contrastive approach aligns more closely with human cognitive processes, where understanding is often defined by boundaries and distinctions.

4.2 Interpretability

Beyond performance metrics, CPACE offers enhanced interpretability. Because the model generates a natural language explanation prior to answering, the "thought process" becomes transparent. For instance, if a model distinguishes between a "bookstore" and a "doctor," the generated text might explicitly state: "A bookstore is a location where printed materials are sold, whereas a doctor is a professional individual." This allows users to verify the logic behind the model's decision.

5. Conclusion and Future Work

CPACE demonstrates that generating contrastive explanations is a highly effective strategy for commonsense reasoning. While the current model relies on human-annotated explanation datasets for training, future research may explore the use of "Chain-of-Thought" (CoT) prompting with larger models like GPT-4 to generate these explanations dynamically. Additionally, extending this framework from multiple-choice formats to open-ended generative tasks remains a promising area for further development.

Summary updated

BibTeX
@inproceedings{chen2023distinguish,
  author = {Qianglong Chen and Guohai Xu and Ming Yan and Ji Zhang and Fei Huang and Luo Si and Yin Zhang},
  title = {{Distinguish Before Answer: Generating Contrastive Explanation as Knowledge for Commonsense Question Answering}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.835},
}
Figure