search
HomeTechnology peripheralsAIFor a comprehensive understanding of large language models, here is a reading list

To learn about the design, constraints, and evolution behind contemporary large-scale language models, you can follow this article's reading list.

Large-scale language models have captured the public's attention, and in just five years, models such as Transforme have almost completely changed the field of natural language processing. Additionally, they are starting to revolutionize fields such as computer vision and computational biology.

Given that Transformers have such a big impact on everyone’s research process, this article will introduce you to a short reading list for machine learning researchers and practitioners to get started.

The following list is mainly expanded in chronological order, mainly some academic research papers. Of course, there are many other helpful resources. For example:

  • "The Illustrated Transformer" written by Jay Alammar
  • "The Transformer Family" written by Lilian Weng
  • "Transformer models: an introduction and catalog — 2023 Edition》
  • nanoGPT library written by Andrej Karpathy

Understanding of the main architecture and tasks

If you are new to Transformers and large language models , then these articles are best for you.

Paper 1: "Neural Machine Translation by Jointly Learning to Align and Translate"

For a comprehensive understanding of large language models, here is a reading list

Paper address: https:// arxiv.org/pdf/1409.0473.pdf

This article introduces a recurrent neural network (RNN) attention mechanism to improve the model's long-range sequence modeling capabilities. This enables RNNs to more accurately translate longer sentences - the motivation behind the development of the original Transformer architecture.

For a comprehensive understanding of large language models, here is a reading list

Image source: https://arxiv.org/abs/1409.0473

Paper 2: "Attention Is All You Need 》

For a comprehensive understanding of large language models, here is a reading list

Paper address: https://arxiv.org/abs/1706.03762

This article introduces the composition of encoder and decoder The original Transformer architecture, these parts will be introduced as separate modules later. In addition, this article introduces concepts such as scaling dot product attention mechanisms, multi-head attention blocks, and positional input encoding, which are still the foundation of modern Transformers.

For a comprehensive understanding of large language models, here is a reading list

Source: https://arxiv.org/abs/1706.03762

Paper 3: "BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding》

For a comprehensive understanding of large language models, here is a reading list

Paper address: https://arxiv.org/abs/1810.04805

Large-scale language model research followed the initial Transformer architecture and then began to extend in two directions: Transformer for predictive modeling tasks (such as text classification) and Transformer for generative modeling tasks (such as translation, summarization, and other forms of text creation) Transformer.

The BERT paper introduces the original concept of masked language modeling. If you are interested in this research branch, you can follow up with RoBERTa, which simplifies the pre-training objectives.

For a comprehensive understanding of large language models, here is a reading list

Image source: https://arxiv.org/abs/1810.04805

Paper 4: "Improving Language Understanding by Generative Pre-Training》

For a comprehensive understanding of large language models, here is a reading list

Paper address: https://www.semanticscholar.org/paper/Improving-Language-Understanding-by-Generative- Radford-Narasimhan/cd18800a0fe0b668a1cc19f2ec95b5003d0a5035

The original GPT paper introduced the popular decoder-style architecture and pre-training with next word prediction. BERT can be considered a two-way Transformer due to its masked language model pre-training goal, while GPT is a one-way autoregressive model. Although GPT embeddings can also be used for classification, GPT methods are at the core of today's most influential LLMs such as ChatGPT.

If you are interested in this research branch, you can follow up on the GPT-2 and GPT-3 papers. In addition, this article will introduce the InstructGPT method separately later.

For a comprehensive understanding of large language models, here is a reading list

Paper 5: "BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension"

For a comprehensive understanding of large language models, here is a reading list

Paper address https://arxiv.org/abs/1910.13461.

As mentioned above, BERT-type encoder-style LLM is usually the first choice for predictive modeling tasks, while GPT Decoder-style LLMs are better at generating text. To get the best of both worlds, the BART paper above combines the encoder and decoder parts.

For a comprehensive understanding of large language models, here is a reading list

Expansion Law and Efficiency Improvement

