Multi-Level Attention and Contrastive Learning for Enhanced Text Classification with an Optimized Transformer
Jia Gao, Guiran Liu, Binrong Zhu, Shicheng Zhou, Hongye Zheng,, Xiaoxuan Liao

TL;DR
This paper introduces an enhanced Transformer model with multi-level attention and contrastive learning to improve text classification accuracy and efficiency, demonstrating superior performance over existing models on benchmark datasets.
Contribution
It proposes a novel multi-level attention mechanism combined with contrastive learning and a lightweight module for optimized text classification with improved semantic understanding.
Findings
Outperforms BiLSTM, CNN, Transformer, and BERT in accuracy, F1 score, and recall
Enhances semantic representation and generalization in text classification
Reduces computational cost with a lightweight feature transformation module
Abstract
This paper studies a text classification algorithm based on an improved Transformer to improve the performance and efficiency of the model in text classification tasks. Aiming at the shortcomings of the traditional Transformer model in capturing deep semantic relationships and optimizing computational complexity, this paper introduces a multi-level attention mechanism and a contrastive learning strategy. The multi-level attention mechanism effectively models the global semantics and local features in the text by combining global attention with local attention; the contrastive learning strategy enhances the model's ability to distinguish between different categories by constructing positive and negative sample pairs while improving the classification effect. In addition, in order to improve the training and inference efficiency of the model on large-scale text data, this paper designs a…
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
TopicsText and Document Classification Technologies
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Attention Is All You Need · Tanh Activation · Sigmoid Activation · Adam · Softmax · Linear Warmup With Linear Decay · Absolute Position Encodings · Residual Connection · Dropout
