arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.10606cs.CL
收藏

CTRAN:基于CNN-Transformer的自然语言理解网络

CTRAN: CNN-Transformer-based Network for Natural Language Understanding

University of Kashan(卡尚大学)

Mehrdad Rafiepour, Javad Salimi Sartakhti

AI总结:

提出CTRAN,一种用于意图检测和槽位填充的CNN-Transformer编码器-解码器架构,通过引入窗口特征序列和对齐Transformer解码器,在ATIS和SNIPS数据集上超越当前最优水平。

摘要:

意图检测和槽位填充是自然语言理解的两项主要任务。本研究提出CTRAN,一种用于意图检测和槽位填充的新型编码器-解码器CNN-Transformer架构。编码器使用BERT,后接若干卷积层,并使用窗口特征序列重排输出。窗口特征序列后使用堆叠的Transformer编码器。意图检测解码器使用自注意力机制,后接线性层。槽位填充解码器引入对齐的Transformer解码器,利用零对角掩码将输出标签与输入token对齐。我们在ATIS和SNIPS上应用该网络,在两个数据集的槽位填充任务上均超越了当前最优水平。此外,我们将语言模型作为词嵌入,并表明该策略比将语言模型作为编码器产生更好的结果。

英文摘要:

Intent-detection and slot-filling are the two main tasks in natural language understanding. In this study, we propose CTRAN, a novel encoder-decoder CNN-Transformer-based architecture for intent-detection and slot-filling. In the encoder, we use BERT, followed by several convolutional layers, and rearrange the output using window feature sequence. We use stacked Transformer encoders after the window feature sequence. For the intent-detection decoder, we utilize self-attention followed by a linear layer. In the slot-filling decoder, we introduce the aligned Transformer decoder, which utilizes a zero diagonal mask, aligning output tags with input tokens. We apply our network on ATIS and SNIPS, and surpass the current state-of-the-art in slot-filling on both datasets. Furthermore, we incorporate the language model as word embeddings, and show that this strategy yields a better result when compared to the language model as an encoder.

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

↑