Byte-ranked Curriculum Learning for BabyLM Strict-small Shared Task 2023
Paper · 2023 · Justin DeBenedetto
Summary
When the amount of training text is fixed, does it matter which text a language system sees first? Justin DeBenedetto investigates that question in the BabyLM Challenge’s strict-small track, where participants had just under 10 million words and had to train from scratch. The challenge also ruled out tools pretrained on outside data. DeBenedetto’s approach is to begin with the sources that have the shortest lines on average, measured in bytes, then add sources with longer lines as training proceeds. The ranking requires only the processed text files. In this collection, it put transcripts and subtitles ahead of written material, roughly echoing the progression from speech to reading in children’s language experience.
The paper compares conventional training on the full collection with two versions of the curriculum. Base and the smaller curriculum system, CL-sm, use the same RoBERTa architecture. The larger curriculum system, CL-lrg, follows the same schedule as CL-sm with more attention heads and hidden layers. All use the same preprocessing and byte-level tokenizer. At each transition, the curriculum keeps the weights learned so far and adds a source to the existing collection. Early sources therefore remain available throughout training, while the last stage brings in the full collection.
On the BLiMP grammatical minimal-pair benchmark, the macro-average at the 5-epoch setting was 65.35 for Base, 70.94 for CL-sm, and 72.98 for CL-lrg. On the combined GLUE and SuperGLUE tasks, which involved task-specific training after pretraining, the corresponding averages were 67.08, 67.36, and 68.70. At the 10-epoch setting, CL-lrg reached 73.63 on BLiMP and 69.03 on the combined GLUE and SuperGLUE tasks, the highest averages the paper reports for those evaluations. Individual tasks went in different directions. Conventional training did better on BLiMP’s irregular forms and quantifiers tasks, and the Mixed Signals Generalization Set, or MSGS, showed little overall benefit from the curriculum. Its highest reported average was 81.72 for Base at the 5-epoch setting.
The paper shows that a simple ordering can change downstream performance under a tight data budget. The ranking can be applied without specialist knowledge of the sources or additional training data, which motivates its possible use for low-resource languages. Its benefits were measured on the BabyLM collection at fixed epoch settings. The study leaves open whether they persist with other collections, under equal computation, or after training to convergence.
Deep dive: Byte-ranked Curriculum Learning for BabyLM Strict-small Shared Task 2023
Byte-ranked curriculum learning for BabyLM starts with short transcript lines and improves grammar and language understanding scores. · about 30 minutes to read
The problem and its context
Working with a fixed collection
BabyLM’s strict-small track turned the amount of available text into a condition of the experiment. Participants could change how they learned from the collection, but they had to start without a pretrained system and keep outside training data out of their tools. That made the order of presentation a practical variable. Showing one part of the collection early requires neither acquiring more text nor importing a representation learned elsewhere. The question was whether such a change could improve what a system learned under the challenge’s constraints.
The paper motivates this question through the growth of training collections and the resources needed to use them. It cites Chinchilla as an example of work that considers the amount of training text alongside the size of the system being trained. The paper gives 1.4 trillion training tokens for Chinchilla to illustrate the scale of that approach. A token is a unit the training system reads after text has been segmented. BabyLM’s budget is stated in words, so the two quantities describe their data budgets in different units. The example establishes the context for an experiment in which enlarging the collection was outside the track’s rules. Training Compute-Optimal Large Language Models
The constraint also matters beyond shared tasks. The paper observes that much of the world’s language data is unavailable in the quantities used for large English systems. It also notes that the necessary computation is beyond the reach of many researchers. These are related problems with different practical consequences. A researcher could have access to computation and still lack text for a particular language. A researcher with an available collection could still face a limit on the amount of training it is feasible to run. The experiment controls the available text and examines an ordering strategy at fixed epoch settings. Low-resource languages
The training tool restriction matters even before pretraining begins. An ordinary text pipeline might rely on a learned component to decide where sentences end. In the strict-small track, a component trained on outside text would carry information from beyond the permitted collection. The study therefore uses explicit rules for sentence splitting and learns its tokenizer from the permitted data. These choices shape what a line is and how the training system reads it. Both become important when line length is used to set the order of training.
Earlier ways to work within constraints
The paper distinguishes this setting from efforts to build a smaller system with help from a larger one. Distillation, illustrated by DistilBERT, trains a smaller system with a pretrained teacher. That can address the problem of obtaining a compact system to use after training. The teacher still has to exist, and its behavior reflects what it learned before distillation. BabyLM’s strict-small rules place that route outside the experiment. DistilBERT
Adapting an existing pretrained system to a small collection has a similar dependency. In fine-tuning, training continues from existing weights on data for a particular purpose. As a route into the challenge, that would rely on weights produced outside the allowed training process. Fine-tuning has a separate role in the paper’s evaluation. Once a system has been pretrained within the challenge, the evaluation scripts can adapt it to individual tasks. The restriction applies to where the starting language knowledge comes from. The downstream tests can still ask what a system learns with task-specific supervision.
The study also points to an example in which training from scratch is a reasonable choice even when pretrained systems exist. The biomedical work it cites found that using in-domain text for pretraining helped on in-domain tasks. That example motivates paying attention to the fit between the training text and the eventual use. DeBenedetto studies a different variable. The collection is supplied by the challenge, and the experiment changes when its sources become available. Domain-Specific Language Model Pretraining
Multilingual pretraining provides another point of comparison in the paper. A multilingual system can pool data across languages, potentially drawing on a much larger combined collection. The paper uses multilingual BERT as an example and observes that such an approach can still demand substantial data and computation. Its experiment instead asks how much a restricted collection can support when the training schedule changes. The common concern is how to learn when resources for a particular language or application are limited. BERT
What makes an example easy?
Curriculum learning presents training material in an order intended to make learning easier. In the version explored here, the learner begins with examples judged relatively easy and encounters harder material later. The idea leaves the central design decision to the researcher. Difficulty could refer to how rare the words are, how much text the learner must handle together, or how long an example is. The paper discusses prior work that uses rare words, input block size, and length. Byte length belongs to the same broad family of measurements as length, with a different unit and a different level at which the score is assigned.
The paper uses children’s language experience as motivation. Child-directed speech can offer simpler input than speech directed at adults, and spoken language is encountered before literacy. That suggests a possible reason to start with short conversational material. It also raises a measurement problem. A short utterance may be easy to encode but difficult to interpret without the situation in which it was spoken. A long line may be easy to read if its structure and vocabulary are familiar. The paper’s score concerns a property of the text that can be counted directly. The developmental motivation gives the ordering a rationale, while the downstream benchmarks supply the test.
The paper also relates its schedule to work on spaced repetition. The earlier study it discusses uses the idea that the intervals between encounters with material can matter for learning. Its scheduler devotes more time to difficult instances and less to easy ones. In DeBenedetto’s approach, the collection expands around the easy material. It remains available, but a pass through the expanded collection includes more examples and therefore more updates before the next pass. The connection is that the schedule changes the opportunities to encounter examples again. DeBenedetto controls those opportunities through the growing collection. Repeat before Forgetting
The unit of ordering is as important as the definition of difficulty. A curriculum can pool all sources and give each example its own score. Here, every line in a source enters training at the same stage. That choice uses the source boundaries supplied by BabyLM and fits a collection containing several kinds of spoken and written text. It also turns the experiment into a test of staged exposure to whole sources. Once the source order is set, the schedule simultaneously determines when the learner encounters new vocabulary, styles, and kinds of sentence structure.
The method, step by step
Prepare the text and preserve the source boundaries
The training collection came from ten sources that the challenge selected to represent kinds of language a child learning English might encounter. It includes speech transcripts, subtitles, children’s reading material, general written text, and encyclopedic prose. The paper reports 9.96M training words in total. The processed collection occupies 52.8 MB and contains 1078K lines. The word count describes the challenge data, while the file sizes and line counts come from the files after the study’s preprocessing. The latter measurements determine the curriculum.
The author keeps the sources identifiable throughout preprocessing. That is necessary because the curriculum’s score belongs to a source file. Each file goes through a rule-based sentence splitter. The splitter uses punctuation as evidence for a boundary and recognizes listed prefixes that call for an exception. An abbreviation such as “Dr” can end in punctuation while the sentence continues. A rule for that case helps keep the following text in the same segment. The splitter meets the challenge restriction because its decisions come from rules instead of training on another collection.
Blank lines are removed, and the QCRI Educational Domain Corpus, referred to as QED, is converted to lower-case because its supplied text was in capitals. Removing blank lines matters directly for an average taken over lines. An empty line counted in the denominator would contribute little text and could make a file appear to have shorter examples. Sentence splitting also affects the denominator. The punctuation rules decide whether text remains in a long line or becomes several shorter segments. Accordingly, the score belongs to the processed file and reflects the segmentation used in this experiment.
Keeping preprocessing common across training runs makes the comparison easier to interpret. A conventional run and a curriculum run start from the same prepared text and segmentation. A line available from the beginning in Base can become available later in the curriculum, but the preprocessing of that line stays the same. This gives the experiment a common basis before the training schedules diverge.
Learn a shared tokenizer
A tokenizer turns text into the units the training system can process. The paper motivates its choice by considering what happens at either end of the range of possible unit sizes. With whole words as tokens, a small vocabulary learned from limited text may leave many forms represented by a generic unknown symbol. With individual characters as tokens, more forms can be represented, but a word may have to be read as a long series of units that carry little meaning by themselves. Subword tokenization allows often recurring pieces to become units while retaining smaller pieces for other strings.
The study uses byte-level byte-pair encoding, or BPE. The general idea of BPE is to build a vocabulary by repeatedly joining pairs that occur frequently. In the byte-level version, the starting units are bytes in the encoded text. A frequently recurring sequence can become a token through successive merges. The description of the curriculum draws inspiration from this starting point. The tokenizer builds a vocabulary from byte sequences, while the ranking uses the size of the processed file before tokenization. A repeated string can occupy several bytes even if the learned vocabulary represents it with a single token. The curriculum therefore measures encoded length, and the tokenizer determines how that encoded text is segmented for training. Neural Machine Translation of Rare Words with Subword Units
The vocabulary size is set to 52,000. The tokenizer uses special symbols for the beginning and end of a sentence, padding, masking, and unknown input. The paper gives a maximum length of 128 and explains it as 126 positions for text plus the beginning and end markers. Padding provides a way to fill unused positions when formatting inputs, while the mask symbol marks a position the system will have to predict. The unknown symbol covers the case in which a byte was absent during tokenizer training.
The tokenizer is learned from the preprocessed collection and shared by Base, CL-sm, and CL-lrg. As a result, the curriculum delays some passages during masked pretraining, while the segmentation vocabulary is already available. Early in the curriculum, the learner can update its weights only from the active sources. The tokenizer’s inventory can nonetheless reflect recurring byte sequences in sources whose passages will be introduced later. The distinction matters for understanding the scope of the curriculum. It governs the examples used to learn weights, starting from a common text representation.
Measure and rank the sources
The author assigns each file a single score by dividing its size in bytes by its number of lines after preprocessing. The relationship described in the paper can be written as follows.
r(D) = B(D) / L(D)
Here D is a source’s preprocessed file. B(D) is its size in bytes, and L(D) is the number of lines in it. The slash denotes division. The quantity r(D) is the file’s average bytes per line. The parentheses indicate that each of these quantities belongs to D. Sorting by r(D) places the files with shorter lines on average at the beginning of the curriculum.
Using an average lets the paper separate the ranking criterion from total file size. A source may account for a large part of the collection and still appear early if its lines tend to be short. OpenSubtitles illustrates the distinction. The paper reports 3.09M words and 527K lines for that source, with the line count measured after preprocessing. Its average is 30 bytes per line. CHILDES, which opens the curriculum, has 0.44M words, 80K processed lines, and 24 bytes per line. OpenSubtitles comes next in spite of having many more words. The ranking responds to how the text is distributed across lines.
The score gives every line in a file the same admission decision, even though the lines may differ greatly. A long line in an early file is available from the beginning. A short line in a late file waits with the rest of that source. This is a deliberate simplification. The author needs one counted quantity per file and can preserve the source groupings without labeling individual examples. The result is a schedule of sources ordered by average line length, rather than a sequence of individual examples ordered by their own lengths.
The order begins with CHILDES and OpenSubtitles. CHILDES contains child-directed speech, while OpenSubtitles contributes movie subtitles. The next group comprises the Switchboard Dialog Act Corpus, the dialogue portion of the British National Corpus, and QED, whose text comes from educational video subtitles. By the time QED is included, the system is training on several sources of transcribed or subtitled language, with CHILDES still present. OpenSubtitles2016 · Dialogue act modeling
Simple Wikipedia is the first written source to enter. The Children’s Book Test comes next, followed by the standardized Project Gutenberg collection. The Children’s Stories Text Corpus enters after Gutenberg, and Wikipedia completes the training collection. The order as a whole places spoken and subtitled sources before written sources. The author observes that a developmental ordering would probably introduce the children’s stories earlier. The resulting order therefore supports the speech-before-literacy analogy at a broad level, with the position of each file determined by the byte statistic. The Goldilocks Principle · The standardized Project Gutenberg corpus
Train on a growing collection
The first stage uses CHILDES alone. After a predetermined number of epochs, the next source is added. An epoch is a pass through the data available at that stage. Training resumes from the weights obtained at the end of the preceding stage. The paper says that the learning rate and other hyper-parameters are reset at the transition. The learning rate controls how large a step each training update can take. Carrying the weights forward preserves what the system has already learned, while the reset changes the conditions under which it continues learning.
Each addition enlarges the active collection. Once OpenSubtitles joins, both it and CHILDES are used during that stage. Further additions leave the earlier sources in place. The closing stage uses the complete collection, the same source coverage that Base has from its first epoch. Because later curriculum stages contain more data, their epochs contain more updates than the earlier ones. An epoch count describes passes through the active collection, and the size of that collection depends on where the run is in the schedule.
Corpus preparation and staged training in the byte-ranked curriculum
The steps in order.
The paper reports curriculum runs at 5 and 10 epochs. These settings specify the length of training on each successive collection before the next source enters, with the final collection also used for the chosen number of epochs. A Base setting uses the full collection for its reported epochs. This difference is essential when reading comparisons. The same number beside Base and CL-sm identifies the reported epoch setting, while the content and number of updates in the passes depend on the schedule. The paper includes a Base run at 20 epochs as an additional conventional-training comparison.
Predict masked tokens with RoBERTa
The study uses RoBERTa as the architecture and training approach for all runs. It follows BERT in using a Transformer, an architecture that uses attention to combine information from positions in a sequence. Attention lets the representation of a token draw on surrounding tokens where they are relevant to the prediction. The paper focuses on the training procedure and uses the existing architecture for the comparison.
Pretraining uses masked language modeling. Some input tokens are selected at random and replaced with a mask symbol. The system uses the visible context to predict the original token at each masked position, and errors in those predictions guide updates to the weights. For example, when a verb is hidden, the visible subject and the rest of the sentence can supply evidence about which verb form belongs in that position. The learning task can therefore be applied to text directly. Each passage supplies the targets through the tokens it already contains.
RoBERTa omits BERT’s next-sentence prediction task and resamples masks dynamically. An example encountered in a later epoch can have different hidden positions, so a repeated line can offer a different prediction problem. This property applies to all the study’s runs. Within the curriculum, early sources may supply many such encounters before later sources enter. The changing masks and the changing mix of text are distinct features of the training process. Mask sampling is common across the comparison, while the source schedule is the experimental change.
Base and CL-sm each have six attention heads and four hidden layers, with the same parameter count. Attention heads perform separate attention operations within the architecture, and hidden layers successively transform the sequence’s representations. CL-lrg has twelve attention heads and six hidden layers and uses the same curriculum as CL-sm. The smaller curriculum run at 5 epochs was the challenge submission. The paper also makes the larger curriculum run at 10 epochs available and identifies a public repository for the training code. The challenge collection supplies the training sources, and the same learned tokenizer is used for every reported system.
Experiments and results
What the comparisons measure
The experiment reports outcomes for Base at 5, 10, and 20 epochs, and for CL-sm and CL-lrg at 5 and 10 epochs. Base is the reference for training on all the data from the start. At a shared epoch setting, Base and CL-sm give the most direct comparison between the training procedures because they have the same architecture and use the same preprocessing and tokenizer. CL-sm and CL-lrg at a shared setting compare the smaller and larger architectures within the curriculum. The paper reports a macro-average for each benchmark suite, giving each task equal weight in the reported average. Where the suite combines different task metrics, its average is best read as the paper’s combined score.
The benchmarks ask different questions. BLiMP checks whether the pretrained system prefers an acceptable sentence when given a near match that violates a linguistic pattern. It uses zero-shot evaluation, meaning the system scores the pair without training on the benchmark task first. The GLUE and SuperGLUE results come after task-specific fine-tuning, so they concern how well pretrained weights support learning each task. MSGS also uses fine-tuning, but its evaluation is designed to discover which kinds of features the system relies on when generalizing. Each comparison is therefore tied to the way its benchmark elicits a decision. Evaluation and benchmarks
BLiMP: broad gains with exceptions
BLiMP supplies pairs of sentences with small differences that test a feature of grammar, meaning, or word formation. A response counts as correct when the acceptable member receives the higher score. A pair could test whether a verb should appear in a simple past form or as a past participle in a particular construction. A system that merely picked between the options at random would achieve about 50% accuracy. The challenge version filters the pairs using the strict-small training vocabulary. The paper says the retained words had to appear at least twice in the training data. That condition reduces the chance that the comparison turns on a word the learner never encountered. Syntax and grammar · Morphology
BLiMP macro-average accuracy on the BabyLM strict-small evaluation
Both curriculum variants exceed the conventional runs, with the larger curriculum run trained longer scoring highest.
The numbers
| System or setting | Accuracy % |
|---|---|
| Base, 5 epochs | 65.35 |
| Base, 10 epochs | 69.73 |
| Base, 20 epochs | 70.37 |
| CL-sm, 5 epochs | 70.94 |
| CL-sm, 10 epochs | 71.87 |
| CL-lrg, 5 epochs | 72.98 |
| CL-lrg, 10 epochs (this paper) | 73.63 |
The matched-size comparison shows a higher BLiMP average for CL-sm than for Base at both shared epoch settings. Conventional training also benefits from additional epochs on this suite. The Base average rises from 65.35 at 5 epochs to 69.73 at 10 and 70.37 at 20. Both CL-sm averages exceed those conventional runs, and the larger curriculum configuration provides the highest averages. These comparisons concern the completed runs and their reported settings. They show that the advantage in the average survives comparison with a longer conventional run, while leaving the number of updates and computation involved in those runs unresolved.
Several individual tasks show how that average changes. In determiner–noun agreement, the 5-epoch Base run scores 85.12, while CL-sm at 5 epochs scores 96.38. The task tests whether a determiner and noun are compatible. In subject–verb agreement, the corresponding scores are 57.85 and 71.29. The gap-filling task, which tests dependencies involving an unexpressed position in a sentence, also favors CL-sm at the matched 5-epoch setting, with 68.32 against Base’s 63.60. The larger curriculum run at 10 epochs scores 74.56 on that task. These cases show improvement across several kinds of grammatical comparisons, although the settings that do best differ by task.
Irregular forms favor conventional training. On this task, Base at 10 epochs scores 92.32. CL-sm at 10 epochs scores 80.46, and CL-lrg at 10 epochs scores 84.17. The task tests distinctions such as whether an irregular past-tense form or its participle fits the sentence. Quantifiers also favor Base in the reported comparisons. Base at 10 epochs scores 79.01 on quantifiers, compared with 67.95 for CL-sm and 66.18 for CL-lrg at that setting. Quantifiers express amounts or bounds, and the benchmark uses small changes in such expressions to test their grammatical use in context. These two tasks give the paper concrete cases where an advantage on the overall suite comes with weaker performance on particular contrasts.
Island effects produce a different pattern. This task tests whether an apparent dependency is allowed to cross certain structures in a sentence. A learner might recognize that a question calls for a missing element and still accept a gap in a position where English grammar blocks that dependency. Every reported run scores below the 50% chance reference. Base at 10 epochs scores 34.68, and the highest reported result, for CL-lrg at 10 epochs, is 44.25. The relative improvement in the larger curriculum run still leaves the unacceptable option preferred more frequently than the acceptable one. The benchmark average can rise even while a particular test reveals a shared failure.
GLUE and SuperGLUE: gains after task-specific adaptation
The paper describes GLUE as a collection of tasks for assessing natural-language understanding and SuperGLUE as the more challenging suite that followed it. In this part of BabyLM’s evaluation, the system must produce decisions appropriate to a task, such as selecting a yes or no answer or identifying what a pronoun refers to. A raw sentence score alone does not supply these outputs. The evaluation scripts fine-tune a copy of the pretrained system for each task. The initial fine-tuning learning rate is 5e-5, the batch size is 64, and the training limit is 10 epochs. A batch is the group of examples processed together for an update. These settings concern evaluation, separate from the epoch settings used to describe pretraining. GLUE · SuperGLUE
Macro-average score on the BabyLM GLUE and SuperGLUE evaluation tasks
Curriculum training leads at matched epoch settings, and the larger curriculum run trained longer has the highest average.
The numbers
| System or setting | Macro-average score |
|---|---|
| Base, 5 epochs | 67.08 |
| Base, 10 epochs | 65.94 |
| Base, 20 epochs | 67.60 |
| CL-sm, 5 epochs | 67.36 |
| CL-sm, 10 epochs | 67.92 |
| CL-lrg, 5 epochs | 68.70 |
| CL-lrg, 10 epochs (this paper) | 69.03 |
The curriculum averages exceed the same-size Base averages at the shared settings. At 5 epochs the Base and CL-sm results are close, at 67.08 and 67.36 respectively. At 10 epochs Base is at 65.94 and CL-sm reaches 67.92. The larger curriculum configuration has the highest score at each of those settings, with 68.70 at 5 and 69.03 at 10. The Base results dip at 10 epochs before reaching 67.60 at 20. The broader pattern is that the curriculum results increase at the longer setting, while the conventional results vary across its reported durations.
The suite reports task-specific metrics, which matters when reading the average. For example, MRPC and QQP are reported with F1, a score that balances precision and recall. At the 10-epoch setting, MRPC F1 is 74.05 for Base, 76.45 for CL-sm, and 79.41 for CL-lrg. On QQP, the corresponding F1 scores are 77.30, 78.47, and 78.57. Both columns favor the curriculum in these comparisons, with a clearer separation on MRPC. Other tasks show smaller gains, reversals, or results that peak at the shorter setting.
QNLI illustrates why the author examines individual tasks. It is derived from SQuAD, a reading-comprehension collection. QNLI presents a question and a candidate sentence, and the system decides whether the sentence contains the answer. The best reported QNLI score in this study is 66.54 for CL-sm at 5 epochs. CL-sm at 10 epochs scores 64.22. The larger curriculum run at 5 epochs scores 63.87, and at 10 epochs it scores 63.17. Base reaches 65.27 at 20 epochs. The configuration with the best overall suite average is therefore below several other runs on this particular form of question answering.
BoolQ also involves a question and a passage, but asks the system to answer yes or no using information in a Wikipedia paragraph. CL-sm scores 67.36 at 5 epochs and 64.73 at 10. The larger curriculum configuration scores 65.42 at 5 epochs and 64.87 at 10. Both curriculum sizes score lower after the longer pretraining setting on this task, even as their suite averages rise. Base at 20 epochs scores 65.70, showing that the ordering of the completed runs also depends on which setting is used for comparison. BoolQ
The Winograd Schema Challenge tests coreference resolution by asking which noun phrase a pronoun refers to. Each configuration scores 61.45 at 5 epochs. At 10 epochs, Base scores 59.04, CL-sm scores 56.63, and CL-lrg scores 59.04. Base at 20 epochs also scores 59.04. The common direction of the change makes this a poor candidate for an explanation specific to byte ranking. It is evidence that some downstream scores in this experiment vary with training duration in ways the suite average can conceal.
MSGS: limited change in generalization preferences
The Mixed Signals Generalization Set asks whether a system prefers a linguistic feature when it has to generalize. A task can be designed so that an example supplies more than one plausible cue for a label during training. Evaluation then examines which cue governs predictions when those cues point in different directions. A learner may be capable of representing a linguistic feature and still rely on a different signal to answer the task. This separates the question of what pretraining makes available from the question of what fine-tuning leads the system to use. The paper applies the same fine-tuning settings as on GLUE and SuperGLUE. Learning Which Features Matter
Macro-average score on the BabyLM Mixed Signals Generalization Set
The best conventional run leads, while both curriculum variants improve at the longer setting.
The numbers
| System or setting | Macro-average score |
|---|---|
| Base, 5 epochs (this paper) | 81.72 |
| Base, 10 epochs | 81.64 |
| Base, 20 epochs | 79.70 |
| CL-sm, 5 epochs | 78.94 |
| CL-sm, 10 epochs | 79.92 |
| CL-lrg, 5 epochs | 80.62 |
| CL-lrg, 10 epochs | 81.22 |
The best MSGS average belongs to Base at 5 epochs. Both curriculum configurations improve when moving from 5 to 10 epochs, and the larger curriculum configuration scores higher than the smaller one at both settings. The best of those curriculum results, 81.22, remains below Base at 5 and 10 epochs. Base’s scores at the shorter settings are close, and its lower 20-epoch average comes with a conspicuous change on SC-LC. Base scores 89.53 on SC-LC at 10 epochs and 67.39 at 20. The author notes that a repeat run would be needed to establish whether that drop recurs.
The MSGS results help specify the reach of the BLiMP and GLUE findings. A system can improve at ranking grammatical minimal pairs and become easier to adapt to a suite of understanding tasks while showing little change on a benchmark that tests feature preference. The paper’s best runs consequently differ by what the evaluation asks. The averages provide evidence about the tested tasks and evaluation procedures, with improvement concentrated in BLiMP and the combined GLUE and SuperGLUE suite.
What the ablations show
The same-size comparison tests the curriculum as a package
The paper provides controlled comparisons of training schedule, architecture size, and epoch setting, along with an inspection of selected benchmark errors. The comparison between Base and CL-sm is the closest test of the curriculum itself. The architecture, preprocessing, tokenizer, and masked prediction objective are shared. The initial contents of the training collection and its subsequent evolution differ. Base starts with every source, while CL-sm repeatedly expands its active collection and resets training settings at those transitions.
At 5 epochs, CL-sm’s BLiMP average is 70.94 and Base’s is 65.35. At 10 epochs, the respective scores are 71.87 and 69.73. The ordering is the same at both settings, even though Base gains considerably across its reported runs. The corresponding combined GLUE and SuperGLUE averages also favor CL-sm, while MSGS favors Base at both matched settings. Taken together, these comparisons support an effect of the training package on some evaluations and show that the direction of the effect depends on what is tested.
Several features change together in that comparison. Also changing with the order are the amount of text available at each stage, the repetition of early sources across stages, and the resets when a source is added. The paper varies those features jointly. The contrast can establish how the tested schedule performs compared with conventional training, but it does not assign a separate share of the outcome to sorting by bytes, starting with CHILDES, or resetting the learning rate. A controlled comparison with the same stage boundaries and another source order would address a narrower question about the ranking criterion.
The curriculum also changes how much attention the earliest files can receive over a full run. CHILDES takes part from the opening stage onward. Wikipedia takes part only after the other sources have entered. Even at the end, when both systems have access to all the text, their weights reflect different histories. This is part of the intervention. The paper’s data inspection is especially informative in this respect because it asks whether an early, repeatedly encountered source contains forms that could matter for a task on which the curriculum struggles.
Capacity and duration change different things
CL-sm and CL-lrg share a schedule, and the larger version increases both attention heads and hidden layers. At the 5-epoch setting, their BLiMP averages are 70.94 and 72.98. On the combined GLUE and SuperGLUE evaluation they are 67.36 and 68.70, and on MSGS they are 78.94 and 80.62. The larger configuration is ahead on all these suite averages at that setting. The comparison tests a bundled change in capacity, since both architectural quantities increase. A conventional run of the larger configuration would be needed to measure whether size changes the benefit of the curriculum itself.
Changing the epoch setting within a configuration shows how the reported outcomes respond to more training under that configuration’s procedure. Both curriculum variants improve in their suite averages at 10 epochs. Individual tasks can still deteriorate, as QNLI and BoolQ do for both curriculum sizes. The curriculum’s longer setting gives each stage more passes before a source is added. It changes how much training occurs while only early sources are active, as well as how much training occurs after the full collection becomes available. The comparison thus gives evidence about the longer staged schedule as a whole.
The conventional runs provide a complementary check. Base improves on BLiMP as its reported epoch setting increases. Its combined GLUE and SuperGLUE scores dip at 10 epochs and recover at 20, and its MSGS average is lowest at 20. The irregular trajectory across suites makes duration an important part of the experimental conditions. In these runs, simply training longer can improve the aggregate grammatical score while doing little for some other evaluations. WSC is a particularly clear example because the reduction from the shorter setting appears in both training procedures.
The data inspection suggests where early exposure may hurt
The author explores why conventional training fares better on BLiMP’s irregular forms task. The inspection identifies constructions in CHILDES where a participle appears in a position that would ordinarily take a past-tense form. One example involves a question about damaging toy trains, in which the speaker uses the participial form of the verb without the auxiliary that would ordinarily license it. The author suggests that the speaker may be repeating a child’s wording. Such utterances are part of what a conversational transcript records. For a grammatical minimal-pair test, however, they can expose the learner to a pattern resembling the member that the benchmark expects it to disfavor.
This is a plausible explanation given the schedule. CL-sm and CL-lrg first update their weights using only CHILDES. The source continues to contribute as the collection grows. Base sees the same CHILDES sentences in a mixture that includes written sources from the start. The paper suggests that those written sources are less likely to contain the same irregular usages. The different early contexts for seeing the forms could affect the relative scores the systems learn to assign to them. The inspection establishes the presence of a relevant example in an early source. It leaves the causal contribution of that source and the frequency of the forms undetermined.
The quantifier analysis is more tentative. The author finds no comparably direct clue in the training data and observes that the conventional run also weakens on quantifiers when training moves from 10 to 20 epochs. The reported Base score is 79.01 at 10 epochs and 72.23 at 20. This makes it difficult to link the lower curriculum scores to a specific introduction point or source. The paper proposes studying larger portions of the constituent datasets to see which sources help or hurt particular benchmark tasks.
Island effects expose a weakness common to all the configurations. The author notes that the BLiMP study also found this task especially difficult for the systems it tested. In the BabyLM runs, the repeated preference for the unacceptable member of the pair makes the error more informative than a low average alone. It points to a consistent ranking behavior on the tested contrasts. There is still a difference between observing that behavior and identifying the feature that drives it. The paper leaves the reason open, just as it leaves the unusually low SC-LC result at Base’s longest setting open pending a repeat run.
Limitations
Limits identified by the author
The author’s first qualification concerns the training collection. BabyLM strict-small supplied the sources, restricted the amount of text, and prohibited tools pretrained elsewhere. The results show what happened in that setting. A different collection could have different average line lengths, a different relationship between length and genre, or source files that resemble each other much more closely. The paper explicitly raises the possibility that ordering sources may offer less benefit when they are similar. It also notes that the behavior of the method could change in a setting where pretrained tools are available.
The author identifies training duration as another open condition. The runs use predetermined epoch counts, and other work discussed in the paper had examined whether curriculum learning leads to faster convergence. Convergence concerns how training behaves as continued updates cease to yield substantial progress under the criterion being monitored. Here, the evaluation records performance after the chosen schedules. It leaves open how the systems would compare if each trained until convergence, and whether the advantage would grow or diminish with further computation.
The paper also treats the developmental parallel as approximate. The ordering puts transcribed speech before written text, a broad feature shared with children’s progression from speech to literacy. The author points out that the placement of children’s stories is a clear departure from a plausible exposure order. The method is defined by a property of files and was evaluated through benchmark performance. It can motivate questions about how exposure affects learning, while the study’s evidence concerns artificial training runs and their resulting scores. Psycholinguistics and language acquisition
Limits visible in the experimental design
The source-level average combines several possible causes of length. The result can depend on punctuation, the sentence splitter, how the original corpus marked its lines, and the encoded text itself. A source file may also contain a wide distribution of line lengths that a single mean cannot describe. As a result, shortness at the source level is an operational definition of ease. The experiments do not establish that the ordering corresponds to what a person would find easiest to understand, or to which individual sentences give the lowest masked prediction loss. The method’s appeal is that its ordering can be calculated from the files. Its interpretation depends on what the byte statistic happens to capture in those files.
There is also a distinction between the unit used to rank the inputs and the unit used during training. The mean is calculated in bytes before tokenization. The training input is expressed in learned tokens and capped at the reported maximum token length. Frequently merged byte sequences can change how many tokens a line occupies. The ranking can therefore be meaningful without providing a direct measurement of how many token positions each source usually uses. The paper does not compare the byte ordering with a token-length ordering, a word-based ordering, or an ordering that uses properties of individual examples.
The order is confounded with domain and exposure frequency by design. Early sources are largely conversational or subtitled, and those same sources are revisited as new files arrive. Later sources contribute only in the later stages. Because the experimental comparison changes the schedule as a package, the observed differences could depend on when the sources appear, the repeated emphasis on early material, the duration of individual stages, or the resets. A schedule that kept the same sources and number of additions but reversed or shuffled their order could distinguish a benefit of the chosen order from a benefit of gradual expansion. The reported comparisons support the combined procedure.
Epoch matching provides a clear way to label runs, but it does not establish a compute-matched comparison. In Base, each epoch covers the whole collection. In a curriculum run, early epochs cover only the sources then available, and later epochs are longer in updates. The curriculum also runs through successive larger collections. Matching the printed epoch label therefore leaves open the relative training cost and total number of presentations of each source. The findings establish downstream performance for the schedules the paper ran. They leave the strongest efficiency claim, how much computation is needed to attain a particular score, untested.
The capacity comparison has a related boundary. CL-lrg gives the best averages on BLiMP and the combined GLUE and SuperGLUE tasks. It supplies evidence for the effect of using the larger architecture within the curriculum. Since the paper reports no corresponding larger Base run, it cannot establish how that architecture would perform with full-collection training from the start. The strongest comparison for attributing a performance difference to the tested curriculum remains Base against CL-sm.
Finally, the paper reports scores for the listed configurations and does not provide variability estimates across repeated runs. Small differences deserve particular care, and a single large change on a task may also need checking. The author raises precisely that concern for SC-LC. The suggested CHILDES explanation for irregular forms likewise comes from examining the data alongside the scores. It would take a controlled source intervention to determine whether the example reflects a recurring cause of the benchmark difference. The reported experiments give a concrete account of the effect across benchmark suites, with the strongest mechanistic explanations still open.
What came after
The later work A Morpheme-Aware Child-Inspired Language Model (2025) cites DeBenedetto’s study. Its title identifies a shared interest in child-inspired language learning and a focus on morphemes, the parts of words that carry meaning or grammatical information. DeBenedetto’s paper places its intervention at the level of source files. A file’s average encoded line length determines when its examples enter training. The citing work’s title places attention on structure within words.
The citation establishes a connection between those lines of inquiry. The citing work’s title leaves open how it uses DeBenedetto’s result, whether it adopts the byte-ranked schedule, and what its own experiments found. DeBenedetto’s demonstrated contribution remains a specific one within child-inspired pretraining research. A source order derived from processed line lengths improved some BabyLM evaluations, with different outcomes on individual grammar tasks and little overall benefit on MSGS.
Cite
Cite as Justin DeBenedetto. 2023. Byte-ranked Curriculum Learning for BabyLM Strict-small Shared Task 2023. Proceedings of the BabyLM Challenge at the 27th Conference on Computational Natural Language Learning.
@inproceedings{justin2023byte,
title = {{Byte-ranked Curriculum Learning for BabyLM Strict-small Shared Task 2023}},
author = {Justin DeBenedetto},
booktitle = {Proceedings of the BabyLM Challenge at the 27th Conference on Computational Natural Language Learning},
year = {2023},
doi = {10.18653/v1/2023.conll-babylm.17},
url = {https://doi.org/10.18653/v1/2023.conll-babylm.17}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/debenedetto-2023-byte-ranked-curriculum-learning-babylm/