Customer Review & Sentiment Analysis

Classifies ratings and reviews as positive or negative and extracts the aspects customers mention.

Experimental research applicationDocumentation needs completingLevel: Beginner AI in Retail & Marketing Customer Insight

Added: — Last updated:

Documentation needs completing: the content of this page is an initial editorial record whose scientific review is not yet complete; the linked papers are real records matched to OpenAlex, but they do not necessarily prove that the application is commercially deployed.

Overview

Language models analyse thousands of reviews to extract sentiment and product aspects (price, quality, delivery), quickly revealing recurring problems.

The real-world problem

Reading reviews by hand cannot keep up with their volume.

Advantages

  • Immediate detection of problems
  • Better products

Limitations

  • Sarcasm and dialects
  • Fake reviews

Ethical and technical challenges

  • Reviewers' privacy
  • Review manipulation

How it works

Clean the text, use a fine-tuned BERT model to classify sentiment, then extract aspects.

Types of data used

  • Customer reviews
  • Social media comments

Implementation requirements

Review data in Arabic and its dialects.

AI techniques

Models

Models are separated into: «actually used» (with documented evidence), «research prototype» (with published evidence), and «proposed» (suited to the task, without claiming it is used in a deployed system).

ModelNature of useArchitectureEvidence
BERT (Bidirectional Encoder Representations from Transformers) in the Model AtlasProposed / suited to the taskA model that suits this task and is used in the literature for it, suggested here without claiming it is used in a deployed product.Encoder-only Transformer—
RoBERTa (Robustly Optimized BERT Pretraining Approach) in the Model AtlasProposed / suited to the taskA model that suits this task and is used in the literature for it, suggested here without claiming it is used in a deployed product.Encoder-only Transformer—
T5 (Text-to-Text Transfer Transformer) in the Model AtlasProposed / suited to the taskA model that suits this task and is used in the literature for it, suggested here without claiming it is used in a deployed product.Encoder–decoder Transformer—

Algorithms

  • TF-IDF — Weighting words by their frequency in the document and their rarity in the collection, for text retrieval and classification.
  • Naive Bayes — A probabilistic classifier that assumes features are independent given the class, common in text classification.
  • Transfer Learning / Fine-tuning — Reusing a pre-trained model and fine-tuning it on a new task with less data.

Frameworks and tools

  • Hugging Face Transformers — A library for loading pre-trained models and fine-tuning them for text, images and audio.
  • scikit-learn — A Python library for classical machine learning algorithms, evaluation and preprocessing.

Datasets

DatasetSizeLicenceDocumentationSource
IMDb Large Movie Review Dataset In the Dataset ExplorerUnknownDocumentation needs completingSource
Sentiment140 In the Dataset Explorer1,600,498 samples — 77.59 MBUnknownDocumentation needs completingSource
GoEmotions In the Dataset Explorer54,263 samples — 4.19 MBUnknownDocumentation needs completingSource

Real-world examples

There are currently no documented real-world examples of this application in the encyclopedia. Recorded application type: «Experimental research application».

Research papers

Research and project ideas

Recorded research gap

Aspect-based sentiment analysis for Arabic dialects

The following ideas are suggestions derived from the application's record, not completed projects; review recent literature before adopting them.

Graduation project (bachelor's)

Graduation project: a prototype system for Customer Review & Sentiment Analysis

A suggested project idea derived from the application's record in the encyclopedia, not a completed project. Classifies ratings and reviews as positive or negative and extracts the aspects customers mention.

Objectives: Build a prototype that addresses the problem: Reading reviews by hand cannot keep up with their volume. Evaluate it with suitable metrics and compare it with a simple baseline.

Methodology: Clean the text, use a fine-tuned BERT model to classify sentiment, then extract aspects.

Suggested models: BERT (Bidirectional Encoder Representations from Transformers), RoBERTa (Robustly Optimized BERT Pretraining Approach), T5 (Text-to-Text Transfer Transformer) — Suggested data: IMDb Large Movie Review Dataset, Sentiment140, GoEmotions

Master's

Aspect-based sentiment analysis for Arabic dialects

A suggested research topic derived from the gap recorded for this application in the encyclopedia; it needs a review of recent literature before it is adopted.

Objectives: Addressing the recorded limitations: Sarcasm and dialects; Fake reviews

Methodology: Review the related literature recorded, then design reproducible experiments on the available datasets, with a strict data split to avoid leakage and reporting of confidence intervals.

Suggested models: BERT (Bidirectional Encoder Representations from Transformers), RoBERTa (Robustly Optimized BERT Pretraining Approach), T5 (Text-to-Text Transfer Transformer) — Suggested data: IMDb Large Movie Review Dataset, Sentiment140, GoEmotions

References

  1. Haoyue Liu, Ishani Chatterjee, MengChu Zhou et al. (2020). Aspect-Based Sentiment Analysis: A Survey of Deep Learning Methods. IEEE Transactions on Computational Social Systems. doi:10.1109/tcss.2020.3033302
  2. Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J. Liu (2020). Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21(140), 1–67. Link
  3. Jacob Devlin, Ming-Wei Chang, Kenton Lee, Kristina Toutanova (2019). BERT: Pre-training of deep bidirectional transformers for language understanding. NAACL-HLT 2019, 4171–4186. doi:10.18653/v1/n19-1423
  4. Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, Veselin Stoyanov (2019). RoBERTa: A robustly optimized BERT pretraining approach. . Link
  5. GoEmotions — TensorFlow Datasets catalog [Dataset source, accessed: 2026-11-15] Link
  6. IMDb Large Movie Review Dataset — TensorFlow Datasets catalog [Dataset source, accessed: 2026-11-15] Link
  7. Sentiment140 — TensorFlow Datasets catalog [Dataset source, accessed: 2026-11-15] Link
  8. Hugging Face Transformers [Tool documentation, accessed: 2026-11-15] Link
  9. scikit-learn [Tool documentation, accessed: 2026-11-15] Link