Graph Contrastive Learning via Cluster-refined Negative Sampling for Semi-supervised Text Classification

Wei Ai, Jianbin Li, Ze Wang, Jiayi Du, Tao Meng +2 more
10/18/2024
cs.LGcs.CL

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

Graph contrastive learning (GCL) has been widely applied to text classification tasks due to its ability to generate self-supervised signals from unlabeled data, thus facilitating model training. However, existing GCL-based text classification methods often suffer from negative sampling bias, where similar nodes are incorrectly paired as negative pairs. This can lead to over-clustering, where instances of the same class are divided into different clusters. To address the over-clustering issue, we propose an innovative GCL-based method of graph contrastive learning via cluster-refined negative sampling for semi-supervised text classification, namely ClusterText. Firstly, we combine the pre-trained model Bert with graph neural networks to learn text representations. Secondly, we introduce a clustering refinement strategy, which clusters the learned text representations to obtain pseudo labels. For each text node, its negative sample set is drawn from different clusters. Additionally, we propose a self-correction mechanism to mitigate the loss of true negative samples caused by clustering inconsistency. By calculating the Euclidean distance between each text node and other nodes within the same cluster, distant nodes are still selected as negative samples. Our proposed ClusterText demonstrates good scalable computing, as it can effectively extract important information from from a large amount of data. Experimental results demonstrate the superiority of ClusterText in text classification tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ai2024graph,
  title  = {Graph Contrastive Learning via Cluster-refined Negative Sampling for Semi-supervised Text Classification},
  author = {Wei Ai and Jianbin Li and Ze Wang and Jiayi Du and Tao Meng and Yuntao Shou and Keqin Li},
  year   = {2024},
  eprint = {2410.18130},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.18130v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.18130.svg)](https://codeofpaper.com/paper/2410.18130)

Discussion