Elamur Research

Automatic Readability Assessment of German Sentences with Transformer Ensembles

Paper · 2022 · Patrick Gustav Blaneck, Tobias Bornheim, Niklas Grieger et al.

Summary

How difficult will a German sentence be for someone to read? An automatic estimate could help a reader choose material for independent study or help a translation system control how demanding its output is. The authors investigate a specific version of that problem. Given a German sentence on its own, they predict the average complexity rating it received from survey participants. That average, called the Mean Opinion Score, can fall between the original rating categories, so the system predicts a numerical score. The experiments use sentences drawn from German Wikipedia, including manually simplified material, and treat rated complexity as an indicator of readability.

The authors adapt two pretrained systems to make these predictions. GBERT and GPT-2-Wechsel each turn a German sentence into a numerical representation. A separate prediction stage combines that representation with 154 linguistic features, which include measures of length, punctuation, and word rarity. The feature calculations use both the original German and an English translation. The authors train many predictors, varying their starting weights in the scoring component and the data used to decide when training should stop. An ensemble then averages the scores from its members. Both pretrained systems use the Transformer architecture.

The central experiment compares ensembles of the same size. At 60 members, the mean root mean squared error across repeated cross-validation comparisons was 0.589 for GBERT alone, 0.572 for GPT-2-Wechsel alone, and 0.565 for an equal mixture. Lower values indicate closer agreement with the survey averages. Increasing the number of members helped all the compositions studied, with the largest gains occurring up to an ensemble size of 20. Larger ensembles also gave more consistent evaluation scores across repeated draws of their members.

The mixed submission ranked 2nd in the GermEval 2022 shared task. It achieved a raw root mean squared error of 0.442 and a mapped error of 0.435 on the shared-task test set. The mapped figure includes a linear adjustment applied by the organizers. The clearest evidence for mixing GBERT and GPT-2-Wechsel comes from the equal-size comparisons during development. The competition result shows how the resulting system performed on unseen sentences from the benchmark, where the target was the group’s average judgment.

Deep dive: Automatic Readability Assessment of German Sentences with Transformer Ensembles

The paper tests how GBERT and GPT-2-Wechsel, combined with linguistic features, predict human ratings of German sentence complexity. · about 33 minutes to read

The problem and its context

A sentence and the judgment it receives

A sentence can make demands on a reader through its vocabulary, its structure, or the information it assumes the reader already has. Automatic readability assessment turns an aspect of that experience into something a system can estimate from text. The authors mention possible uses in supporting readers with learning disabilities, guiding independent study, and controlling the difficulty of automatically produced translations. Each use gives the estimate a slightly different role. A learner might use it to select material, while a translation system might use it as a signal about the text it produces. The paper investigates the scoring problem that would precede those uses. Both assessment and translation fall within natural language processing, and the translation application is a case of machine translation.

The shared task supplies a concrete target within that broader problem. Its survey gathered judgments about several aspects of a sentence, including how complex it seemed, how understandable it was, and how difficult its vocabulary was. The competition asks for the average of the complexity judgments. Vocabulary difficulty can contribute to complexity, and the wording of a sentence can affect how readily it is understood, but the benchmark defines these as separate rating questions. The target is therefore a particular measurement collected under a particular survey procedure. A predictor can be judged by how closely it reproduces that measurement.

The distinction matters because the word readability can suggest more than a rating of isolated text. A person reading a Wikipedia article has the preceding sentences, a topic, and a reason for reading. Someone taking a survey can give a complexity judgment about a sentence presented as an item. The authors take the latter judgments as a proxy for readability. That choice gives them a numerical reference for each sentence and establishes the scope of the comparison. The system’s input is the sentence. Its output is an estimate of the shared rating attached to that sentence.

The output is an average instead of a category. Survey participants choose from the available rating points when judging a sentence. Averaging their choices produces a value that can lie between those points. A system that estimates a value somewhere between two categories can consequently be closer to the reference than one that selects a category outright. The authors describe this as regression, the task of predicting a numerical quantity. That design also makes it possible to give larger mistakes more weight in the evaluation.

From explicit measures to learned representations

The paper describes the history of readability assessment as a progression in how a system represents text. Traditional formulas use measurable properties such as the length and difficulty of words and other indicators of linguistic structure. These properties give the formula accessible evidence. A reader can understand what the formula counts and why its result changes when that count changes. The corresponding limitation is a question of coverage. An easily measured indicator may register a feature associated with difficulty without capturing the particular relationship among words that makes a sentence demanding.

The authors describe later approaches that broadened the evidence available to a system. Text could be characterized through properties of its meaning and organization as well as through simple counts. Another change concerned the way those properties were combined. Using examples, methods like support vector machines and decision trees learned to use the linguistic features that researchers had engineered and provided. This account places two decisions at different levels. The researcher chooses which aspects of text to measure. The fitting procedure determines how those measurements relate to the labels in the data. The paper situates this progression alongside earlier research on supervised and unsupervised approaches to text readability.

