Abstract
TSGP (Two-Stage Generative Prompting) is a novel unsupervised framework designed to enhance the ability of language models to solve commonsense question answering (CSQA) tasks without labeled training data. By prompting models to first generate relevant background knowledge and subsequently brainstorm potential answers, TSGP bridges the reasoning gap between questions and multiple-choice options. This approach achieves state-of-the-art performance for unsupervised models across several major benchmarks.
Introduction: The Challenge of Commonsense
Commonsense Question Answering (CSQA) represents a significant challenge in Natural Language Processing (NLP), requiring machines to understand everyday logic that humans find intuitive. While supervised models perform well, they are costly to train and often struggle with generalization. Unsupervised approaches offer more flexibility but face hurdles in knowledge retrieval and reasoning bias, where models may prioritize surface-level patterns over logical deduction.
The TSGP Framework
The Two-Stage Generative Prompting (TSGP) framework introduces a "think-then-answer" workflow. Unlike traditional methods that score multiple-choice options directly, TSGP encourages the model to generate its own reasoning path.
The process consists of four key stages:
- Knowledge Generation: The model generates potential knowledge snippets based on a few hand-written examples.
- Knowledge Selection: Point-wise Mutual Information (PMI) is used to rank and select the most relevant knowledge snippet, reducing the impact of "hallucinations."
- Answer Generation: The model generates "pseudo-answers" using the selected knowledge as a hint, notably before viewing the actual multiple-choice options.
- Answer Prediction: Finally, the framework compares these pseudo-answers to the provided choices using a semantic similarity model (SRoBERTa-NLI) to select the best match.
Evaluation and Benchmarks
TSGP was evaluated on three diverse commonsense benchmarks:
- CommonsenseQA: Focuses on general knowledge and entity relationships.
- OpenBookQA: Mimics elementary science exams, applying facts to new situations.
- SocialIQA: Tests social intelligence regarding human behavior and motivations.
Key Insights and Results
The core innovation of TSGP is making implicit knowledge explicit. By requiring the model to "write down" its reasoning, the final prediction step is simplified. Furthermore, generating answers independently of the provided choices helps avoid the "distractor effect," where incorrect but statistically similar options might mislead the model.
TSGP significantly outperformed previous unsupervised state-of-the-art methods:
- CommonsenseQA: 49.1% accuracy (vs. 32.3% baseline).
- OpenBookQA: 44.4% accuracy (vs. 22.8% baseline).
- SocialIQA: 51.5% accuracy (vs. 42.8% baseline).
Human evaluation indicated that 82% of the generated knowledge was relevant, though only 64% was directly useful for solving the problem, highlighting a potential area for future refinement.
Conclusion and Future Directions
While TSGP demonstrates the power of structured prompting even in smaller models like GPT-2, there is room for growth. Future work may involve optimizing prompt engineering, reducing computational costs associated with multi-stage generation, and scaling the framework to larger models like GPT-4 to further bridge the "useful knowledge" gap.
Summary updated