SenSeNet: Neural Keyphrase Generation with Document Structure

Yichao Luo, Zhengyan Li, Bingning Wang, Xiaoyu Xing, Qi Zhang, Xuanjing HuangarXiv 2020

Abstract

Keyphrase generation (KG) aims to produce phrases that summarize the core topics of a document. Traditional sequence-to-sequence models often treat documents as flat sequences, failing to leverage logical structure and struggling with "noise" from irrelevant sentences. We present SenSeNet (Sentence Selective Network), a model that incorporates a structural awareness layer to identify and prioritize significant sentences. By filtering out non-essential content, SenSeNet achieves state-of-the-art performance in generating both present and absent keyphrases across multiple scientific benchmarks, with performance gains scaling positively with document length.

Introduction

In the domain of scientific literature, keyphrases serve as vital metadata for indexing and retrieval. While deep learning has advanced KG by treating it as a sequence-to-sequence task, standard encoders often fail to distinguish between high-signal sections (like the "Methodology" or "Results") and low-signal sections (like "Acknowledgments"). This lack of structural awareness leads to the inclusion of "noise" in the model's latent representation, hindering the generation of accurate keyphrases. SenSeNet addresses this by explicitly modeling the significance of individual sentences within a document.

Methodology: The Sentence Selective Network

SenSeNet introduces a structural awareness layer into the standard encoder-decoder framework. The architecture is designed to identify "significant" sentences—those likely to contain keyphrases—and amplify their influence on the final representation.

The SenSeNet architecture featuring the Sentence Selective Encoder and Binary Gate mechanism.

The core components include:

  • Sentence Selective Encoder: A Convolutional Neural Network (CNN) aggregates word-level embeddings into sentence-level vectors.
  • Binary Gate: For each sentence, the model predicts a binary significance signal (1 for important, 0 for irrelevant). This discrete choice is made differentiable during training using a Straight-Through Estimator (STE), allowing gradients to flow back through the selection process.
  • Weak Supervision: To train the gate without manual labels, the model uses the presence of ground-truth keyphrases as a proxy for sentence significance.
  • Structural Integration: The binarized significance signal is converted into an embedding and fused with word-level hidden states, ensuring the decoder focuses on the most relevant parts of the text.

Experimental Results and Analysis

The model was evaluated on five standard scientific datasets: Inspec, NUS, Krapivin, SemEval-2010, and KP20k. SenSeNet consistently outperformed strong baselines such as catSeq and TG-Net. On the KP20k dataset, the model achieved an $F_1@M$ score of 0.370 for present keyphrases, which further improved to 0.389 when combined with Reinforcement Learning (SenSeNet+RL).

Scalability and Document Length

A critical finding is that SenSeNet's advantages become more pronounced as document length increases. In longer documents, the ratio of "noise" to "signal" typically grows, making the sentence selection mechanism increasingly valuable.

Performance metrics (F1@5 and F1@M) for present and absent keyphrases as a function of the number of sentences in the document.

As shown in the performance plots, both present and absent keyphrase generation metrics show a strong upward trend relative to the number of sentences, confirming that the model effectively manages the complexity of longer texts.

Addressing the "Noise" Problem

Data analysis revealed that only approximately 53.4% of sentences in the training corpora contained keyphrases. By filtering out the remaining 46.6% of "noisy" sentences, SenSeNet produces cleaner latent representations. This is particularly beneficial for absent keyphrase generation, where the model showed a 10% relative improvement. By focusing on thematic "core" sentences, the decoder can better infer abstract terms that do not appear verbatim in the source.

Conclusion

SenSeNet demonstrates that incorporating document structure is essential for high-quality keyphrase generation. By treating documents as hierarchical structures rather than flat sequences, the model effectively filters noise and scales well to longer texts. Future work may explore more granular section labeling to further refine the selection process.

Summary updated

BibTeX
@misc{luo2020sensenet,
  author = {Yichao Luo and Zhengyan Li and Bingning Wang and Xiaoyu Xing and Qi Zhang and Xuanjing Huang},
  title = {{SenSeNet: Neural Keyphrase Generation with Document Structure}},
  year = {2020},
  eprint = {2012.06754},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.06754},
}
Figure