arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.01256cs.CLcs.AIcs.LGcs.PF
收藏

基于能量的法律领域文本分类常见方法比较分析

An energy-based comparative analysis of common approaches to text classification in the Legal domain

Sinan Gultekin, Achille Globo, Andrea Zugarini, Marco Ernandes, Leonardo Rigutini

AI总结:

本研究在LexGLUE基准上比较了LLM与传统方法(如SVM)在法律文本分类中的性能与碳足迹,发现简单算法在性能接近的同时能耗更低,建议公司评估ML方案时考虑额外因素。

摘要:

大多数机器学习研究以性能为基准评估最佳解决方案。然而,在追求最佳性能模型的竞赛中,许多重要方面常常被忽视,而实际上这些方面应被仔细考虑。事实上,有时不同方法之间的性能差距可以忽略不计,而生产成本、能源消耗和碳足迹等因素则必须纳入考量。大型语言模型(LLMs)在学术界和工业界被广泛用于解决自然语言处理问题。在这项工作中,我们对LLM和传统方法(如SVM)在LexGLUE基准上进行了详细的定量比较,该比较既考虑了性能(标准指标),也考虑了替代指标,如时间、功耗和成本,一言以蔽之:碳足迹。在我们的分析中,我们分别考虑了原型阶段(通过训练-验证-测试迭代进行模型选择)和生产阶段,因为它们遵循不同的实施流程,也需要不同的资源。结果表明,通常最简单的算法能达到与大型LLM非常接近的性能,但功耗非常低,资源需求也更少。获得的结果可能建议公司在选择机器学习(ML)解决方案时纳入额外的评估。

英文摘要:

Most Machine Learning research evaluates the best solutions in terms of performance. However, in the race for the best performing model, many important aspects are often overlooked when, on the contrary, they should be carefully considered. In fact, sometimes the gaps in performance between different approaches are neglectable, whereas factors such as production costs, energy consumption, and carbon footprint must take into consideration. Large Language Models (LLMs) are extensively adopted to address NLP problems in academia and industry. In this work, we present a detailed quantitative comparison of LLM and traditional approaches (e.g. SVM) on the LexGLUE benchmark, which takes into account both performance (standard indices) and alternative metrics such as timing, power consumption and cost, in a word: the carbon-footprint. In our analysis, we considered the prototyping phase (model selection by training-validation-test iterations) and in-production phases separately, since they follow different implementation procedures and also require different resources. The results indicate that very often, the simplest algorithms achieve performance very close to that of large LLMs but with very low power consumption and lower resource demands. The results obtained could suggest companies to include additional evaluations in the choice of Machine Learning (ML) solutions.

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

↑