Learning to Predict Concept Ordering for Common Sense Generation

Tianhui Zhang, Danushka Bollegala, Bei Peng

Abstract

Generative Commonsense Reasoning (GCR) requires models to produce coherent sentences from a set of concepts. This study explores how the input order of these concepts influences model performance. By analyzing the CommonGen benchmark, the researchers demonstrate that the sequence in which concepts are presented to a language model significantly affects the quality and faithfulness of the generated output. They introduce a novel probabilistic ordering strategy based on ConceptNet to predict natural concept sequences. Experimental results show that fine-tuned models like BART-large, when provided with optimized concept orders, outperform much larger models like GPT-3, highlighting the importance of structural priors in commonsense generation.

Introduction

The task of Generative Commonsense Reasoning (GCR) involves creating a logical sentence from a provided set of concepts, such as {ball, batter, pitcher, throw}. While modern Large Language Models (LLMs) are highly fluent, they often struggle with "faithfulness"—ensuring all concepts are used correctly—and "relational reasoning"—understanding the logical connections between concepts.

A critical observation in this research is that the order in which concepts are fed into a model dictates the quality of the output. This paper provides the first systematic study of how concept ordering interacts with different model architectures to produce human-like commonsense sentences.

Qualitative examples showing how concept ordering affects the coherence and faithfulness of sentences generated by LLMs.

Methodology

The researchers evaluated four primary concept ordering strategies:

  1. Original: The default, often shuffled order provided in the dataset.
  2. Random: A completely shuffled sequence.
  3. Example (Gold Standard): The order in which concepts actually appear in human-written reference sentences.
  4. Probabilistic (Novel): Since human "Example" orders are unavailable at test time, the authors developed a method to predict them. They performed random walks on ConceptNet (a large commonsense knowledge graph) to estimate transition probabilities between concepts, modeling the sequence as a first-order Markov chain.

These strategies were tested across five fine-tuned models (BERT-gen, BART-base/large, T5-base/large) and three LLMs (GPT-3 Babbage/Curie and GPT-3.5 Turbo) using the CommonGen benchmark. CommonGen consists of roughly 3.5k distinct concept sets designed to test relational reasoning and compositional generalization.

Key Insights

The study revealed several critical aspects of how models process commonsense information:

  • Humans are Active Reorderers: There is a weak correlation ($\tau = 0.328$) between the order concepts are presented to humans and the order humans actually use in sentences. This suggests that commonsense reasoning involves a significant restructuring of information for narrative flow.
  • Ordering-Quality Correlation: There is a direct alignment between the Kendall’s $\tau$ (a metric for how close the input order is to the human order) and generation metrics like BLEU or CIDEr. Improving the input order directly translates to higher sentence quality.
  • LLM Performance Gap: In zero-shot or few-shot scenarios, massive models like GPT-3.5 Turbo actually underperformed compared to smaller, task-specifically fine-tuned models. LLMs often failed to include all concepts or produced sentences that defied commonsense logic.

Results

The experimental results highlight the superiority of fine-tuned models when paired with optimized ordering. BART-large, fine-tuned with "Example" ordering, achieved the highest scores across the board, including a 33.8 BLEU4 and 99.1% Concept Coverage.

Performance comparison of different ordering strategies across various models on the CommonGen dataset.

The "Probabilistic" ordering strategy based on ConceptNet significantly outperformed the original dataset ordering, raising the Kendall’s $\tau$ from 0.328 to 0.402. This proves that external knowledge graphs can effectively "teach" a model how to sequence its thoughts. While GPT-3 (Curie) using Example ordering reached a respectable BLEU4 of 25.5, it remained significantly behind the fine-tuned BART-large.

Conclusion and Future Work

This research underscores that for commonsense generation, how you ask is as important as what you ask. While fine-tuned models currently lead, future work could explore complex prompt engineering to help LLMs achieve better internal ordering without full fine-tuning. Limitations include the study's focus on English and the potential for fine-tuning to amplify social biases inherent in the underlying language models.

Summary updated

BibTeX
@inproceedings{zhang2023learning,
  author = {Tianhui Zhang and Danushka Bollegala and Bei Peng},
  title = {{Learning to Predict Concept Ordering for Common Sense Generation}},
  booktitle = {Ijcnlp},
  year = {2023},
  doi = {10.18653/v1/2023.ijcnlp-short.2},
}
Figure