Semi-Supervised Learning for Neural Keyphrase Generation

Hai Ye, Lu Wang

Introduction

Keyphrase generation is a critical task for document summarization, information retrieval, and content organization. While traditional methods focus on extracting phrases directly from the source text, human annotators often provide "absent" keyphrases—terms that capture the essence of a document but do not appear verbatim within it. Generative models, such as sequence-to-sequence (seq2seq) architectures, are capable of producing these absent phrases but typically require vast amounts of labeled data to perform effectively. In specialized domains, such data is often scarce. This research explores semi-supervised learning strategies to leverage large-scale unlabeled datasets to improve neural keyphrase generation.

Methodology

The core architecture utilizes a seq2seq model enhanced with an attention mechanism and a pointer-generator network. This setup allows the model to either generate words from a fixed vocabulary or copy specific terms from the input document. To integrate unlabeled data, the authors propose two primary strategies:

Synthetic Keyphrase Construction

In this approach, unlabeled documents are assigned "synthetic" labels. These labels are generated either through unsupervised methods like TF-IDF and TextRank or via a self-learning process where a model pre-trained on a small labeled set predicts keyphrases for the unlabeled corpus. The final model is first pre-trained on a combination of synthetic and gold-standard data before being fine-tuned exclusively on high-quality labeled data.

Multi-task Learning (MTL)

Recognizing that document titles often serve as concise summaries similar to keyphrases, the authors implement a multi-task learning framework. This architecture features a shared encoder with two distinct decoders: one for generating keyphrases from labeled data and another for generating titles from unlabeled data. By treating titles as proxies for keyphrases, the model learns richer semantic representations.

Proposed semi-supervised architectures: (a) Synthetic Keyphrase Construction involving pre-training and fine-tuning, and (b) Multi-task Learning with a shared encoder and dual decoders.

Experimental Evaluation

The proposed methods were evaluated across five benchmark scientific datasets: Inspec, Krapivin, NUS, SemEval-2010, and KP20k. Training was conducted on both small-scale (40,000 pairs) and large-scale (130,000 pairs) sets, supplemented by an unlabeled corpus of 400,000 scientific abstracts. To test generalizability, the models were also evaluated on the DUC news dataset.

Key Insights and Results

The semi-supervised models consistently outperformed supervised baselines across all datasets. Notably, the Multi-task Learning approach showed significant gains in generating absent keyphrases, likely because the title-generation task encourages abstractive summarization rather than simple extraction. On the Inspec dataset, which represents a small-data scenario, the MTL approach improved the F1@5 score from 0.269 to 0.326, a substantial jump.

Analysis of model convergence revealed that the quality of synthetic labels significantly impacts initial training. As shown in the perplexity plots below, models using higher-quality synthetic data (e.g., self-learning with larger beam sizes or better unsupervised selection) converge faster, reaching lower perplexity in fewer epochs. However, the performance gap tends to narrow after fine-tuning on gold-standard data, suggesting that even noisy unlabeled data provides valuable structural information to the encoder.

Validation perplexity over training epochs, illustrating how synthetic data quality and decoding strategies influence model convergence.

Furthermore, the models demonstrated superior performance on the DUC dataset, which consists of news articles. This cross-domain success suggests that the representations learned from unlabeled scientific abstracts are robust enough to generalize to entirely different linguistic domains. Despite these gains, the "absent keyphrase" problem remains a significant challenge; while semi-supervised methods improved Recall@10, absolute scores remain low, highlighting the intrinsic difficulty of generating concepts not explicitly mentioned in the text.

Conclusion

This work demonstrates that semi-supervised learning effectively mitigates the data-scarcity problem in neural keyphrase generation. By leveraging unlabeled data through synthetic labeling and multi-task learning, models achieve state-of-the-art performance and improved cross-domain generalizability. Future research may focus on more nuanced evaluation metrics beyond exact matching and exploring domain adaptation techniques using diverse unlabeled sources.

Summary updated

BibTeX
@inproceedings{ye2018semi,
  author = {Hai Ye and Lu Wang},
  title = {{Semi-Supervised Learning for Neural Keyphrase Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  doi = {10.18653/v1/d18-1447},
}
Figure