DSM: Question Generation over Knowledge Base via Modeling Diverse Subgraphs with Meta-learner

Shasha Guo, Jing Zhang, Yanling Wang, Qianyi Zhang, Cuiping Li, Hong Chen

Introduction: The Challenge of Subgraph Diversity

Knowledge Base Question Generation (KBQG) involves transforming factual triplets, such as <Lisa, born_in, France>, into natural language questions like "Where was Lisa born?" This task is essential for enhancing Question Answering (QA) systems through data augmentation and for developing proactive conversational AI.

The primary hurdle in KBQG is the inherent diversity of knowledge base subgraphs. These subgraphs vary significantly in both semantics (the types of relations) and structure (e.g., chains, stars, or triangles). Traditional models often adopt a "one-size-fits-all" approach, treating all subgraphs as a single homogeneous dataset. The authors of the DSM framework argue that this leads to overfitting and increased learning difficulty. Instead, they propose a model that mimics human problem-solving by recalling similar past experiences to handle new, specific "learning tasks."

Diverse subgraph styles (star, chain, triangle) and their corresponding relation paths.

The DSM Framework

The Diverse Subgraphs with Meta-learner (DSM) framework addresses diversity through two main components:

1. Subgraph Retriever via Graph Contrastive Learning

To group similar subgraphs without manual labels, DSM employs Graph Contrastive Learning (GCL).

  • Encoder: A Graph Isomorphism Network (GIN) encodes relations and graph structures into low-dimensional embeddings.
  • Similarity Metric: The retriever uses "relation path-based similarity" to identify positive samples. This ensures the model focuses on the semantic meaning of relations rather than specific entity names (e.g., focusing on the concept of "teammate" rather than the specific person "Tom").

2. MAML-like Meta-learner

Once a "support set" of similar subgraphs is retrieved, the model uses a Model-Agnostic Meta-Learning (MAML) approach to adapt:

  • Meta-train step: The model fine-tunes on a small set of similar subgraphs to capture semantics-specific knowledge.
  • Meta-test step: It optimizes for a task-agnostic parameter set, ensuring generalization across different subgraph types.
  • Backbone: The underlying sequence-to-sequence generation is handled by BART, a powerful pre-trained language model.

Experimental Setup and Results

The authors evaluated DSM on two major benchmarks: WebQuestions (WQ), which features high complexity and structural diversity, and PathQuestions (PQ), a more constrained dataset.

Key Results

  • State-of-the-Art Performance: On the diverse WQ dataset, DSM achieved significant gains, improving BLEU-4 scores by 6.81% and ROUGE-L by 7.74% over the strongest baselines.
  • Effective Data Augmentation: Questions generated by DSM were used to train QA models (GRAFT-Net and NSM). These models performed nearly as well as those trained on human-generated data, significantly outperforming models trained on other automated generators.
  • Human Evaluation: In blind tests, human annotators rated DSM's output as more fluent and relevant, approaching the quality of ground-truth questions.

Key Insights

  • Relational Priority: The specific entities in a subgraph are less critical than the relations for determining question type. DSM's retriever intentionally ignores entity names to prioritize relational semantics.
  • Meta-Learning as Regularization: By treating different subgraph types as distinct tasks, the meta-learner avoids the "averaging" effect seen in standard training, allowing the model to capture niche patterns that general fine-tuning might miss.

Limitations and Future Work

Despite its success, DSM faces challenges with weak generalization in specific scenarios:

  • Rare Relations: The model struggles with predicates rarely seen during training (e.g., "annual_visitors"), often defaulting to generic relations.
  • Multi-hop Complexity: Complex structures involving two or three-hop relation paths remain difficult to generalize effectively.

Future research will focus on improving the handling of rare predicates and exploring how to incorporate even more complex structural patterns into the meta-learning architecture.

Summary updated

BibTeX
@inproceedings{guo2022dsm,
  author = {Shasha Guo and Jing Zhang and Yanling Wang and Qianyi Zhang and Cuiping Li and Hong Chen},
  title = {{DSM: Question Generation over Knowledge Base via Modeling Diverse Subgraphs with Meta-learner}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.281},
}
Figure