Bridging the gap between structured knowledge and natural language typically requires expensive, human-annotated parallel data. This paper, presented at EMNLP 2020, introduces a novel approach to this challenge by presenting the first fully unsupervised joint system for both generating text from knowledge graphs (graph→text) and semantic parsing (text→graph).
The Challenge of Domain-Specific Data
Knowledge Graphs (KGs) are essential for storing structured information, yet they remain difficult for non-experts to interpret. Conversely, unstructured text is machine-inaccessible. Standard translation models—graph-to-text generation and semantic parsing—rely on massive parallel datasets. Because KG schemas vary wildly across domains (e.g., biomedical vs. common-sense), creating these datasets for every new application is prohibitively expensive and models rarely generalize across differing schemas.
Methodology: A Joint Unsupervised Framework
The authors propose an unsupervised neural sequence-to-sequence (seq2seq) architecture that treats graphs and text as two different "languages."
Shared Architecture and Linearization
The system utilizes a bidirectional LSTM with an attention and copy mechanism. Crucially, the encoder and decoder are shared across both tasks (text→graph and graph→text), forcing the model to map both modalities into a common semantic space. To make KGs compatible with the seq2seq model, graph triples (subject, predicate, object) are linearized into a sequence using special separator tokens.
Unsupervised Training Regime
The model is trained using two primary unsupervised objectives:
- Denoising Auto-encoding (DAE): The model learns to reconstruct clean versions of graphs or sentences from noisy inputs.
- Backtranslation: The model translates unlabeled text into a synthetic graph, then attempts to translate that graph back into the original sentence, creating "pseudo-parallel" data.
Novel "Rule" Noise
A key contribution is the introduction of "rule" noise. Beyond standard word swapping or dropping, the authors use simple, hand-crafted rule-based systems to create rough, noisy translations of graphs to text (and vice versa). While imperfect, these rules provide a vital "scaffold" for the neural model to begin understanding the structural relationships between the two formats.
Datasets and Evaluation
The model was evaluated on two distinct benchmarks:
- WebNLG v2.1: DBpedia triples paired with human descriptions.
- Visual Genome (VG): A challenging benchmark derived from scene graphs and region descriptions. Unlike WebNLG, these were created independently, leading to varying levels of detail between the graph and the text.
Key Insights and Results
- The Power of Heuristics: Ablation studies confirmed that without "rule" noise, the unsupervised training process fails to converge. The neural model eventually outgrows these simple heuristics to achieve higher performance.
- Overcoming Salience Bias: On the Visual Genome dataset, the unsupervised model sometimes produced more complete descriptions than supervised models. Supervised models often learn "salience bias"—the human tendency to only describe interesting parts of a scene—whereas the unsupervised model remains more faithful to the full graph content.
- Performance: On WebNLG, the model achieved BLEU scores in the high 30s, rivaling supervised versions of the same architecture. On Visual Genome, it significantly outperformed domain-specific tools like the Stanford Scene Graph Parser.
Conclusion
By leveraging joint training and heuristic-driven noise, this work demonstrates that competitive graph-text translation is possible without parallel corpora. Future work may involve replacing the sequential LSTM bottleneck with Graph Neural Networks (GNNs) or Transformers to better capture non-linear KG topologies.
Summary updated