[Paper Review] Fork or Fail: Cycle-Consistent Training with Many-to-One Mappings
This paper proposes CycleCVAE, a conditional variational autoencoder framework that enables cycle-consistent training under many-to-one (surjective) mappings—common in real-world applications like knowledge graph to text generation—by modeling stochastic, diverse outputs. It achieves competitive performance with supervised methods while enabling realistic text diversity, validated on synthetic and WebNLG datasets with 4.67 average paraphrases per graph.
Cycle-consistent training is widely used for jointly learning a forward and inverse mapping between two domains of interest without the cumbersome requirement of collecting matched pairs within each domain. In this regard, the implicit assumption is that there exists (at least approximately) a ground-truth bijection such that a given input from either domain can be accurately reconstructed from successive application of the respective mappings. But in many applications no such bijection can be expected to exist and large reconstruction errors can compromise the success of cycle-consistent training. As one important instance of this limitation, we consider practically-relevant situations where there exists a many-to-one or surjective mapping between domains. To address this regime, we develop a conditional variational autoencoder (CVAE) approach that can be viewed as converting surjective mappings to implicit bijections whereby reconstruction errors in both directions can be minimized, and as a natural byproduct, realistic output diversity can be obtained in the one-to-many direction. As theoretical motivation, we analyze a simplified scenario whereby minima of the proposed CVAE-based energy function align with the recovery of ground-truth surjective mappings. On the empirical side, we consider a synthetic image dataset with known ground-truth, as well as a real-world application involving natural language generation from knowledge graphs and vice versa, a prototypical surjective case. For the latter, our CVAE pipeline can capture such many-to-one mappings during cycle training while promoting textural diversity for graph-to-text tasks. Our code is available at github.com/QipengGuo/CycleGT *A condensed version of this paper has been accepted to AISTATS 2021. This version contains additional content and updates.
Motivation & Objective
- To address the limitation of cycle-consistent training in non-bijective, surjective mappings where standard deterministic models fail due to reconstruction errors.
- To model the true conditional distribution $ p_{gt}(\mathbf{x}|\mathbf{y}) $ in many-to-one settings, enabling realistic and diverse text generation from knowledge graphs.
- To provide theoretical justification that minima of the proposed CVAE-based energy function align with recovery of ground-truth surjective mappings.
- To empirically validate the method on synthetic data and real-world knowledge graph-to-text generation, demonstrating both performance parity with supervised models and significant output diversity.
Proposed method
- Formulate a conditional variational autoencoder (CVAE) to model stochastic mappings $ p_{gt}(\mathbf{x}|\mathbf{y}) $ and $ p_{gt}(\mathbf{y}|\mathbf{x}) $, replacing deterministic functions in cycle training.
- Use amortized inference with stochastic latent variables $ \mathbf{z} $ to model the many-to-one conditional distribution, enabling diverse outputs in the one-to-many direction.
- Optimize a variational lower bound (ELBO) that includes cycle-consistency losses in both directions, minimizing reconstruction error while preserving diversity.
- Integrate the CVAE with a pretrained T5 model to enhance text generation quality, leveraging large-scale pretraining while maintaining cycle consistency.
- Train the model using non-parallel data from both domains, enforcing cycle consistency via reconstruction losses $ \|\mathbf{x} - f(g(\mathbf{x}))\| $ and $ \|\mathbf{y} - g(f(\mathbf{y}))\| $, now under stochastic mappings.
- Apply the framework to knowledge graph-to-text and text-to-knowledge graph conversion, where multiple semantically equivalent texts map to the same graph.
Experimental results
Research questions
- RQ1Can a CVAE-based framework effectively learn and reconstruct ground-truth surjective mappings in cycle-consistent training when bijection assumptions fail?
- RQ2Does modeling stochastic conditional distributions $ p_{gt}(\mathbf{x}|\mathbf{y}) $ lead to improved reconstruction accuracy and diversity in many-to-one mappings?
- RQ3Can the proposed method achieve performance competitive with supervised models in knowledge graph-to-text generation without paired training data?
- RQ4To what extent does the model preserve semantic consistency while generating diverse paraphrases for the same knowledge graph?
- RQ5How does integrating the CVAE with a pretrained T5 model affect generation quality and diversity in zero-shot or weakly supervised settings?
Key findings
- On the full WebNLG dataset, CycleCVAE achieved a BLEU score of 46.5 in text-to-graph generation and F1 of 62.6 in graph-to-text, outperforming all unsupervised baselines and approaching supervised SOTA.
- CycleCVAE generated an average of 4.67 diverse paraphrases per knowledge graph, with 99% of test instances producing more than two distinct paraphrases.
- The average edit distance between two paraphrases generated from the same graph was 12.24 words, indicating substantial linguistic variation while preserving semantic content.
- Even with only 50% of the data (first half for text, second for graphs), CycleCVAE maintained strong performance, achieving 43.3 BLEU and 60.0 F1, showing robustness to data sparsity.
- When integrated with a pretrained T5 model, CycleCVAE+T5 achieved a BLEU score of 55.7, competitive with fully supervised T5 baselines (56.4–57.4), while maintaining 3.84 average variations per graph.
- The model demonstrated that diversity in text generation does not compromise fluency or semantic relevance, as evidenced by competitive BLEU scores and human-annotated diversity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.