A Simple Explanation for the Phase Transition in Large Language Models with List Decoding

Cheng-Shang Chang
3/23/2023
cs.CLcs.AIcs.IT

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Various recent experimental results show that large language models (LLM) exhibit emergent abilities that are not present in small models. System performance is greatly improved after passing a certain critical threshold of scale. In this letter, we provide a simple explanation for such a phase transition phenomenon. For this, we model an LLM as a sequence-to-sequence random function. Instead of using instant generation at each step, we use a list decoder that keeps a list of candidate sequences at each step and defers the generation of the output sequence at the end. We show that there is a critical threshold such that the expected number of erroneous candidate sequences remains bounded when an LLM is below the threshold, and it grows exponentially when an LLM is above the threshold. Such a threshold is related to the basic reproduction number in a contagious disease.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chang2023simple,
  title  = {A Simple Explanation for the Phase Transition in Large Language Models with List Decoding},
  author = {Cheng-Shang Chang},
  year   = {2023},
  eprint = {2303.13112},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.13112v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.13112.svg)](https://codeofpaper.com/paper/2303.13112)

Discussion