以外部知识常识问答为例报告与分析语言模型的环境影响
Reporting and Analysing the Environmental Impact of Language Models on the Example of Commonsense Question Answering with External Knowledge
AI总结:
本文以外部知识常识问答为例,通过向T5模型注入外部知识并微调,计算和报告训练及微调的环境影响,表明小模型未必更可持续、更多训练未必性能更好,需综合权衡性能与效率。
摘要:
人类产生的排放正以惊人的速度增长,已经引起气候和整体环境可观察到的变化。每年全球二氧化碳排放量都创下新纪录,据报道,截至2021年,美国温室气体排放总量的0.5%来自数据中心。2022年底ChatGPT的发布引发了社会对大型语言模型(Large Language Models,LLMs)的兴趣,这是新一代拥有大量参数并在海量数据上训练的语言模型。目前,许多公司正在发布搭载各种LLMs的产品,还有更多模型正在开发中并等待发布。深度学习研究是一个竞争激烈的领域,只有达到顶尖性能的模型才会受到关注并被采用。因此,实现更好的准确率和结果往往是第一优先事项,而模型的效率和研究的环境影响则被忽视。然而,LLMs需要大量计算资源,训练成本在财务和环境方面都非常高昂。提高意识并促进关于算法和硬件选择的自觉决策变得至关重要。提供训练时间、近似二氧化碳排放量和功耗信息,将有助于未来研究做出必要调整,并判断可用计算资源与模型需求的兼容性。在本研究中,我们向T5 LLM注入外部知识,并针对问答任务对该模型进行微调。此外,我们计算并报告了两个步骤的近似环境影响。研究结果表明,较小的模型并不总是可持续的选择,而增加训练并不总是意味着更好的性能。最理想的结果是通过仔细权衡性能和效率两方面因素来实现的。
英文摘要:
Human-produced emissions are growing at an alarming rate, causing already observable changes in the climate and environment in general. Each year global carbon dioxide emissions hit a new record, and it is reported that 0.5% of total US greenhouse gas emissions are attributed to data centres as of 2021. The release of ChatGPT in late 2022 sparked social interest in Large Language Models (LLMs), the new generation of Language Models with a large number of parameters and trained on massive amounts of data. Currently, numerous companies are releasing products featuring various LLMs, with many more models in development and awaiting release. Deep Learning research is a competitive field, with only models that reach top performance attracting attention and being utilized. Hence, achieving better accuracy and results is often the first priority, while the model's efficiency and the environmental impact of the study are neglected. However, LLMs demand substantial computational resources and are very costly to train, both financially and environmentally. It becomes essential to raise awareness and promote conscious decisions about algorithmic and hardware choices. Providing information on training time, the approximate carbon dioxide emissions and power consumption would assist future studies in making necessary adjustments and determining the compatibility of available computational resources with model requirements. In this study, we infused T5 LLM with external knowledge and fine-tuned the model for Question-Answering task. Furthermore, we calculated and reported the approximate environmental impact for both steps. The findings demonstrate that the smaller models may not always be sustainable options, and increased training does not always imply better performance. The most optimal outcome is achieved by carefully considering both performance and efficiency factors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。