In the next phase described by the authors, pretraining gives a system a way to learn representations from large collections of text. A text representation is a list of numerical values that a later component can use as input. In a hand-engineered feature list, a particular position might store a measure of word rarity. In a learned representation, the entries are acquired through training and serve as a collective description of the input. Pretraining is carried out before the system is adapted to readability. By starting with pretrained weights, the authors can study how a representation acquired from a much larger text collection can be adapted using the labeled German sentences available for their task.

The architecture behind that change matters to the paper’s choice of systems. The authors cite BERT and the GPT family as examples of approaches based on the Transformer, whose design supports learning relationships across separated parts of text. The sentence representation can therefore reflect how its parts occur together. For a readability study, the question is whether that kind of representation carries information that helps predict what humans will rate as complex. The earlier architectural work is Attention Is All You Need, and the basis for GBERT is BERT.

The authors also point to English readability studies that combined a representation derived from BERT with linguistic measurements. Those studies motivated keeping an explicit feature route in the German system. A measure of word rarity gives the scoring component a direct numerical description of one property. A learned representation offers a more general description of how the sentence is written. Using both leaves the scoring component free to fit a relationship with the survey ratings from their joint input. The cited work includes Pushing on Text Readability Assessment.

Why the German setting shaped the experiment

The paper describes large pretraining corpora as harder to obtain for German than for English. In its account of earlier German readability research, feature-based statistical methods were consequently prominent. It names polynomial regression, support vector machines, and random forests among the methods used. These precedents explain why the authors frame their investigation around bringing pretrained German representations into a problem with an existing tradition of engineered linguistic features.

GBERT and GPT-2-Wechsel gave the authors two different ways to do that. GBERT follows the BERT architecture and is available as a pretrained German system. GPT-2-Wechsel was derived from an English GPT-2 system through the WECHSEL method. Each offers a way to start with weights acquired before the complexity labels are introduced. Their existence makes it possible to ask whether adaptation to the same readability target yields complementary predictions. The German BERT work is described in German’s Next Language Model, and the transfer method in WECHSEL.

Ensembling enters the study because the dataset for adaptation is small relative to the systems being trained. An ensemble is a collection of predictors whose outputs contribute to a shared prediction. Here, each member assigns the sentence a numerical value and the ensemble takes an average. Prior work cited by the authors had already used related approaches for classifying offensive or otherwise distinctive comments. That experience supplies a reason to investigate how the number of members affects performance, and whether a group drawn from both pretrained families behaves differently from a group drawn entirely from one. One of those precedents is FHAC at GermEval 2021.

The resulting experiment has several levels. At the sentence level, a predictor needs to turn the text into a score. At the training level, it needs to learn from the labeled examples and choose a checkpoint. At the ensemble level, the authors need to decide which predictors contribute to a score and how many to use. Their main comparison operates at that last level. Its meaning depends on the earlier choices, because all the ensembles inherit the way the task was defined and the way the individual predictors were built.

The method, step by step

Turning survey judgments into a prediction target

The study uses the data distributed for the GermEval 2022 shared task. The dataset contains 1000 labeled sentences drawn from 23 Wikipedia articles. Native German speakers manually simplified 250 of the sentences. The resulting material gives the task examples of German sentences with different assigned difficulty levels and a common procedure for collecting their labels.

The underlying study collected ratings through an online survey. Participants gave judgments about complexity, understandability, and lexical difficulty using a 7-point Likert scale. For each question, the possible responses ran from 1, the lowest value, to 7, the highest. A Likert scale gives participants ordered response categories. The dataset then uses the arithmetic mean of the accepted judgments to express the result for a sentence on each dimension. This is the point where qualitative judgments become numerical targets through linguistic annotation.

The authors report 10650 valid sentence ratings across the dataset. After screening, the calculations for an individual sentence used between 5 and 18 accepted ratings. The arithmetic mean for each dimension is called the Mean Opinion Score, or MOS. To obtain the complexity MOS, the accepted complexity values are added and divided by the number of accepted judgments. Every accepted judgment entering that calculation contributes equally. The scoring system learns to reproduce the resulting complexity average.

One example in the paper makes the target more tangible. A sentence about the highest average speed of a Tour de France rider, given as 41 km/h, has a complexity MOS of 1.5. That value locates the sentence toward the low end of the survey scale. It is the collective outcome of the accepted ratings, and the individual responses can differ. In prediction, 1.5 is the reference for that sentence. The number describing cycling speed is part of the sentence the system reads, while 1.5 is the quantity a trained predictor is meant to estimate.

The workflow has a text route and an explicit-feature route. During training, the text route is adapted to the benchmark before the two routes are joined. At prediction time, the joined representation is scored by each member and the member scores are averaged.

From a German sentence to an ensemble score

