Automatic text classification (ATC) has experienced remarkable advancements in the past decade, best exemplified by recent small and large language models (SLMs and LLMs), leveraged by Transformer architectures. Despite recent effectiveness improvements, a comprehensive cost-benefit analysis investigating whether the effectiveness gains of these recent approaches compensate their much higher costs when compared to more traditional text classification approaches such as SVMs and Logistic Regression is still missing in the literature. In this context, this work's main contributions are twofold: (i) we provide a scientifically sound comparative analysis of the cost-benefit of twelve traditional and recent ATC solutions including five open LLMs, and (ii) a large benchmark comprising {22 datasets}, including sentiment analysis and topic classification, with their (train-validation-test) partitions based on folded cross-validation procedures, along with documentation, and code. The release of code, data, and documentation enables the community to replicate experiments and advance the field in a more scientifically sound manner. Our comparative experimental results indicate that LLMs outperform traditional approaches (up to 26%-7.1% on average) and SLMs (up to 4.9%-1.9% on average) in terms of effectiveness. However, LLMs incur significantly higher computational costs due to fine-tuning, being, on average 590x and 8.5x slower than traditional methods and SLMs, respectively. Results suggests the following recommendations: (1) LLMs for applications that require the best possible effectiveness and can afford the costs; (2) traditional methods such as Logistic Regression and SVM for resource-limited applications or those that cannot afford the cost of tuning large LLMs; and (3) SLMs like Roberta for near-optimal effectiveness-efficiency trade-off.
以往的自动人格识别工作主要集中在使用传统的语言特征分类模型。然而,具有上下文嵌入的注意神经网络在文本分类中取得了巨大的成功,很少被探索用于这项任务。在这个项目中,我们有两个主要贡献。首先,我们创建了第一个基于对话的人格数据集,MysPersona,通过众包注释来自Friends TV Show的演讲者的5个人格特征。其次,我们提出了一种新的方法来自动人格识别使用预先训练的上下文嵌入(BERT和RoBERTa)和专注的神经网络。我们的模型在很大程度上将独白Essays数据集的最新结果提高了2.49%,并在我们的MonkeysPersona上建立了坚实的基准。通过比较两个数据集的结果,我们展示了在多方对话中建模个性的挑战。
Traditional Machine Learning Models and Bidirectional Encoder Representations From Transformer (BERT)-Based Automatic Classification of Tweets About Eating Disorders: Algorithm Development and Validation Study
University of León(莱昂大学);Leibniz University of Hannover(汉诺威莱布尼茨大学);Spanish National University for Distance Education(西班牙国家远程教育大学)
Meeting the Needs of Low-Resource Languages: The Value of Automatic Alignments via Pretrained Models
University of Colorado Boulder(科罗拉多大学博尔德分校);Johns Hopkins University(约翰斯·霍普金斯大学);University of Edinburgh(爱丁堡大学);Universidad de la República(共和国大学);Northeastern University(东北大学);Universidade Tecnológica Federal do Paraná(巴拉那联邦技术大学);Dartmouth College(达特茅斯学院)
Integration of Large Language Models and Traditional Deep Learning for Social Determinants of Health Prediction
University of Illinois College of Medicine Peoria(伊利诺伊大学皮奥里亚医学院);Siebel School of Computing and Data Science, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校西贝尔计算与数据科学学院);Carle Illinois College of Medicine, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校卡尔·伊利诺伊医学院)