A Context-Aware Feature Fusion Framework for Punctuation Restoration

Yangjun Wu, Kebin Fang, Yao Zhao
3/23/2022
cs.CLcs.SDeess.AS
transformer-attention

Official code: Young1993/ffa (4 stars, Python, last commit 2022-03-19).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Young1993/ffaOfficial100%

A Context-aware Feature Fusion Framework for Punctuation Restoration

43PythonFeb 28, 20224 years ago

Similar Papers

Cite this paper

@article{wu2022contextaware,
  title  = {A Context-Aware Feature Fusion Framework for Punctuation Restoration},
  author = {Yangjun Wu and Kebin Fang and Yao Zhao},
  year   = {2022},
  eprint = {2203.12487},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.12487}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.12487.svg)](https://codeofpaper.com/paper/2203.12487)

Discussion