Token-Level Supervised Contrastive Learning for Punctuation Restoration

Qiushi Huang, Tom Ko, H Lilian Tang, Xubo Liu, Bo Wu
7/19/2021
cs.CLcs.LG
contrastive-ssl

Official code: hqsiswiliam/punctuation-restoration-scl (29 stars, Python, MIT, last commit 2021-09-08).

Abstract

Punctuation is critical in understanding natural language text. Currently, most automatic speech recognition (ASR) systems do not generate punctuation, which affects the performance of downstream tasks, such as intent detection and slot filling.

Show full abstract

This gives rise to the need for punctuation restoration. Recent work in punctuation restoration heavily utilizes pre-trained language models without considering data imbalance when predicting punctuation classes. In this work, we address this problem by proposing a token-level supervised contrastive learning method that aims at maximizing the distance of representation of different punctuation marks in the embedding space. The result shows that training with token-level supervised contrastive learning obtains up to 3.2% absolute F1 improvement on the test set.

View on arXivView PDF

Code Implementations(1)

MIT

Token-Level Supervised Contrastive Learning for Punctuation Restoration

295Python, ShellJun 12, 20215 years agoMIT

Similar Papers

Cite this paper

@article{huang2021tokenlevel,
  title  = {Token-Level Supervised Contrastive Learning for Punctuation Restoration},
  author = {Qiushi Huang and Tom Ko and H Lilian Tang and Xubo Liu and Bo Wu},
  year   = {2021},
  eprint = {2107.09099},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.09099}
}

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/2107.09099.svg)](https://codeofpaper.com/paper/2107.09099)

Discussion