Explanation Graph Generation via Generative Pre-training over Synthetic Graphs

Han Cui, Shangzhan Li, Yu Zhang, Qi Shi

Abstract

In the pursuit of interpretable artificial intelligence, explanation graphs serve as structured reasoning paths that connect concepts to conclusions. However, the scarcity of human-annotated data and the inherent structural gap between linear text and hierarchical graphs pose significant challenges. This paper introduces $EG^3P$, a framework that utilizes generative pre-training over a massive synthetic corpus of 20 million explanation graphs. By "inverting" the data bottleneck—generating graphs first and then synthesizing corresponding natural language queries—the model learns the structural and relational logic required for complex reasoning. Experimental results on the ExplaGraphs benchmark show that $EG^3P$ achieves state-of-the-art performance, with significant gains in both structural and semantic correctness. Furthermore, the model demonstrates robust zero-shot generalization on external tasks such as CommonsenseQA and OpenbookQA.

Introduction: The Challenge of Structured Reasoning

Standard language models are proficient at generating fluent text, but they often struggle to provide verifiable, structured explanations for their reasoning. Explanation graphs address this by representing reasoning as a Directed Acyclic Graph (DAG) of concept triples. Unlike raw text, these graphs provide a clear path showing how a model connects disparate concepts to reach a final stance.

Figure 1: An example of an explanation graph mapping a belief and counter-argument to a structured reasoning path.

The primary hurdles in this field are the structural gap—models are typically pre-trained on linear text, not triples—and data scarcity. Human annotation for these graphs is expensive and rare, leading to small datasets that fail to capture the breadth of commonsense reasoning required for real-world applications.

Methods: Bridging the Gap with Synthetic Data

The authors propose $EG^3P$, which involves a two-stage process: large-scale generative pre-training over synthetic graphs followed by task-specific fine-tuning.

Synthetic Corpus Construction

Rather than relying on limited human labels, the researchers leveraged ConceptNet to "grow" 20 million reasoning paths. They started with a "sink" node (the answer) and performed backward walks through the knowledge base to find supporting concepts and relations. These paths were then converted into natural language queries using templates at three difficulty levels:

  • Easy: Direct templates of the triples.
  • Normal: Natural language-like expressions.
  • Hard: Minimalist queries with most intermediate reasoning removed.

The "Text-to-Graph" Pre-training Task

The core innovation is the "Text-to-Graph" pre-training task. The model (BART-Large) is tasked with taking a synthetic query and a "Simulated Knowledge Source"—a collection of relevant and distractor triples—and generating the correct reasoning graph.

Figure 6: The Text-to-Graph pre-training task, where the model generates a structured graph from a synthetic question and a knowledge source.

As shown in the example above, the model must filter out noise and output the correct triples in a specific depth-first search order. This teaches the model structural constraints (e.g., ensuring the output is a connected DAG) and relational logic (e.g., understanding that if A causes B and B causes C, then A causes C).

Key Insights and Results

  • Inverting the Search: Generating a graph first and then describing it with text is computationally efficient and provides virtually infinite training data, solving the data bottleneck.
  • The "Normal" Sweet Spot: Pre-training on queries that resemble human language ("Normal" difficulty) provides the best transfer to real-world tasks. If the pre-training task is too simple, the model fails to generalize to natural language.
  • State-of-the-Art Performance: On the ExplaGraphs benchmark, $EG^3P$ achieved a 50.75% Structural Correctness Accuracy (StCA) and 31.25% Semantic Correctness Accuracy (SeCA), significantly outperforming the previous state-of-the-art model, COCOGEN.
  • Zero-Shot Generalization: On CommonsenseQA and OpenbookQA, human evaluators noted a 10.5% and 12.0% improvement in semantic accuracy, respectively, compared to models without synthetic pre-training. This suggests the model successfully learned generalizable reasoning patterns.

Conclusion and Future Work

$EG^3P$ demonstrates that large-scale synthetic pre-training can effectively bridge the gap between unstructured text and structured logic. While currently limited by the BART-Large backbone and reliance on ConceptNet, future work could scale this approach to larger LLMs and more diverse, domain-specific knowledge bases. Improving automated evaluation metrics to better capture the nuances of human-like reasoning remains a critical area for future research.

Summary updated

BibTeX
@inproceedings{cui2023explanation,
  author = {Han Cui and Shangzhan Li and Yu Zhang and Qi Shi},
  title = {{Explanation Graph Generation via Generative Pre-training over Synthetic Graphs}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.629},
}
Figure