Attend and select: A segment selective transformer for microblog hashtag generation
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.
Code (1)
Methods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
DEFT 2018: Attention s\'elective pour classification de microblogs (DEFT 2018 : Selective Attention for Microblogging Classification )
Dans le cadre de l{'}atelier DEFT 2018 nous nous sommes int{\'e}ress{\'e}s {\`a} la classification de microblogs (ici, des tweets) r{\'e}dig{\'e}s en fran{\c{c}}ais. Ici, nous proposons une m{\'e}thode se basant sur un r…
ClassificationGeneral ClassificationDialogue Transformers
We introduce a dialogue policy based on a transformer architecture, where the self-attention mechanism operates over the sequence of dialogue turns. Recent work has used hierarchical recurrent neural networks to encode m…
ToSA: Token Selective Attention for Efficient Vision Transformers
In this paper, we propose a novel token selective attention approach, ToSA, which can identify tokens that need to be attended as well as those that can skip a transformer layer. More specifically, a token selector parse…
Depth EstimationDepth PredictionMonocular Depth EstimationPredictionAttendSeg: A Tiny Attention Condenser Neural Network for Semantic Segmentation on the Edge
In this study, we introduce \textbf{AttendSeg}, a low-precision, highly compact deep neural network tailored for on-device semantic segmentation. AttendSeg possesses a self-attention network architecture comprising of li…
SegmentationSemantic SegmentationAVSegFormer: Audio-Visual Segmentation with Transformer
The combination of audio and vision has long been a topic of interest in the multi-modal community. Recently, a new audio-visual segmentation (AVS) task has been introduced, aiming to locate and segment the sounding obje…
DecoderScene UnderstandingSegmentation