Skip to main content
QUICK REVIEW

[Paper Review] The Efficiency Spectrum of Large Language Models: An Algorithmic Survey

Tianyu Ding, Tianyi Chen|arXiv (Cornell University)|Dec 1, 2023
Topic ModelingComputer Science11 citations
TL;DR

A comprehensive survey of algorithmic approaches to improving LLM efficiency across data, architecture, training/tuning, and inference, covering pre-2023 work and selected post-2023 contributions.

ABSTRACT

The rapid growth of Large Language Models (LLMs) has been a driving force in transforming various domains, reshaping the artificial general intelligence landscape. However, the increasing computational and memory demands of these models present substantial challenges, hindering both academic research and practical applications. To address these issues, a wide array of methods, including both algorithmic and hardware solutions, have been developed to enhance the efficiency of LLMs. This survey delivers a comprehensive review of algorithmic advancements aimed at improving LLM efficiency. Unlike other surveys that typically focus on specific areas such as training or model compression, this paper examines the multi-faceted dimensions of efficiency essential for the end-to-end algorithmic development of LLMs. Specifically, it covers various topics related to efficiency, including scaling laws, data utilization, architectural innovations, training and tuning strategies, and inference techniques. This paper aims to serve as a valuable resource for researchers and practitioners, laying the groundwork for future innovations in this critical research area. Our repository of relevant references is maintained at url{https://github.com/tding1/Efficient-LLM-Survey}.

Motivation & Objective

  • Define and motivate the need for end-to-end efficiency in LLMs beyond model size alone.
  • Synthesize algorithmic advances that improve efficiency across data, architecture, training, tuning, and inference.
  • Highlight scaling laws and data-quality considerations for efficient LLM development.
  • Provide a curated repository of references to support future research and practical deployments.

Proposed method

  • Survey existing literature on LLM efficiency with an emphasis on algorithmic and software perspectives.
  • Organize the discussion into five core dimensions: data efficiency, architectural efficiency, training and tuning efficiency, and inference efficiency, plus budgeting/scaling insights.
  • Discuss evaluation metrics for efficiency including parameters, model size, FLOPs, latency, memory footprint, and carbon emissions.
  • Summarize key findings and identify open questions to guide future research.

Experimental results

Research questions

  • RQ1What end-to-end algorithmic strategies exist to improve LLM efficiency without sacrificing performance?
  • RQ2How do scaling laws inform resource budgeting and model/data trade-offs for efficient LLM development?
  • RQ3What insights do data efficiency, architectural choices, training/tuning methods, and inference techniques offer for practical deployment?
  • RQ4What data quality and sampling approaches most effectively enhance efficiency under limited resources?
  • RQ5What additional resources (repositories) consolidate the growing body of work on LLM efficiency?

Key findings

  • The paper presents a holistic view of LLM efficiency, spanning data, architecture, training, tuning, and inference.
  • It discusses scaling laws and how they guide compute-budget decisions and model/data trade-offs.
  • It reviews data filtering, active learning, and sampling strategies as avenues to improve data efficiency.
  • It surveys architectural and training/tuning innovations that affect efficiency, including prompt engineering and alignment methods.
  • It notes the existence of a research repository and emphasizes the pre-2023 focus with selected post-2023 contributions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.