arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.12487cs.CLcs.SDeess.AS
收藏

一种上下文感知的标点符号特征融合框架

A Context-Aware Feature Fusion Framework for Punctuation Restoration

Institute of Computing Innovation, Zhejiang University(浙江大学计算创新研究院)

Yangjun Wu, Kebin Fang, Yao Zhao

摘要:

为了完成标点恢复任务,大多数现有方法集中于利用额外信息(例如,词性标签)或解决类别不平衡问题。最近的工作已经广泛地应用了基于transformer的语言模型,并显着提高了它们的有效性。据我们所知,一个固有的问题仍然被忽视:在Transformer中,每个人的注意力在输入长的非标点语句时会被稀释或无能为力。由于那些先前的上下文,而不是下面的上下文,对当前的位置相对更有价值,因此很难通过独立的注意力来实现良好的平衡。在本文中,我们提出了一种新的特征融合框架的基础上两种类型的注意力(FFA),以缓解不足。它引入了双流体系结构。一个模块涉及注意头之间的相互作用,以鼓励通信,和另一个掩蔽注意模块捕获的依赖特征表示。然后,它聚合两个特征嵌入融合信息,增强上下文感知。在流行的基准数据集IWALK上的实验表明,该方法是有效的。在没有额外数据的情况下,它获得了与当前最先进型号相当的性能。

英文摘要:

To accomplish the punctuation restoration task, most existing approaches focused on leveraging extra information (e.g., part-of-speech tags) or addressing the class imbalance problem. Recent works have widely applied the transformer-based language models and significantly improved their effectiveness. To the best of our knowledge, an inherent issue has remained neglected: the attention of individual heads in the transformer will be diluted or powerless while feeding the long non-punctuation utterances. Since those previous contexts, not the followings, are comparatively more valuable to the current position, it's hard to achieve a good balance by independent attention. In this paper, we propose a novel Feature Fusion framework based on two-type Attentions (FFA) to alleviate the shortage. It introduces a two-stream architecture. One module involves interaction between attention heads to encourage the communication, and another masked attention module captures the dependent feature representation. Then, it aggregates two feature embeddings to fuse information and enhances context-awareness. The experiments on the popular benchmark dataset IWSLT demonstrate that our approach is effective. Without additional data, it obtains comparable performance to the current state-of-the-art models.

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

↑