Abstract
Bridging the gap between structured Knowledge Graphs (KGs) and unstructured natural language is a fundamental challenge in AI. Traditional supervised methods for Graph-to-Text (G2T) and Text-to-Graph (T2G) conversion require extensive paired datasets, which are costly to produce. This paper introduces INFINITY, a novel unsupervised framework that jointly learns both conversion tasks using a single pretrained language model. By employing a back-translation loop and Reward Augmented Maximum Likelihood (RML), INFINITY achieves state-of-the-art performance in unsupervised settings, even rivaling supervised baselines on benchmarks like WebNLG and GenWiki.
Introduction
Knowledge Graphs (KGs) and natural language represent two distinct ways of encoding information: one through structured triples (e.g., Alan Bean — occupation — Test Pilot) and the other through fluid, descriptive text. Converting between these formats—Graph-to-Text (G2T) and Text-to-Graph (T2G)—is critical for applications like semantic search, question answering, and conversational agents.
Historically, state-of-the-art performance in these tasks has relied on large-scale parallel datasets. However, such data is expensive and difficult to curate. Researchers from Shanghai Jiao Tong University have proposed INFINITY, a framework designed to master mutual conversion without any paired data, leveraging the inherent symmetry between the two tasks.
The Challenge of Graph-Text Conversion
Current approaches to Graph-Text conversion face two primary bottlenecks:
- The Data Gap: Supervised models are data-hungry, requiring hand-annotated pairs of graphs and sentences.
- Architectural Complexity: Existing unsupervised methods often treat G2T and T2G as separate problems, using distinct neural modules. This prevents the models from sharing learned representations. Additionally, many systems depend on external tools like Named Entity Recognition (NER) or relation extraction modules, which introduces external bias and complexity.
INFINITY aims to provide a "fully bootstrapped" solution that learns from independent corpora of graphs and text.
The INFINITY Framework
The INFINITY framework is named for its training architecture, which forms a continuous loop resembling an infinity symbol (∞).
Unified Model Architecture
Unlike previous works that utilize separate encoders and decoders for each direction, INFINITY employs a single pretrained T5 (Text-to-Text Transfer Transformer) model. By using task-specific prefixes (e.g., Graph: or Text:), the model learns a shared latent space, allowing the G2T and T2G tasks to mutually inform one another.
Back-Translation and Linearization
To enable unsupervised learning, INFINITY utilizes a dual back-translation loop:
- Graph → Text → Graph: The model generates a synthetic sentence from a graph and then attempts to reconstruct the original graph from that sentence.
- Text → Graph → Text: The model extracts a synthetic graph from a sentence and then tries to rewrite the original sentence based on that graph.
To process graphs within a transformer architecture, they are "linearized" into sequences using special markers: [H] for head entities, [R] for relations, and [T] for tail entities.
Reward Augmented Maximum Likelihood (RML)
Standard Maximum Likelihood Estimation (MLE) can be overly rigid for graph structures. INFINITY incorporates Reward Augmented Maximum Likelihood (RML), which rewards the model for generating sequences that are structurally similar to the target. By optimizing for metrics like BLEU or F1 scores during training, the model maintains better structural integrity and avoids "hallucinations" during the unsupervised shuffle.
Experimental Evaluation
The authors evaluated INFINITY on two major benchmarks:
- WebNLG: A standard dataset featuring triples across diverse categories (e.g., Airport, Building, Food).
- GenWiki: A more complex dataset where graphs and texts are not perfectly aligned, simulating real-world "noisy" data.
Results and Key Insights
INFINITY established new performance benchmarks for unsupervised graph-text conversion. On the WebNLG dataset, it achieved a BLEU score of 58.0, significantly outperforming the previous state-of-the-art unsupervised model, CycleGT.
Key takeaways from the results include:
- Symmetry Benefits: Training G2T and T2G together allows the tasks to regularize each other. The model's ability to extract triples directly improves its ability to construct sentences.
- Efficiency through Simplicity: A single-model approach reduces parameter overhead and stabilizes training compared to multi-module systems.
- The Role of RML: Ablation studies confirmed that RML is essential, particularly for the T2G task, as it ensures the model adheres to the strict structural requirements of knowledge graphs.
Conclusion
INFINITY represents a significant advancement in unsupervised natural language processing. By treating graph-text conversion as a symmetric, unified task, it eliminates the need for expensive paired data and external extraction tools. While challenges remain—such as improving graph linearization and handling vocabulary mismatches in noisy datasets—INFINITY provides a robust and effective foundation for future research in knowledge graph integration.
Summary updated