English

Enhancing Sentence Embedding with Generalized Pooling

Computation and Language 2022-02-24 v1 Artificial Intelligence Machine Learning

Abstract

Pooling is an essential component of a wide variety of sentence representation and embedding models. This paper explores generalized pooling methods to enhance sentence embedding. We propose vector-based multi-head attention that includes the widely used max pooling, mean pooling, and scalar self-attention as special cases. The model benefits from properly designed penalization terms to reduce redundancy in multi-head attention. We evaluate the proposed model on three different tasks: natural language inference (NLI), author profiling, and sentiment classification. The experiments show that the proposed model achieves significant improvement over strong sentence-encoding-based methods, resulting in state-of-the-art performances on four datasets. The proposed approach can be easily implemented for more problems than we discuss in this paper.

Keywords

Cite

@article{arxiv.1806.09828,
  title  = {Enhancing Sentence Embedding with Generalized Pooling},
  author = {Qian Chen and Zhen-Hua Ling and Xiaodan Zhu},
  journal= {arXiv preprint arXiv:1806.09828},
  year   = {2022}
}

Comments

Accepted by COLING 2018

R2 v1 2026-06-23T02:41:52.219Z