In artificial intelligence, converting structured data like knowledge graphs into readable text, and vice versa, is crucial for applications such as digital assistants and information retrieval. However, training AI models for these tasks typically requires large datasets of aligned text-graph pairs, which are expensive and scarce. For instance, the widely used WebNLG dataset contains only about 18,000 such pairs, far fewer than the millions needed for high performance in tasks like machine translation. This scarcity limits the development of robust AI systems. A new study introduces CycleGT, an unsupervised approach that overcomes this hurdle by learning from non-parallel data, where text and graphs are not matched. This breakthrough could make AI more scalable and reduce reliance on costly annotated datasets, benefiting fields that rely on data interpretation and generation.
The key finding is that CycleGT effectively learns to perform graph-to-text (G2T) and text-to-graph (T2G) generation without any paired examples. By using a cycle training framework, the method iteratively improves both tasks, allowing the AI to generate accurate text from graphs and extract graphs from text. For example, given a knowledge graph with triplets like (Allen Forest, genre, hip hop) and (Allen Forest, birth year, 1981), CycleGT can produce the sentence 'Allen Forest, hip hop musician, was born in 1981,' and conversely, extract such triplets from similar text. This dual capability was validated on benchmark datasets, showing performance comparable to supervised models that use paired data.
Methodologically, CycleGT employs an iterative back-translation strategy, inspired by techniques in machine translation. It consists of two main components: a G2T model that generates text from a graph, and a T2G model that constructs a graph from text. The G2T component uses a pretrained sequence-to-sequence model, such as T5, to convert linearized graph sequences into sentences. The T2G model identifies entities in the text using named entity recognition and predicts relationships between them to form edges in the graph. In the cycle training process, the system alternates between generating synthetic pairs—for instance, creating text from a graph and then reconstructing the graph from that text—and refining the models based on consistency losses. This iterative approach reduces the discrepancy between the generated and original data distributions, enabling learning without direct supervision.
Results from experiments on datasets like WebNLG 2017 and WebNLG+ 2020 demonstrate CycleGT's effectiveness. On WebNLG 2017, the unsupervised CycleGT achieved a BLEU score of 55.5 for G2T generation, close to the 56.4 score of a supervised T5-Base model trained on paired data. It outperformed unsupervised baselines such as RuleBased (BLEU 18.3) and GT-BT (BLEU 37.7). For T2G tasks, CycleGT scored 58.4 in micro F1 and 46.4 in macro F1, showing strong relation extraction capabilities. On the GenWiki dataset, which contains 1.3 million non-parallel text-graph pairs, CycleGT improved over the best unsupervised baseline by +11.47 BLEU points on the FINE version and +6.26 on the FULL version, indicating its advantage in handling diverse, real-world data without annotations.
This research matters because it addresses a fundamental limitation in AI development: the high cost and scarcity of labeled data. By enabling models to learn from unpaired sources, CycleGT paves the way for more efficient AI systems in areas like automated report generation, data analysis, and intelligent assistants. For instance, it could help digital assistants better understand user queries by converting them into structured graphs for reasoning, or generate summaries from complex datasets without manual intervention. This approach not only saves resources but also expands the applicability of AI to domains where annotated data is rare.
Limitations of the study, as noted in the paper, include the non-differentiability of certain components in the cycle training, which can hinder gradient flow and optimization. Specifically, the graph-to-text part involves discrete outputs that are not fully differentiable, relying on approximations in the training process. Additionally, the method assumes an approximate one-to-one mapping between text and graphs, which may not hold in all real-world scenarios, potentially affecting performance on more complex or ambiguous data. Future work could explore ways to mitigate these issues and extend the framework to larger-scale applications.
Original Source
Read the complete research paper
About the Author
Guilherme A.
Former dentist (MD) from Brazil, 41 years old, husband, and AI enthusiast. In 2020, he transitioned from a decade-long career in dentistry to pursue his passion for technology, entrepreneurship, and helping others grow.
Connect on LinkedIn