paper-with-me

홈 › Papers

Multi-Level Attention and Contrastive Learning for Enhanced Text Classification with an Optimized Transformer

2025-01-23 · Jia Gao, Guiran Liu, Binrong Zhu, Shicheng Zhou, Hongye Zheng, Xiaoxuan Liao

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 lightweight module to optimize the feature transformation process and reduce the computational cost. Experimental results on the dataset show that the improved Transformer model outperforms the comparative models such as BiLSTM, CNN, standard Transformer, and BERT in terms of classification accuracy, F1 score, and recall rate, showing stronger semantic representation ability and generalization performance. The method proposed in this paper provides a new idea for algorithm optimization in the field of text classification and has good application potential and practical value. Future work will focus on studying the performance of this model in multi-category imbalanced datasets and cross-domain tasks and explore the integration wi

📄 PDF Abstract BibTeX arXiv:2501.13467

Code (0)

등록된 구현이 없습니다.

Tasks

ClassificationContrastive Learningtext-classificationText Classification

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
Tanh Activation 설명 없음
Sigmoid Activation 설명 없음
Adam 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…

Similar Papers 제목 키워드 기반

Dual-Modal Attention-Enhanced Text-Video Retrieval with Triplet Partial Margin Contrastive Learning

2023-09-20 · Chen Jiang, Hong Liu, Xuzheng Yu, Qing Wang 외

In recent years, the explosion of web videos makes text-video retrieval increasingly essential and popular for video filtering, recommendation, and search. Text-video retrieval aims to rank relevant text/video higher tha…

Contrastive LearningRetrievalSemantic SimilaritySemantic Textual Similarity+2

Mao-Zedong At SemEval-2023 Task 4: Label Represention Multi-Head Attention Model With Contrastive Learning-Enhanced Nearest Neighbor Mechanism For Multi-Label Text Classification

2023-07-11 · Che Zhang, Ping'an Liu, Zhenyang Xiao, Haojun Fei

The study of human values is essential in both practical and theoretical domains. With the development of computational linguistics, the creation of large-scale datasets has made it possible to automatically recognize hu…

Contrastive LearningMulti Label Text ClassificationMulti-Label Text Classificationtext-classification+1

GRE^2-MDCL: Graph Representation Embedding Enhanced via Multidimensional Contrastive Learning

2024-09-12 · Kaizhe Fan, Quanjun Li

Graph representation learning has emerged as a powerful tool for preserving graph topology when mapping nodes to vector representations, enabling various downstream tasks such as node classification and community detecti…

Community DetectionContrastive LearningGraph Neural NetworkGraph Representation Learning+2

Discriminative Representation learning via Attention-Enhanced Contrastive Learning for Short Text Clustering

2025-01-07 · Zhihao Yao

Contrastive learning has gained significant attention in short text clustering, yet it has an inherent drawback of mistakenly identifying samples from the same category as negatives and then separating them in the featur…

ClusteringContrastive LearningPseudo LabelRepresentation Learning+2

Object Attribute Matters in Visual Question Answering

2023-12-20 · Peize Li, Qingyi Si, Peng Fu, Zheng Lin 외

Visual question answering is a multimodal task that requires the joint comprehension of visual and textual information. However, integrating visual and textual semantics solely through attention layers is insufficient to…

AttributeGraph Neural NetworkKnowledge DistillationObject+5