arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.03151cs.CLcs.AIcs.IR

Attend and select: A segment selective transformer for microblog hashtag generation

Beihang University(北京航空航天大学);University of Montreal(蒙特利尔大学);CENCERT/CC(国家计算机网络应急技术处理协调中心/国家互联网应急中心)

Qianren Mao, Xi Li, Bang Liu, Shu Guo, Peng Hao, Jianxin Li, Lihong Wang

英文摘要:

Hashtag generation aims to generate short and informal topical tags from a microblog post, in which tokens or phrases form the hashtags. These tokens or phrases may originate from primary fragmental textual pieces (e.g., segments) in the original text and are separated into different segments. However, conventional sequence-to-sequence generation methods are hard to filter out secondary information from different textual granularity and are not good at selecting crucial tokens. Thus, they are suboptimal in generating more condensed hashtags. In this work, we propose a modified Transformer-based generation model with adding a segments-selection procedure for the original encoding and decoding phases. The segments-selection phase is based on a novel Segments Selection Mechanism (SSM) to model different textual granularity on global text, local segments, and tokens, contributing to generating condensed hashtags. Specifically, it first attends to primary semantic segments and then transforms discontinuous segments from the source text into a sequence of hashtags by selecting crucial tokens. Extensive evaluations on the two datasets reveal our approach's superiority with significant improvements to the extraction and generation baselines. The code and datasets are available at https://github.com/OpenSUM/HashtagGen.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