Coherent Comments Generation for Chinese Articles with a Graph-to-Sequence Model

Wei Li, Jingjing Xu, Yancheng He, Shengli Yan, Yunfang Wu, Xu Sun

Introduction

Generating automated, high-quality comments for news articles is a significant challenge in digital media, aimed at boosting user engagement. Traditional sequence-to-sequence (Seq2Seq) models often struggle with three primary issues: the extreme length of news articles leading to information loss, the presence of "clickbait" titles that provide misleading context, and the diverse range of sub-topics within a single story. Consequently, these models frequently produce generic, "dull" responses like "Interesting" or "I like this," which fail to foster meaningful interaction.

To address these challenges, researchers from Peking University and Tencent have introduced a novel Graph-to-Sequence (Graph2Seq) model. This approach moves beyond treating articles as flat sequences of words, instead representing them as a graph of interacting topics to better capture the underlying narrative structure.

Methodology: The Graph-to-Sequence Framework

The core of the proposed system is the transformation of a long article into a Topic Interaction Graph. This structured representation allows the model to focus on key entities and their relationships rather than getting lost in the linear sequence of tokens.

The Graph-to-Sequence model architecture, illustrating the transition from raw text to a topic graph, vertex encoding, and final comment generation.

Graph Construction and Encoding

The process begins with Graph Building, where keywords (topics) are extracted using Named Entity Recognition (NER) and algorithms like TextRank. Sentences are then grouped around these keywords to form "topic vertices." A dedicated "Title" vertex is included to serve as a global anchor, ensuring the main hook of the article is preserved.

Following construction, the Vertex Encoder utilizes a multi-head self-attention mechanism to create dense representations for each topic. The Graph Encoder then employs a Graph Convolutional Network (GCN) to model the relationships between these topics. Edges are weighted based on the overlap of sentences between topics, enabling the model to understand the non-linear internal structure of the article.

Generation with Copy Mechanism

The final comment is produced by an RNN-based decoder. To ensure factual consistency and relevance, the decoder incorporates a copy mechanism. This allows the model to directly extract specific topic words from the graph and integrate them into the generated comment, significantly reducing generic outputs.

Dataset and Benchmark

The researchers curated and released a large-scale dataset sourced from Tencent Kuaibao, a prominent Chinese news platform. The dataset focuses on the "Entertainment" and "Sport" domains, which are the most active categories for user engagement.

Statistics of the Tencent Kuaibao dataset, showing the number of documents and comments across the Entertainment and Sport categories.

As shown in the table above, the dataset comprises over 200,000 documents and hundreds of thousands of comments, providing a robust benchmark for long-form document understanding and social interaction modeling.

Key Results and Insights

The Graph2Seq model was evaluated against several baselines using human ratings for Coherence, Informativeness, and Fluency.

  • Coherence: In the Entertainment category, the Graph2Seq model achieved a score of 8.23, significantly outperforming the best Seq2Seq baseline (5.38) and advanced self-attention models (6.72).
  • Informativeness: The model demonstrated a clear advantage (e.g., 5.27 vs. 3.70 for Seq2Seq), indicating that it generates comments with more specific content.
  • Qualitative Success: Case studies revealed that the model is uniquely capable of identifying and commenting on the primary subject of an article even when the title is vague or hyperbolic.

The primary insight is that structure over sequence is vital for long-form content. By treating the title as a special vertex and modeling entity relationships, the system effectively avoids the "dull response" trap.

Limitations and Future Directions

While the Graph2Seq model marks a significant advancement, some challenges remain. The model occasionally produces "hallucinations"—statements that contradict common sense—and can struggle to distinguish between similar entities mentioned in the same context. Additionally, like many GCN-based generators, it can sometimes exhibit repetitive phrasing. Future work will explore the integration of external knowledge graphs to provide the model with the "common sense" and world knowledge necessary for even more human-like interaction.

Summary updated

BibTeX
@inproceedings{li2019coherent,
  author = {Wei Li and Jingjing Xu and Yancheng He and Shengli Yan and Yunfang Wu and Xu Sun},
  title = {{Coherent Comments Generation for Chinese Articles with a Graph-to-Sequence Model}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1479},
}
Figure