Enhancing Text Generation via Multi-Level Knowledge Aware Reasoning

Feiteng Mu, Wenjie Li

Abstract

Generating human-like text requires navigating the "granularity gap" between flexible word-level knowledge and structured but sparse event-level logic. We present the Multi-Level Knowledge aware Reasoning (MKR) framework, which decomposes coarse events into word components to enable robust content planning. By linking events to word-level graphs like ConceptNet, MKR achieves superior performance in commonsense reasoning tasks, producing text that is both logically sound and linguistically diverse.

Introduction: The Granularity Gap

High-quality text generation necessitates a deep grasp of common sense and "world logic." Traditional approaches often rely on word-level knowledge graphs (e.g., ConceptNet) to ground generation. However, individual words frequently fail to capture complex behavioral semantics. For instance, the behavioral implications of being a "scaredy cat" are not easily derived from the isolated definitions of "scaredy" and "cat."

Conversely, event-level knowledge bases (e.g., ATOMIC) provide rich logical structures (e.g., "PersonA feels brave" leads to "PersonA enters the shelter"). Yet, these suffer from extreme sparsity; finding an exact match for a specific event in a knowledge base is rare. The MKR framework addresses this "granularity gap" by balancing the semantic depth of events with the flexibility and density of word-level data.

The MKR Framework

The MKR framework operates through three integrated stages: graph construction, encoding, and two-stage reasoning.

Multi-Level Graph Construction

The model constructs a hybrid graph by extracting events from the input context using tools like ATOMIC and COMeT. To mitigate sparsity, these coarse events are decomposed into fine-grained word components and linked to ConceptNet. This allows previously unrelated events to "interact" through shared word nodes, creating a denser and more informative knowledge structure.

Multi-level knowledge graph construction, bridging event-level nodes with word-level components.

Graph Encoding and Reasoning

MKR employs a Relational Graph Convolutional Network (RGCN) to learn structure-aware embeddings, capturing the intricate relationships between words and events. The reasoning process is then split into two distinct phases:

  1. Event Content Planning: The model performs multi-hop reasoning over the hybrid graph to identify the top-$k$ most relevant "event sketches"—potential future events that align with the context.
  2. Knowledge-Aware Generation: A BART-based decoder integrates the input text with the selected event sketches. A "soft gate" mechanism allows the model to dynamically choose between generating words from a standard vocabulary or "copying" relevant concepts directly from the knowledge graph.
The MKR architecture: (a) Event Content Planning and (b) Knowledge-Aware Generation.

Experimental Evaluation

The framework was evaluated on two benchmarks: Abductive NLG ($\alpha$NLG), which requires generating explanatory hypotheses for given causes and consequences, and Story Ending Generation (SEG) using the ROCStories corpus.

Key Results

MKR consistently outperformed strong baselines, including GPT-2, T5, and the previous state-of-the-art, GRF.

  • Performance: In the $\alpha$NLG task, MKR achieved a BLEU-4 score of 15.74, surpassing GRF-BART's 14.42. In SEG, it reached a 12.8 BLEU-2 score.
  • Diversity: Higher Distinct-n scores indicated that MKR generates more varied and less repetitive text.
  • Human Preference: Human judges significantly preferred MKR's outputs for both informativeness and logical reasonability.

Discussion and Insights

The primary innovation of MKR is the use of decomposition to solve knowledge sparsity. By breaking events into words, the model can reason about "unseen" events by analyzing their constituent parts while maintaining the logical guardrails provided by event structures. Ablation studies confirm that while event-level knowledge ensures reasonability, word-level knowledge is essential for linguistic variety.

Limitations and Future Work

While MKR reduces sparsity, it does not eliminate it. The graph construction currently relies on heuristic rules for labeling events during training, which can introduce noise. Future research could explore dynamic selection of event sketches or incorporate higher-level knowledge structures, such as paragraph-level plot points, to further enhance narrative coherence.

Summary updated

BibTeX
@inproceedings{mu2022enhancing,
  author = {Feiteng Mu and Wenjie Li},
  title = {{Enhancing Text Generation via Multi-Level Knowledge Aware Reasoning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/598},
}
Figure