作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2023, Vol. 49 ›› Issue (3): 67-72. doi: 10.19678/j.issn.1000-3428.0064063

• 人工智能与模式识别 • 上一篇    下一篇

面向招标文件的半结构化文本自动生成

刘金硕, 刘宁   

  1. 武汉大学 国家网络安全学院 空天信息安全与可信计算教育部重点实验室, 武汉 430079
  • 收稿日期:2022-03-01 修回日期:2022-04-21 发布日期:2022-05-03
  • 作者简介:刘金硕(1973—),女,教授、博士、博士生导师,主研方向为数据挖掘、网络舆情监控、高性能计算;刘宁,硕士研究生。
  • 基金资助:
    国家自然科学基金“网络恶意信息中人物身份消歧与溯源鉴别方法与关键技术研究”(U193607);国家重点研发计划(2020YFA0607902)。

Automatic Generation of Semi-Structured Texts for Bidding Documents

LIU Jinshuo, LIU Ning   

  1. Key Laboratory of Aerospace Information Security and Trusted Computing, Ministry of Education, School of Cyber Science and Engineering, Wuhan University, Wuhan 430079, China
  • Received:2022-03-01 Revised:2022-04-21 Published:2022-05-03

摘要: 招标文件范本总结了历史招标文件的核心内容。针对现有文本摘要方法无法有效提取文本主题结构、忽略时间特征对文本重要性的影响等问题,提出一种基于多头图注意力网络的半结构化文本自动生成(SGMG)模型。在模型预处理层中,利用BERT预训练模型进行文本嵌入,通过白化操作增强文本向量的表达能力。在主题抽取模块中,利用异质图建立主题、段落及文档之间的语义关系,应用多头图注意力网络加强图节点之间的交互,提高模型学习能力。在中心句抽取模块中,通过融合时间特征及语义相似关系的有向图计算文本中心性,防止重要时间信息的丢失。在句子选择模块中,结合三元词过滤法,提升生成内容的多样性。将国家能源集团2016年至2020年的招标文件作为语料进行实验,结果表明SGMG模型能够有效提取文本主题结构,生成文本内容与人工编制的范本接近,ROUGE-L评估指标相比于TextRank、LexRank等现有文本摘要方法提升了4.3个百分点以上。

关键词: 文本生成, 半结构化文本, 主题提取, 图注意力网络, 异质图

Abstract: The bidding document template summarizes the core content of historical bidding documents.As current text abstraction methods can not effectively extract text topic structures and ignore the impact of temporal features on the importance of text, we propose a Semi-structured automatic text Generation model based on Multi-head Graph attention network(SGMG).In the model preprocessing layer, the pre-trained model Bidirectional Encoder Representations from Transformers(BERT) are used for embedding text and enhancing the expressions of the text vector through a whitening operation.In the topic extraction module, a heterogeneous graph is used to establish semantic relationships between topics, paragraphs, and documents.Graph nodes interact through a multi-head graph attention network that improves the feature-learning ability of the model.In the central sentence extraction module, text centrality is calculated by fusing a directed graph of time features and semantic similarity.In the sentence selection module, the Trigram Blocking method is used to improve the diversity of the generated content.After using the bidding documents accumulated by CHN ENERGY from 2016 to 2020 as the corpus, the experimental results show that the proposed SGMG model can effectively extract the text topic structure and that the generated text content is similar to that of a manual template.Under the Recall-Oriented Understudy for Gisting Evaluation Longest common subsequence(ROUGE-L) evaluation index, the text abstraction generated by SGMG model performs 4.3 percentage points better than existing methods such as TextRank and LexRank.

Key words: text generation, semi-structured text, topic extraction, Graph Attention Network(GAT), heterogeneous graph

中图分类号: