Learning to Learn a Language
A 300M-parameter model trained only on synthetic priors learns to predict real languages in context.
Researchers present the Prior-Fitted Language Model (PFLM), a 300-million-parameter byte-level transformer pretrained only on samples from a synthetic non-linguistic prior. With frozen weights and no exposure to real language, it infers a language from a text prefix and predicts its continuation. On Wikipedia in six languages, bits per byte fall from a uniform 8 to between 0.9 and 2.4 at one million bytes of context. Given numerals it approximately counts, compares, and adds, and it compresses source code, speech, and four other non-text domains below gzip and PPMd.
- PFLM is a 300M-parameter byte-level transformer with frozen weights at test time.
- Training uses only synthetic sequences from freshly sampled structural causal models.
- On six-language Wikipedia, bits per byte fall to 0.9-2.4 at one million bytes.
- It also approximates counting and addition and beats gzip and PPMd on six non-text domains.
From the original article
1 min read at huggingface.coWe present the Prior-Fitted Language Model (PFLM), a 300M-parameter byte-level transformer pretrained only on samples from a synthetic non-linguistic prior. Given a prefix of real text, it learns to predict the language in context with frozen weights, having never seen a word of any real language.
By Lennart Carstens-Behrens, Holger Fröhlich · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.