Multi-Level Attention and Contrastive Learning for Enhanced Text Classification with an Optimized Transformer
Stevens Institute of Technology(史蒂文斯理工学院);San Francisco State University(旧金山州立大学);University of Minnesota(明尼苏达大学);The Chinese University of Hong Kong(香港中文大学);New York University(纽约大学)
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
An Enhanced Dual Transformer Contrastive Network for Multimodal Sentiment Analysis
Ho Chi Minh City Open University, Ho Chi Minh, Vietnam Insight Centre for Data Analytics \& School of Computing, Dublin City University, Dublin, Ireland
Neighborhood Contrastive Transformer for Change Captioning
University of Chinese Academy of Sciences(中国科学院大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Peng Cheng Laboratory(鹏城实验室)
MAMA: Meta-optimized Angular Margin Contrastive Framework for Video-Language Representation Learning
National University of Singapore (NUS)(新加坡国立大学);Nanyang Technological University (NTU)(南洋理工大学);Carnegie Mellon University (CMU)(卡内基梅隆大学);VinAI Research(VinAI研究院)
MedCPT: Contrastive Pre-trained Transformers with Large-scale PubMed Search Logs for Zero-shot Biomedical Information Retrieval
National Center for Biotechnology Information (NCBI)(国家生物技术信息中心);National Library of Medicine (NLM)(国家医学图书馆);National Institutes of Health (NIH)(国立卫生研究院)
MedCPT 利用 2.55 亿条 PubMed 点击日志进行对比预训练,首次实现生物医学零样本语义检索,并在六个 IR 任务上超越 GPT-3 规模基线模型。
Focused Transformer: Contrastive Training for Context Scaling
IDEAS NCBR(IDEAS国家数字能力研究中心);University of Warsaw(华沙大学);Google DeepMind(谷歌DeepMind);Institute of Mathematics, Polish Academy of Sciences(波兰科学院数学研究所);xAI
ESimCSE: Enhanced Sample Building Method for Contrastive Learning of Unsupervised Sentence Embedding
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Kuaishou Technology(快手科技)
Contrastive Learning and Mixture of Experts Enables Precise Vector Embeddings
Center for Bioinformatics and Computational Biology, University of Delaware(特拉华大学生物信息与计算生物学中心);University of Chicago(芝加哥大学);The College of the University of Chicago(芝加哥大学学院);Department of Biomedical Engineering, University of Delaware(特拉华大学生物医学工程系);Luddy School of Informatics, Computing, and Engineering, Indiana University(印第安纳大学勒迪信息学、计算与工程学院)
本文提出基于共被引数据集和对比学习,将Mixture of Experts扩展应用于预训练BERT,显著提升了科学文本在多领域的向量嵌入精度与通用性。