Language is essentially a complex, intricate system of human expressions governed by grammatical rules. It poses a significant challenge to develop capable AI algorithms for comprehending and grasping a language. As a major approach, language modeling has been widely studied for language understanding and generation in the past two decades, evolving from statistical language models to neural language models. Recently, pre-trained language models (PLMs) have been proposed by pre-training Transformer models over large-scale corpora, showing strong capabilities in solving various NLP tasks. Since researchers have found that model scaling can lead to performance improvement, they further study the scaling effect by increasing the model size to an even larger size. Interestingly, when the parameter scale exceeds a certain level, these enlarged language models not only achieve a significant performance improvement but also show some special abilities that are not present in small-scale language models. To discriminate the difference in parameter scale, the research community has coined the term large language models (LLM) for the PLMs of significant size. Recently, the research on LLMs has been largely advanced by both academia and industry, and a remarkable progress is the launch of ChatGPT, which has attracted widespread attention from society. The technical evolution of LLMs has been making an important impact on the entire AI community, which would revolutionize the way how we develop and use AI algorithms. In this survey, we review the recent advances of LLMs by introducing the background, key findings, and mainstream techniques. In particular, we focus on four major aspects of LLMs, namely pre-training, adaptation tuning, utilization, and capacity evaluation. Besides, we also summarize the available resources for developing LLMs and discuss the remaining issues for future directions.
翻译:语言本质上是一种由语法规则控制的复杂而精细的人类表达系统。开发能理解和掌握语言的能力强大的人工智能算法是一个巨大的挑战。作为一种主要的方法,语言建模已经在过去的二十年中被广泛研究,从统计语言模型发展到神经语言模型。最近,预训练语言模型(PLMs)被提出,通过在大规模语料库上预训练Transformer模型,表现出在解决各种NLP任务方面的强大能力。研究人员发现,模型的扩展可以提高性能,因此他们进一步研究通过增加模型大小来扩展效应。有趣的是,当参数规模超过一定水平时,这些放大的语言模型不仅达到了显著的性能改进,而且还展示了一些小规模语言模型所没有的特殊能力。为了区分参数规模的差异,研究界为具有显著规模的预训练语言模型创造了“大型语言模型”(LLM)的术语。近年来,学术界和工业界对LLM的研究取得了显著进展,而ChatGPT的推出也吸引了广泛的社会关注。LLM的技术进化对整个人工智能社区产生了重要影响,将彻底改变我们开发和使用人工智能算法的方式。在此综述中,我们介绍了LLM的最新进展,包括背景、主要发现和主流技术。特别地,我们专注于LLM的四个主要方面,包括预训练、调整、利用和容量评估。此外,我们还总结了开发LLM的可用资源,并讨论了未来方向的问题。