Abstract
Large language models (LMs) often struggle with zero-shot commonsense reasoning, experiencing significant performance drops when evaluated on tasks without task-specific fine-tuning. This paper introduces a neuro-symbolic framework that automatically transforms structured Knowledge Graphs (KGs) into synthetic multiple-choice questions. By pre-training LMs on this "artificial commonsense" data using a marginal ranking loss, the authors demonstrate substantial improvements in zero-shot performance across diverse reasoning benchmarks, proving that structured external knowledge can effectively teach models to reason without task-specific labels.
The Challenge of Zero-Shot Reasoning
While large language models like RoBERTa achieve near-human scores on many commonsense benchmarks, there is evidence they may be overfitting to dataset-specific quirks rather than learning generalized reasoning. When tested in a zero-shot setting—where a model is evaluated on a new task without any fine-tuning—performance often drops by as much as 50%. The fundamental challenge is bridging the gap between structured knowledge bases (like ConceptNet or ATOMIC) and the unstructured natural language reasoning required for real-world tasks.
Methodology: From Knowledge Graphs to Synthetic QA
The authors propose a neuro-symbolic pipeline designed to "inject" structured knowledge into LMs by converting KG triples (subject, relation, object) into natural language question-answer pairs.
1. Synthetic QA Generation
Triples are "lexicalized" using templates. For instance, the triple (losing weight, UsedFor, being healthier) is transformed into the question: "losing weight is for..." with the correct answer "being healthier."
2. Distractor Sampling
To ensure the model learns to distinguish between plausible and implausible reasoning, the authors devised four strategies for selecting distractors (wrong answers):
- Random: Selecting random tails from the KG with the same relation.
- Adv-answer: Picking distractors semantically similar to the correct answer.
- Adv-question: Picking distractors semantically similar to the question context.
- Adv-filter (AFLite): An algorithmic approach to filter out "easy" examples that models might solve via simple pattern matching.
3. Training with Marginal Ranking Loss
Rather than standard Masked Language Modeling (MLM), the framework utilizes Marginal Ranking (MR) loss. This forces the model to rank the correct answer higher than distractors, preserving the multiple-choice structure of the target evaluation tasks.
Experimental Results
The framework was evaluated across five major benchmarks: aNLI (abductive reasoning), CSQA (general concepts), PIQA (physical interaction), SIQA (social interaction), and WG (WinoGrande logic).
Key findings include:
- Significant Gains: RoBERTa-L performance on SocialIQA (SIQA) jumped from 47.3% to 63.2%. On CommonsenseQA (CSQA), accuracy rose from 45.0% to 67.9%.
- Knowledge Alignment: The choice of KG matters. ATOMIC is highly effective for social tasks (SIQA), while ConceptNet/Wikidata (CWWV) excel at physical or conceptual tasks. The combined CSKG (Common Sense Knowledge Graph) provided the most consistent performance across all benchmarks.
- Human-Machine Gap: Humans find these synthetic questions relatively easy (~80% accuracy), while vanilla LMs find them difficult (~45%), indicating that KGs contain the "obvious" knowledge currently missing from standard LMs.
Discussion and Limitations
While the framework provides a powerful way to leverage structured knowledge, it faces certain limitations. Because KGs are inherently incomplete, the system occasionally generates "unfair" questions where a distractor might actually be a valid answer not present in the database. Additionally, template-based questions can sometimes feel ungrammatical or clunky.
Future work will explore less structured knowledge sources, such as WikiHow, and refine distractor generation to improve the naturalness and fairness of the synthetic tasks.
Summary updated