Abstract
Long text generation remains a significant challenge for standard language models, which often suffer from semantic drift and a lack of global coherence. We present the Multi-hop Reasoning Generation (MRG) framework, which mimics human imagination by explicitly planning "skeleton paths" of concepts over a knowledge graph before sentence realization. By navigating from existing context to new target concepts through intermediate bridge nodes, MRG produces more coherent, diverse, and informative narratives. Evaluations across story, review, and product description generation tasks demonstrate that MRG significantly outperforms strong baselines, including fine-tuned GPT-2.
Introduction
While modern AI models excel at generating fluent individual sentences, maintaining high-level logic across long, multi-sentence texts—such as stories or product reviews—remains difficult. Standard generative models like Transformers and GPT-2 primarily rely on word-level statistical dependencies, often leading to repetitive loops or a loss of narrative focus over time.
In contrast, humans use a form of mental "imagination" to bridge ideas, transitioning from a central concept (e.g., wedding) to related themes (e.g., bride, church) to maintain a coherent thread. This research introduces a structured approach to this process by using knowledge graphs to plan transitions between sentences, ensuring that each new sentence is logically anchored to the preceding context.
Methodology: The MRG Framework
The Multi-hop Reasoning Generation (MRG) framework consists of two primary stages designed to separate high-level planning from low-level linguistic realization.
1. Graph-based Multi-hop Reasoning Module
This module serves as the "planner." It identifies key concepts in the current context and navigates a knowledge graph (KG) to find a "skeleton path" to concepts for the subsequent sentence. Using a BERT-based sequence labeler, the module distinguishes between target concepts (destinations), intermediate concepts (bridges), and irrelevant nodes.
2. Path-aware Sentence Realization Module
The second stage is a Transformer-based encoder-decoder that takes the inferred skeleton path and "fleshes it out" into a fluent sentence. This explicit reasoning provides interpretability; for instance, a path like wedding → bride → dance explains the model's thematic choices. To train these modules without explicit human "thought path" data, the authors developed a pseudo-parallel corpus by extracting paths between sentences in existing text datasets.
Experimental Setup
The model was evaluated on three distinct tasks: Story Generation (VIST dataset), Review Generation (Yelp Challenge), and Product Description Generation (Taobao dataset). Knowledge was sourced from ConceptNet for general reasoning and Self-constructed Graphs built using Point-wise Mutual Information (PMI) to capture domain-specific word associations.
Results and Discussion
MRG demonstrated substantial improvements over baselines in both automatic and human evaluations. In story generation, MRG improved the "Dist-3" diversity score by 22.6%, while in review generation, the improvement reached 55.8%.
Key Insights
- Structure vs. Scale: MRG outperformed much larger models like GPT-2 in coherence and diversity, suggesting that explicit structural planning is more effective for long-form logic than simply increasing parameter counts.
- The Importance of Intermediate Hops: Ablation studies showed that "intermediate concepts" (the bridge nodes) are vital. Removing these hops significantly degraded text quality, highlighting the necessity of multi-hop reasoning.
- Domain-Specific Knowledge: Interestingly, self-constructed graphs often outperformed hand-curated sources like ConceptNet, indicating that local context is frequently more relevant for generation than general-purpose knowledge.
Conclusion
The MRG framework provides a robust method for improving the coherence of long-form text generation through structured graph reasoning. While the two-stage pipeline is susceptible to error propagation if the reasoning module selects a poor path, the interpretability and performance gains are significant. Future work will explore dynamic reasoning, allowing the planning and realization modules to interact more closely during the generation process.
Summary updated