If you want to know more about techniques to improve Transformer efficiency, you can refer to the following papers

  • Paper 1: "A Survey on Efficient Training of Transformers"​
  • Paper address: https://arxiv.org/abs/2302.01107​


  • Paper 2: "FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness"
  • Paper address: https://arxiv.org/abs/2205.14135​


  • Paper 3: "Cramming: Training a Language Model on a Single GPU in One Day"
  • Paper address: https://arxiv .org/abs/2212.14034


  • Paper 4: "Training Compute-Optimal Large Language Models"
  • Paper address: https: //arxiv.org/abs/2203.15556

In addition, there is also the paper "Training Compute-Optimal Large Language Models"

Paper address: https://arxiv.org/abs /2203.15556

This article introduces the 70 billion parameter Chinchilla model, which outperforms the popular 175 billion parameter GPT-3 model on generative modeling tasks. However, its main highlight is that contemporary large-scale language models are severely undertrained.

This article defines linear scaling law for large language model training. For example, although Chinchilla is half the size of GPT-3, it outperforms GPT-3 because it is trained on 1.4 trillion (instead of 300 billion) tokens. In other words, the number of training tokens is as important as the model size.

For a comprehensive understanding of large language models, here is a reading list

Alignment - guiding large language models toward desired goals and interests

In recent years, many relatively powerful methods have emerged Large language models that can generate real text (e.g. GPT-3 and Chinchilla). In terms of commonly used pre-training paradigms, it seems that an upper limit has been reached.

In order to make the language model more helpful to humans and reduce misinformation and bad language, researchers have designed additional training paradigms to fine-tune the pre-trained basic model, including the following papers.

  • Paper 1: "Training Language Models to Follow Instructions with Human Feedback"
  • Paper address: https://arxiv.org/abs/2203.02155

In this so-called InstructGPT paper, researchers used RLHF (Reinforcement Learning from Human Feedback). They started with a pretrained GPT-3 base model and further fine-tuned it on human-generated cue-response pairs using supervised learning (step 1). Next, they asked humans to rank the model outputs to train the reward model (step 2). Finally, they use the reward model to update the pretrained and fine-tuned GPT-3 model using reinforcement learning via proximal policy optimization (step 3).

By the way, this paper is also known as the paper that describes the ideas behind ChatGPT - according to recent rumors, ChatGPT is an extended version of InstructGPT that is fine-tuned on a larger dataset.

For a comprehensive understanding of large language models, here is a reading list

  • Paper 2: "Constitutional AI: Harmlessness from AI Feedback"
  • Paper address: https://arxiv.org/abs/2212.08073

In this article In the paper, the researchers further advance the idea of ​​alignment and propose a training mechanism to create a "harmless" AI system. The researchers proposed a self-training mechanism based on a list of rules (provided by humans), rather than direct human supervision. Similar to the InstructGPT paper mentioned above, the proposed method uses reinforcement learning methods.

For a comprehensive understanding of large language models, here is a reading list

Summary​

This article tries to keep the arrangement of the form above as simple and beautiful as possible. It is recommended to focus on the first 10 papers to understand the ideas behind contemporary large-scale language models. Design, limitations and evolution.

If you want to read in depth, it is recommended to refer to the references in the above paper. Alternatively, here are some additional resources for readers to explore further:

Open Source Alternatives to GPT

  • Paper 1: "BLOOM: A 176B-Parameter Open-Access Multilingual Language Model》
  • Paper address: https://arxiv.org/abs/2211.05100


  • Paper 2 : "OPT: Open Pre-trained Transformer Language Models"
  • Paper address: https://arxiv.org/abs/2205.01068

ChatGPT alternative

  • Paper 1 "LaMDA: Language Models for Dialog Applications"
  • Paper address: https://arxiv.org/abs/2201.08239


  • Paper 2: "Improving alignment of dialogue agents via targeted human judgments"
  • Paper address: https://arxiv.org/abs/2209.14375


  • Paper 3: "BlenderBot 3: a deployed conversational agent that continually learns to responsibly engage"
  • Paper address: https://arxiv. org/abs/2208.03188

