Analysis of the Evolution of Advanced Transformer-Based Language Models: Experiments on Opinion Mining

7 Aug 2023  ·  Nour Eddine Zekaoui, Siham Yousfi, Maryem Rhanoui, Mounia Mikram ·

Opinion mining, also known as sentiment analysis, is a subfield of natural language processing (NLP) that focuses on identifying and extracting subjective information in textual material. This can include determining the overall sentiment of a piece of text (e.g., positive or negative), as well as identifying specific emotions or opinions expressed in the text, that involves the use of advanced machine and deep learning techniques. Recently, transformer-based language models make this task of human emotion analysis intuitive, thanks to the attention mechanism and parallel computation. These advantages make such models very powerful on linguistic tasks, unlike recurrent neural networks that spend a lot of time on sequential processing, making them prone to fail when it comes to processing long text. The scope of our paper aims to study the behaviour of the cutting-edge Transformer-based language models on opinion mining and provide a high-level comparison between them to highlight their key particularities. Additionally, our comparative study shows leads and paves the way for production engineers regarding the approach to focus on and is useful for researchers as it provides guidelines for future research subjects.

PDF Abstract

Datasets


Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Opinion Mining IMDb Movie Reviews ELECTRA F1 95.6 # 1
Accuracy 95.6 # 1
Opinion Mining IMDb Movie Reviews T5 F1 94.0 # 7
Accuracy 93.9 # 9
Opinion Mining IMDb Movie Reviews Reformer F1 53.3 # 12
Accuracy 52.2 # 15
Opinion Mining IMDb Movie Reviews Longformer Accuracy 95.0 # 4
Opinion Mining IMDb Movie Reviews ConvBERT F1 94.6 # 5
Accuracy 94.5 # 7
Opinion Mining IMDb Movie Reviews BART Accuracy 94.6 # 6
Opinion Mining IMDb Movie Reviews XLM-RoBERTA F1 77.0 # 10
Accuracy 75.2 # 12
Opinion Mining IMDb Movie Reviews DistilBERT F1 93.5 # 8
Accuracy 93.4 # 10
Opinion Mining IMDb Movie Reviews XLNet F1 94.9 # 4
Accuracy 94.8 # 5
Opinion Mining IMDb Movie Reviews ALBERT F1 93.0 # 9
Accuracy 93.0 # 11
Opinion Mining IMDb Movie Reviews GPT-2 F1 52.9 # 13
Accuracy 54.5 # 13
Opinion Mining IMDb Movie Reviews GPT F1 66.4 # 11
Accuracy 53.2 # 14
Opinion Mining IMDb Movie Reviews BERT F1 94.1 # 6
Accuracy 94.0 # 8
Opinion Mining IMDb Movie Reviews DeBERTa F1 95.1 # 3
Accuracy 95.1 # 3
Opinion Mining IMDb Movie Reviews RoBERTa F1 95.3 # 2
Accuracy 95.3 # 2

Methods