The steps in order.

From a German sentence to an ensemble scoreStep 1: Prepare the German sentence and its translation1. Prepare the German sentence and its translationStep 2: Extract linguistic features from both versions2. Extract linguistic features from both versionsStep 3: Adapt each transformer to complexity ratings3. Adapt each transformer to complexity ratingsStep 4: Extract the adapted sentence representation4. Extract the adapted sentence representationStep 5: Join the representation and linguistic features5. Join the representation and linguistic featuresStep 6: Train the final regression head6. Train the final regression headStep 7: Average eligible member scores for each sentence7. Average eligible member scores for each sentence

The authors made the implementation details available under the competition team name AComplex-ity and identify the GermEval shared-task distribution as the source of the data used in the experiments.

Preparing the two input routes

The authors first remove the outer quotation marks added during CSV formatting. Those marks surround entries so that internal commas can be stored in the data file. Stripping them keeps the formatting convention separate from punctuation that belongs to the sentence. That distinction matters for both input routes. Punctuation can contribute to the numerical features and can appear among the tokens used by the pretrained system. The paper describes applying the same cleaning convention to the training, validation, and test data.

For the text route, a tokenizer converts the sentence into a sequence of units that the pretrained system can process. Each family uses its own tokenizer, so the sequence that represents a sentence depends on which family is reading it. A token is an element of that sequence, and the token count serves a different purpose from a linguistic measurement of sentence length. The authors pad the sequences to a common length of 128 tokens. Padding supplies positions to bring inputs to the required length. This is a step in tokenization and input preparation.

For the explicit-feature route, the authors generate numerical measurements using publicly available software and supplementary custom calculations. The paper gives sentence length, punctuation, and word rarity as examples. It also describes features based on how many words exceed a specified length in characters. Those custom measurements allow the scoring component to receive information about longer words separately from a general measure of how long the sentence is. The features provide a set of numerical observations about the input even before the supervised scoring component learns how to interpret them.

The authors translate every sentence into English and compute linguistic features for the original and the translation. Their stated reason is to increase the quantity and variety of features available. The result is a set of 154 readability features per sentence. The English rendering provides another version on which to calculate those measurements. The complexity target remains the original German sentence’s survey rating throughout this process.

This arrangement gives translation a specific place in the method. The pretrained German system encodes the German sentence, and the English version contributes numerical information through the feature calculations. The data for the downstream predictor have a single reference score per sentence. The feature vector and the learned German representation are two descriptions associated with that score.

Choosing a representation from each pretrained system

The GBERT variant used in the experiments is gbert-large. Its vocabulary contains 31,000 case-sensitive tokens, its hidden state has 1,024 dimensions, and it has about 336 million parameters. A parameter is a numerical weight learned during training. The vocabulary determines which token identities the input system can use, and case sensitivity means differences in capitalization can affect the resulting token sequence. The hidden state size is the width of the internal representation at a token position. It is the dimension of the learned part of the sentence vector ultimately handed to the final scorer.

The authors put a classification token at the beginning of every GBERT input. BERT pretraining had used that position for next-sentence prediction. In the readability pipeline, the authors eventually take the last-layer representation at that same position and use it as the sentence representation. The classification token is a special marker. Its representation after processing the sentence contains information acquired through the network and is the input from GBERT chosen for the regression stages.

For GPT-2-Wechsel, they load gpt2-xl-wechsel-german, derived from GPT-2-XL using WECHSEL. It has a vocabulary of 50,000 case-sensitive tokens, roughly 1. The model’s hidden state has 1,600 dimensions, and the model has 5 billion parameters. The authors introduce a padding token for the fixed input length. They also add a beginning-of-sequence marker in front of the text and an end-of-sequence marker after it. The position selected for the sentence representation is the end marker’s last-layer output.

These choices give the downstream predictor a single learned vector for each sentence. The two families can contribute vectors of different widths because a regression head is fitted to each member separately. A regression head is the component that receives a representation and turns it into a numerical estimate. GBERT and GPT-2-Wechsel eventually contribute scores in the same target units, which makes it possible to average their predictions even though the vectors behind those predictions differ.

It helps to distinguish the last layer from the selected token position. Each sentence goes through the network and yields numerical states at token positions. The authors choose a state from the last layer, then specify which position to read. In one family the relevant position is the special token at the front. In the other it is the special token at the end. The method thus has a common interface for the final scoring stage, with a family-specific rule for obtaining the vector that enters it.

Separating fitting, checkpoint selection, and evaluation

The data splits give different roles to different examples. Fitting uses labeled sentences to update weights. An early stopping set is consulted during training to choose the checkpoint, meaning the saved state of the predictor at a particular point. The validation portion used to compare predictors during exploration is separate from the data used for these two jobs. The design makes it possible to measure how well a completed predictor scores sentences whose reference values were withheld from its updates and checkpoint selection.

