Zero-shot Sequence Labeling for Transformer-based Sentence Classifiers
Computation and Language
2021-06-10 v2 Artificial Intelligence
Abstract
We investigate how sentence-level transformers can be modified into effective sequence labelers at the token level without any direct supervision. Existing approaches to zero-shot sequence labeling do not perform well when applied on transformer-based architectures. As transformers contain multiple layers of multi-head self-attention, information in the sentence gets distributed between many tokens, negatively affecting zero-shot token-level performance. We find that a soft attention module which explicitly encourages sharpness of attention weights can significantly outperform existing methods.
Keywords
Cite
@article{arxiv.2103.14465,
title = {Zero-shot Sequence Labeling for Transformer-based Sentence Classifiers},
author = {Kamil Bujel and Helen Yannakoudakis and Marek Rei},
journal= {arXiv preprint arXiv:2103.14465},
year = {2021}
}