← All entries
Paper2026#1288

Learning to Learn a Language

Summary

PFLM (Prior-Fitted Language Model) is a 300M-parameter byte-level transformer pretrained ONLY on samples from a synthetic non-linguistic prior, never seeing a word of any real language. The prior is a distribution over recurrent structural causal models: each training sequence is generated by a freshly drawn SCM (latent state evolving through a random graph of structural equations, one token per step), so the model never sees the same 'language' twice and the only way to predict continuations is to infer the language from the prefix — meta-learning by construction (prior-fitted networks à la TabPFN, extended to language). Prior samples share natural-text statistical signatures: Zipfian frequencies, slow entropy-rate convergence, long-range dependence. With frozen weights, given real text prefixes PFLM learns to predict languages in context: on Wikipedia in six languages (English, Chinese, Hindi, Arabic, Japanese, Korean), bits per byte falls from the uniform 8 to 0.9–2.4 at 1M bytes of context. Given numerals, it learns to count, compare magnitudes, and add approximately; it predicts deterministic sequences (Rudin-Shapiro, prime indicator, Kolakoski); it compresses six non-text domains (source code to speech) below gzip and PPMd.

Venue
arXiv
Source
x
Access
open
Language
en
Added
Oct 7, 2026
Verified
Oct 7, 2026
Found via
#arXivBangers

Tags

pflmprior-fitted-language-modelsynthetic-datameta-learningcompression

Topics

synthetic pretraining, in-context learning, compression, prior-fitted networks

Research notes

  • Discovery: @arXivBangers ('Certified Banger' account) X post 2026-10-07 ~2:11 AM ET (~1.1K views), linking its arxivb.org mirror https://arxivb.org/abs/2610.05879; canonical record uses arxiv.org URL. Recipe: meta-learning by construction — pretraining task is amortized Bayesian inference over a prior on the family of possible languages. Code: github.com/cbl/prior-fitted-language-model. Weights: huggingface.co/lennartcb/pflm1. License: CC BY 4.0 (per arXiv). Relevance to the user's pretraining work: the compression view of prediction (bits/byte on Wikipedia/code/speech) and synthetic-data pretraining; shows statistical signatures of natural text (Zipf, slow entropy-rate convergence, long-range dependence) suffice to bootstrap real-language in-context learning without any real language in training. Caveat: still far behind real LMs trained on trillions of tokens; test context limited to ~1M bytes.

Similar entries