WC-SBERT: Zero-Shot Topic Classification Using SBERT and Light Self-Training on Wikipedia Categories

Author:

Chi Te-Yu1ORCID,Jang Jyh-Shing Roger1ORCID

Affiliation:

1. Dept. of CSIE, National Taiwan University, Taiwan

Abstract

In NLP (natural language processing), zero-shot topic classification requires machines to understand the contextual meanings of texts in a downstream task without using the corresponding labeled texts for training, which is highly desirable for various applications [2]. In this paper, we propose a novel approach to construct a zero-shot task-specific model called WC-SBERT with satisfactory performance. The proposed approach is highly efficient since it uses light self-training requiring target labels (target class names of downstream tasks) only, which is distinct from other research that uses both the target labels and the unlabeled texts for training. In particular, during the pre-training stage, WC-SBERT uses contrastive learning with the multiple negative ranking loss [9] to construct the pre-trained model based on the similarity between Wiki categories. For the self-training stage, online contrastive loss is utilized to reduce the distance between a target label and Wiki categories of similar Wiki pages to the label. Experimental results indicate that compared to existing self-training models, WC-SBERT achieves rapid inference on approximately 6.45 million Wiki text entries by utilizing pre-stored Wikipedia text embeddings, significantly reducing inference time per sample by a factor of 2,746 to 16,746. During the fine-tuning step, the time required for each sample is reduced by a factor of 23 to 67. Overall, the total training time shows a maximum reduction of 27.5 times across different datasets. Most importantly, our model has achieved SOTA (state-of-the-art) accuracy on two of the three commonly used datasets for evaluating zero-shot classification, namely the AG News (0.84) and Yahoo! Answers (0.64) datasets. The code for WC-SBERT is publicly available on GitHub 1 , and the dataset can also be accessed on Hugging Face 2 .

Publisher

Association for Computing Machinery (ACM)

Reference29 articles.

1. Sören Auer Christian Bizer Georgi Kobilarov Jens Lehmann Richard Cyganiak and Zachary Ives. 2007. DBpedia: A Nucleus for a Web of Open Data. In The Semantic Web Karl Aberer Key-Sun Choi Natasha Noy Dean Allemang Kyung-Il Lee Lyndon Nixon Jennifer Golbeck Peter Mika Diana Maynard Riichiro Mizoguchi Guus Schreiber and Philippe Cudré-Mauroux (Eds.). Springer Berlin Heidelberg Berlin Heidelberg 722–735.

2. Zero-Shot Taxonomy Mapping for Document Classification

3. Ming-Wei Chang, Lev Ratinov, Dan Roth, and Vivek Srikumar. 2008. Importance of Semantic Representation: Dataless Classification. In Proceedings of the 23rd National Conference on Artificial Intelligence - Volume 2 (Chicago, Illinois) (AAAI’08). AAAI Press, 830–835.

4. Qianben Chen, Richong Zhang, Yaowei Zheng, and Yongyi Mao. 2022. Dual Contrastive Learning: Text Classification via Label-Aware Data Augmentation. CoRR abs/2201.08702 (2022). arXiv:2201.08702 https://arxiv.org/abs/2201.08702

5. Zewei Chu, Karl Stratos, and Kevin Gimpel. 2020. Natcat: Weakly Supervised Text Classification with Naturally Annotated Datasets. CoRR abs/2009.14335 (2020). arXiv:2009.14335 https://arxiv.org/abs/2009.14335

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3