Open-world AI: a Tale of Three Requirements
Organizations: FAIR, Meta∗ · Flatiron Institute
Abstract
The closed world asks AI for specialized competence and lets it manufacture the iid data its theory assumes: a fixed criterion licenses collecting examples until the task is covered. The open world asks for versatility --- taking up tasks a machine was not built for, from few examples and with little prior from a human designer --- and offers data that is grouped, not shuffled. Its tasks are not known in advance, so a machine must do inference-time learning (1st requirement). Modeling tasks as sharing latent factors and decomposing the training objective, we derive two more: a rich representation, retaining more than iid generalization requires, and a predictive disentanglement that aligns inputs and outputs into matched low-dimensional groups. The analysis further predicts the need for a consistent inner learner, and the benefit of long contexts spanning related tasks. We test these claims on language models up to 8B, asking whether a model has a property (qualitative) rather than how much it wins (quantitative). Models that meet the requirements improve as data from related tasks accumulates; the rest degrade, and neither scale nor layer-type interleaving repairs this.
Figures & tables
| Transformer | DeltaNet | Hybrid swa | Hybrid DeltaNet | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 4k | 8k | 16k | 32k | 4k | 8k | 16k | 32k | 4k | 8k | 16k | 32k | |
| 4k | 48.40 | — | — | — | 47.40 | — | — | — | 48.19 | — | — | — | 48.57 | — | — | — |
| 8k | 48.48 | 48.70 | — | — | 47.49 | 47.48 | — | — | 47.88 | 47.80 | — | — | 48.49 | 48.70 | — | — |
| 16k | 48.05 | 48.27 | 48.60 | — | 47.49 | 47.43 | 47.58 | — | 47.97 | 47.98 | 48.01 | — | 48.15 | 48.33 | 48.57 | — |
| 32k | 47.72 | 48.07 | 48.44 | 48.49 | 47.27 | 47.23 | 47.31 | 47.15 | 47.65 | 47.60 | 47.65 | 47.53 | 46.49 | 46.51 | 46.52 | 46.37 |
| 64k | 47.51 | 47.85 | 48.23 | 48.39 | 47.35 | 47.30 | 47.40 | 47.21 | 47.54 | 47.55 | 47.60 | 47.46 | 46.24 | 46.26 | 46.28 | 46.13 |
| SimpleWiki top-1 (%), k | GSM8K accuracy (%), fine-tuned | ||||||||||||
| Number of groups (heads) | Number of groups (heads) | ||||||||||||
| Model | 4 | 8 | 16 | 32 | 64 | 4 | 8 | 16 | 32 | 64 | |||
| Memory Mosaics | 48.43 | 48.63 | 48.97 | 49.07 | 49.02 | ✔ | 21.53 | 25.32 | 25.78 | 28.43 | 27.60 | ✔ | |
| Transformer | 48.31 | 48.38 | 48.05 | 47.92 | 47.08 | ✘ | 28.81 | 26.76 | 27.52 | 26.84 | 24.18 | ✘ | |
| Hybrid swa | 48.00 | 47.95 | 47.97 | 47.67 | 46.85 | ✘ | 26.16 | 27.67 | 27.98 | 25.55 | 22.82 | ✘ | |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| B | B | |
| model dimension | 2 048 | 4 096 |
| layers | 24 | 32 |
| head dimension | 128 | 128 |
| heads | 16 | 32 |
| ffn hidden dimension | 5 632 | 14 336 |
| vocabulary (Mistral-7B-v0.1) | 32 000 | 32 000 |
| Source | % of documents |
|---|---|
| Cosmopedia ( Ben Allal et al., 2024 ) | |
| NemotronCC-high ( Su et al., 2025 ) | |
| open-web-math ( Azerbayev et al., 2024 ) | |
| arXiv ( Azerbayev et al., 2024 ) | |
| ShareGPT ( Vicuna, 2023 ) | |
| Gutenberg books ( Manu, 2023 ) |
| Training length | |||
|---|---|---|---|
| Model | 4k | 64k | |
| Memory Mosaics ( ) | 25.93 | 28.58 | ✔ |
| Memory Mosaics ( ) | 28.73 | 30.78 | ✔ |
| Hybrid swa -4k | Hybrid swa -2k | |||||||
|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 4k | 8k | 16k | 32k | |
| 4k | 47.94 | — | — | — | 48.19 | — | — | — |
| 8k | 47.97 | 47.90 | — | — | 47.88 | 47.80 | — | — |
| 16k | 47.91 | 47.91 | 48.00 | — | 47.97 | 47.98 | 48.01 | — |
| 32k | 47.68 | 47.69 | 47.71 | 47.62 | 47.65 | 47.60 | 47.65 | 47.53 |
| 64k | 47.54 | 47.54 | 47.64 | 47.49 | 47.54 | 47.55 | 47.60 | 47.46 |
| Number of groups (heads) | ||||||
|---|---|---|---|---|---|---|
| Model | 4 | 8 | 16 | 32 | 64 | |
| Memory Mosaics | 48.43 | 48.63 | 48.97 | 49.07 | 49.02 | ✔ |
| Memory Mosaics [no per-head gate] | 48.15 | 48.29 | 48.46 | 48.52 | 48.47 | ✔ |
| Transformer | 48.31 | 48.38 | 48.05 | 47.92 | 47.08 | ✘ |
| Transformer [ nope ] | 45.27 | 45.44 | 45.36 | 45.37 | 44.40 | ✘ |
| Hybrid swa | 48.00 | 47.95 | 47.97 | 47.67 | 46.85 | ✘ |
Continual Learning for LLMs
Continual learning for large language models studies how models absorb new knowledge and skills while retaining previously learned capabilities.
See all 231 papers