DualTKB: A Dual Learning Bridge between Text and Knowledge Base

Pierre L. Dognin, Igor Melnyk, Inkit Padhi, Cícero Nogueira dos Santos, Payel Das

Introduction

Knowledge Bases (KBs) such as ConceptNet serve as vital repositories of structured facts, typically represented as triples like (person, capable of, sleep). While these structures are machine-readable and systematic, they often lack the expressive nuance and contextual richness of natural language. Conversely, while natural language is abundant, extracting structured knowledge from it remains a significant challenge due to the lack of parallel datasets mapping sentences directly to triples.

Mapping between Knowledge Base triples and natural language sentences.

The researchers identify three primary hurdles in bridging this gap: a severe lack of parallel data, an "Evaluation Gap" where traditional models cannot generate new entities, and the "Bidirectional Challenge" of integrating text-to-graph and graph-to-text tasks in a mutually beneficial way.

The DualTKB Framework

To address these issues, the authors introduce DualTKB, a framework that treats KB construction and text generation as reciprocal "translation" tasks. Inspired by dual learning in Neural Machine Translation, DualTKB leverages both paired and unpaired data to learn a unified representation of facts.

The DualTKB architecture featuring shared encoders and specialized decoders for text and path generation.

The architecture consists of a Shared Encoder that maps both text and KB paths into a common latent space, promoting modality agnosticism. This is followed by two Specialized Decoders: Decoder A for natural language sentences and Decoder B for KB triples. The model is optimized using three distinct loss functions:

  1. Reconstruction Loss: Ensures the model can reconstruct inputs within the same modality (Text-to-Text, Path-to-Path).
  2. Back-Translation (Cycle) Loss: The core "dual" component where the model translates from one modality to another and back (e.g., Text → Path → Text). Consistency in this cycle allows the model to learn from massive amounts of unpaired data.
  3. Weak Supervision: A small set of "bridging" pairs, created via fuzzy matching, stabilizes the dual learning process.

Experimental Setup and Datasets

The model was evaluated using ConceptNet (CN-600K) for graph data and the Open Mind Common Sense (OMCS) corpus for natural language. A key contribution is the creation of a weakly-supervised dataset using TF-IDF and cosine similarity to match OMCS sentences to ConceptNet triples, which the authors intend to release to the community.

Key Results and Insights

DualTKB demonstrates superior performance in both structured and unstructured tasks:

  • Generative KB Completion: Unlike traditional discriminative models that rank existing entities, DualTKB can generate entirely new paths. It achieved a Mean Reciprocal Rank (MRR) of 63.10 on ConceptNet, significantly outperforming previous state-of-the-art models like S+G+B+C (51.11).
  • High-Fidelity Text Generation: The model successfully converts complex KB paths into coherent sentences, reaching a BLEU2 score of 0.49.
  • Structural Coherence: Analysis using Graph Edit Distance (GED) confirmed that generated paths from multiple sentences naturally form connected, logical graph structures.

A notable finding is the "Supervision Sweet Spot": performance peaks when using a balanced mix of supervised and unsupervised cycle-learning. Excessive reliance on noisy, weakly-supervised data can actually degrade the model's accuracy compared to a 50/50 mix.

Limitations and Future Directions

While DualTKB marks a significant step forward, it currently focuses on single-path transfers (one sentence to one triple). Real-world knowledge often requires subgraphs to represent a single sentence. Furthermore, the model's reliance on fuzzy matching for weak supervision can occasionally lead to "hallucinations" inherited from noisy training data. Future work aims to scale this approach to generate entire paragraphs from complex graph clusters.

Conclusion

DualTKB effectively bridges the divide between structured knowledge and natural language. By employing a dual learning strategy, it enables the generation of human-readable explanations from graphs and the systematic organization of text into knowledge bases, even in the absence of large-scale parallel data.

Summary updated

BibTeX
@inproceedings{dognin2020dualtkb,
  author = {Pierre L. Dognin and Igor Melnyk and Inkit Padhi and Cícero Nogueira dos Santos and Payel Das},
  title = {{DualTKB: A Dual Learning Bridge between Text and Knowledge Base}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.694},
}
Figure