Zero-shot Sequence Labeling for Transformer-based Sentence Classifiers
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.
- Publication:
-
arXiv e-prints
- Pub Date:
- March 2021
- DOI:
- 10.48550/arXiv.2103.14465
- arXiv:
- arXiv:2103.14465
- Bibcode:
- 2021arXiv210314465B
- Keywords:
-
- Computer Science - Computation and Language;
- Computer Science - Artificial Intelligence