Text classification with pixel embedding
Bin Liu, Guosheng Yin, Wenbin Du

TL;DR
This paper introduces a novel text classification framework that converts text into 3D tensors of word images, enabling effective use of 3D CNNs for improved classification accuracy.
Contribution
It proposes transforming text into video-like 3D tensors of word images to facilitate convolutional n-gram modeling with CNNs, showing superior performance.
Findings
Outperforms existing text classification methods
Effective n-gram modeling with 3D CNNs
Robust across multiple datasets
Abstract
We propose a novel framework to understand the text by converting sentences or articles into video-like 3-dimensional tensors. Each frame, corresponding to a slice of the tensor, is a word image that is rendered by the word's shape. The length of the tensor equals to the number of words in the sentence or article. The proposed transformation from the text to a 3-dimensional tensor makes it very convenient to implement an -gram model with convolutional neural networks for text analysis. Concretely, we impose a 3-dimensional convolutional kernel on the 3-dimensional text tensor. The first two dimensions of the convolutional kernel size equal the size of the word image and the last dimension of the kernel size is . That is, every time when we slide the 3-dimensional kernel over a word sequence, the convolution covers word images and outputs a scalar. By iterating this process…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsHandwritten Text Recognition Techniques · Multimodal Machine Learning Applications · Topic Modeling
MethodsConvolution