For development, the authors randomly shuffle the available training data and divide them for 5-fold cross-validation. Each fold contains 20% of the shuffled training data. In a run, the current validation fold is held aside while the other folds supply data for fitting and early stopping. The authors randomly select 10% of the data in those training folds for early stopping. This is 8% of the whole training pool, and each exploratory predictor is fitted on 72% of that pool.

Cross-validation lets the validation role rotate through the folds. This gives an evaluation across different held-out portions of the same training pool. When an ensemble is evaluated on a fold, its members have been trained within the corresponding split. The validation predictions for that fold consequently concern sentences outside those members’ fitting and early stopping data. The fold-level errors are then averaged for the exploration results.

The submissions use a different allocation. Having chosen the types of ensembles to enter, the authors retrain for the shared-task test setting. They reserve 7.5% of the available training data for early stopping and use 92.5% for fitting. The organizers’ test set supplies the evaluation of the final submissions. The larger fitting share is part of the change between exploratory runs and competition runs, alongside the change in ensemble sizes.

Adapting the text representation

In the first training phase, the authors place a regression head on the pretrained system and train it on the sentence complexity scores. The head uses the text representation at this stage. The explicit readability measurements arrive in the next phase. Updating the pretrained system for the labeled task is fine-tuning.

The first phase uses AdamW with a batch size of 16. A batch is the group of examples processed together for a training update. The learning rate controls the scale of the weight changes the optimizer makes. The specified rate is 5 · 10⁻⁵. During the first 30% of the training steps, a linear warmup raises the rate from 0 to that value. In practical terms, training begins with a small update scale and builds towards the stated setting. AdamW is associated with the work on decoupled weight decay regularization.

The authors evaluate on the early stopping data about every half epoch. An epoch is a pass through the fitting examples. The reported evaluation intervals are every 23 gradient updates for exploration and every 28 updates for the final submissions. At these checkpoints the authors calculate the error on the early stopping sentences. Training stops if it reaches 100 epochs or if that error fails to improve over five consecutive evaluations. The stopping mechanism is withheld during the first 300 gradient updates to give training time to progress. Whichever checkpoint yields the smallest error on the early stopping set advances to the next stage.

The sequence of decisions is important. Training examples supply the information used to change the weights. The early stopping set supplies a separate estimate of how those changes are working. If later updates produce a worse early stopping result, the authors can retain the earlier state. Members may differ in which early stopping examples they receive and in the initial weights of their regression heads. Both sources of variation can affect the fitted predictor even when the same family and training design are used.

Combining the text representation with readability features

In the next phase, the first regression head is removed. The authors retain the adapted pretrained system and extract the selected last-layer state for each sentence. For GBERT, this is the state at the classification token. For GPT-2-Wechsel, it is the state at the end-of-sequence token. The state is used as a vector of input values. The estimate produced by the discarded head was a single score, while the vector preserves the many coordinates available for fitting the new head.

The 154 readability features are appended to that vector. The combined input includes coordinates learned through text processing and values calculated explicitly from the German and English sentences. A multilayer perceptron, or MLP, learns to turn this combined vector into the complexity estimate. The paper describes a fully connected layer, rectified linear unit activations, and a final layer that produces a single value with linear activation. A fully connected layer gives each unit access to all entries supplied to it. A rectified linear unit passes positive values through and outputs zero for negative values. The last layer produces the numerical estimate on the target scale.

The authors optimize the second head with RMSprop. During this phase, the learning rate stays fixed at 10⁻³ and each batch contains 16 examples. Evaluation on the early stopping set occurs after each epoch. Training ends at 5000 epochs or when the early stopping error has failed to improve for 100 consecutive epochs. As in the first phase, the retained checkpoint is the one with the smallest error on the early stopping data. The first and second phases consequently both use early stopping, with separate schedules suited to their respective training runs.

At inference, which is the act of producing a prediction for an input, the authors follow the paths used to assemble the second head’s input. They generate the linguistic measurements and obtain the vector from the adapted transformer. The final head takes those values together and emits the score for that ensemble member. Repeating the procedure for the members provides the collection of numerical scores to be combined.

Measuring error and producing the ensemble prediction

The paper uses mean squared error as the training loss for the pretrained systems with their regression heads and for the later MLPs. The loss measures the disagreement between predictions and reference scores and guides the weight updates. Squaring the residuals makes a large discrepancy contribute more heavily than a small one and gives the same penalty to overestimates and underestimates of equal magnitude. Averaging summarizes those squared discrepancies across the examples involved.

For checkpoint selection and reporting, the authors use root mean squared error, abbreviated RMSE. The formula takes the square root after the squared errors have been averaged.

RMSE = √[(1/N) × ∑ᵢ₌₁ᴺ (ŷᵢ − yᵢ)²]

