Large-Scale News Classification using BERT Language Model: Spark NLP Approach
Not on the map. Why?
Abstract (arXiv)
The rise of big data analytics on top of NLP increases the computational burden for text processing at scale. The problems faced in NLP are very high dimensional text, so it takes a high computation resource. The MapReduce allows parallelization of large computations and can improve the efficiency of text processing. This research aims to study the effect of big data processing on NLP tasks based on a deep learning approach. We classify a big text of news topics with fine-tuning BERT used pre-trained models. Five pre-trained models with a different number of parameters were used in this study. To measure the efficiency of this method, we compared the performance of the BERT with the pipelines from Spark NLP. The result shows that BERT without Spark NLP gives higher accuracy compared to BERT with Spark NLP. The accuracy average and training time of all models using BERT is 0.9187 and 35 minutes while using BERT with Spark NLP pipeline is 0.8444 and 9 minutes. The bigger model will take more computation resources and need a longer time to complete the tasks. However, the accuracy of BERT with Spark NLP only decreased by an average of 5.7%, while the training time was reduced significantly by 62.9% compared to BERT without Spark NLP.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 16 of its 49 references that are in the map. First posted on arXiv 14 Jul 2021.
Builds on
16 of 49 references.
References · 16
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2018Deep contextualized word representationscited by 2,290
- 2016Enriching Word Vectors with Subword Informationcited by 1,583
- 2016Bag of Tricks for Efficient Text Classificationcited by 876
- 2017Learned in Translation: Contextualized Word Vectorscited by 104
- 2017DiSAN: Directional Self-Attention Network for RNN/CNN-Free Language Understandingcited by 71
- 2019DocBERT: BERT for Document Classificationcited by 68
- 2015MLlib: Machine Learning in Apache Sparkcited by 55
4 more
- 2017The Microsoft 2017 Conversational Speech Recognition Systemcited by 52
- 2016Text Classification Improved by Integrating Bidirectional LSTM with Two-dimensional Max Poolingcited by 39
- 2021Spark NLP: Natural Language Understanding at Scalecited by 16
- 2017Structural Attention Neural Networks for improved sentiment analysiscited by 6
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 1.
3 papers.
- 2024A Survey of Large Language Models for Financial Applications: Progress, Prospects and Challengescited by 90
- 2022A Curriculum Learning Approach for Multi-domain Text Classification Using Keyword weight Rankingcited by 2
- 2023KhabarChin: Automatic Detection of Important News in the Persian Languagecited by 1
- 2024A Survey of Large Language Models for Financial Applications: Progress, Prospects and Challenges15 Jun 2024
- 2023KhabarChin: Automatic Detection of Important News in the Persian Language6 Dec 2023
- 2022A Curriculum Learning Approach for Multi-domain Text Classification Using Keyword weight Ranking27 Oct 2022