[Paper Review] Self-supervised Document Clustering Based on BERT with Data Augment
This paper proposes a self-supervised contrastive learning (SCL) and few-shot contrastive learning (FCL) framework based on BERT with unsupervised data augmentation (UDA) for text clustering. By leveraging back-translation and random masking to generate positive samples, SCL achieves state-of-the-art performance on both short and long text clustering benchmarks, while FCL with UDA closely matches supervised learning performance, especially on short texts.
Contrastive learning is a promising approach to unsupervised learning, as it inherits the advantages of well-studied deep models without a dedicated and complex model design. In this paper, based on bidirectional encoder representations from transformers, we propose self-supervised contrastive learning (SCL) as well as few-shot contrastive learning (FCL) with unsupervised data augmentation (UDA) for text clustering. SCL outperforms state-of-the-art unsupervised clustering approaches for short texts and those for long texts in terms of several clustering evaluation measures. FCL achieves performance close to supervised learning, and FCL with UDA further improves the performance for short texts.
Motivation & Objective
- To address the limitations of complex generative unsupervised clustering models by introducing a discriminative contrastive learning approach.
- To improve clustering performance on short and long texts without relying on labeled data.
- To explore the effectiveness of unsupervised data augmentation (UDA) in enhancing contrastive learning for text clustering.
- To achieve performance close to supervised learning using only a few labeled examples via few-shot contrastive learning (FCL).
- To develop a scalable, end-to-end framework that leverages BERT representations with contrastive loss for improved clustering.
Proposed method
- Uses BERT to encode text inputs into dense latent representations for clustering.
- Applies multi-language back-translation (BT) and random masking (RM) to generate positive sample pairs for self-supervised contrastive learning (SCL).
- Employs few-shot contrastive learning (FCL) using a small number of labeled examples, where positive pairs are drawn from the same class.
- Utilizes a contrastive loss function based on cosine similarity between representations, with a temperature parameter to control intra- and inter-cluster distances.
- Integrates unsupervised data augmentation (UDA) to further improve performance, especially on short texts.
- Applies clustering on the final BERT-encoded representations using standard algorithms after fine-tuning.
Experimental results
Research questions
- RQ1Can self-supervised contrastive learning based on BERT outperform existing unsupervised clustering methods on short and long text datasets?
- RQ2To what extent can few-shot contrastive learning (FCL) achieve performance close to supervised learning in text clustering?
- RQ3How does unsupervised data augmentation (UDA) improve the performance of FCL, particularly on short texts?
- RQ4What is the impact of different data augmentation strategies—back-translation and random masking—on positive sample generation in contrastive learning?
- RQ5How do contrastive learning with BERT representations compare to traditional autoencoder or generative models in clustering effectiveness?
Key findings
- SCL achieves state-of-the-art clustering accuracy on both short and long text datasets across multiple evaluation metrics, including NMI, AMI, ARI, and BCubed F1.
- FCL achieves performance very close to supervised learning, demonstrating the effectiveness of few-shot supervision in contrastive learning.
- FCL with unsupervised data augmentation (UDA) further improves clustering performance on short texts, indicating that data augmentation enhances generalization in low-resource settings.
- The use of back-translation and random masking as data augmentation techniques effectively generates meaningful positive samples, improving contrastive learning stability and performance.
- The contrastive loss with temperature scaling successfully balances intra-cluster compactness and inter-cluster separation, leading to better clustering quality.
- The proposed method outperforms strong baselines such as SIF + Autoencoder, G-BAT, and SS-SB-MT on all benchmark datasets evaluated.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.