RMSE is root mean squared error, and = indicates the quantity defined by the expression on its right. N is the number of examples being evaluated, and i is the index of a particular example. The notation ∑ᵢ₌₁ᴺ means to sum over the examples from index 1 through N. For instance i, ŷᵢ is the predicted complexity score and yᵢ is the reference Mean Opinion Score. The hat marks the prediction. The minus sign gives their signed difference, and ² squares it. The slash in 1/N denotes division, and × multiplies the sum by that fraction to obtain the average. Parentheses group parts of the calculation, and the square brackets enclose the quantity to which √, the square root, applies.

Taking the square root expresses the error in the units of the original complexity scale. The calculation still reflects the heavier influence of large residuals introduced by squaring. The arithmetic is performed after the predictions have been made. In cross-validation, the authors evaluate each validation fold and average its RMSE with the other fold-level RMSE values. This averaging occurs across the reported errors of the folds. It is a separate operation from averaging member predictions for an individual sentence.

The basic ensemble rule assigns equal weight to its member scores. For a sentence, the authors collect those scores and use their arithmetic mean. The aim is to make the final estimate less dependent on the behavior of a particular training run. If some members assign a sentence a higher score and others assign it a lower one, the average can be closer to the survey judgment. Errors shared across members can persist after averaging. Neither member selection nor the averaging rule uses the reference score for the sentence being predicted.

For the final test phase, the paper adds a lower-bound filter. The authors observed that some member outputs fell below 1.0 even though the survey scale started at 1.0. They describe removing such member predictions before averaging, and phrase the resulting rule as averaging predictions larger than 1.0. Those descriptions leave the treatment of a score exactly equal to 1.0 unclear. The stated procedure filters contributions to the mean. Each sentence can therefore have an ensemble prediction based on the members whose scores meet the filter’s condition.

Experiments and results

What the benchmark measures

The data come from a common survey and a specific source of German text. The 1000 sentences are associated with 23 Wikipedia articles, and 250 were manually simplified. The paper’s histogram shows that lower complexity values are more common than high ones. This gives the benchmark an uneven distribution of reference scores. The overall error summarizes performance where the examples occur, including the more frequent sentences towards the less complex end of the scale.

The target is the complexity MOS, and the comparison is between that value and the numerical score produced for each sentence. The task is well suited to RMSE because the target admits fractional values and the distance between a score and the reference matters. A small error and a large error both contribute, with disproportionate weight given to the latter. For the development experiments, the reported comparison is based on the average over the validation folds. For the submitted systems, the relevant values are calculated on the shared-task test set.

The paper’s principal comparators are alternative ensembles built from the same prediction pipeline. It evaluates GBERT-only, GPT-2-Wechsel-only, and mixed ensembles. A single member is the development comparison at the smallest ensemble size, and larger collections show what changes when their predictions are averaged. The earlier feature-based systems discussed in the paper provide historical context. The experiment reports no numerical comparison against a standalone readability formula or a separately fitted feature-only predictor on this benchmark.

Comparing composition at a common size

The development experiments examine ensemble sizes from 1 to 60. The authors train 100 GBERT predictors and 100 GPT-2-Wechsel predictors for each cross-validation split. The members in a given family share the basic architecture and scoring method. Their separately trained heads and randomly selected early stopping data give them several opportunities to differ in their predictions. The pool also lets the authors compare many ensemble memberships without fitting a new set of predictors for every membership they evaluate.

For each configuration under study, the authors draw 1000 ensembles with replacement from the trained pool. Sampling with replacement means a selected member can be drawn again. This is a form of bootstrapping. In this experiment it measures how evaluation changes when the membership is drawn again. The class of GBERT-only draws uses the GBERT pool, the GPT-2-Wechsel-only comparison uses that family’s pool, and the mixed comparison uses equal representation of the two families at the reported 60-member setting. The paper describes an equal mixture generally and illustrates it with 30 GBERT and 30 GPT-2-Wechsel members.

Each sampled ensemble receives a validation RMSE on each fold. Averaging over the 5 validation folds gives 1000 fold-averaged RMSE values for the ensemble size and composition. The authors summarize these values with a mean and standard deviation. The mean indicates typical validation error under repeated membership draws. The standard deviation expresses how much the fold-averaged errors vary among those draws.

At an ensemble size of 60, the GBERT-only setting had a mean fold-averaged validation RMSE of 0.589. GPT-2-Wechsel alone reached 0.572 at the same size. The equal mixture of 30 members from each family reached 0.565. The comparison keeps the total membership fixed while changing its composition. At that size, even the stronger of the two single-family settings had a higher mean error than the mixed setting.

Mean fold-averaged validation RMSE for 60-member ensembles on GermEval German sentences

The equal mixture has the lowest mean error at the shared ensemble size.

