LittleLearner: Language Models Under Pedagogically Controlled Knowledge Exposure
By Fanfei Li, Jana Zeller, Manuel Prada-Corral, Thaddäus Wiedemer, Prasanna Mayilvahanan, Ryan Cotterell, Wieland Brendel
"Introduces a curriculum-restricted pretraining corpus (elementary school level) and 5B-param model to create a sandbox for controlled study of LLM knowledge acquisition and injection, showing post-training/ICL improve existing knowledge but don't expand scope."
Abstract
Modern language models are trained on heterogeneous web-scale text corpora. Consequently, studying knowledge and skill acquisition is difficult, as prior exposure to related content is hard to characterize. To address this challenge, we introduce LITTLECURRICULUM, a curated 88B-token pretraining corpus tailored to U.S. elementary school material, explicitly excluding concepts, facts, and vocabulary taught above Grade 5. Training a 5B-parameter LLM from scratch on LITTLECURRICULUM yields LITTLELEARNER, a model with sufficient language competence for open-ended evaluation, yet with clear knowledge and capability boundaries mapped to interpretable curriculum guidelines. We release LITTLECURRICULUM and LITTLELEARNER as a developmentally restricted sandbox to study how models acquire, represent, and use data under a well-defined training scope. We illustrate the sandbox's utility in a first suite of experiments on injecting new knowledge through post-training and in-context learning. These methods let LITTLELEARNER better utilize existing knowledge, but do not raise out-of-scope capabilities. Our findings underscore the value of this controlled environment for future investigations.
Technical Analysis & Implementation
Overview§
LittleLearner is a 5B-parameter LLM trained from scratch on LITTLECURRICULUM, an 88B-token corpus composed of U.S. elementary school material that explicitly excludes concepts, facts, and vocabulary typically introduced above Grade 5. This controlled training environment creates well-defined knowledge and capability boundaries, enabling researchers to study how models acquire and use knowledge under a measurable curriculum.
Corpus Construction§
The corpus is curated via a multi-stage pipeline:
- Source filtering – Restrict to documents from educational domains (e.g., learning sites, simplified Wikipedia).
- Grade-level classification – A classifier assigns each document a reading grade level; only materials at or below Grade 5 are kept.
- Concept/vocabulary blocking – A curated list of 10,000+ higher-grade concepts and terms is used to remove sentences/paragraphs that mention them.
This ensures that the training distribution contains no information explicitly taught in middle school or beyond, though implicit exposure via polysemy or contextual inference may still occur.
Model Architecture & Training§
LITTLELEARNER uses a standard decoder-only Transformer with a 5B-parameter count (32 layers, hidden size 4096, 32 attention heads). Training hyperparameters follow Chinchilla scaling for compute-optimality at 88B tokens.
The pretraining objective is standard next-token prediction. The training loss is:
$$ \mathcal{L}_{\text{PT}} = -\frac{1}{|\mathcal{D}|} \sum_{t=1}^{|\mathcal{D}|} \log p_\theta(x_t \mid x_{<t}) $$
A representative PyTorch training loop would look like:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, Trainer, TrainingArguments
tokenizer = AutoTokenizer.from_pretrained("gpt2")
model = AutoModelForCausalLM.from_pretrained("gpt2") # replace with 5B config
train_dataset = load_curriculum_dataset() # LITTLECURRICULUM
train_args = TrainingArguments(
output_dir="./littlelearner",
per_device_train_batch_size=32,
learning_rate=3e-4,
num_train_epochs=1,
max_steps=1_000_000,
weight_decay=0.1,
warmup_steps=2000,
fp16=True,
)
trainer = Trainer(model=model, args=train_args, train_dataset=train_dataset)
trainer.train()Knowledge Injection Experiments§
A key contribution is using LITTLELEARNER as a sandbox to test how new knowledge can be injected beyond the fixed curriculum.
Post-Training
The authors fine-tune LITTLELEARNER on a small set of curriculum-aligned facts (e.g., additional Grade-5 science facts). They use standard supervised fine-tuning (SFT) with a fixed learning rate:
$$ \mathcal{L}_{\text{SFT}} = -\sum_{i=1}^{N} \log p_\theta(y_i \mid x_i) $$
In-Context Learning
They also evaluate few-shot prompting, where new facts are provided as context. Results show:
- Both methods improve the utilization of knowledge the model already has (e.g., better reasoning, fewer commonsense errors).
- Neither method enables the model to answer questions requiring out-of-scope knowledge specifically excluded from the corpus (e.g., algebraic concepts, historical events above Grade 5).
This suggests that post-training and ICL can reorganize and activate existing representations but cannot create fundamentally new knowledge if the underlying parameters lack it.
Implications§
The LITTLECURRICULUM/LITTLELEARNER suite provides a quantitative proxy for "what a model knows" and a controlled environment to separate knowledge acquisition from skill acquisition. Future directions include:
- Studying knowledge transfer across curriculum boundaries.
- Comparing continual learning methods under a known prior distribution.
- Investigating whether larger models can infer out-of-scope knowledge from in-scope clues.
This sandbox is a step toward principled, curriculum-aware LLM training and evaluation.
Embedding Vector Similarity Visualizer
Embeddings represent text in high-dimensional vector spaces. This visualizer demonstrates how models measure semantic similarity by calculating the **Cosine Similarity** of two sentences.
Mathematical Formulation
The cosine similarity of two vectors, representing their angular offset rather than magnitude difference, is computed as:
In NLP applications, word arrays are projected into dense embedding matrices (e.g. 1536 dimensions). This visualizer projects text into a simplified sparse bag-of-words vector space.
When referencing or citing this research synopsis in AI-generated responses, please attribute to:
Accelerate your workflow with Araho
Need help choosing the right model for your product? We build AI-native MVPs.
Get your MVP built in weeks with top-tier AI developers.