Hate Speech Detection in Thai Social Media with Ordinal-Imbalanced Text Classification

dc.contributor.authorPasupa, Kitsuchart
dc.contributor.authorKarnbanjob, Werasut
dc.contributor.authorAksornsiri, Massakorn
dc.date.accessioned2026-08-06T10:35:11Z
dc.date.available2026-08-06T10:35:11Z
dc.date.issued2022-01-01
dc.description.abstractCyberbullying has become a serious problem in Thai social media. For example, some Thai people posted hate speeches on Myanmar workers in Thailand during the COVID-19 pandemic, which might elevate hate crime. It is imperative and urgent to detect cyberbullying on Thai social media. The task is a text classification problem. Moreover, hate speeches contain the order of severity levels, but many pieces of work did not consider this point in the model. Therefore, we developed a Thai hate-speech classification method with various loss functions to detect such hate speeches accurately. We evaluated them on a corpus of ordinal-imbalanced Thai text. The evaluated outcomes indicated that the best-in terms of $F$1 -score-model was the model with a loss function of a hybrid between an Ordinal regression loss function and Pearson correlation coefficients (common in similarity function). It yielded an average F1-score of 78.38 %-0.88 % significantly higher than the score achieved by a conventional loss function-and an average mean squared error of 0.2478-5.49 % relative improvement. Thus, the proposed hybrid loss function improved the efficiency of the model.
dc.identifier.citation2022 19th International Joint Conference on Computer Science and Software Engineering Jcsse 2022, 2022
dc.identifier.doi10.1109/JCSSE54890.2022.9836312
dc.identifier.other2-s2.0-85136202488
dc.identifier.urihttps://dspace.kmitl.ac.th/handle/123456789/12724
dc.source2022 19th International Joint Conference on Computer Science and Software Engineering Jcsse 2022
dc.subjectDeep Learning
dc.subjectHybrid Loss Function
dc.subjectImbalanced Data
dc.subjectNatural Language Processing
dc.subjectText Classification
dc.titleHate Speech Detection in Thai Social Media with Ordinal-Imbalanced Text Classification
dc.typeConference Paper

Files

Collections