arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.26310cs.CL
收藏

在20类情感检测上对比PyCaret AutoML与BiLSTM的基准测试:一项细粒度情感分类的比较研究

Benchmarking PyCaret AutoML Against BiLSTM for Fine-Grained Emotion Classification: A Comparative Study on 20-Class Emotion Detection

Institut Teknologi Sumatera(印度尼西亚苏门答腊理工大学)

Arya Muda Siregar, Arielva Simon Siahaan, Haikal Fransisko Simbolon, Luluk Muthoharoh, Ardika Satria, Martin C. T. Manullang

AI总结:

本文比较了PyCaret AutoML与BiLSTM在20类情感分类中的性能,发现BiLSTM在准确率和F1分数上略胜一筹,表明序列模型在捕捉文本情感线索方面更有效。

摘要:

细粒度情感分类,即识别如喜悦、愤怒、悲伤和恐惧等具体情绪状态,仍然是自然语言处理中的挑战任务。本研究利用包含79,595个英语句子的20情绪文本分类数据集,对20类情感分类的经典机器学习和深度学习方法进行基准测试。在机器学习方面,使用TF-IDF特征评估了逻辑回归、多项式朴素贝叶斯和支持向量机。在深度学习方面,比较了双向长短期记忆网络、门控循环单元以及PyTorch实现的轻量级Transformer。结果表明,BiLSTM在准确率为89%、加权F1得分为0.89的情况下表现最佳,略胜于最佳机器学习模型SVM(准确率为88.11%)。研究发现,尽管传统机器学习模型仍具竞争力且计算高效,基于序列的深度学习模型在捕捉文本情感线索方面更有效。

英文摘要:

Fine-grained emotion classification, which identifies specific emotional states such as happiness, anger, sadness, and fear, remains a challenging task in natural language processing. This study benchmarks classical machine learning and deep learning approaches for 20-class emotion classification using the 20-Emotion Text Classification Dataset containing 79,595 English sentences. On the machine learning side, Logistic Regression, Multinomial Naive Bayes, and Support Vector Machine are evaluated using TF-IDF features. On the deep learning side, Bidirectional Long Short-Term Memory, Gated Recurrent Unit, and a lightweight Transformer implemented in PyTorch are compared. The results show that BiLSTM achieves the best overall performance with 89% accuracy and a weighted F1-score of 0.89, slightly outperforming the best machine learning model, SVM, which reaches 88.11% accuracy. The findings indicate that while traditional machine learning models remain competitive and computationally efficient, sequence-based deep learning models better capture contextual emotional cues in text.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