Explore the research collection
1 entry · Follow this search
- Paper
Learning to Learn a Language
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.