NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

History, Development, and Principles of Large Language Models-An Introductory Survey

Zhibo Chu, Shiwen Ni, Zichong Wang, Xi Feng, Chengming Li, Xiping Hu, Ruifeng Xu, Min Yang, Wenbin Zhang

TL;DR

This paper provides a comprehensive introductory survey of Large Language Models (LLMs), tracing their history from early statistical models to modern transformer-based architectures. It aims to demystify LLMs for a broader audience by explaining their core principles, development factors, and applications, while also highlighting their limitations and future research directions.

What Problem Does This Paper Address?

The rapid advancement and widespread adoption of Large Language Models (LLMs) have brought about significant benefits, but a lack of accessible understanding among practitioners hinders their full potential. Existing reviews often focus on specific aspects or use highly technical language, making it difficult for those without a deep NLP background to grasp LLMs' underlying principles and development. This paper addresses this gap by offering a clear, structured overview of LLMs, making them more approachable for a wider audience.

Methods

The authors present a survey that traces the evolution of language models through several stages: Statistical Language Models (SLMs), Neural Language Models (NLMs), Pre-trained Language Models (PLMs), and finally, Large Language Models (LLMs). They detail the architectural principles of LLMs, using the GPT-3 model as a primary example to illustrate concepts like input embedding, positional encoding, and the transformer architecture's self-attention mechanism. The survey also categorizes LLMs into encoder-only, encoder-decoder, and decoder-only types, providing a taxonomy to help users select appropriate models. Their research methodology involved a meticulous review process, searching databases with relevant keywords and focusing on publications from the past decade, while also cross-referencing existing surveys.

Datasets

The paper mentions that LLMs are trained on massive text corpora, often in the range of hundreds of gigabytes to terabytes. Specific examples of publicly accessible datasets used for training include CommonCrawl, C4, Github, Wikipedia, Books, and StackExchange. The paper does not introduce new datasets but discusses the importance of data diversity and scale in LLM development.

Key Insights and Ideas

  • Evolutionary Path: LLMs are not a sudden invention but the culmination of decades of research, evolving from simple n-gram models to sophisticated neural networks.
  • Transformer Architecture is Key: The transformer architecture, with its self-attention mechanism, is the foundational innovation enabling LLMs to handle long-range dependencies and parallel processing, crucial for their scale and performance.
  • Data, Compute, and Algorithms Drive Progress: The rapid growth of LLMs is fueled by the availability of diverse and massive datasets, significant advancements in computational power (GPUs, TPUs), and continuous algorithmic innovation.
  • Beyond Pre-training: Alignment Matters: Modern LLMs, unlike earlier PLMs, emphasize alignment with human values after initial pre-training, leading to more adaptable and general-purpose models.
  • Taxonomy for Clarity: Categorizing LLMs into encoder-only, encoder-decoder, and decoder-only provides a useful framework for understanding their strengths and weaknesses for different tasks.

Key Results

The paper doesn't present experimental results in the traditional sense, as it's a survey. However, it highlights the remarkable capabilities of LLMs, such as human-level text generation and performance across various NLP tasks. It contrasts the scale of LLMs with PLMs, noting that LLMs typically have hundreds of billions of parameters and are trained on vast datasets (e.g., GPT-3 with 175 billion parameters and 570GB of training data, compared to GPT-2's 1.5 billion parameters and 40GB). The survey also provides a comparative table of state-of-the-art LLMs, detailing their architectures, parameter counts, providers, and other characteristics.

Limitations and Future Work

The authors acknowledge several limitations of current LLMs:

  • Privacy Concerns: LLMs can inadvertently memorize and reproduce sensitive information from training data, posing privacy risks, especially in domains like healthcare and finance. The emergence of tools like FraudGPT and WormGPT highlights misuse potential.
  • Fairness Issues: LLMs can inherit and perpetuate biases present in their training data, leading to unfair or discriminatory outcomes, particularly against marginalized groups. Mitigating bias is challenging and often involves trade-offs with model performance.
  • Safety and Hallucination: LLMs can generate outputs that deviate from context or factual knowledge ("hallucination"), undermining their reliability, especially in critical applications like medicine.
  • Intellectual Property: LLMs' ability to generate content resembling human work raises concerns about copyright infringement, particularly with code generation models trained on open-source repositories.

Future work directions suggested include developing more robust privacy safeguards, creating effective bias mitigation strategies that don't sacrifice performance, improving model safety through techniques like Reinforcement Learning from Human Feedback (RLHF), and establishing clearer regulations and attention to intellectual property rights concerning LLM-generated content.

Summary updated

BibTeX
@inproceedings{chu2024history,
  author = {Zhibo Chu and Shiwen Ni and Zichong Wang and Xi Feng and Chengming Li and Xiping Hu and Ruifeng Xu and Min Yang and Wenbin Zhang},
  title = {{History, Development, and Principles of Large Language Models-An Introductory Survey}},
  booktitle = {AI Ethics},
  year = {2024},
  url = {https://openreview.net/forum?id=f4CTeIs3Sp},
}
Figure