Explanation Graph Generation via Generative Pre-training over Synthetic Graphs

Han Cui, Shangzhan Li, Yu Zhang, Qi Shi · DOI

Abstract

The generation of explanation graphs is a significant task that aims to produce explanation graphs in response to user input, revealing the internal reasoning process. This task is challenging due to the significant discrepancy between unstructured user queries and structured explanation graphs. Current research commonly fine-tunes a text-based pre-trained language model on a small downstream dataset that is annotated with labeled graphs. However, due to the limited scale of available datasets, this approach may prove to be insufficient in bridging the gap between natural language text and structured graphs. In this paper, to alleviate the above limitations, we propose a novel pre-trained framework EG3P (Explanation Graph Generation via Generative Pre-training over synthetic graphs) for the explanation graph generation task. Specifically, we first propose a text-to-graph generative task to pre-train the model with the goal of bridging the text-graph gap. Additionally, we propose an automatic corpus synthesis strategy for synthesizing a large scale of high-quality corpus, reducing the reliance on costly manual annotation methods. Experimental results on ExplaGraphs show the effectiveness of EG3P, surpassing all baseline systems with remarkable margins. Besides, further analysis demonstrates that EG3P is able to generate better explanation graphs on actual reasoning tasks such as CommonsenseQA and OpenbookQA.

Introduction: Bridging the Reasoning Gap

When an AI provides an answer, understanding the underlying logic is crucial for trust and transparency. Explanation graphs—structured diagrams showing step-by-step reasoning—offer a powerful way to visualize this process. However, generating these graphs from natural language is difficult because standard language models are trained on linear text, whereas explanation graphs are complex webs of entities and relations. This "representation gap," combined with the scarcity of high-quality human-annotated data, has limited the performance of previous models.

An example of an explanation graph task: given a belief and a counter-argument, the model must generate a structured graph explaining the reasoning.

Methods: The EG³P Framework

To address these challenges, researchers developed EG³P (Explanation Graph Generation via Generative Pre-training over synthetic graphs). The framework introduces a novel pre-training strategy that teaches a model (BART-Large) to map unstructured text to structured graphs using a massive synthetic corpus.

Synthetic Corpus Construction

Instead of relying on limited human annotations, the authors developed an automatic strategy to synthesize 20 million reasoning instances using ConceptNet. The process involves selecting a "sink" node (the answer) and traversing backward through the knowledge base to build logical reasoning paths.

The synthetic corpus construction and query synthesis process, showing how knowledge triples are converted into questions of varying difficulty (Easy, Normal, Hard).

Text-to-Graph Pre-training

These synthetic graphs are converted into natural language questions using templates. The researchers found that "Normal" difficulty queries—those resembling natural human questions—were the most effective for pre-training. During this phase, the model is tasked with taking a synthetic question and a "simulated knowledge source" (a noisy collection of facts) and outputting a clean, structured reasoning graph. This teaches the model to filter noise and structure its output before fine-tuning on specific tasks.

Key Results and Insights

EG³P demonstrates a significant leap in performance over standard fine-tuning methods and specialized models like CoCOGEN:

  • ExplaGraphs Performance: On the ExplaGraphs benchmark, EG³P improved Structural Correctness (StCA) by 12.56% and Semantic Correctness (SeCA) by 11.3% compared to a standard BART-Large baseline.
  • Generalization: The model's reasoning skills transferred effectively to new domains. On CommonsenseQA and OpenbookQA, human evaluators noted improvements in semantic accuracy of 10.5% and 12.0%, respectively.
  • Semantic vs. Structural Correctness: While many models can learn the format of a graph, EG³P showed a massive improvement in picking the correct concepts to explain an answer, indicating a deeper understanding of the reasoning task.

Conclusion and Future Work

EG³P proves that large-scale synthetic pre-training can effectively bridge the gap between natural language and structured logic. While currently limited by the relations available in ConceptNet and the scale of the underlying language model, the framework provides a scalable path toward more interpretable and logically sound AI systems. Future work may explore applying these techniques to even larger models or more diverse knowledge bases.

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