摘要
序列标注是自然语言处理领域的基本任务。目前大多数序列标注方法采用循环神经网络及其变体直接提取序列中的上下文语义信息,尽管有效地捕捉到了词之间的连续依赖关系并取得了不错的性能,但捕获序列中离散依赖关系的能力不足,同时也忽略了词与标签之间的联系。因此,提出了一种多级语义信息融合编码方式,首先,通过双向长短期记忆网络提取序列上下文语义信息;然后,利用注意力机制将标签语义信息添加到上下文语义信息中,得到融合标签语义信息的上下文语义信息;接着,引入自注意力机制捕捉序列中的离散依赖关系,得到含有离散依赖关系的上下文语义信息;最后,使用融合机制将3种语义信息融合,得到一种全新的语义信息。实验结果表明,相比于采用循环神经网络或其变体对序列直接编码的方式,多级语义信息融合编码方式能明显提升模型性能。
Sequence labeling is a basic task in the field of natural language processing.At present,most sequence labeling methods use recurrent neural networks and their variants to directly extract the contextual semantic information in the sequence.Although they can effectively capture continuous dependencies between words and achieve good performance,they are not capable of capturing discrete dependencies in sequences,and also ignores the relationship between words and labels.Therefore,this paper proposes a multi-level semantic information fusion coding method.Firstly,the sequence context semantic information is extracted through the bidirectional long and short-term memory network.Secondly,the label semantic information is added to the context semantic information using the attention mechanism to obtain the new semantic information.Thirdly,a self-attention mechanism is used to capture discrete dependencies in the sequence,and obtain contextual semantic information containing discrete dependencies.Finally,a fusion mechanism is used to fuse the three types of semantic information to obtain a brand-new semantic information.The results prove that the proposed multi-level semantic information fusion encoding method significantly improves the model performance in comparison to the method of directly encoding the sequence using the recurrent neural network or its variants.
作者
蔡雨岐
郭卫斌
CAI Yu-qi;GUO Wei-bin(School of Information Science and Engineering,East China University of Science and Technology,Shanghai 200237,China)
出处
《计算机工程与科学》
CSCD
北大核心
2022年第12期2266-2272,共7页
Computer Engineering & Science
基金
国家自然科学基金(61672227)。
关键词
序列标注
多级语义信息融合编码
标签语义信息
注意力机制
融合机制
sequence labeling
multi-level semantic information fusion coding
label semantic information
attention mechanism
fusion mechanism