Representation Learning for Resource-Constrained Keyphrase Generation

Di Wu, Wasi Uddin Ahmad, Sunipa Dev, Kai-Wei Chang

Introduction

State-of-the-art keyphrase generation (KG) models typically rely on massive annotated datasets, such as KP20k, which contains over 500,000 examples. However, in specialized domains or emerging topics, labeled data is often scarce. In these "low-resource" settings, model performance tends to degrade significantly. This paper, presented at EMNLP 2022, addresses this bottleneck by proposing a task-specific pre-training strategy that leverages unlabeled data to teach models the concept of "saliency" before fine-tuning on limited human-annotated keyphrases.

Methodology

The proposed framework introduces an intermediate representation learning stage between general pre-training (e.g., BART) and task-specific fine-tuning. The core idea is to identify "salient spans" in unlabeled text and train the model to recover them.

Mining Salient Spans

A salient span is defined as a phrase that is uniquely identifiable to its parent document. The authors use BM25 retrieval to rank n-grams; if a phrase can successfully "retrieve" its original document from a large corpus, it is considered salient. This approach uses Information Retrieval (IR) logic to approximate human-like keyphrase selection. This automated mining process allows for the creation of large-scale, task-relevant pre-training data without human intervention.

Pre-training Objectives

The authors introduce two primary objectives for intermediate pre-training on unlabeled data:

  1. Salient Span Recovery (SSR): The model reconstructs a document where salient spans have been either masked (SSR-M) or deleted (SSR-D).
  2. Salient Span Prediction (SSP): Given a corrupted document, the model must output the salient spans as a concatenated list.
Overview of the proposed framework and pre-training objectives.

The researchers found that SSR-D (Deletion) was the most effective. Unlike masking, which provides a positional hint, deletion forces the model to understand the global thematic structure of the document to infer what is missing.

Experimental Setup

The model was evaluated on several standard scientific benchmarks, including KP20k, Inspec, Krapivin, NUS, and SemEval. To simulate low-resource conditions, the authors created subsets of KP20k ranging from 5,000 to 100,000 samples. They also tested zero-shot domain adaptation by training on news data (KPTimes) and evaluating on scientific papers.

Results and Discussion

The BART+SSR-D model consistently outperformed vanilla BART and other supervised baselines like One2Set and ExHiRD-h, particularly when training data was limited.

Performance in Low-Resource Settings

As shown in Figure 2, BART+SSR-D maintains a significant performance lead over other models as the training set size decreases. With only 20,000 training examples, the model achieves performance levels comparable to standard models trained on much larger datasets. This suggests that the intermediate pre-training step effectively "primes" the model to recognize salient information, making the subsequent fine-tuning process much more data-efficient.

Performance (F1@M) on the KP20k test set relative to training set size.

Absent Keyphrase Generation

One of the most challenging aspects of KG is generating "absent" keyphrases—those that do not appear verbatim in the source text. By training on salient spans, which often include synonyms or related concepts identified during the retrieval process, the model becomes much better at conceptualizing these semantic summaries. On the KP20k dataset with 20k training samples, BART+SSR-D nearly doubled the absent keyphrase F1@M score compared to vanilla BART (3.76 vs 1.87).

Zero-Shot Transfer

In zero-shot experiments transferring from news to science, BART+SSR-D achieved an F1@5 of 10.81 for present keyphrases, a substantial improvement over the 3.01 achieved by standard BART. This suggests that the saliency-based pre-training captures domain-agnostic principles of importance.

Conclusion

This work demonstrates that task-specific pre-training on unlabeled data can significantly mitigate the data-hunger of keyphrase generation models. By defining saliency through document identifiability and using a deletion-based recovery objective, the authors provide a robust path for applying KG models to niche or emerging domains where annotated data is a luxury. Future work may explore the use of dense embeddings for more sophisticated salient span extraction and the application of these techniques to informal text domains.

Summary updated

BibTeX
@inproceedings{wu2022representation,
  author = {Di Wu and Wasi Uddin Ahmad and Sunipa Dev and Kai-Wei Chang},
  title = {{Representation Learning for Resource-Constrained Keyphrase Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.findings-emnlp.49},
}
Figure