TL;DR
Researchers have introduced INFINITY, a novel framework that achieves fully unsupervised, bidirectional conversion between knowledge graphs and natural language text using a single pretrained language model. By treating both graph-to-text (G2T) and text-to-graph (T2G) tasks as sequence generation and employing a structure-aware back-translation strategy, INFINITY outperforms existing unsupervised baselines without requiring any parallel data or external annotation tools.
What Problem Does This Paper Address?
Knowledge Graphs (KGs) are structured goldmines of information, but they are difficult for humans to read. Conversely, natural language text is easy for humans but hard for machines to process into structured data. Traditionally, these two tasks—Graph-to-Text (G2T) generation and Text-to-Graph (T2G) extraction—have been treated as separate problems requiring massive amounts of expensive, human-annotated parallel data.
Existing unsupervised methods often rely on complex, multi-module architectures or external tools like Named Entity Recognition (NER) and Relation Extraction (RE) to identify entities. This makes them brittle and difficult to train. The authors sought a unified approach: a single model that learns to translate between these two worlds simultaneously using only raw text and independent graphs.
Methods
The core of the paper is the INFINITY framework, named for its training cycle that resembles an infinity symbol ($\infty$).
- Unified Model: Instead of separate modules, the authors use a single T5-base model. They prepend prefixes like
Graph:orText:to guide the model's conversion direction. - Graph Linearization: To process graphs in a sequence-based model, they "flatten" the graph into a string of triples (Head, Relation, Tail) using special tokens like
[H],[R], and[T]. - Back-Translation: The model teaches itself through two cycles. In the Graph → Text → Graph cycle, it generates synthetic text from a graph and then reconstructs the original graph. The Text → Graph → Text cycle works similarly in reverse.
- Structure-Aware Fine-Tuning (RML): Linearizing a graph can lose structural context. The authors use Reward Augmented Maximum Likelihood (RML) to reward the model for generating sequences that preserve the original graph's order and structure, reducing "exposure bias."
- Cross Learning: The model can be trained on graphs from one domain (e.g., Sports) and text from another (e.g., Games), demonstrating its ability to learn conversion logic even without subject matter overlap.
Datasets
INFINITY was evaluated on two primary benchmarks:
- WebNLG (2017): A standard dataset for G2T and T2G containing up to 7 triples per graph.
- GenWiki: A challenging, large-scale dataset with noisy alignments between graphs and texts, reflecting real-world conditions.
Key Results
INFINITY set a new state-of-the-art for unsupervised graph-text conversion.
- WebNLG (G2T): Achieved a BLEU score of 58.0, outperforming the previous best unsupervised model, CycleGT (55.5), and rivaling supervised models like GraphWriter (45.8).
- WebNLG (T2G): Achieved an F1 (triple) score of 61.7, significantly higher than CycleGT (58.4).
- GenWiki: Maintained superior performance over PLM-free supervised models, proving its robustness on noisy data.
Key Insights and Ideas
- Unified Architecture: Using a single model for both tasks allows for better information sharing. The latent space learned for text helps the model understand the semantics of graph relations, and vice versa.
- The Structural Gap: Simply flattening a graph is insufficient. The RML strategy was crucial for maintaining correct boundaries between entities and relations.
- Self-Supervision: A well-pretrained language model (like T5) contains enough linguistic knowledge to bootstrap its own supervision, avoiding the need for external NER/RE tools.
Limitations and Future Work
- Scalability: Memory requirements increase significantly with input length, making it difficult to process very long documents or massive graphs without decomposition.
- Boundary Detection: The model occasionally struggles with fine-grained boundary detection in complex sentences.
- Computational Cost: Training a unified transformer for bidirectional tasks requires substantial GPU resources.
Future work may involve exploring prompt learning for more precise control and improving scalability for long-form information extraction.
Summary updated