Mean fold-averaged validation RMSE for 60-member ensembles on GermEval German sentencesGBERT only: 0.589GBERT only0.589GPT-2-Wechsel only: 0.572GPT-2-Wechsel only0.572Equal GBERT and GPT-2-Wechsel mixture (this paper): 0.565Equal GBERT and GPT-2-Wechsel mixture(this paper)0.565
The numbers
System or settingRMSE
GBERT only0.589
GPT-2-Wechsel only0.572
Equal GBERT and GPT-2-Wechsel mixture (this paper)0.565

The distribution over draws answers a practical question about the experiment. A particular group of trained predictors can happen to work well together. By drawing many groups and reporting the mean, the authors make the comparison depend on the behavior of the member pools across draws. The observed advantage of the mixed composition therefore concerns its typical cross-validation performance under the study’s sampling procedure. Individual draws can have different error values.

Increasing the number of members

The three composition curves in the paper show declining mean error as the number of members grows. The decline is pronounced up to an ensemble size of 20 and becomes slower at larger sizes. The improvement occurs for GBERT-only ensembles, GPT-2-Wechsel-only ensembles, and mixtures. The size result consequently gives evidence that averaging different runs from the same family helps, as well as evidence for the value of averaging across the two families.

The curves also show a decline in the standard deviation of the fold-averaged RMSE values as ensembles grow. In a smaller group, a particular member makes up a larger share of the mean. Variation between draws can therefore matter more. In larger groups, the experiment finds more similar evaluation scores across different choices of members. The standard-deviation bands reflect the composition of the sampled ensembles and their behavior on the study’s folds. A different evaluation would be needed to measure the uncertainty of the predicted score for an individual sentence.

The slowing improvement above 20 is part of the empirical result. The authors observed that additional members continued to help more slowly over the studied range. The size curves belong to the exploration procedure, with its fitting shares, held-out folds, and sampled member pools. The competition ensembles are larger and are evaluated on a different split, so their results concern a different experiment.

Results on the shared-task test set

The development comparison informed two submissions. One ensemble contained 340 GPT-2-Wechsel predictors. The other contained 100 GPT-2-Wechsel and 100 GBERT predictors. The authors left out a GBERT-only submission because that composition had the highest errors during exploration. The two submitted ensembles used predictors retrained for the competition, with 7.5% of the available training data reserved for early stopping.

On the test data, the GPT-2-Wechsel-only submission achieved an RMSE of 0.461 and a mapped RMSE of 0.454. The mixed submission achieved an RMSE of 0.442 and a mapped RMSE of 0.435. The organizers used a linear mapping to calculate the mapped scores. The paper’s headline test figure of 0.435 is the mapped result. The unadjusted comparison between the submitted scores and the references is the raw RMSE of 0.442 for that same ensemble.

Raw RMSE for the submitted ensembles on the GermEval shared-task test set

The mixed submission has lower raw test error.

Raw RMSE for the submitted ensembles on the GermEval shared-task test setGPT-2-Wechsel-only submission: 0.461GPT-2-Wechsel-only submission0.461GBERT and GPT-2-Wechsel submission (this paper): 0.442GBERT and GPT-2-Wechsel submission (thispaper)0.442
The numbers
System or settingRMSE
GPT-2-Wechsel-only submission0.461
GBERT and GPT-2-Wechsel submission (this paper)0.442

The mixed ensemble ranked 2nd in the competition. It has the lower reported error under both versions of the metric. This ranking and test comparison describe the submitted systems as evaluated. The evaluation includes the way they were trained, their composition and membership counts, and the lower-bound filtering described for the competition phase.

The two submissions have different membership counts. The mixed system’s stronger test score therefore establishes the ordering of the submitted configurations without controlling ensemble size. The 60-member cross-validation comparison supplies the corresponding evidence under a fixed size. Together, the two experiments provide complementary observations. The first directly compares composition under the same development conditions. The second measures the chosen submissions on sentences held out for the shared task.

The raw competition errors are numerically lower than the development figures at the reported 60-member size. Several conditions change between those measurements. The final predictors use a greater share of the available training data for fitting, the ensembles are larger, and the errors come from the designated test set instead of the cross-validation folds. The results can be read as measurements of their respective configurations. Assigning the change in error to a particular training or ensemble choice would require comparing that choice under shared evaluation conditions.

What the ablations show

Changing the family mix at a fixed size

The most informative controlled comparison in the paper concerns which families are represented in the ensemble. Every compared setting follows the shared pipeline of adapting a pretrained system, extracting its sentence representation, adding the readability features, and fitting a regression head. At the reported size of 60, the settings use the same number of members and the same cross-validation procedure. Their mean errors change with the membership composition. This isolates the choice between an all-GBERT pool, an all-GPT-2-Wechsel pool, and an equal mixture at that operating point.

GPT-2-Wechsel was stronger than GBERT in the single-family comparison, yet replacing some of its members with GBERT members produced the lowest mean error. That pattern is consistent with complementary errors. A member from the family with the higher aggregate error can still supply a useful estimate in cases where the other family tends to score too high or too low. Averaging improves the overall result if the changes introduced by mixing move the pooled scores towards the references frequently enough, taking the size of the residuals into account.

