CNN-Trans-Enc: A CNN-Enhanced Transformer-Encoder On Top Of Static BERT representations for Document Classification
Not on the map. Why?
Abstract (arXiv)
BERT achieves remarkable results in text classification tasks, it is yet not fully exploited, since only the last layer is used as a representation output for downstream classifiers. The most recent studies on the nature of linguistic features learned by BERT, suggest that different layers focus on different kinds of linguistic features. We propose a CNN-Enhanced Transformer-Encoder model which is trained on top of fixed BERT [CLS] representations from all layers, employing Convolutional Neural Networks to generate QKV feature maps inside the Transformer-Encoder, instead of linear projections of the input into the embedding space. CNN-Trans-Enc is relatively small as a downstream classifier and doesn't require any fine-tuning of BERT, as it ensures an optimal use of the [CLS] representations from all layers, leveraging different linguistic features with more meaningful, and generalizable QKV representations of the input. Using BERT with CNN-Trans-Enc keeps 98.9% and 94.8% of current state-of-the-art performance on the IMDB and SST-5 datasets respectably, while obtaining new state-of-the-art on YELP-5 with 82.23 (8.9% improvement), and on Amazon-Polarity with 0.98% (0.2% improvement) (K-fold Cross Validation on a 1M sample subset from both datasets). On the AG news dataset CNN-Trans-Enc achieves 99.94% of the current state-of-the-art, and achieves a new top performance with an average accuracy of 99.51% on DBPedia-14. Index terms: Text Classification, Natural Language Processing, Convolutional Neural Networks, Transformers, BERT
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 28 of its 39 references that are in the map. First posted on arXiv 13 Sep 2022.
Builds on
28 of 39 references.
References · 28
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
- 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,057
- 2020On Layer Normalization in the Transformer Architecturecited by 906
16 more
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
- 2019How to Fine-Tune BERT for Text Classification?cited by 409
- 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 253
- 2020Deep Learning Based Text Classification: A Comprehensive Reviewcited by 140
- 2015All you need is a good initcited by 124
- 2021Entailment as Few-Shot Learnercited by 122
- 2015A Sensitivity Analysis of (and Practitioners' Guide to) Convolutional Neural Networks for Sentence Classificationcited by 92
- 2021BertGCN: Transductive Text Classification by Combining GCN and BERTcited by 74
- 2019Fine-grained Sentiment Classification using BERTcited by 38
- 2019Sampling Bias in Deep Active Classification: An Empirical Studycited by 36
- 2020Self-Explaining Structures Improve NLP Modelscited by 22
- 2018Explicit Interaction Model towards Text Classificationcited by 16
- 2019Learning to Remember More with Less Memorizationcited by 14
- 2019Graph Star Net for Generalized Multi-Task Learningcited by 11
- 2019Hierarchical Attentional Hybrid Neural Networks for Document Classificationcited by 10
- 2018Compositional Coding Capsule Network with K-Means Routing for Text Classificationcited by 5
Built on by
Citing papers per year: 2024: 1.
1 paper.