---
title: "ELC-ParserBERT — paper by Rufus (2024) — summary and ideas"
description: "ELC-ParserBERT tests whether an unsupervised parser helps a language model learn grammar, language understanding and world…"
canonical: "https://research.elamur.ai/free/en/papers/behr-2024-elc-parserbert-low-resource-language/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/behr-2024-elc-parserbert-low-resource-language/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / ELC-ParserBERT: Low-Resource Language Modeling Utilizing a Parser Network With ELC-BERT

# ELC-ParserBERT: Low-Resource Language Modeling Utilizing a Parser Network With ELC-BERT

Paper · 2024 · Rufus Behr

**Authors:** Behr, Rufus · **Year:** 2024 · **Venue:** The 2nd BabyLM Challenge at the 28th Conference on Computational Natural Language Learning · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **2** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/behr-2024-elc-parserbert-low-resource-language/cited-by/) · The 2nd BabyLM Challenge at the 28th Conference on Computational Natural Language Learning · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2024.conll-babylm.11/)
- [PDF](https://aclanthology.org/2024.conll-babylm.11.pdf)

## Summary

When training text is scarce, the design of a language model can influence what it learns from each sentence. Rufus Behr tests whether giving the system a way to infer sentence structure helps it make better use of that text. ELC-ParserBERT adds a parser from [StructFormer](https://md.research.elamur.ai/free/en/papers/shen-2021-structformer-joint-unsupervised-induction-dependency/) to Every Layer Counts BERT, the strongest system in the first BabyLM Challenge. The parser learns without annotated trees. It estimates which tokens depend on one another and uses those estimates to guide [self-attention](https://md.research.elamur.ai/free/en/concepts/transformer/), the mechanism that lets tokens draw information from other positions in the input. The system trains on the 10M-token strict-small corpus from BabyLM.

The added parser brought little or no improvement on tests of grammar and general language understanding. ELC-ParserBERT scored 59.6 on BLiMP, close to the 60.6 reported for LTG-BERT, and trailed the baselines on the BLiMP supplement. The weakest result was on the tasks grouped under GLUE, where ELC-ParserBERT scored 44.5 and the baselines scored 60.3 and 63.3. It fared better on EWoK, a benchmark that asks which targets fit a context in ways that depend on basic world knowledge. There it scored 63.1, close to LTG-BERT’s locally evaluated 63.05 and ahead of the other reported baseline scores. The organizers’ EWoK result for the same LTG-BERT baseline was 48.9, so the source of that comparison matters.

The near tie concealed different strengths. The paper uses McNemar tests to compare predictions on the same items and finds domain-level differences, with ELC-ParserBERT ahead on material and social properties and behind on quantitative properties, material dynamics, and spatial relations. Within material properties, it answered all 20 items with cold or warm contexts correctly, compared with 4 for LTG-BERT. This is evidence of a difference on those items. The experiment leaves open what role the parser played in producing it.

Behr also trained the same architecture with examples presented in increasing order of Flesch Reading Ease, a readability score. This curriculum variant scored 0.6136 on EWoK, while the shuffled variant scored 0.6310. It did worse on material properties, including some contrasts about temperature and weight, yet did better on contrasts involving sinking and floating or falling and rising. Together, the comparisons show that a syntactic constraint and a change in training order can each accompany shifts in which examples a system handles well, even when the overall results offer little reason to adopt either change. The paper makes the training and experiment code available for follow-up work.

## Deep dive: ELC-ParserBERT: Low-Resource Language Modeling Utilizing a Parser Network With ELC-BERT

ELC-ParserBERT tests whether an unsupervised parser helps a language model learn grammar, language understanding and world knowledge from limited text. · about 33 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Learning under a fixed text budget

The paper asks how much a system can learn when there is a firm limit on its training text. In Behr’s account, recent progress in large language models had drawn heavily on increases in both parameter count and dataset size. That strategy leaves a separate question about efficiency. If the corpus is fixed, a researcher has to decide how to extract more value from the examples already available. The paper places this question alongside a projection cited from Villalobos and colleagues. They anticipated that training datasets might reach the scale of the available human-written text between 2026 and 2032. Behr uses that projection as part of the motivation for studying learning under a constraint. [A Survey of Large Language Models](https://md.research.elamur.ai/free/en/papers/zhao-2023-survey-large-language-models/) · [Will we run out of data?](https://md.research.elamur.ai/free/en/papers/villalobos-2022-will-run-out-data-limits/)

BabyLM defines the constraint through shared training tracks. Its strict-small track sets a limit of 10M tokens and its strict track a limit of 100M. The paper relates the latter to an estimate of the language exposure of a 13-year-old child. A separate track permits images alongside text. These rules give architectural and training proposals a common setting in which data efficiency can be tested. The smaller text-only track is the setting for ELC-ParserBERT. Here, the resource limitation concerns the amount of text available to train on. The corpus itself contains a mixture of English sources.

The particular design question is whether sentence structure is worth building into the predictor. In ordinary attention, a system learns how much information to take from different positions as it processes the input. ELC-ParserBERT also has a component that estimates grammatical connections and feeds them into attention. This is an inductive bias, a preference built into the way the system learns or represents its input. In this case, the preference is for some information to travel along likely grammatical links. Behr’s experiment asks whether imposing that preference is useful given the available examples.

This question is distinct from asking whether a sentence has structure or whether a neural system can learn something about it. The paper tests a particular use of structure. It gives a learned parser influence over which positions exchange information, then measures how the resulting predictor handles tasks that call for different abilities. A grammaticality task is a direct place to look for gains. Language understanding tasks and world-knowledge comparisons ask whether those gains, if present, carry over to settings where the answer depends on more than the sentence’s grammatical form.

A second design question concerns the order in which examples are seen. A curriculum presents data according to a chosen progression. The motivation is that the sequence of training examples might influence what the system acquires even when the corpus stays the same. Behr notes that curriculum approaches were common in the first BabyLM Challenge and that significant gains were unusual among those submissions. The leading systems in the paper’s account used architectural changes. ELC-ParserBERT gives Behr a way to revisit both choices in one study, by testing the architectural proposal and then varying order within that architecture.

#### Earlier ways to give syntax a role

StructFormer is the direct source of the parser. Its aim includes learning both phrase structure and relationships between individual words. A constituency analysis groups parts of a sentence into nested spans. A dependency analysis describes which token acts as the head of another. In a dependency analysis, the connection between a word and its head is a directed grammatical relationship. This gives a token-level parser a way to propose a relationship even when the two tokens are separated in the written sentence. [Parsing](https://md.research.elamur.ai/free/en/concepts/parsing/) · [Dependency parsing](https://md.research.elamur.ai/free/en/concepts/dependency-parsing/) · [Syntax and grammar formalisms](https://md.research.elamur.ai/free/en/topics/syntax-grammar/)

In StructFormer, an internal parser estimates such structure while the system learns to predict masked text. Its proposed dependency relations then constrain attention. Behr draws on both aspects of the design. The parser can learn within a training task that uses ordinary text, and its estimates have a direct route into prediction. The latter matters for the research question. A tree produced only for inspection could demonstrate that a system represents some structure. A parser wired into attention gives that structure a potential effect on the representations used to answer a benchmark item.

Behr describes an earlier BabyLM submission that tried the original StructFormer and variants. Those variants included replacing its encoder with RoBERTa and changing where the parser was integrated. One motivation for trying a middle placement came from research suggesting that intermediate Transformer layers represent syntactic information well. The resulting evidence varied by evaluation task. In Behr’s account, that work left open whether the syntactic bias improved performance across the challenge and whether a middle placement was advantageous. This makes the choice of backbone and the way structure enters it part of the question.

The paper also describes Generative Pretrained Structured Transformers, or GPST, as a different way to put induced trees to work. Its extra component, ReCAT, composes representations from text and proposes a parse. Behr explains the training procedure as resembling hard expectation-maximization. The structured component first chooses a tree, and a representation from that process is then used when updating the system’s parameters. The paper describes GPST as improving on GPT-2 in evaluation that included GLUE. It also reports that ReCAT improved on prior grammar-induction approaches, including StructFormer, in tree F1 and memory complexity. Those comparisons concern a different architecture and a different use of its induced structure.

Another approach in the paper’s background starts from a probabilistic grammar. A [context-free grammar](https://md.research.elamur.ai/free/en/concepts/context-free-grammar/) represents how larger units can be built from smaller ones. A compound probabilistic version allows its rule probabilities to depend on a latent variable for the sentence. In the BabyLM submission Behr discusses, a grammar of this kind was trained on part of the strict-small data. Its token embeddings were then used as input embeddings for a separate predictor trained on the corpus to predict the next word. That design transfers a representation learned during grammar induction into later training. ELC-ParserBERT instead uses dependency estimates to affect attention as an input is processed. [Compound Probabilistic Context-Free Grammars for Grammar Induction](https://md.research.elamur.ai/free/en/papers/kim-2019-compound-probabilistic-context-free-grammars/)

The earlier probabilistic grammar submission attributed no improvement over its baselines to grammar induction and identified tokenizer choice as a possible contributor to performance. Its WordPiece vocabulary could represent words or parts of words. The result matters to Behr’s setting because the token vocabulary is another architectural and data decision that can shape learning under a fixed budget. It also matters for interpreting comparisons. An endpoint score reflects the whole training setup, which can include choices about what counts as an input unit as well as how the architecture uses it. [Subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/)

ELC-BERT offers the study its starting architecture. It in turn builds on LTG-BERT and changes how Transformer layers contribute to the network through learned layer weighting. The idea is to let the layers have different influence, with the weights learned as part of training. This line of work gives Behr a strong starting point whose distinctive mechanism is about combining representations across layers. The StructFormer parser introduces a different preference, about the connections among tokens. The paper’s proposal combines the two and tests the resulting system in the BabyLM evaluation setting.

### The method, step by step

#### From text to connections between tokens

Consider what the system needs to do when a part of its input is hidden. It has access to the surrounding text and must use that context to predict the missing token. In a Transformer, the representations of the surrounding positions can influence one another through attention. Which information is useful depends on the input. For a missing part of a phrase, the grammatical head of the phrase may provide relevant evidence. For another missing token, the strongest clue might be elsewhere. Behr’s addition is a learned estimate of the grammatical connections that can influence these exchanges.

The parser has no gold tree to consult when producing those estimates. It learns from the text in the same overall training setup as the predictor. Its immediate outputs are syntactic heights and syntactic distances. Heights give the parser a way to express relative prominence in an induced structure. Distances give it a way to express separation in that structure. Both are learned quantities. They describe the parser’s analysis of the input, whereas the order of the tokens is already available from the input sequence itself.

The parser uses the two sets of quantities to estimate which tokens may serve as heads of other tokens. Each possible dependency receives a probability. Collecting those probabilities gives a weighted adjacency matrix, where the positions index tokens and the weights express the proposed dependencies. Direction matters. The proposal that a token depends on a given head is a different entry from the proposal in the reverse direction. The matrix packages these directed estimates in a form the attention component can use.

The attention mechanism uses the estimates as constraints. One way to see the effect is to consider a connection that an attention head might otherwise weight strongly. If the parser gives the relevant dependency weak support, the resulting attention can be dampened. The paper illustrates that effect with an attention visualization. The architecture can therefore favor proposed grammatical connections while retaining a graded signal about alternatives. An induced tree is a way to inspect the structural analysis. The probability weights are the connection between that analysis and attention in the predictor.

How ELC-ParserBERT uses structure during masked prediction The steps in order.

#### What the two architectural components contribute

The parser and ELC-BERT’s layer weighting act on different aspects of the computation. The parser supplies information about relationships among positions in the current sequence. The layer weighting changes the influence of representations computed at different depths. This distinction helps explain why the paper combines the components. The system can use a learned preference for some token relationships within a layer-weighted backbone. Improvements from that combination are an empirical question, since the two components influence the same eventual predictions.

The paper describes the parser in terms of convolutional layers, linear layers, and a hyperbolic tangent. The convolutional part lets the parser compute features using neighboring positions. Linear transformations and the hyperbolic tangent contribute to producing the height and distance estimates. The estimates are then used to obtain head probabilities. The architecture uses those probabilities as weights on a directed structure over the input tokens. This is the point in the computational sequence at which a proposed parse can influence the attention calculation and therefore the contextual representations available for prediction.

The description is architectural. The paper identifies the quantities, how they are used, and the prior work from which the parser comes. It gives no explicit equations for converting heights and distances to dependency probabilities or for applying the probabilities to attention. The paper also names the readability measure used to order the training material and leaves its formula to the cited work. As a result, the method can be specified here at the level of the computations and the reported settings, with the details of the original parser attributed to StructFormer.

The distinction between constituency and dependency is particularly useful for reading the figures. A tree drawn over a sequence can make hierarchical grouping visible. The attention mechanism in this experiment receives the dependency probabilities derived from heights and distances. A reader looking at a visible tree should therefore treat it as a view of the induced structure, while looking to the directed weights for the mechanism that constrains individual token connections. The paper’s architecture figure illustrates the route from the parser to that constraint.

The question of granularity begins with the input representation. The data pipeline segments the text into sentences and then prepares sequences for the system. The predictor operates over tokens from a sub-word vocabulary. A token is a unit of the system’s input and may be smaller than an ordinary written word. The parser’s estimates concern those input positions. As a result, a sentence boundary in the preprocessing pipeline, a token boundary in the encoded sequence, and a boundary implied by an induced parse describe different parts of the procedure.

Those distinctions also matter when a context window contains more than one sentence. A context window is the span of text processed together. The paper’s future-work proposal is to ensure separate trees for separate sentences within such a window. That proposal identifies a boundary question about the implementation tested here. The fact that the raw text was segmented into sentences establishes a preparation step. The way those segments are represented in a longer window is a different question, with implications for what the parser can connect.

#### Preparing the strict-small corpus

The experiment uses the corpus supplied by the BabyLM organizers. Several sources consist of conversation or representations of conversation. CHILDES, a database of dialogue relevant to child language, accounts for 29%. Movie and television subtitles contribute 20% through OpenSubtitles. Dialogues from Switchboard contribute 1%, while the dialogue section of the British National Corpus contributes 8%. These sources give the corpus a substantial dialogue component, with material collected or produced for different purposes. [OpenSubtitles2016](https://md.research.elamur.ai/free/en/papers/lison-2016-opensubtitles2016-extracting-large-parallel-corpora/) · [Dialogue act modeling for conversational speech](https://md.research.elamur.ai/free/en/papers/stolcke-2000-dialogue-act-modeling-automatic-tagging/)

The corpus also includes 26% from the standardized Project Gutenberg collection and 15% from the nonfiction portions of Simple English Wikipedia. The former supplies book text. The latter supplies encyclopedia text written in plain English. These are part of the same official corpus used for the two training conditions. Behr’s comparison of training orders concerns how examples from this existing mixture are presented. The official release of the organizers’ training data is available through OSF. [A standardized Project Gutenberg corpus](https://md.research.elamur.ai/free/en/papers/gerlach-2018-standardized-project-gutenberg-corpus-statistical/)

The organizers prepared the material as plain text and left the subsequent preprocessing to participants. Behr followed much of the ELC-BERT procedure. The text was standardized and compiled, then split into lines. The Natural Language Toolkit sentence tokenizer segmented those lines into sentences. The pipeline then prepared sequences of the required lengths and encoded them with a custom sub-word tokenizer. That tokenizer had been trained on the strict-small material itself, so the vocabulary was adapted to the data used in the experiment. [Tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/)

Learning the vocabulary and learning the masked prediction task are separate operations. The vocabulary determines the units available for representing the corpus. During training, the predictor learns which units fit a context, while the parser learns structural estimates that affect how information from that context is combined. This order also explains why the paper’s tokenizer choice belongs to the setup instead of the explanation of the results alone. It establishes what the attention mechanism and parser receive as input throughout the study.

After preparing the sequences, the pipeline could sort examples by Flesch Reading Ease. The article describes that as a measure of readability and uses it to assign an order to the training material. The corpus includes text from quite different sources, so readability order and corpus source are separate properties of an example. The reported experiment varies the sequence in which examples appear through a score, with the source mixture supplied by the challenge.

#### Training the shuffled and curriculum variants

The submitted ELC-ParserBERT variant trained on shuffled data. The curriculum variant, CL-ELC-ParserBERT, trained on examples in increasing order of Flesch Reading Ease. In both cases the reported masking probability was 15%. Masking supplies examples in which part of the text is hidden and the surrounding context supplies evidence for the desired prediction. The two variants thus compare a training order chosen by a readability score with an order produced by shuffling, using the same parser-based architecture and masking probability.

The direction of the sort is worth preserving in the description. Behr specifies increasing Flesch Reading Ease. That is the training condition tested, and the paper assesses its outcomes using EWoK. It leaves open how another progression, a reversed sort, or a curriculum based on a different property of the examples would behave. The choice of readability supplies an operational definition of the curriculum for this study. It leaves grammatical complexity and the order in which particular concepts appear as separate properties that the paper did not track directly.

The appendix reports an initial learning rate of 5e-3, a batch size of 256, and 13,495 training steps. The initial learning rate sets the starting scale of parameter updates. Batch size gives the number of examples grouped for training, and steps count the updates in the reported setup. The appendix labels the settings as those of the submitted system, and the training description directs readers to the appendix for both variants. The paper makes the training and experiment code available under the ELC-ParserBERT project name.

For the backbone, the appendix specifies a hidden size of 384, an intermediate size of 1024, 6 attention heads, and 12 hidden layers. Hidden size describes the width of the contextual representation. Intermediate size is the width of the larger internal representation named in the configuration. An attention head is a channel through which the system can assign its own pattern of weights across input positions. The maximum position embedding setting is 512, and the reported vocabulary size is 16,384. Those settings describe the positional capacity and the number of entries the tokenizer can use.

The parser configuration lists 4 parser layers and a parser convolution size of 9. The appendix also gives attention probability dropout of 0.1, hidden dropout of 0.1, and classifier dropout of 0.2. Dropout is a training setting that randomly removes part of a signal at the designated location. The layer normalization epsilon is 1e-07, a small constant in the normalization calculation. These values characterize the submitted implementation. The study’s training-order comparison focuses on the ordering of examples, while the cross-system comparisons cover architectures and training setups as evaluated.

#### How the study turns predictions into evidence

Behr evaluates the submitted system with the organizers’ pipeline. The main comparison covers grammatical judgments, a selection of tasks requiring adaptation, and world-knowledge judgments. The experiments ask how much the architecture delivers in that common evaluation setting. The training-order comparison uses EWoK and asks a narrower question about what changes in that benchmark when examples are sorted by readability.

For EWoK, the paper goes beyond ranking totals. It compares predictions on the same items and examines groups of items that share a domain, a concept, or a type of contrast. This is important because the architecture makes a claim about how information is used inside a sequence. An aggregate score indicates how frequently the system succeeds overall. Item-level comparisons identify where the predictions actually change. The attention visualization provides a further kind of evidence, about how the dependency constraint appears in a particular input. The three views answer different questions about the same system.

### Experiments and results

#### What the benchmarks measure

BLiMP evaluates knowledge of English grammatical phenomena using minimal pairs. A pair sets a grammatically acceptable form beside a closely related unacceptable form. The closeness of the alternatives makes the grammatical distinction central to the judgment. The paper reports BLiMP and BLiMP supplemental separately. Each score concerns the benchmark named in its column. Together they provide the main tests of grammatical knowledge in the paper. [English](https://md.research.elamur.ai/free/en/topics/english/) · [Evaluation and benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/)

The group reported under GLUE combines selected tasks from GLUE and its successor, SuperGLUE. This part of the evaluation requires [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/), further training for the particular benchmark task after the shared pretraining stage. A score in this group therefore reflects the pretrained backbone as adapted by the evaluation procedure. The distinction matters when reading the results because the paper uses the organizers’ default fine-tuning settings and later identifies that choice as a possible target for investigation. [SuperGLUE](https://md.research.elamur.ai/free/en/papers/wang-2019-superglue-stickier-benchmark-general-purpose/)

EWoK, or Elements of World Knowledge, evaluates how well a target fits a context across domains such as material properties and spatial relations. The judgment is based on the likelihoods the system assigns to context and target combinations. Here the relevant contrast depends on the concepts expressed in the context and target. A predictor can do well on some of these relations while doing poorly on others. The paper uses that property of the benchmark to ask where the parser-equipped system and the comparison systems arrive at different answers.

The first results table gives scores for BabyLlama, LTG-BERT, and ELC-ParserBERT. LTG-BERT appears with separate results from the organizers and the author’s local evaluation. The paper uses LTG-BERT-A for the organizers’ scores and LTG-BERT-B for the local scores. These suffixes distinguish sources of evaluation scores for the baseline. They also signal one of the main qualifications of the benchmark comparison, because the two sources agree on the reported grammatical and GLUE results and differ considerably on EWoK.

#### Grammar and task adaptation

On the main BLiMP benchmark, ELC-ParserBERT scored 59.6. Both rows for LTG-BERT give 60.6, and BabyLlama scored 69.8. The parser-equipped system was therefore close to LTG-BERT on this grammatical evaluation, with the highest BLiMP score among the displayed systems going to BabyLlama. This is a direct test of the motivating expectation that an architectural preference for grammatical connections might improve grammatical judgments. The observed rank gives little support to that expectation in this setup.

On BLiMP supplemental, ELC-ParserBERT scored 57.7. BabyLlama scored 59.5 and both reported versions of the LTG-BERT result give 60.8. The supplementary suite thus also put the submission behind the baselines, although the order of the baseline results differed from the main BLiMP benchmark. The separate BLiMP figures are useful because the advantage of BabyLlama on the main suite does not carry over to the supplement. ELC-ParserBERT’s lower result is common to both comparisons.

The largest shortfall identified by Behr was on the results grouped under GLUE. Here the evaluation concerns adaptation to the selected tasks as well as pretraining. The scores are much farther apart than the corresponding ELC-ParserBERT and LTG-BERT results on BLiMP. The chart uses the values from the paper’s GLUE column, including the identical results for the local and organizers’ LTG-BERT evaluations.

Accuracy on the selected GLUE and SuperGLUE tasks ELC-ParserBERT trails the baselines on the tasks evaluated after fine-tuning.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| BabyLlama | 63.3 |
| LTG-BERT-A | 60.3 |
| LTG-BERT-B | 60.3 |
| ELC-ParserBERT (this paper) | 44.5 |

These results matter to the efficiency question because an architecture trained on a small corpus is intended to supply useful representations for later tasks. The particular evaluated combination of ELC-ParserBERT and default fine-tuning delivered weaker aggregate performance than the baselines on those tasks. The paper’s proposed search for better fine-tuning settings treats that adaptation stage as one possible source of improvement. The observed weakness applies to the system as run through the official pipeline.

#### A strong EWoK total with a baseline discrepancy

The result on EWoK had a different pattern. ELC-ParserBERT reached 63.1, ahead of BabyLlama’s 50.7 and the organizers’ LTG-BERT result of 48.9. The local evaluation of LTG-BERT reached 63.05. Behr treats the local baseline and ELC-ParserBERT as comparable in overall EWoK performance. The similar totals motivated an investigation into whether the systems succeed on the same kinds of examples.

EWoK accuracy for the submitted system and the reported baselines ELC-ParserBERT is close to locally evaluated LTG-BERT and ahead of the other reported scores.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| BabyLlama | 50.7 |
| LTG-BERT-A | 48.9 |
| LTG-BERT-B | 63.05 |
| ELC-ParserBERT (this paper) | 63.1 |

The discrepancy in the two reported LTG-BERT results changes the strength of the claim one can make. Using the organizers’ score, the submission appears well ahead of that baseline. In the local evaluation, the baseline and submission have similar totals. The local result is especially relevant to the paper’s detailed comparison, which uses the systems’ predictions on matching examples. The paper records the discrepancy and leaves its cause unresolved.

The benchmark-wide macroaverage summarizes the different evaluation columns. ELC-ParserBERT had a macroaverage of 56.2, while BabyLlama had 60.8. The organizers’ LTG-BERT scores gave a macroaverage of 57.7, and the local results gave 61.2. This aggregate shows how the strong EWoK result sits alongside the smaller grammatical scores and the weaker performance in the GLUE group. The local EWoK score also affects the relative standing of the baselines on the macroaverage because the other scores reported for the two LTG-BERT rows are identical.

The paper reports the strict-small evaluation results as benchmark scores. The held-out tasks answer questions about the representations produced by training on the shared corpus, under the scoring and fine-tuning procedures used for each task. The paper provides benchmark and domain labels for the numerical results. It does not break the main table down into further training, development, or test split labels. The reported scores are therefore best read together with the evaluation setting and task grouping that the paper identifies.

#### Readability order on EWoK

The paper expresses the more detailed EWoK totals as proportions. ELC-ParserBERT scored 0.6310 ± 0.0050, while CL-ELC-ParserBERT scored 0.6136 ± 0.0050. The baseline entry in that table gives 0.6305 ± 0.0049. The paper prints that entry under the label ELC-BERT-B, although the surrounding discussion identifies the locally evaluated comparison as LTG-BERT-B. The comparisons below use the baseline name from the prose when describing the paired tests, whose comparator is identified there.

The shuffled version has the higher total of the two variants trained in the paper. The study’s more informative comparison for the curriculum question is the direction of the changes by domain. For example, the curriculum variant had higher accuracy on physical dynamics, where it scored 0.5083 and the shuffled variant scored 0.3833. On social properties the order reversed. The shuffled system scored 0.5610 and the curriculum system scored 0.4573. An overall ranking leaves both of those changes implicit.

Material properties supplied the clearest disadvantage for the curriculum in Behr’s account. The values in the chart are the domain accuracies reported for the two ELC-ParserBERT conditions. The comparison holds the named architecture constant and varies the training order. The example also shows why a world-knowledge benchmark can be informative even when the overall score changes relatively little. The same training change can alter predictions substantially within a particular subject area.

EWoK material properties accuracy under shuffled and readability-ordered training The shuffled variant scores higher on material properties.

**The numbers**

| System or setting | accuracy proportion |
| --- | --- |
| CL-ELC-ParserBERT | 0.4176 |
| ELC-ParserBERT (this paper) | 0.6000 |

Other domains show closer results. For physical interactions, the shuffled and curriculum variants scored 0.5989 and 0.6025. For social relations, the corresponding accuracies were 0.8068 and 0.7991. The mixture of close comparisons and larger reversals gives the paired analysis a purpose beyond restating the totals. It asks whether the systems disagree in a systematic direction on the same examples, including in domains where an eyeball comparison of aggregate accuracy might give an incomplete impression.

### What the ablations show

#### What the comparisons vary

The study offers a controlled training-order comparison, paired analyses of EWoK predictions, and an attention visualization. The comparison between shuffled and curriculum training holds the ELC-ParserBERT architecture and masking probability fixed. It therefore provides the most direct evidence about the particular change in data presentation. In the benchmark comparison with LTG-BERT, both the architectural ancestry and the final systems matter. A matched run of ELC-BERT trained alongside ELC-ParserBERT with the parser as the sole change is absent from the reported evaluation.

The detailed comparisons answer a more specific question than the main leaderboard. Suppose two systems have similar totals. Their correct answers might agree item by item, or one might recover examples that the other misses. McNemar’s test uses their paired outcomes to examine the direction of disagreement. An item enters the comparison of disagreements when one system gets it right and the other gets it wrong. The test is therefore suited to the paper’s question about two systems that were evaluated on the same items.

The paper uses a threshold of p \< .05 when presenting the domain analyses. The p-value describes the evidence against a symmetric pattern of disagreements in the paired outcomes. The accompanying accuracy changes show which system was ahead and by how much on the paper’s reported scale. These quantities answer different questions. A p-value is relevant to the evidence for a difference in the classified items. The accuracy change describes the scale and direction of the observed performance difference for the group being compared.

#### Where the systems with similar totals disagree

For ELC-ParserBERT against the locally evaluated LTG-BERT, material properties and social properties favored ELC-ParserBERT. The reported accuracy changes were 0.14 for material properties and 0.12 for social properties, with p-values of 0.0170219 and 0.0017656 respectively. A reader who saw only the near-equal EWoK totals could easily miss these advantages. The domain results show where ELC-ParserBERT’s correct classifications outnumbered the baseline’s among the relevant disagreements.

The comparative weaknesses occurred in quantitative properties, material dynamics, and spatial relations. The reported accuracy change for quantitative properties was -0.12 with a p-value of 0.0017656. In material dynamics the change was -0.06 and the p-value was 5.97e-05. Spatial relations gave a change of -0.08 with a p-value of 3.9e-06. Together, these groups show the importance of looking in both directions. The parser-equipped system’s higher scores in some groups coexist with the baseline’s higher scores in others.

These domain names refer to the content of the judgments. Material properties covers contrasts that include temperature, weight, and characteristics such as fragility. Quantitative properties includes examples about amounts. Spatial relations includes concepts such as above and below. Grouping the judgments this way lets the analysis ask which content drives the change. The larger claim that a system learned a domain more thoroughly would require evidence that the effect persists across the ways that knowledge could be elicited.

The particularly concrete case is temperature. The paper reports that ELC-ParserBERT got all 20 EWoK items with cold or warm contexts right. It reports 4 correct for LTG-BERT. In the appendix, the cold and warm category is listed with an accuracy change of 70.0% and a p-value of 0.00051. The appendix and the prose give different numerical accounts of the contrast, and the paper does not reconcile them. The supported qualitative observation is that the temperature items were a marked strength for ELC-ParserBERT in this comparison.

Behr examines that contrast partly because it might appear to favor a particular context type. In material properties, ELC-ParserBERT did better on direct contexts. Behr observes that particular concepts supplied many of the successes behind that pattern and discusses similar behavior for fragile and sturdy. In quantitative properties, the direction for direct contexts went the other way. The paper relates that pattern to examples involving amounts, such as a lot of and a little. A contextual format and the concepts that happen to occur in it can therefore contribute to the same subgroup result.

The appendix makes the crossover concrete. In material properties, the direct-context category has a reported accuracy change of 38.5% and a p-value of 1.11e-05. In quantitative properties, the direct-context category changes by -9.5%, with a p-value of 0.04228. The quantitative concept category a lot of has a reported change of -26.0% and a p-value of 0.02092. The concept enough or not enough changes by -25.0%, with a p-value of 0.00766. These figures describe ELC-ParserBERT relative to the local LTG-BERT comparison in the appendix.

Other items show why it is useful to go below a domain total. In social properties, the friendly and hostile contrast has an appendix accuracy change of 22.5%, and tolerant and bigoted has a change of 36.0%. For spatial relations, above and below shows a change of -14.3%. The groupings include distinctions involving how the context or target is changed as well as groups named for particular concepts. The appendix is an account of where the systems behaved differently on samples from the benchmark.

This analysis sharpens the strongest claim EWoK supports. The near tie in the totals conceals substantial differences in performance among the domains and concepts evaluated. The data make some explanations worth asking about, such as whether the system attends to different parts of a direct context. Behr leaves the cause of the concept advantages open. The results can reflect what the respective systems learned about those concepts, the forms in which the benchmark expresses them, or properties of the training setup that travel together in the comparison.

#### What changes with a curriculum

The EWoK comparison between shuffled and readability-ordered training identified four domains with significant differences in the paired tests. Using the change in accuracy relative to the shuffled ELC-ParserBERT, the paper reports -0.12 for physical dynamics, with a p-value of 0.028784. It reports -0.02 for agent properties, with a p-value of 0.0044958. The negative changes favor the curriculum condition under the paper’s table convention. The difference in agent properties is smaller on the reported accuracy scale than the other changes listed in that comparison.

The other two domains favored shuffled training. The change for social properties was 0.10 with a p-value of 0.0049673. Material properties had a change of 0.18 and a p-value of 0.0011381. This was the most prominent difficulty for the curriculum variant in the paper’s discussion. The direction of these comparisons also agrees with the domain accuracies in the breakdown. Training order is associated with favorable changes for some areas of EWoK and unfavorable changes for others within this architecture.

The concept examples give that result an accessible interpretation. The curriculum variant struggled with cold and warm, a contrast on which the shuffled system did well in the comparison with LTG-BERT. It also struggled with heavy and light. The curriculum variant did significantly better on contrasts involving sink and float, and fall and rise. The useful level of explanation here is the observed group of benchmark items. The paper identifies these changes and leaves the training history behind each one for later investigation.

It is tempting to interpret a curriculum as a general progression that makes the entire task easier to learn. In this experiment, readability orders the data by an observable property and leaves the exposure histories of specific concepts implicit. It is possible to describe how the same architecture’s answers changed under that condition. To explain why the new ordering helped with falling and rising while hurting temperature judgments, a further analysis would need to link the order and content of relevant examples to the later predictions. The study establishes the pattern that such an analysis would have to explain.

The agent properties result illustrates a further point about studying these changes. Its reported accuracy shift is -0.02, while the test still identifies a directional difference between the paired predictions. For material properties the accuracy shift is much larger on the reported scale. Thus the p-value and the accuracy change should be read together. The occurrence of a statistically significant result does not assign the same practical importance to each domain or tell the reader which concepts matter most for an application.

#### What the attention figure can explain

The paper also visualizes one EWoK context using BertViz. The illustration places an LTG-BERT attention head alongside an induced ELC-ParserBERT tree and an attention head from ELC-ParserBERT. In the attention panels, the weights between tokens determine the strength of the connecting lines. The ELC-ParserBERT panel shows dampened connections. Behr interprets the difference as a visible example of the dependency probabilities constraining attention. [A Multiscale Visualization of Attention](https://md.research.elamur.ai/free/en/papers/vig-2019-multiscale-visualization-attention-transformer-model/)

This comparison addresses whether the parser affects the computation it was designed to affect. The EWoK domain analyses indicate that the systems give different answers to particular groups of items. The visualization illustrates how attention can change when the architecture incorporates the inferred structure. Establishing that an individual connection accounts for a correct EWoK answer would require a comparison that tests the effect of that connection on the prediction. The figure shows a constrained attention pattern in context, instead of tracing the cause of the domain-level gains.

The architecture’s inductive bias is therefore visible at the level of an example, while its consequences in evaluation are mixed. A successful mechanism demonstration and a successful benchmark intervention have different standards of evidence. For the first, the head visualization can show that the estimated dependency relations enter attention in the expected way. For the second, the relevant evidence is the distribution of correct and incorrect predictions over the grammar, language understanding, and world-knowledge tasks. That distribution gives the paper its qualified outcome.

### Limitations

#### Limits identified in the paper

Behr limits the benchmark conclusion to the architecture and training procedure tested. The addition of the parser gave little or no improvement for the main grammatical evaluation or its supplement, and the GLUE group was the submission’s largest shortcoming. The EWoK result supports a more favorable comparison, particularly at the level of individual domains. The paper treats it as promise for certain kinds of world-knowledge judgment and an opening for investigating concept-specific performance.

The author also explicitly limits the interpretation of direct-context effects. A better result in the material-properties group leaves open whether syntactic structure is responsible. Examples involving particular concepts contribute to the measured difference, and a corresponding group of direct contexts within quantitative properties favors the baseline. The paper allows that the parser might indirectly affect the learning of individual concepts during pretraining. It presents that route as a possibility whose role remains to be established.

The same qualification applies to the findings about training order. The study tests a curriculum based on one named readability measure, with this corpus and architecture. Its broad result was a lack of significant general improvement. The changes for individual concepts are the basis for a proposed follow-up about how such affinities arise. The reported results apply to increasing Flesch Reading Ease and the specific comparison with shuffled presentation.

For GLUE and SuperGLUE, the author notes that the submission was evaluated with the organizers’ default fine-tuning hyper-parameters. The paper suggests that a search for settings better suited to ELC-ParserBERT may improve results. That is a possible explanation and a direction for further experimentation. The measured result remains the performance under the common evaluation procedure. The paper reports no tuned comparison that would resolve how much of the weakness comes from adaptation settings.

A further idea concerns how trees are formed when a window includes several sentences. The author proposes ensuring that each sentence receives its own tree, following the practice described for GPST. This raises a concrete question about how to align the parser’s structural units with the text presented in a context window. The paper leaves the performance impact of that change for future work. Its inclusion as a proposal clarifies a part of the architecture that the current benchmark comparisons cannot settle.

#### Qualifications visible in the experimental setup

The overall architecture comparison is broader than a single-component test. ELC-ParserBERT uses a backbone drawn from ELC-BERT, while the paired EWoK analyses in the prose compare the submission with LTG-BERT. The systems are relevant benchmarks for BabyLM, and the comparison shows what performance the submission achieved relative to them. An estimate of the parser’s contribution alone would require the same backbone, tokenizer and training procedure run with and without the parser. The reported results leave that estimate undetermined.

This attribution question matters for both weaker and stronger outcomes. The low score in the GLUE group establishes a weakness of the evaluated submission. It gives little leverage for choosing among the parser, other architectural choices, and their interaction with task fine-tuning as its cause. The temperature example establishes different predictions on a named group of EWoK items. The same attribution problem limits any claim that the tree constraint produced those correct answers. Showing both outcomes is valuable precisely because the identification problem applies in both directions.

The training-order comparison is closer to a controlled intervention. Both variants share the named architecture and masking probability, and the proposed difference is the order of presentation. The paper describes a trained instance for each condition. It gives uncertainty terms for the EWoK breakdown, but it provides no repeated-training estimate of how the differences vary across runs. The paired tests tell us how frequently the evaluated instances differed on the benchmark. Variation that might arise when training either condition again is a separate quantity.

The corpus and evaluation also define the scope of the low-resource claim. The paper studies constrained pretraining on the organizers’ English corpus, whose sources include child-language dialogue, subtitles, books, encyclopedia text, and other conversations. A different corpus could change the relative usefulness of syntax, curriculum order, and tokenization. Other languages or collections with different kinds of resource scarcity are outside the tested setting. The evidence from BabyLM is specifically about learning under the shared limit and mixture used here.

There is also a difference between inducing a plausible structure and measuring grammatical analysis as an outcome. The paper gives a tree example and describes the two kinds of structure the parser can induce. Its reported results focus on masked-prediction-derived judgments and downstream scores. They include no quantitative comparison of the induced trees with a reference parse set. BLiMP tests whether the predictor prefers the grammatical sentence in a pair. That is evidence about grammatical judgment, while the quality of the induced dependency or constituency analyses remains a separate empirical question.

Benchmark scope matters for EWoK in much the same way. A high score on temperature contexts means the predictor performed well on those comparisons. The result is informative because the contexts and targets are organized around a concept, and because both systems faced the same items. Establishing that an advantage holds across a wider range of ways to express the concept would require evaluation beyond the specific comparisons reported here. The paper’s attention to direct contexts helps show where this issue arises within EWoK itself.

The subgroup tests are another reason to distinguish discovery from confirmation. The analysis looks at domains and then looks within domains at concepts, context types, and ways the targets or contexts differ. These groups can describe overlapping sets of examples. A significant direct-context result and a significant concept result can therefore draw on some of the same predictions. The paper reports p-values at its stated threshold and gives no adjustment for the number of comparisons. The list is informative about where to look, with the strength of individual subgroup claims depending on the breadth and overlap of the tests.

Finally, parts of the reporting limit how exactly some comparisons can be reconstructed. The two overall EWoK scores for LTG-BERT depend on the source of evaluation, and the paper gives no explanation for that discrepancy. The baseline label in the domain table differs from the one used in the paired-comparison discussion. The temperature counts and the corresponding appendix accuracy change also remain unreconciled. These details matter mainly when assigning a precise numerical effect to a baseline or a subgroup. The broad patterns are observable from the benchmark totals, the directions of the reported domain changes, and the comparisons between the shuffled and curriculum conditions.

### What came after

[Batch-wise Convergent Pre-training](https://md.research.elamur.ai/free/en/papers/yoshida-2025-batch-wise-convergent-pre-training/) cites ELC-ParserBERT and pursues the question of how to organize training in stages. Its title identifies a batch-wise procedure and frames step-by-step pretraining around child language development. That places it in the line of inquiry that Behr explored by sorting examples with Flesch Reading Ease. Behr’s experiment gives this question a concrete antecedent. The readability order changed which EWoK concepts the system handled well, even though it gave no general improvement. The citation establishes the connection to the earlier study. The later work’s stated topic gives the connection its scope, while details about its ordering rule and results are unspecified.

[Do BabyLMs Wanna Learn Wanna Contraction?](https://md.research.elamur.ai/free/en/papers/noh-2026-do-babylms-wanna-learn-wanna/) also cites the paper. It asks about the learnability of a particular English contraction without language-specific bias. Its focus is narrower than a broad grammar benchmark or a combined challenge score. The question connects to Behr’s investigation through the role assigned to an explicit linguistic preference. ELC-ParserBERT puts one such preference into attention and then examines the resulting distribution of grammatical and conceptual judgments. The later title frames the issue around what can be learned about one construction when a language-specific bias is absent.

These citations connect the paper to two distinct questions about learning from limited text. One concerns the order and grouping of examples during pretraining. The other concerns what a system can acquire about a particular construction under a stated constraint on linguistic bias. The connection is clearest at the level of those research questions. The citation record establishes neither a reuse of ELC-ParserBERT’s implementation nor a direct replication of its reported benchmark results.

## Cite

Cite as Rufus Behr. 2024. ELC-ParserBERT: Low-Resource Language Modeling Utilizing a Parser Network With ELC-BERT. The 2nd BabyLM Challenge at the 28th Conference on Computational Natural Language Learning.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{rufus2024elc,
  title = {{ELC-ParserBERT: Low-Resource Language Modeling Utilizing a Parser Network With ELC-BERT}},
  author = {Rufus Behr},
  booktitle = {The 2nd BabyLM Challenge at the 28th Conference on Computational Natural Language Learning},
  year = {2024},
  url = {https://aclanthology.org/2024.conll-babylm.11/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