The paper measures the outcome of the combination. It gives no sentence-by-sentence analysis of which errors cancel or whether particular structures benefit from one family. The systems also differ in their tokenizers, hidden state widths, parameter counts, pretraining histories, and the positions chosen for sentence representations. The composition comparison changes that entire package. The evidence supports using the two families together in the studied pipeline, while the individual sources of the advantage remain unresolved.

The reported comparison also concerns a particular way to mix them. Family representation is balanced in the mixed setting described by the paper, and member scores are averaged. The results show what that rule achieves against the pure settings. There are no separate scores for other family proportions or for a combination that learns a different weight for each member. The experiment establishes the value of the tested mixture at the reported size without requiring an assumption about the best possible mixture.

Changing the number of members within a composition

The size sweep provides a second controlled comparison. Within a composition, the authors vary the number of draws from the trained pools and see how that changes the validation error. The improvement within the GBERT-only and GPT-2-Wechsel-only settings matters because it shows that architectural diversity is unnecessary for the size effect observed in this experiment. Different training runs within a family already provide predictions that benefit from averaging.

Changing the member count has two observed effects. The mean of the validation error falls, and the variation in that error across sampled memberships narrows. The first effect concerns how close the resulting scores tend to be to the benchmark labels. The second concerns how much the reported performance depends on the particular group selected from the pool. Taken together, the results indicate that larger groups in this procedure both score better on average and yield more consistent evaluation across draws.

The comparison leaves open the relative contribution of the sources of within-family variation. The authors vary the initial weights of the scoring heads and the selected early stopping examples. Both are part of the procedure that produces the member pool, and the paper gives no experiment that varies one while holding the other fixed. Its result applies to the variation produced by the joint training design.

The size sweep also indicates where the changes become smaller. The curves improve noticeably up to 20 members and descend more gradually afterward. This is evidence about the shape of the observed relationship over the sizes tried. The paper reports no timing or resource comparison, so the sweep cannot establish where a given improvement would justify the cost of training or running additional members.

What the feature and filtering evidence can support

The authors report a slight improvement from adding traditional linguistic features, but give no numerical results for that comparison. The statement is consistent with the English readability research they cite and with their design decision to supply measurements alongside learned vectors. The reported scores and ensemble curves all concern the combined pipeline. They do not quantify the gain due to the features or show whether it varies between GBERT and GPT-2-Wechsel.

Several changes would be involved in explaining any feature gain more precisely. The feature vector contains measurements from the German original and an English translation, as well as features drawn from existing software and ones customized by the authors. The paper reports no separate comparison for these groups. An improvement from the complete feature input could come from several of them, and the paper leaves their contributions together. There is also no numerical comparison of alternative sentence-vector extraction positions or of the stages of adaptation.

The lower-bound filter has a different kind of evidence. The authors identify outputs below the valid rating scale and describe how those scores were excluded when forming ensemble predictions for the test phase. This is an analysis of observed predictions and a change to the final procedure. The paper gives no matched test result with the filter disabled. The frequency of excluded contributions and their effect on the reported errors are therefore unknown. The composition and size experiments furnish the clearest measured evidence about what improved predictions.

Limitations

Limits and qualifications stated by the authors

The authors use rated text complexity as a proxy for readability. Their target comes from the survey question about complexity, even though the survey also collected judgments about understandability and vocabulary. The scope of the reported scores follows from that definition. Agreement with the complexity MOS gives evidence about predicting an aggregate judgment on German sentences. The applications mentioned in the introduction involve readers and uses that were outside the experiment.

The authors point out that complex sentences occur much less often than simpler ones in the available data. That observation qualifies the overall RMSE. Each example contributes a squared residual to the calculation, and examples at more common ratings appear more often. Large errors on difficult sentences can still influence the result. A single aggregate error leaves open how precisely the systems predict the less common high ratings and whether the error patterns differ across the scale.

The authors also describe the feature benefit as slight and do not report the underlying comparison. This limits what can be attributed to adding the explicit measurements. Their strongest numerical comparisons concern the arrangement of predictors whose scoring heads already use the features. The final results establish performance for that complete configuration.

For the out-of-range predictions, the authors propose that a shift in the distribution of the generated linguistic features may have caused the issue. A distribution shift means that the values encountered in a later sample differ in their pattern from those seen during fitting. This is a proposed explanation. The paper reports the low outputs and the resulting filtering procedure without a measurement tying the affected predictions to particular shifted features.

Limits visible in the study design

The unit of prediction is a sentence. A reader’s experience of a passage also depends on information distributed over more than one sentence. Previous text can introduce an unfamiliar term, establish which entity a reference denotes, or make a later sentence easier to interpret. A predictor given only the sentence has access to the wording and the measurements derived from it. The study’s results therefore describe isolated sentence assessment. Article-level readability would require a definition of the larger input and corresponding judgments at that level.

