Method for Automatically Generating Online Comments

被引:0
|
作者
Liu X. [1 ,2 ]
Xu Y. [1 ,2 ]
Li J. [3 ]
机构
[1] Beijing Key Laboratory of Network Culture and Digital Communication, Beijing University of Information Science and Technology, Beijing
[2] School of Computer Science, Beijing University of Information Science and Technology, Beijing
[3] School of Humanities and Education, Beijing Open University, Beijing
基金
中国国家自然科学基金;
关键词
Seq2Seq; SeqGAN; Social Network Comment Posts; TCN;
D O I
10.11925/infotech.2096-3467.2022.0379
中图分类号
学科分类号
摘要
[Objective] This paper proposes a Temporal Sequence Generative Adversarial Network (T-SeqGAN) automatically generating online comments, aiming to counteract malicious information on social networks and guide the correct direction of public opinion. [Methods] First, we modified the Sequence Generative Adversarial Network (SeqGAN) generator to a Seq2Seq structure. Then, we used the bidirectional gated recurrent unit (BiGRU) and the sequential convolutional neural network (TCN) as the skeleton network of the encoder and decoder, respectively. Next, we improved the similarity of the syntactic structure and semantic features between the generated posts and the real online comments. Finally, we modified the discriminator of SeqGAN to a model combing TCN and attention mechanism layers to improve the fluency of generated posts. [Results] Compared with the baseline model, the comments generated by the proposed model have significantly higher BLEU-2 (0.799 35), BLEU-3(0.603 96), BLEU-4(0.476 42), and KenLM (-27.670 29)metrics, as well as lower PPL (0.752 47) metrics. [Limitations] The vocabulary and language style of the generated posts are limited by actual posts, and the applicability of our method is limited. [Conclusions] The comments generated by the proposed model have higher syntactic and grammatical correctness and higher similarity to the real-world ones, which can guide the correct direction of public opinion on social networks. © 2023 Data Analysis and Knowledge Discovery. All rights reserved.
引用
收藏
页码:101 / 113
页数:12
相关论文
共 32 条
  • [1] Cheng Xinbin, Analysis and Countermeasures of Public Opinion Guidance Research on Major Public Opinions and Emergencies, Journal of Southwest Minzu University (Humanities and Social Science), 43, 2, pp. 235-240, (2022)
  • [2] Yu Xiaoqing, The Problems and Countermeasures of Coping Mechanism on Ideological Internet Public Opinion, Journal of Nanjing University of Posts and Telecommunications (Social Science Edition), 23, 5, pp. 37-47, (2021)
  • [3] Zou X H, Lin C, Zhang Y J, Et al., To be an Artist: Automatic Generation on Food Image Aesthetic Captioning[C], Proceedings of the 32nd International Conference on Tools with Artificial Intelligence, pp. 779-786, (2020)
  • [4] Zeng W H, Abuduweili A, Li L, Et al., Automatic Generation of Personalized Comment Based on User Profile, Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics: Student Research Workshop, pp. 229-235, (2019)
  • [5] Li W, Xu J J, He Y C, Et al., Coherent Comments Generation for Chinese Articles with a Graph-to-Sequence Model, Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 4843-4852, (2019)
  • [6] Casar Morejon C., Automatic Generation of Comments on Twitter Based on News[D], (2018)
  • [7] Ruan Yeli, The Research of Text Generation with Considering External Knowledge and Emotional Attributes Based on GAN, (2020)
  • [8] Kingma D P, Welling M., Auto-Encoding Variational Bayes
  • [9] Li C Y, Gao X, Li Y, Et al., Optimus: Organizing Sentences via Pre-Trained Modeling of a Latent Space, Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, pp. 4678-4699, (2020)
  • [10] Hu Shengwei, Research on Conditional Text Generation Technology and Its Application Based on Deep Learning, (2020)