Abstract
We propose to learn distributed sentence representation using text’s visual features as input. Different from the existing methods that render the words or characters of a sentence into images separately, we further fold these images into a 3-dimensional sentence tensor. Then, multiple 3-dimensional convolutions with different lengths (the third dimension) are applied to the sentence tensor, which act as bi-gram, tri-gram, quad-gram, and even five-gram detectors jointly. Similar to the Bi-LSTM, these n-gram detectors learn both forward and backward distributional semantic knowledge from the sentence tensor. That is, the proposed model using bi-directional convolutions to learn text embedding according to the semantic order of words. The feature maps from the two directions are concatenated for final sentence embedding learning. Our model involves only a single-layer of convolution which makes it easy and fast to train. Finally, we evaluate the sentence embeddings on several downstream Natural Language Processing (NLP) tasks, which demonstrate a surprisingly excellent performance of the proposed model.- Anthology ID:
- 2020.coling-main.601
- Volume:
- Proceedings of the 28th International Conference on Computational Linguistics
- Month:
- December
- Year:
- 2020
- Address:
- Barcelona, Spain (Online)
- Editors:
- Donia Scott, Nuria Bel, Chengqing Zong
- Venue:
- COLING
- SIG:
- Publisher:
- International Committee on Computational Linguistics
- Note:
- Pages:
- 6820–6830
- Language:
- URL:
- https://aclanthology.org/2020.coling-main.601
- DOI:
- 10.18653/v1/2020.coling-main.601
- Cite (ACL):
- Bin Liu, Liang Wang, and Guosheng Yin. 2020. Learning distributed sentence vectors with bi-directional 3D convolutions. In Proceedings of the 28th International Conference on Computational Linguistics, pages 6820–6830, Barcelona, Spain (Online). International Committee on Computational Linguistics.
- Cite (Informal):
- Learning distributed sentence vectors with bi-directional 3D convolutions (Liu et al., COLING 2020)
- PDF:
- https://preview.aclanthology.org/nschneid-patch-4/2020.coling-main.601.pdf
- Data
- SICK, SentEval