The material is also narrow in origin. The dataset is formed from Wikipedia sentences and includes manual simplification. The evaluation offers evidence for held-out examples within the shared task, and the paper gives no additional corpus test for other sources or uses. A sentence written for the benchmark’s source material can have different characteristics from a sentence written for a learner or produced by a translation system. The introduction names such applications to motivate the problem. It supplies no direct evidence of performance in those settings.

The reported development split is formed by randomly shuffling sentences. The paper gives no article-grouped comparison. Article grouping would place sentences from a given source article together when deciding what to withhold. With the random sentence split as described, the results provide evidence for held-out sentence prediction. They leave the effect of withholding complete articles unanswered. The treatment of related original and simplified formulations across roles also receives no separate analysis.

Averaging the accepted judgments creates a convenient target, with some loss of detail about disagreement. The same mean can arise from a set of closely clustered judgments or from judgments spread over the scale. An error against the mean is evaluated identically in either case. The paper reports how many accepted ratings entered each sentence’s average, but gives no comparison between uncertainty in the ratings and the system’s error. It also leaves open how well a prediction would match a particular reader’s judgment. An average population response and a personalized estimate are different prediction targets.

The shared task uses RMSE to measure the numerical accuracy of the scores. A system could show a given aggregate error while making especially large mistakes on a subset of sentences or making errors that consistently point in one direction. The squared residuals remove the sign from each error, and a final aggregate alone gives little information about where misses occur. The paper’s example sentences illustrate the benchmark’s meaning, while its performance analysis centers on the overall error curves and competition figures. There are no reported results by difficulty band, sentence type, or simplification status.

The bootstrap variability in the development figures has a limited interpretation. The repeated draws come from trained pools on the same cross-validation design. The standard deviations describe variability across those draws after the fold errors are combined. They provide evidence of greater stability under changes in ensemble membership. They do not quantify how the reported advantage would vary across newly assembled corpora or independent samples of survey participants.

The test-phase filtering rule raises a question about how the score range is enforced. The final head’s linear output allows values outside the range of the survey. The paper removes low contributions during averaging but leaves the exact lower endpoint ambiguous because its descriptions refer both to values below 1.0 and to retaining values larger than 1.0. It does not describe a fallback for a sentence with no retained scores, or a corresponding procedure for the upper end of the scale. The reported competition results describe the configuration as evaluated, and those edge cases remain unspecified.

The central performance claim is comparative. At the shared 60-member size, the mixture gives the lowest average validation error among the three compositions studied. The final test scores describe two differently sized submissions. This supports diversity between the selected families in this pipeline, without establishing how the same comparison would turn out for other German datasets, other pretrained systems, or feature-only predictors tested alongside them. The paper’s experimental scope is the benchmark and the specified combinations.

What came after

A later citing study takes up readability assessment for Ukrainian. Its stated subject is the application of existing readability methods to that language, a question of how available approaches can be used in a different linguistic setting. The connection to the German paper is the problem of applying readability methods in a particular language. In the German experiments, that required a labeled set of German sentences, pretrained systems capable of representing the German input, and linguistic measurements calculated as part of the scoring pipeline. The later study is Application of Existing Readability Methods to the Ukrainian Language: A Comprehensive Study.

The citation establishes a connection between the studies. The later work’s title identifies its application of existing methods to Ukrainian, while the specific method it takes from the German study is unspecified. In particular, the citation does not establish that the Ukrainian study retrained the ensemble, reproduced the equal-size comparison, or evaluated the same target. Those are distinct ways to extend the German experiment, each requiring evidence about the methods and labels used in the later study.

The language change also clarifies what can travel as an experimental idea and what needs fresh evidence. The German paper’s comparison asks whether averaging differently trained predictors improves agreement with human judgments and whether mixing families adds value at a fixed ensemble size. That question can be asked of another language. Its answer depends on the texts, judgments, representations, and evaluation used there. The results reported in this paper remain measurements of German sentence complexity under the GermEval setup.

Cite

Cite as Patrick Gustav Blaneck, Tobias Bornheim, Niklas Grieger and Stephan Bialonski. 2022. Automatic Readability Assessment of German Sentences with Transformer Ensembles. Proceedings of the GermEval 2022 Workshop on Text Complexity Assessment of German Text.

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

@inproceedings{blaneck2022automatic,
  title = {{Automatic Readability Assessment of German Sentences with Transformer Ensembles}},
  author = {Patrick Gustav Blaneck, Tobias Bornheim, Niklas Grieger and Stephan Bialonski},
  booktitle = {Proceedings of the GermEval 2022 Workshop on Text Complexity Assessment of German Text},
  year = {2022},
  url = {https://aclanthology.org/2022.germeval-1.10/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/blaneck-2022-automatic-readability-assessment-german-sentences/