mlsanityData to 7 Oct 2026

Improving Sampling Methods for Fine-tuning SentenceBERT in Text Streams

arXiv 2403.15455 ↗First posted 18 Mar 2024cs.CL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

The proliferation of textual data on the Internet presents a unique opportunity for institutions and companies to monitor public opinion about their services and products. Given the rapid generation of such data, the text stream mining setting, which handles sequentially arriving, potentially infinite text streams, is often more suitable than traditional batch learning. While pre-trained language models are commonly employed for their high-quality text vectorization capabilities in streaming contexts, they face challenges adapting to concept drift - the phenomenon where the data distribution changes over time, adversely affecting model performance. Addressing the issue of concept drift, this study explores the efficacy of seven text sampling methods designed to selectively fine-tune language models, thereby mitigating performance degradation. We precisely assess the impact of these methods on fine-tuning the SBERT model using four different loss functions. Our evaluation, focused on Macro F1-score and elapsed time, employs two text stream datasets and an incremental SVM classifier to benchmark performance. Our findings indicate that Softmax loss and Batch All Triplets loss are particularly effective for text stream classification, demonstrating that larger sample sizes generally correlate with improved macro F1-scores. Notably, our proposed WordPieceToken ratio sampling method significantly enhances performance with the identified loss functions, surpassing baseline results.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 12 of its 26 references that are in the map. First posted on arXiv 18 Mar 2024.

Builds on

12 of 26 references.

References · 12

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  4. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
  5. 2016Bag of Tricks for Efficient Text Classificationcited by 869
  6. 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 784
  7. 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 414
  8. 2017Efficient Natural Language Response Suggestion for Smart Replycited by 228
  9. 2020The Cost of Training NLP Models: A Concise Overviewcited by 97
  10. 2021Dynamic Language Models for Continuously Evolving Contentcited by 27
  11. 2023Concept Drift Adaptation in Text Stream Mining Settings: A Systematic Reviewcited by 5
  12. 2019ASSED -- A Framework for Identifying Physical Events through Adaptive Social Sensor Data Filteringcited by 3

Built on by

Not cited yet.