Large-scale language models in computational biology

  • Paper 1: "ProtTrans: Towards Cracking the Language of Life's Code Through Self-Supervised Learning》
  • Paper address: https://arxiv.org/abs/2007.06225


  • Paper 2: "Highly accurate protein structure prediction with AlphaFold"
  • Paper address: https://www.nature.com/articles/s41586-021-03819-2


  • Paper 3: "Large Language Models Generate Functional Protein Sequences Across Diverse Families"
  • Paper address: https://www.nature.com/articles/s41587-022-01618- 2

The above is the detailed content of For a comprehensive understanding of large language models, here is a reading list. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:51cto. If there is any infringement, please contact admin@php.cn delete
What is Python IDLE?What is Python IDLE?Apr 22, 2025 am 09:43 AM

Introduction Python IDLE is a powerful tool that can easily develop, debug and run Python code. Its interactive shell, syntax highlighting, autocomplete and integrated debugger make it ideal for programmers of all levels of experience. This article will outline its functions, settings, and practical applications. Overview Learn about Python IDLE and its development benefits. Browse and use the main components of the IDLE interface. Write, save, and run Python scripts in IDLE. Use syntax highlighting, autocomplete and intelligent indentation. Use the IDLE integrated debugger to effectively debug Python code. Table of contents

Python & # 039: S maximum Integer ValuePython & # 039: S maximum Integer ValueApr 22, 2025 am 09:40 AM

Python: Mastering Large Integers – A Comprehensive Guide Python's exceptional capabilities extend to handling integers of any size. While this offers significant advantages, it's crucial to understand potential limitations. This guide provides a deta

9 Free Stanford AI Courses9 Free Stanford AI CoursesApr 22, 2025 am 09:35 AM

Introduction Artificial intelligence (AI) is revolutionizing industries and unlocking unprecedented possibilities across diverse fields. Stanford University, a leading institution in AI research, provides a wealth of free online courses to help you

What is Meta's Segment Anything Model(SAM)?What is Meta's Segment Anything Model(SAM)?Apr 22, 2025 am 09:25 AM

Meta's Segment Anything Model (SAM): A Revolutionary Leap in Image Segmentation Meta AI has unveiled SAM (Segment Anything Model), a groundbreaking AI model poised to revolutionize computer vision and image segmentation. This article delves into SAM

How to Use DALL-E 3 API for Image Generation? - Analytics VidhyaHow to Use DALL-E 3 API for Image Generation? - Analytics VidhyaApr 22, 2025 am 09:20 AM

OpenAI's DALL-E 3: A Revolutionary Leap in AI Image Generation DALL-E 3, the latest iteration of OpenAI's groundbreaking image generation technology, represents a significant advancement in AI's ability to translate text descriptions into highly deta

What is Few-Shot Prompting? - Analytics VidhyaWhat is Few-Shot Prompting? - Analytics VidhyaApr 22, 2025 am 09:13 AM

Few-Shot Prompting: A Powerful Technique in Machine Learning In the realm of machine learning, achieving accurate responses with minimal data is paramount. Few-shot prompting offers a highly effective solution, enabling AI models to perform specific

What is Temperature in prompt engineering? - Analytics VidhyaWhat is Temperature in prompt engineering? - Analytics VidhyaApr 22, 2025 am 09:11 AM

Prompt Engineering: Mastering the "Temperature" Parameter for AI Text Generation Prompt engineering is crucial when working with large language models (LLMs) like GPT-4. A key parameter in prompt engineering is "temperature," whi

Are You At Risk Of AI Agency Decay? Take The Test To Find OutAre You At Risk Of AI Agency Decay? Take The Test To Find OutApr 21, 2025 am 11:31 AM

This article explores the growing concern of "AI agency decay"—the gradual decline in our ability to think and decide independently. This is especially crucial for business leaders navigating the increasingly automated world while retainin

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools