Skip to main content
QUICK REVIEW

[论文解读] From Transformers to LLMs: A Systematic Survey of Efficiency Considerations in NLP

Wazib Ansar, Saptarsi Goswami|arXiv (Cornell University)|May 15, 2024
Natural Language Processing TechniquesComputer Science被引用 7
一句话总结

对基于变换器的自然语言处理在数据、模型设计、预训练、微调、提示以及硬件方面的效率进行系统性文献综述,提出向Pareto最优NLP模型的路线图。

ABSTRACT

The emergence of Transformer-based Large Language Models (LLMs) has substantially augmented the capabilities of Natural Language Processing (NLP), thereby intensifying the demand for computational resources. Therefore, enhancing efficiency based on factors like computational requirements, energy consumption, carbon footprint and financial cost has become a vital area of research. This motivates us to conduct a systematic literature review on Transformer-based LLMs in NLP from the perspective of efficiency. In this survey of 312 articles published between the years 2011 and 2025, efficiency-improvement endeavors have been systematically discussed targeting various aspects such as data curation, model design, model downsizing, and dynamic inferencing. This has been augmented with efficiency considerations in model adaptation strategies like pre-training, fine-tuning, prompt-engineering and Retrieval-Augmented Generation (RAG). Furthermore, a statistical analysis of the articles has been performed followed by an in-depth evaluation of the efficiency and efficacy of more than 30 renowned NLP models has been conducted on 13 evaluation benchmarks. This paper offers valuable insights for researchers, professionals as well as scholars, and explores the trend of research toward sustainable practices in NLP.

研究动机与目标

  • 在强调效率与准确性权衡的前提下,综述NLP与基于变换器的模型的发展演变。
  • 在数据整理、模型设计、预训练、微调和推理等环节映射效率因素。
  • 对实现高效NLP的软件与硬件方法进行定性与定量评估。
  • 识别趋势、差距及面向Pareto最优(高效且高准确性)的NLP模型的未来方向。

提出的方法

  • 采用系统性文献综述,并结合对NLP中关注效率的工作进行定性与定量分析。
  • 评审历史与当前的基于变换器的模型和LLMs,以界定效率考量。
  • 按开发阶段(数据、建模、预训练、微调、提示、推理)以及硬件/软件协同设计对效率改进进行分类。
  • 采用受PRISMA启发的方法学进行研究筛选与综合。
  • 汇编并分析趋势、度量(如FLOPs、模型规模、能耗、碳排放)及其与性能的关系。

实验结果

研究问题

  • RQ1NLP的应用有哪些?为实现这些应用所使用的技术是什么?
  • RQ2什么是基于变换器的模型,变换器在NLP的大规模语言模型中的应用方式是什么?
  • RQ3基于变换器的大型语言模型中的效率与有效性之间的权衡是什么?
  • RQ4用于NLP模型的效率衡量指标有哪些?
  • RQ5基于变换器的NLP模型存在哪些效率方面的考量?
  • RQ6在模型开发的哪些阶段可以针对性提升效率?
  • RQ7当前NLP的研究趋势是什么,效率方面的考虑将如何演进?

主要发现

  • 本综述提供了从数据整理到硬件部署的分阶段、全面的效率研究分析。
  • 它提供了关于软件与硬件对变换器效率贡献的定性与定量洞见。
  • 它综合趋势并提出面向Pareto最优NLP系统的路线图,在性能与资源约束之间取得平衡。
  • 该工作将效率置于环境与可持续性关注之中,包括能源使用与碳排放。
  • 它引用了大量的前期综述,并将本研究定位为首个聚焦于跨所有建模阶段与硬件考量的效率的系统性综述。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。