Skip to main content
QUICK REVIEW

[Paper Review] Cooking Is All About People: Comment Classification On Cookery Channels Using BERT and Classification Models (Malayalam-English Mix-Code)

Subramaniam Kazhuparambil, Abhishek Kaushik|arXiv (Cornell University)|Jun 15, 2020
Sentiment Analysis and Opinion MiningComputer Science8 citations
TL;DR

This study evaluates traditional machine learning models and multilingual transformer models (BERT, DistilBERT, XLM) for classifying multilingual YouTube comments in Malayalam-English mix-code. Using a custom dataset of cookery channel comments, XLM achieved the highest accuracy of 67.31%, outperforming traditional models like Random Forest (63.59%), demonstrating the superiority of transformer-based models for low-resource multilingual text classification despite higher computational costs.

ABSTRACT

The scope of a lucrative career promoted by Google through its video distribution platform YouTube has attracted a large number of users to become content creators. An important aspect of this line of work is the feedback received in the form of comments which show how well the content is being received by the audience. However, volume of comments coupled with spam and limited tools for comment classification makes it virtually impossible for a creator to go through each and every comment and gather constructive feedback. Automatic classification of comments is a challenge even for established classification models, since comments are often of variable lengths riddled with slang, symbols and abbreviations. This is a greater challenge where comments are multilingual as the messages are often rife with the respective vernacular. In this work, we have evaluated top-performing classification models for classifying comments which are a mix of different combinations of English and Malayalam (only English, only Malayalam and Mix of English and Malayalam). The statistical analysis of results indicates that Multinomial Naive Bayes, K-Nearest Neighbors (KNN), Support Vector Machine (SVM), Random Forest and Decision Trees offer similar level of accuracy in comment classification. Further, we have also evaluated 3 multilingual transformer based language models (BERT, DISTILBERT and XLM) and compared their performance to the traditional machine learning classification techniques. XLM was the top-performing BERT model with an accuracy of 67.31. Random Forest with Term Frequency Vectorizer was the best performing model out of all the traditional classification models with an accuracy of 63.59.

Motivation & Objective

  • To address the challenge of manual comment analysis for YouTubers due to high volume and multilingual, informal content.
  • To evaluate the performance of traditional machine learning models and transformer-based language models on multilingual (Malayalam-English) comment classification.
  • To identify the most effective model configuration for classifying viewer feedback on cookery channels.
  • To assess the statistical significance and robustness of classification results across diverse models and feature engineering techniques.
  • To provide a practical, scalable tool for content creators to automatically extract sentiment and feedback from multilingual YouTube comments.

Proposed method

  • Collected and curated a dataset of 1,000 YouTube comments from Malayalam cookery channels, annotated into three sentiment classes: positive, negative, and neutral.
  • Preprocessed comments using custom stopword lists in Malayalam and English, without stemming Malayalam words due to linguistic complexity.
  • Applied four vectorization techniques: TF-IDF, Count Vectorizer, TfidfVectorizer, and Binary Vectorizer to extract features for traditional models.
  • Trained and evaluated five traditional models: Multinomial Naïve Bayes, K-Nearest Neighbors (KNN), Support Vector Machine (SVM), Random Forest, and Decision Trees.
  • Fine-tuned three multilingual transformer models: BERT, DistilBERT, and XLM, using their uncased uncased base variants for fine-tuning on the mixed-language dataset.
  • Conducted hyperparameter tuning for all models and applied the Friedman test to assess statistical significance of performance differences.

Experimental results

Research questions

  • RQ1How difficult is it to classify multilingual text data composed of Malayalam-English mix-code comments?
  • RQ2Which traditional machine learning model performs best when combined with different feature engineering techniques for multilingual comment classification?
  • RQ3How do transformer-based models (BERT, DistilBERT, XLM) compare in performance to traditional models on this multilingual classification task?
  • RQ4What is the statistical significance of the performance differences across multiple classification models?
  • RQ5Can a hybrid approach combining multiple models improve classification accuracy for informal, multilingual YouTube comments?

Key findings

  • XLM achieved the highest overall accuracy of 67.31%, outperforming all other models, including traditional classifiers.
  • Random Forest with Term Frequency Vectorizer achieved the best performance among traditional models, with an accuracy of 63.59%.
  • All transformer-based models consistently outperformed traditional models, with XLM, DistilBERT, and BERT achieving accuracy in the 65%-67% range.
  • The Friedman test confirmed that the performance differences across models were statistically significant, ruling out chance as a factor.
  • Traditional models showed similar performance levels, indicating that model choice alone is less impactful than feature engineering and model architecture.
  • The study highlights a trade-off: while transformer models are more accurate, they are significantly more computationally expensive than traditional models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.