Lune

ACL2022Top-tier venue

Explanation Graph Generation via Pre-trained Language Models: An Empirical Study with Contrastive Learning

Swarnadeep Saha, Prateek Yadav, Mohit Bansal

Abstract

Pre-trained sequence-to-sequence language models have led to widespread success in many natural language generation tasks. However, there has been relatively less work on analyzing their ability to generate structured outputs such as graphs. Unlike natural language, graphs have distinct structural and semantic properties in the context of a downstream NLP task, e.g., generating a graph that is connected and acyclic can be attributed to its structural constraints, while the semantics of a graph can refer to how meaningfully an edge represents the relation between two node concepts. In this work, we study pre-trained language models that generate explanation graphs in an end-to-end manner and analyze their ability to learn the structural constraints and semantics of such graphs. We first show that with limited supervision, pre-trained language models often generate graphs that either violate these constraints or are semantically incoherent. Since curating large amount of humanannotated graphs is expensive and tedious, we propose simple yet effective ways of graph perturbations via node and edge edit operations that lead to structurally and semantically positive and negative graphs. Next, we leverage these graphs in different contrastive learning models with Max-Margin and InfoNCE losses. Our methods lead to significant improvements in both structural and semantic accuracy of explanation graphs and also generalize to other similar graph generation tasks. Lastly, we show that human errors are the best negatives for contrastive learning and also that automatically generating more such human-like negative graphs can lead to further improvements. 1

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Generative Knowledge Graph Construction: A Review cites Language Models are Few-Shot Learners
  • Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Dialogue State Distillation Network with Inter-slot Contrastive Learning for Dialogue State Tracking cites A Simple Framework for Contrastive Learning of Visual Representations
  • Dialogue State Distillation Network with Inter-slot Contrastive Learning for Dialogue State Tracking cites Supervised Contrastive Learning
  • Graph Contrastive Learning with Augmentations cites A Simple Framework for Contrastive Learning of Visual Representations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Generative Knowledge Graph Construction: A ReviewHongbin Ye, Ningyu Zhang, Hui Chen, Huajun ChenEMNLP 2022 · 51 citations
  2. Dialogue State Distillation Network with Inter-slot Contrastive Learning for Dialogue State TrackingJing Xu, Dandan Song, Chong Liu, Siu Cheung Hui et al.AAAI 2023 · 8 citations
  3. Non-Sequential Graph Script Induction via Multimedia GroundingYu Zhou, Sha Li, Manling Li, Xudong Lin et al.ACL 2023 · 5 citations

Builds on28

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  3. BERTScore: Evaluating Text Generation with BERTTianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger et al.ICLR 2020 · 8,443 citations
  4. Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
  5. Graph Contrastive Learning with AugmentationsYuning You, Tianlong Chen, Yongduo Sui, Ting Chen et al.NeurIPS 2020 · 3,042 citations

Related papers

  1. Improving Knowledge Graph Completion with Structure-Aware Supervised Contrastive LearningJiashi Lin, Lifang Wang, Xinyu Lu, Zhongtian Hu et al.EMNLP 2024 · 5 citations
  2. InfoNCE is a Free Lunch for Semantically guided Graph Contrastive LearningZixu Wang, Bingbing Xu, Yige Yuan, Huawei Shen et al.SIGIR 2025 · 4 citations
  3. Explanation Graph Generation via Generative Pre-training over Synthetic GraphsHan Cui, Shangzhan Li, Yu Zhang, Qi ShiACL Findings 2023
  4. From Pixels to Graphs: Open-Vocabulary Scene Graph Generation with Vision-Language ModelsRongjie Li, Songyang Zhang, Dahua Lin, Kai Chen et al.CVPR 2024
  5. Syntax-guided Contrastive Learning for Pre-trained Language ModelShuai Zhang, Lijie Wang, Xinyan Xiao, Hua WuACL Findings 2022 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines