Abstract
Prior work has shown that the ordering in which concepts are shown to a commonsense generator plays an important role, affecting the quality of the generated sentence. However, it remains a challenge to determine the optimal ordering of a given set of concepts such that a natural sentence covering all the concepts could be generated from a pretrained generator. To understand the relationship between the ordering of the input concepts and the quality of the generated sentences, we conduct a systematic study considering multiple language models (LMs) and concept ordering strategies. We find that BART-large model consistently outperforms all other LMs considered in this study when fine-tuned using the ordering of concepts as they appear in CommonGen training data as measured using multiple evaluation metrics. Moreover, the larger GPT3-based large language models (LLMs) variants do not necessarily outperform much smaller LMs on this task, even when fine-tuned on task-specific training data. Interestingly, human annotators significantly reorder input concept sets when manually writing sentences covering those concepts, and this ordering provides the best sentence generations independently of the LM used for the generation, outperforming a probabilistic concept ordering baseline.
Introduction
Generative Commonsense Reasoning (GCR) is a deceptively simple task: given a set of concepts like {ball, batter, pitcher, throw}, an AI must produce a natural sentence that uses all of them (e.g., "The pitcher throws the ball to the batter"). While modern Language Models (LMs) are proficient in syntax, they often struggle with two core aspects of GCR: relational reasoning—understanding how specific objects interact in the real world—and faithfulness—ensuring all input concepts are used without hallucination.
Previous research suggested that the sequence in which concepts are listed in a prompt affects the output. This paper fills the gap by investigating how to predict the optimal concept ordering to maximize generation quality across various model architectures.
Methodology
The study utilizes the CommonGen benchmark, containing approximately 35,000 concept sets. The researchers evaluated five fine-tuned LMs (BERT-gen, BART-base/large, T5-base/large) and several Large Language Models (GPT-3 Babbage/Curie and GPT-3.5 Turbo).
They tested four primary ordering strategies:
- Original: The default order provided in the dataset.
- Random: A shuffled baseline.
- Example (Gold Standard): Concepts ordered exactly as they appear in human-written reference sentences.
- Probabilistic: A novel approach using ConceptNet to predict a natural order. By modeling concept transitions as a first-order Markov chain based on knowledge graph co-occurrence frequencies, the researchers estimated human-like sequencing at test time.
Results and Analysis
The study found that humans are natural re-orderers; there is a very weak correlation (Kendall’s $\tau = 0.328$) between the "Original" dataset order and human-written sentences. The proposed Probabilistic ordering achieved a higher correlation of $\tau = 0.402$, proving that external knowledge can better approximate human intuition.
As shown in the results table, BART-large consistently outperformed all other models. When fine-tuned with the "Example" ordering strategy, it achieved a BLEU4 score of 33.8 and a near-perfect 99.1% Concept Coverage. Simply switching from the "Original" to the "Example" ordering for BART-large resulted in a massive jump in BLEU4 from 26.3 to 33.8.
Surprisingly, massive models like GPT-3 often underperformed compared to the smaller, fine-tuned BART-large. While LLMs produce fluent text, they frequently failed on "Coverage," either omitting required concepts or hallucinating extra ones.
Qualitative Evaluation
Qualitative analysis demonstrates how ordering impacts the logical flow and relational accuracy of the generated sentences.
In the examples provided, models using "Example ordering" produce more concise and logically sound narratives. In contrast, zero-shot or original-order outputs sometimes struggle to link concepts naturally, leading to awkward phrasing or missed relational context (e.g., the "mirror gear" example).
Conclusion
This research highlights that for commonsense generation, how you ask is as important as what you ask. By predicting human-like concept sequences through knowledge graphs like ConceptNet, we can significantly boost the performance of generative models without increasing their size. Future work will focus on adapting these strategies for multi-lingual contexts and mitigating social biases inherent in large pretrained models.
Summary updated