Introduction
Generating human-like commonsense explanations remains a significant challenge for Large Language Models (LLMs). While augmenting these models with external Knowledge Graphs (KGs) like ConceptNet provides a structured foundation for reasoning, the standard retrieval process often introduces substantial noise. Irrelevant concepts—nodes that are topologically close in the graph but semantically disconnected from the specific context—can lead to repetitive, generic, or nonsensical outputs. This research introduces a differentiable graph compression framework designed to filter this noise, thereby enhancing the diversity and quality of generated commonsense reasoning.
Methodology: Differentiable Graph Compression
The proposed framework extends the Mixture of Knowledge Graph Experts (MoKGE) architecture by integrating a task-aware compression layer. The pipeline consists of four primary stages:
- Subgraph Extraction & Encoding: For a given input sentence, a multi-hop subgraph is extracted from ConceptNet. This subgraph is then encoded using a Relational Graph Convolutional Network (R-GCN) to produce high-dimensional node embeddings.
- Self-Attention Scoring (SAG): Instead of relying on static graph metrics, the model employs a self-attention mechanism to dynamically assign importance scores to each node based on the input context.
- Optimal Transport (OT) Regularization: To prevent the loss of essential information during pruning, an Optimal Transport loss is applied. This ensures that the compressed graph's information distribution remains representative of the original subgraph, effectively managing redundancy by discouraging the selection of multiple synonymous concepts.
- Diverse Generation via MoE: The final compressed graph is processed by a Mixture of Experts (MoE) decoder, where different experts attend to distinct subsets of the KG to generate varied and plausible explanations.
Experimental Setup
The model was evaluated on two benchmark datasets:
- ComVE (Commonsense Validation and Explanation): Requires generating reasons why a specific sentence is nonsensical.
- α-NLG (Abductive Natural Language Generation): Requires generating a plausible middle narrative between a given start and end state.
Performance was measured using diversity metrics such as Self-BLEU (where lower scores indicate higher diversity) and Distinct-n, alongside quality metrics like ROUGE-L and BLEU-4.
Key Results
The experimental results demonstrate that graph compression significantly improves the diversity of generated text without sacrificing quality.
Performance Gains
On the ComVE dataset, the full model (MoKGE+SAG+OT) achieved a Self-BLEU-4 score of 21.94, a marked improvement over the base MoKGE score of 25.31. Similar trends were observed in the α-NLG dataset, where the proposed method consistently outperformed baselines in diversity metrics.
Comparison with Large Scale Models
Notably, the compressed KG approach demonstrated a superior quality-diversity tradeoff compared to Vicuna-13b. Despite having approximately 100 times fewer parameters, the proposed model produced more varied word usage and avoided the repetitive patterns often seen in larger, unconstrained LLMs.
Robustness to Noise
To test the framework's resilience, the researchers introduced synthetic noise using COMET-generated triples. While baseline models showed a significant decline in output quality when faced with this extra data, the compression-enabled model maintained stable performance, effectively filtering out the synthetic "dead weight."
Discussion and Conclusion
This work highlights that redundancy in retrieved knowledge is a primary bottleneck for diverse generation. By treating graph pruning as a differentiable, task-aware process, the model can focus on the most salient concepts. The finding that subgraphs can be compressed by up to 70% without performance loss suggests that current KG-augmentation strategies are heavily over-parameterized with irrelevant data. Future research will look to extend this node-centric pruning to edge-level relations and multi-word conceptual phrases.
Summary updated