[Paper Review] Language Generation with Multi-Hop Reasoning on Commonsense Knowledge Graph
This paper proposes GRF, a novel text generation model that performs dynamic multi-hop reasoning over commonsense knowledge graphs to enhance generation with explicit, grounded reasoning. By leveraging structural and semantic information from multi-relational paths, GRF outperforms strong baselines on story ending, abductive, and explanation generation tasks, demonstrating improved factual consistency and interpretability through learned reasoning paths.
Despite the success of generative pre-trained language models on a series of text generation tasks, they still suffer in cases where reasoning over underlying commonsense knowledge is required during generation. Existing approaches that integrate commonsense knowledge into generative pre-trained language models simply transfer relational knowledge by post-training on individual knowledge triples while ignoring rich connections within the knowledge graph. We argue that exploiting both the structural and semantic information of the knowledge graph facilitates commonsense-aware text generation. In this paper, we propose Generation with Multi-Hop Reasoning Flow (GRF) that enables pre-trained models with dynamic multi-hop reasoning on multi-relational paths extracted from the external commonsense knowledge graph. We empirically show that our model outperforms existing baselines on three text generation tasks that require reasoning over commonsense knowledge. We also demonstrate the effectiveness of the dynamic multi-hop reasoning module with reasoning paths inferred by the model that provide rationale to the generation.
Motivation & Objective
- To address the limitation of pre-trained language models in generating text that requires reasoning over implicit commonsense knowledge.
- To overcome the shortcomings of existing methods that treat commonsense knowledge as isolated triples, ignoring structural connections in knowledge graphs.
- To develop a dynamic multi-hop reasoning mechanism that aggregates evidence along relational paths for grounded concept generation.
- To improve factual consistency and interpretability in text generation by integrating structural knowledge graph reasoning with pre-trained language models.
Proposed method
- The model encodes multi-relational knowledge graphs using a non-parametric compositional operation to generate graph-aware representations of concepts and relations.
- A dynamic multi-hop reasoning module aggregates evidence along multiple relational paths, scoring nodes based on contextual relevance and path plausibility.
- The module uses a learnable gate mechanism controlled by a hyper-parameter γ to balance local and long-range evidence flow, preventing over-smoothing or under-utilization of paths.
- The generation head combines copy probability from the knowledge graph with vocabulary word probability via a gating mechanism, enabling precise concept selection.
- The model is fine-tuned end-to-end on three commonsense-aware text generation tasks: story ending, abductive generation, and explanation generation.
- Reasoning paths are visualized to demonstrate interpretability, showing how the model selects salient concepts through multi-hop evidence chains.
Experimental results
Research questions
- RQ1Can multi-hop reasoning over structured commonsense knowledge graphs improve factual consistency in text generation compared to single-triple or no-knowledge baselines?
- RQ2How does dynamic evidence aggregation along relational paths affect the model's ability to generate contextually and semantically grounded concepts?
- RQ3To what extent does incorporating structural knowledge from knowledge graphs enhance generalization, especially with limited training data?
- RQ4Can the model's reasoning paths be interpreted as valid rationales for its generation decisions?
- RQ5How sensitive is performance to the design of the multi-hop reasoning module's information flow mechanism?
Key findings
- GRF outperforms strong baselines, including GPT-2 fine-tuned on text-only data and GPT-2 post-trained on OMCS triples, across three commonsense-aware text generation tasks.
- The model achieves consistent performance gains across varying training data sizes, demonstrating improved generalization through knowledge graph integration.
- Optimal performance is achieved with γ ≈ 0.5 in the multi-hop reasoning module, indicating a balance between local and long-range evidence utilization.
- Case studies show GRF generates more specific, contextually appropriate concepts—such as 'seasick' or 'made from corn'—compared to general or incorrect outputs from baselines.
- Visualized reasoning paths demonstrate that the model selects plausible intermediate concepts (e.g., 'play' as a verb for 'puppy' and 'adopt') based on contextual cues and relational plausibility.
- Human evaluation confirms that GRF outputs are more factually grounded and semantically coherent, with reasoning paths providing interpretable rationales for key generation decisions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.