CosMo: Conditional Seq2Seq-based Mixture Model for Zero-Shot Commonsense Question Answering

Farhad Moghimifar, Lizhen Qu, Yue Zhuo, Mahsa Baktashmotlagh, Gholamreza Haffari · DOI

Abstract

Inferential commonsense reasoning remains a significant challenge for artificial intelligence. We present CosMo, a Conditional Seq2Seq-based Mixture model that generates diverse, context-dependent commonsense knowledge dynamically. Unlike static knowledge graphs, CosMo constructs reasoning paths on-the-fly using a latent variable mixture and a constrained Expectation-Maximization training procedure. Evaluated on the SocialIQA benchmark in a zero-shot setting, CosMo achieves a state-of-the-art accuracy of 55.0%, outperforming previous generative models by 5.2% while demonstrating significantly higher output diversity.

Introduction

Humans effortlessly infer the "why" and "what next" of social situations, yet AI systems struggle with this form of inferential commonsense reasoning. Most current approaches rely on static Knowledge Graphs (KGs) like ATOMIC, which are often incomplete or fail to generalize to unseen scenarios.

Furthermore, commonsense is inherently multi-modal: a single event (e.g., "Austin goes to the lake") can have many plausible intents, such as to fish, to relax, or to swim. Standard sequence-to-sequence (Seq2Seq) models tend to suffer from "mode collapse," where they only generate the most frequent or generic response. CosMo aims to bridge the gap between static knowledge and the dynamic, diverse nature of real-world reasoning by treating commonsense generation as a mixture of different latent "hypotheses."

Methodology

CosMo utilizes ProphetNet, a pre-trained transformer optimized for future n-gram prediction, as its core architecture. To handle diversity, the model incorporates a latent variable mixture where each value represents a different "hidden factor" or reasoning style. This allows the model to generate multiple distinct outputs for the same input context and relation.

Figure 1: The CosMo architecture illustrating the generation of diverse reasoning paths for zero-shot question answering.

To ensure the model effectively learns these diverse modes, the authors propose a constrained Expectation-Maximization (EM) procedure. This forces the model to align different target outputs in the training data with different latent components. During inference, CosMo generates "clauses" (plausible events/intents) on-demand to form a dynamic reasoning path. For zero-shot tasks, an answer scoring module calculates the cosine similarity between candidate answers and the final generated facts.

Evaluation and Results

The model was trained on the ATOMIC dataset (~877,000 social relations) and evaluated on the SocialIQA benchmark (~37,000 questions). Evaluation was conducted in a zero-shot setting, meaning the model never saw the SocialIQA training data.

Table 1: Performance comparison on the SocialIQA dataset. CosMo (one-hop) achieves state-of-the-art results among unsupervised/zero-shot models.

Key Findings

  • State-of-the-Art Performance: In the zero-shot setting on SocialIQA, CosMo (one-hop) achieved 55.0% accuracy on the test set, representing a +5.2% improvement over the previous best model, COMET-CGA.
  • Superior Diversity: Quantitatively, CosMo significantly outperformed baselines in diversity metrics. On the ATOMIC test set, CosMo achieved a div_ngram score of 80.72, compared to COMET's 43.19.
  • Qualitative Edge: Qualitative analysis showed that CosMo generates more relevant and varied reasons for social actions (e.g., "to be fair" vs. generic phrases) compared to baseline models.

Discussion and Conclusion

CosMo demonstrates that generative, on-demand knowledge construction is a flexible and effective alternative to static knowledge graphs for social reasoning. By acknowledging that there are many "true" answers in commonsense reasoning and forcing the model to maintain diverse hypotheses, CosMo achieves superior coverage of the reasoning space.

While CosMo leads in zero-shot performance, it still lags behind fully supervised models (like RoBERTa finetuned on SocialIQA), which reach ~77% accuracy. This suggests that distilled commonsense knowledge is not yet a perfect substitute for task-specific training. Future work will focus on extending this approach to deeper, multi-hop reasoning chains and developing more sophisticated neural logic for answer verification.

Summary updated

BibTeX
@inproceedings{moghimifar2020cosmo,
  author = {Farhad Moghimifar and Lizhen Qu and Yue Zhuo and Mahsa Baktashmotlagh and Gholamreza Haffari},
  title = {{CosMo: Conditional Seq2Seq-based Mixture Model for Zero-Shot Commonsense Question Answering}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.coling-main.467},
}
Figure