Elamur Research

Measuring text readability with machine comprehension: a pilot study

Paper · 2019 · Marc Benzahra and François Yvon

Summary

A text written for beginners should be easier for them to understand than a text written for advanced readers. Could a machine’s performance show the same difference? Benzahra and Yvon investigate whether an automatic reader can help assess the difficulty of a document by attempting a reading test on it. Their test is a cloze exercise, in which words are removed from a passage and the reader tries to recover them. If the machine consistently restores more words in easier texts, its performance could supply a measure of readability without training a separate predictor on documents already labeled for difficulty.

The authors test recurrent language predictors trained on Wikipedia and a stronger predictor, GPT-2, trained on WebText. All of them work from the text to the left of a gap. The authors compare completion rates with the reading levels in Weebit, a collection of educational news from different sources, and OneStopEnglish, a collection that includes expert rewrites of newspaper articles for less advanced readers. They score whether the original word comes first and whether it appears farther down the candidate list. They also measure how closely the completion rates rank documents by their assigned difficulty.

OneStopEnglish generally produces the expected ordering. Easier versions tend to yield more correct completions, although the differences are small. Weebit is less regular. GPT-2 puts the original word first at a rate of 0.22 on OneStopEnglish level 1 and 0.20 on level 3, yet its rank correlation with the assigned levels for that metric is only 0.05. The paper places its best cloze-based correlations in the region [0.1, 0.2]. The Flesch-Kincaid Grade Level, a conventional index based on sentence and word length, has reported correlations of 0.48 on OneStopEnglish and 0.61 on Weebit.

The authors find one reason to question what the cloze exercise measures. Random deletion mixes gaps with very different demands. A punctuation mark can be easy to recover across reading levels, while some missing nouns depend on information elsewhere in the passage. The mix of such gaps can itself vary by level. A separate check on literary extracts also yields a poor ordering by difficulty. The pilot therefore finds a small readability signal in some settings, alongside a clear difference between getting more missing words right and identifying which documents people are likely to find easier.

Deep dive: Measuring text readability with machine comprehension: a pilot study

Can a machine’s ability to fill in missing words measure text readability? A pilot study tests the idea on news articles graded for readers. · about 33 minutes to read

The problem and its context

Readability depends on who is reading

Readability assessments are meant to help match a document to its audience. With a news article, the aim may be to make the information accessible or keep a reader engaged. For a medicine leaflet, an administrative form, or a legal document, the reader may have to understand the information in order to act on it. The paper considers audiences as different as children learning to read, people studying another language, and adults with different educational backgrounds or disabilities. A difficulty level has meaning in relation to the people and tasks for which it was assigned.

In the account the authors give, building a readability measure normally involves collecting evidence in two stages. The first establishes how well a particular group understands some texts. A controlled reading test can supply that evidence, or experts can label texts for their intended readers. The second stage looks for properties of the documents that predict those judgments or test results. Once a scoring rule has been learned, it can use those properties to estimate the difficulty of another text. The rule is an indirect measure of how a reader might fare.

Both stages pose practical problems. Running a study requires a way to test comprehension consistently for the group of interest. Expert judgments require qualified readers, who can disagree. Collecting enough examples for one reading population leaves the question of how the results apply to a different population. A scoring rule that depends on linguistic analysis also requires reliable ways to extract its inputs. According to the authors, the necessary analysis was available only in part and for a limited set of languages.

From surface properties to a reading task

The paper describes traditional formulas as using simple proxies. Sentence length stands in for some aspects of syntactic complexity, while word length in characters or syllables stands in for some aspects of vocabulary difficulty. Flesch-Kincaid combines cues of this kind into a grade-level index. A reader can appreciate the attraction of such a formula without assuming that it explains an individual passage. Its inputs are easy to measure, and a score can be calculated consistently over a large collection. The relationship between those inputs and the actual work a reader has to do remains an empirical question.

The supervised approaches discussed in the paper give a predictor more kinds of evidence. Vocabulary properties are one source of information. Grammatical structure, meaning, and connections across a text offer others. The authors also note that some richer features were designed with cognitive aspects of reading in mind. These approaches keep the basic arrangement of supervised assessment. An annotated collection supplies the difficulty targets, and the system learns how to combine the available text properties. The paper places earlier work on reading levels using support vector machines and statistical prediction in this tradition. Reading Level Assessment Using Support Vector Machines and Statistical Language Models

Benzahra and Yvon explore a different use of a statistical reader. They ask whether the machine could take a comprehension test on the document itself, with its score standing in for the result of a human test. The machine would still need to learn how to process text. The proposed saving concerns the separate step of fitting a mapping from document features to readability labels. In the pilot, those labels serve as a reference for testing the proposal. The machine receives the reading material, and the researchers check afterwards whether its performance varies with the assigned levels.

This proposal depends on a distinction between the strength of a reader and the usefulness of a reader as a measuring instrument. For a comprehension benchmark, a system that solves more questions has improved on the benchmark. For readability assessment, the system must also respond to changes in the text that matter to the intended readers. It could become better at recovering words throughout a collection while yielding much the same score for easy and difficult documents. The authors accordingly treat higher completion accuracy and stronger agreement with reading levels as separate experimental outcomes.

Building an automatic reader that behaves like a specified population is a further question. A system intended to reflect a child’s experience might have to differ from one intended to reflect the experience of an adult language learner. The paper leaves that calibration for later work. The preliminary test asks whether there is a dependable relationship with difficulty at all. Varying the strength of the tested systems gives the authors a way to see whether better performance on the immediate task brings the desired relationship with it.

What a gap-filling exercise can ask

The authors describe two common ways of testing machine comprehension. One asks questions about a passage. The other removes words and asks the reader to complete the text. The first can ask directly about an event, a relationship, or its explanation. The second can be generated from an existing document because the original wording supplies a reference answer. The paper points to MCTest and SQuAD as examples of the question-based tradition. MCTest and SQuAD

The paper draws the connection to earlier cloze studies in both human reading and automatic prediction. For example, work with children’s stories used missing words to test what a machine could recover from a narrative. Other work studied the relationship between gap-filling performance and perplexity, a measure of how well a probability distribution predicts a text. The Sentence Completion Challenge took a more selective approach to the exercise, choosing gaps and alternative answers carefully. These precedents show how differently a cloze task can be constructed even when its instructions look similar. The Goldilocks Principle

Choosing the missing words is part of defining the skill the test is meant to measure. Some blanks can be answered from familiar local sequences. Others may require knowing which person is being described or retaining an event mentioned earlier in the passage. The paper cites LAMBADA in discussing tests designed to demand broader context and notes that the grammatical category or syntactic role of a word can help determine what a gap asks of the reader. It also reports a parallel concern about question-based benchmarks. As the authors describe that criticism, some apparently strong reading performance can come from matching surface cues in a question to an answer in the passage. LAMBADA

For a pilot that needs to create exercises across many documents, random deletion is a straightforward starting point. It reduces the need for people to choose questions and makes the exercise applicable to ordinary news text. It also makes the test depend on whatever words and punctuation happen to be drawn. A question about a document’s main claim would direct the assessment towards a particular kind of understanding. The paper’s automatic exercise leaves the mix of demands to the sampling procedure, a decision that matters when completion scores are interpreted as readability scores.

The method, step by step

Creating a reading exercise from a document

The procedure starts with a document whose difficulty level is known independently of the automatic reader. The authors divide it into equally sized passages and select gap positions within those passages. They then ask each system to predict the original word from the preceding text. The performance measure records how often the answers match the originals. Comparing that measure with the reference levels is the last step, after the completion task has been scored.

From a graded document to a readability comparison

The steps in order.

From a graded document to a readability comparisonStep 1: Clean and tokenize each document1. Clean and tokenize each documentStep 2: Divide the document into equal passages2. Divide the document into equal passagesStep 3: Sample gap positions uniformly within each passage3. Sample gap positions uniformly within each passageStep 4: Rank candidate words from the preceding passage text4. Rank candidate words from the preceding passage textStep 5: Check candidate ranks against the original words5. Check candidate ranks against the original wordsStep 6: Compare completion rates with assigned reading levels6. Compare completion rates with assigned reading levels

The experiment uses N = 5 and M = 3. Here N is the number of passages formed from a document, and M is the number of positions chosen within each passage. Uniform sampling gives positions within a passage equal standing in the draw. The selection procedure has no rule favoring a word because it carries the main idea, names an important person, or requires evidence from farther away. The original tokens at the selected positions become the answers against which predictions are checked.

Partitioning a document matters because each gap gets its context from its own passage. A gap near the beginning can have little preceding text, even in a long article. A later gap can have a longer prefix. The article partition therefore limits the evidence available to the automatic reader in addition to the left-to-right prediction rule. The word after a gap is unavailable even if it would make the completion obvious to someone looking at the whole sentence.

The paper describes access to the complete prefix beginning at the start of the passage. On that definition, the selected positions are opportunities to make separate predictions using the text before each one. A prediction earlier in the passage does not have to become a guessed input that the reader is then obliged to treat as true. This is important for interpreting what a poor score means. The experiment evaluates the recovery of the word at the selected position given its prefix. It does not evaluate the cumulative quality of a passage reconstructed from a chain of earlier guesses.

The authors keep the selected passages and gap positions fixed across the system comparisons. This makes an observed difference in completion rate easier to interpret. If one system took a version with several easy punctuation gaps and another took a version with several difficult noun gaps, their scores would reflect the different questions as well as any difference in prediction. A shared set of gaps controls that source of variation when comparing systems on a document. Comparing documents still involves different words, contexts, and possible mixtures of gap types.

Ranking words from the prefix

A statistical language model assigns probabilities to possible continuations of a sequence. For the recurrent predictors in this study, the items being ranked at a gap are words. The ranking uses the conditional probability written in the paper.

P(wₜ = w ∣ w<ₜ)

P denotes a probability. The subscript t gives the position of the gap, and wₜ denotes the word at that position. The symbol w denotes a particular candidate word. The equality sign specifies the event being scored, namely that the word at the gap is that candidate. The vertical bar means “given.” The notation w<ₜ denotes the sequence of words at positions strictly before t in the available passage prefix. A candidate with a larger conditional probability is placed higher in the list.

This expression concerns the word at a particular position. It does not give a probability that the document belongs to a particular reading level. A high probability for one answer might result from a familiar phrase or a clear grammatical cue. Another answer could have a low probability because several words make sense at the gap or because the original word belongs to a domain the predictor has seen infrequently. The experiment asks whether the outcomes of many such decisions collectively follow the difficulty levels.

The paper illustrates the task with predictions from GPT-2. In one passage, a discussion of herring and the animals that eat it leads the system to suggest otters where the original refers to lions. The choice fits a broad topic while missing the animal in the text. In a passage about the first moon landing, the system recovers Earth as the destination of the returned rocks. The examples let a reader see how different forms of evidence can contribute to the same recorded event. Choosing a destination, choosing an animal, and inserting punctuation can each yield a correct or incorrect completion under the same scoring rule.

The recurrent architecture uses long short-term memory, or LSTM, cells. A recurrent system processes the sequence in order and carries a state forward as it reads. At a gap, that state can reflect more than the immediately preceding word. The architecture allows information from earlier in the prefix to influence the prediction. The benchmark tests the effects of that capacity through the words the system ranks highest. It does not directly inspect the state to determine which fact or grammatical pattern drove a particular answer.

Training the recurrent readers

The recurrent comparison uses WikiText-2, WikiText-103, and Wiki-Simple. WikiText-2 and WikiText-103 draw on articles from English Wikipedia. Wiki-Simple draws on articles from the simplified English edition. The authors expected simpler structures and more basic vocabulary in Wiki-Simple to make its predictors weaker gap fillers in general. Including that corpus helps test whether the kind of writing a system learns from changes how it handles passages at different reading levels.

The corpus statistics describe different amounts and kinds of exposure. WikiText-2 contains 720 documents, 2.5M tokens, and 33K types. WikiText-103 contains 28,591 documents, 103M tokens, and 260K types. Wiki-Simple contains 60K documents, 7.9M tokens, and 96K types. A token is an occurrence in the training text, while a type is a distinct item in the vocabulary count. Wiki-Simple thus offers a contrast involving the form of the writing as well as corpus size and vocabulary. Its comparison with the other training sources cannot isolate the effect of simplified wording.

For these corpora, tokenization separates the text at spaces. The authors also follow the WikiText treatment of rare items for Wiki-Simple, replacing tokens occurring fewer than 3 times with the unknown token <unk>. This gives rare forms a common representation during training. It also matters to the interpretation of exact recovery. A word-level system whose candidates come from a fixed vocabulary has limited scope for proposing an original word outside that vocabulary. The study’s raw completion rate combines such difficulties with cases where the system has the necessary candidate and gives it too low a rank.

The paper calls the authors’ own implementation RNN. It has 3 hidden layers, each with 512 recurrent cells. The input word embeddings, which are learned numerical representations of the words, start from random values. The training algorithm is stochastic gradient descent, which updates the parameters using estimates of how to reduce prediction loss. The batch size is 64, and the reported back-propagation context is 64. The paper also reports borrowing variable-length back-propagation sequences from earlier recurrent work. That training detail and the passage boundaries used for testing describe different aspects of the procedure. Regularizing and Optimizing LSTM Language Models

The initial learning rate is 30. The schedule checks whether loss has decreased every 5 epochs and divides the learning rate by 4 if it has failed to decrease. An epoch is a pass through the training data. The training also uses dropout, which temporarily masks parts of a network during learning. The reported settings are 0.1 for the embedding layer, 0.3 for the LSTM layers, and 0.4 for the output layer. The authors also use activation regularization and temporal activation regularization, operating on the output-layer activations and how they change across successive positions.

The RNN implementation shares weights between the word embedding and the projected output from the recurrent network. At input, the embedding gives the network a numerical representation of a word. At output, the shared weights participate in scoring the possible next words. Sharing gives these parts of the system a common set of parameters, reducing the number of parameters to fit. The authors describe it as a way to limit overfitting and cite earlier work on tying the input and output weights. Using the Output Embedding to Improve Language Models

The second implementation, AWD, comes from the earlier recurrent work the authors cite. The paper describes training it with the same parameter settings and gives 1882 as the random seed. RNN and AWD each have 19M parameters and train for 100 epochs on WikiText-2. On WikiText-103, the corresponding reported settings are 113M parameters and 3 epochs for each implementation. On Wiki-Simple, they are 44M parameters and 50 epochs. The settings matched within a training corpus provide a comparison between the implementations. Across corpora, the corpus, vocabulary, size of the predictor, and training duration change together.

The paper reports test perplexity for the recurrent systems as a check on their predictive strength. Perplexity summarizes how much probability the system assigns to the observed text, with lower values indicating better predictions on the same evaluation and vocabulary. It is related to next-word prediction, while the readability experiment measures the recovery of specific missing words in another collection. The authors caution that the event space changes with the training vocabulary, which restricts direct perplexity comparisons across corpora.

Turning subword predictions into word answers

GPT-2 adds a different architecture and training source. It uses a Transformer and attention architecture, and the paper tests a trained version directly instead of training it on one of the Wikipedia collections. For this comparison the authors use the smaller GPT-2 described in the paper, with a context size of 768 and 117M parameters. They identify WebText as its pretraining source in the results and report that the training collection consists of 8M documents. Attention Is All You Need

GPT-2 scores continuations drawn from a vocabulary of 50K variable-length sub-word units. A gap exercise asks for a whole word, so the researchers must convert these predictions into comparable answers. A frequent word can be expressed by a single unit, while another spelling may require a sequence. Subword tokenization changes the units available to the predictor. The evaluation still checks the word that the document originally contained. Neural Machine Translation of Rare Words with Subword Units

The authors use a greedy procedure. They begin with the K most likely sub-word continuations, where K denotes the number of initial candidates. They extend each candidate to the right, choosing continuations greedily until they have produced a word or reached the allowed number of extension steps. The paper uses t = 10 for that limit, with t here denoting the maximum number of steps in word construction. Generating pieces to the right of the gap is different from reading the document to the right of it. The system still predicts from the prefix and its own candidate pieces.

With this procedure, a promising whole word has to be reachable through an initial piece that the heuristic retains. Its later pieces have to survive the greedy choices. The paper reports the performance of the resulting gap-filling system, which combines GPT-2’s probabilities with this word-construction rule. A comparison with a recurrent word predictor therefore includes the way answers are produced as well as differences in the underlying architecture and training data.

Preparing the assessment texts

The news collections are prepared separately from the training corpora. The authors use regular expressions to remove recurring material such as footers and fragments introduced by web scraping. They remove around 400 empty or duplicated texts and use a language identifier to remove around 60 texts judged to be in other languages. These steps matter for a prediction-based assessment. Repeated footer language could make some gaps especially easy even though it has little to do with the article’s difficulty. Web interface messages could also change the population of words available for selection.

The authors use SpaCy for the test collections’ word segmentation and part-of-speech tagging. A part-of-speech tag identifies the grammatical category of a token in context. The tagging lets the authors ask later whether, for instance, recovering a noun has a different relationship with difficulty than recovering a determiner. The tags are used for analysis. In the main experiments the gap-selection procedure still samples positions uniformly.

Scoring completion and scoring agreement

The strict metric, p@1, records whether the word ranked first is the exact original. The authors also report cutoffs of 5, 25, and 50 candidates where applicable. At a wider cutoff, the prediction succeeds if the original occurs anywhere in the specified part of the ranked list. A nearly synonymous answer receives no direct credit, and a plausible different answer remains a miss. Widening the list can help when the original was ranked below the first candidate. It leaves the exact-match criterion in place.

The paper uses the completion scores in two ways. Breaking them down by readability level reveals a group pattern. A reader can see whether easier groups tend to produce higher rates and whether any levels reverse the expected order. The second calculation, Kendall’s tau-b, addresses rank agreement between completion performance and the assigned levels. It considers how pairs are ordered and adjusts for ties, which matter because many documents have the same level. This yields a measure of how consistently the result follows the readability ordering.

The group rates and the rank statistic carry different information. An average can be a little better for each easier group while individual documents remain heavily mixed across levels. Two systems can yield different completion rates at every level yet show similar agreement with the reference order. This is why the experiment needs both views. The completion measures establish how successfully the system performs the task. The rank correlations address whether the performance can stand in for the paper’s reference judgments of difficulty.

Experiments and results

Two news collections with different level designs

Weebit contains educational news from WeeklyReader and BBC-Bitesize. The paper describes 5 complexity levels for material aimed at readers aged from 7 to 16. The corpus statistics report 10,486 documents, 3.9M tokens, and 157K gaps. Its classes are uneven in the collection as a whole. The fifth level contains more articles than all the others together. Since Weebit combines material from different publishers, the reference levels compare groups of articles that can differ in source or subject as well as in intended reading difficulty. On Improving the Accuracy of Readability Classification

OneStopEnglish, abbreviated OSE, comes from journalism originally published in The Guardian. Experts rewrote each source document for two less advanced readership levels, producing 3 levels. The paper reports 567 documents, 450K tokens, and 8.5K gaps for the corpus. The shared origins of the versions give the comparison a closer connection to deliberate changes for readers. The versions can still differ in which exact words are available to be removed and what a gap asks the system to recover. OneStopEnglish corpus

The paper describes its results as using 500 randomly selected texts per level. That description is consistent with a policy of reducing class imbalance where there are enough texts. It is difficult to reconcile with the stated size of OneStopEnglish if it is meant to imply distinct documents sampled within every level. The paper gives too little detail to establish how the sampling statement applies to that corpus. The level-by-level rates and correlations below are the values reported for each named dataset.

The paper plots Flesch-Kincaid Grade Level by reference level before interpreting the gap-filling results. The plots give a picture of how a standard surface index relates to the human-assigned categories. OneStopEnglish generally follows the expected progression, with substantial overlap. In Weebit, the fourth level appears simpler on this index than its position would suggest, and the third and fourth levels overlap considerably. The authors also describe OneStopEnglish as generally more demanding by this index, with level 1 comparable to Weebit level 4. The matching level numbers across the datasets thus have to be read relative to their own collections.

Flesch-Kincaid serves as a direct readability comparator. The recurrent systems provide comparisons among ways to build a cloze reader, and GPT-2 shows what happens when a system achieves much higher completion rates. These comparisons answer different questions. A baseline based on sentence and word length can agree with human-assigned levels even if it never attempts to recover a word. A recurrent system can perform reasonably well on the cloze task while yielding a weak readability correlation. The experiments keep both distinctions visible.

The training checks and the stronger gap filler

On the WikiText-2 test data, reported perplexity is 90 for RNN and 78 for AWD. On the WikiText-103 test data, it is 87 for RNN and 137 for AWD. On the Wiki-Simple test data, it is 51 for RNN and 65 for AWD. These within-corpus results show that the relative perplexity of the two implementations changes across conditions. Reading across training corpora adds the vocabulary differences the authors flag. A lower perplexity on Wiki-Simple is therefore insufficient evidence that a system will be a better cloze reader on the graded news.

The paper gives GPT-2 perplexities of 29 on WikiText-2 and 37 on WikiText-103, attributing these to the developers of the pretrained system. The main comparison for readability is the evaluation on the news gaps the paper constructed. GPT-2 achieves higher completion rates there than the recurrent implementations. Its results provide a way to examine whether better word prediction also gives a stronger gradient across the difficulty levels.

The following comparison holds the evaluation dataset, level, and rank cutoff fixed. The recurrent settings shown use different training corpora, and the pretrained system was trained on WebText.

Gap-filling systems on OneStopEnglish level 1 by p@1

GPT-2 recovers the original word first more often than the recurrent systems shown.

Gap-filling systems on OneStopEnglish level 1 by p@1RNN trained on WikiText-2: 0.10RNN trained on WikiText-20.10RNN trained on WikiText-103: 0.12RNN trained on WikiText-1030.12RNN trained on Wiki-Simple: 0.12RNN trained on Wiki-Simple0.12GPT-2 pretrained on WebText (this paper): 0.22GPT-2 pretrained on WebText (this paper)0.22
The numbers
System or settingp@1 completion rate
RNN trained on WikiText-20.10
RNN trained on WikiText-1030.12
RNN trained on Wiki-Simple0.12
GPT-2 pretrained on WebText (this paper)0.22

The higher GPT-2 scores extend beyond the easiest OneStopEnglish level. Its p@1 completion rates in the order of levels 1, 2, and 3 are 0.22, 0.21, and 0.20. At p@5, the level rates are 0.42, 0.42, and 0.40. The comparison illustrates why it is possible to see an expected tendency in group scores while still getting weak rank agreement. Easier material gives GPT-2 a small advantage overall on OneStopEnglish, and the first two levels yield the same reported rate at the wider cutoff.

A regular pattern in OneStopEnglish

The recurrent results on OneStopEnglish generally show better completion on the easier versions. With Wiki-Simple training, RNN has p@1 rates of 0.12, 0.11, and 0.10 from level 1 through level 3. With the same training corpus and test dataset, its p@50 rates are 0.47, 0.43, and 0.39. The ranking of the groups stays in the expected direction at both cutoffs. The wider candidate list changes the chance of counting a completion as successful and, in this condition, gives a stronger relationship with readability.

For the OneStopEnglish results, RNN trained on Wiki-Simple has a tau-b of 0.11 at p@1 and 0.19 at p@50. AWD with Wiki-Simple training has a tau-b of 0.11 at p@1 and 0.17 at p@50 on the same corpus. The paper’s candidate-list relaxation is useful here in a specific sense. Information from candidates below the first rank can improve agreement with the level ordering. The highest of these recurrent correlations remains small, even though giving the system more chances makes the exercise easier to pass.

The effect depends on the system and setup. For GPT-2 on OneStopEnglish, tau-b is 0.05 at p@1 and 0.04 at p@5. The wider candidate list increases the fraction of recoverable words at each level. Its rank agreement with the levels stays weak. The chart compares agreement at a common cutoff, so each value concerns the relation between p@5 completion and the same reference levels.

OneStopEnglish rank agreement between p@5 completion and reading level

The Wiki-Simple RNN gives the strongest rank agreement among the settings shown.

OneStopEnglish rank agreement between p@5 completion and reading levelGPT-2 pretrained on WebText: 0.04GPT-2 pretrained on WebText0.04RNN trained on WikiText-2: 0.06RNN trained on WikiText-20.06RNN trained on WikiText-103: 0.06RNN trained on WikiText-1030.06AWD trained on Wiki-Simple: 0.11AWD trained on Wiki-Simple0.11RNN trained on Wiki-Simple (this paper): 0.13RNN trained on Wiki-Simple (this paper)0.13
The numbers
System or settingKendall tau-b
GPT-2 pretrained on WebText0.04
RNN trained on WikiText-20.06
RNN trained on WikiText-1030.06
AWD trained on Wiki-Simple0.11
RNN trained on Wiki-Simple (this paper)0.13

The distinction is consequential for the paper’s hypothesis. An orderly set of group averages can coexist with a poor ability to judge the difficulty of a particular text. OneStopEnglish provides the clearer pattern of the two news collections, partly because the direction of its scores tends to repeat across configurations. That consistency supplies some evidence for a readability signal. The sizes of the rank correlations limit how much confidence the authors place in the signal as a practical estimate.

A less regular pattern in Weebit

Weebit has an especially visible deviation from the expected order around level 3. The GPT-2 comparison holds the system and scoring rule fixed across levels. Its best p@1 result occurs in the middle of the collection’s difficulty scale.

GPT-2 gap filling across Weebit levels by p@1

Exact recovery peaks at the middle reading level and is lowest in the advanced groups.

GPT-2 gap filling across Weebit levels by p@1Level 1: 0.18Level 10.18Level 2: 0.18Level 20.18Level 3 (this paper): 0.21Level 3 (this paper)0.21Level 4: 0.13Level 40.13Level 5: 0.13Level 50.13
The numbers
System or settingp@1 completion rate
Level 10.18
Level 20.18
Level 3 (this paper)0.21
Level 40.13
Level 50.13

GPT-2’s Weebit p@5 rates, in level order, are 0.35, 0.37, 0.39, 0.27, and 0.29. The middle level still has the highest reported rate, while the two advanced groups give the lowest rates. Its Weebit tau-b is 0.13 at p@1 and 0.14 at p@5. Those correlations are higher than its corresponding OneStopEnglish values, even though the Weebit level averages show a more obvious departure from a steady progression. The ordering of all documents and the shape of the level averages can highlight different properties of a result.

The recurrent systems frequently show the same difficulty with the early levels. For instance, RNN trained on WikiText-103 has Weebit p@1 rates of 0.10, 0.11, and 0.12 at levels 1, 2, and 3. At levels 4 and 5 its rates are 0.08 and 0.09. This gives a clear example of what the authors identify as a recurring pattern. The upper levels frequently present more difficult completions, while the first level fails to give the best score.

Training on Wiki-Simple changes the ordering at the easy end in some conditions. The Wiki-Simple RNN’s Weebit p@1 rates are 0.15 at level 1 and 0.13 at both levels 2 and 3. The corresponding AWD scores with Wiki-Simple are also 0.15, 0.13, and 0.13. These rows qualify the paper’s broad description of a level 3 peak for the recurrent systems. The peak is a common result, with exceptions that matter because a key purpose of the training-corpus comparison was to see how the readers behave on simple texts.

For Weebit, the Wiki-Simple AWD configuration reaches a tau-b of 0.19 at p@25. The Wiki-Simple RNN reaches a tau-b of 0.19 at p@5 on the same corpus. These are among the stronger readability correlations reported for the gap-filling approach. They arise in conditions that are weaker gap fillers than GPT-2 overall. Choosing a reader by its general ability to complete missing words would therefore overlook some of the more informative configurations for the paper’s particular measurement task.

What the readability comparator establishes

Flesch-Kincaid Grade Level has a reported correlation of 0.48 with the OneStopEnglish levels and 0.61 with the Weebit levels. The authors place the best cloze correlations in the region [0.1, 0.2] and describe the observed agreement as small and insignificant. The plotted overlap of the grade-level index shows that its higher correlations still allow considerable variation within categories. Its role here is to establish what a readily computed conventional index does with these same reference levels.

There is a difference between the claim that a cloze score contains some information about difficulty and the claim that it can be used to assign an individual document a level. Evidence for the first includes the fairly consistent direction of the OneStopEnglish group means and the lower Weebit completion rates at the advanced end. The second would require a sufficiently reliable relationship at the document level. The reported rank agreement is too weak to support that use.

The paper’s strongest result for the reading task is therefore a diagnostic contrast for the assessment task. GPT-2 recovers substantially more omitted words, while several recurrent configurations agree more closely with difficulty. One can read that finding without assuming that all improvements in machine reading will produce the same outcome. It establishes that the particular increase in completion ability observed here was insufficient to make the tested cloze score a dependable readability measure.

What the ablations show

The paper offers no formal component ablation. Its controlled comparisons and follow-up analyses vary the training source, the recurrent implementation, and the scoring cutoff, then examine the composition of the gaps and check a small collection of literary texts. Each comparison helps locate a different place where prediction success and readability can come apart.

The training material changes which texts are easy to complete

A useful comparison keeps the recurrent implementation fixed while changing the corpus from which it learns. On Weebit level 1, for example, RNN at p@1 scores 0.07 with WikiText-2 training, 0.10 with WikiText-103 training, and 0.15 with Wiki-Simple training. At level 2 its corresponding rates are 0.08, 0.11, and 0.13. The training source therefore affects relative success on the texts at the easy end of the scale, even though the same gap-selection and answer-scoring procedure is used.

This comparison complicates the expectation that training on simpler Wikipedia articles would produce a generally poorer reader. For the easy groups in Weebit, Wiki-Simple training gives the recurrent readers an advantage over the other sources. One interpretation consistent with the setup is that the text learned from changes which word sequences the system is best equipped to predict. The experiment cannot attribute this specifically to simplified language. The corpora also differ in vocabulary, training volume, and the settings associated with each corpus.

Comparing RNN with AWD within the same training source addresses a narrower question. It asks how two implementations perform with the same source and reported settings instead of treating the Wikipedia corpus comparison as evidence about an architectural component. The differences in their results vary with the training condition and the metric. On OneStopEnglish level 1, for instance, Wiki-Simple RNN and Wiki-Simple AWD each achieve 0.12 at p@1. Their respective p@50 rates at that level are 0.47 and 0.43. A tie at the first rank can conceal differences in how the same answer is ranked farther down the list.

GPT-2 offers a larger contrast in strength. It changes architecture, training source, the representation of candidate units, and the procedure for producing a whole word. Its higher completion rates establish that the experiment includes substantially different prediction performance. The design leaves the contribution of those changes combined. The readability result is consequently about the tested systems as a whole. It supplies no component-level explanation for GPT-2’s low agreement on OneStopEnglish.

Giving the predictor more candidates

A top-ranked mistake can conceal useful evidence. If the original appears immediately below the first candidate, the system has identified it as plausible and loses credit because another word looked better. A wider cutoff can reveal whether several good possibilities were considered. Part of the experiment therefore asks whether readability is better reflected by the presence of an answer on a shortlist than by taking the first answer alone.

The change helps some recurrent settings. On OneStopEnglish, the Wiki-Simple RNN’s rank agreement grows as the scoring moves from the strict first choice to the wider cutoffs reported for that setting. For the Wiki-Simple RNN on Weebit, tau-b is 0.15 at p@1, 0.19 at p@5, 0.16 at p@25, and 0.16 at p@50. The intermediate cutoff gives the strongest agreement of those conditions. Widening the list changes the question being asked of the ranking, and the relationship with readability need not improve at every step.

This analysis also separates tolerance in rank from tolerance in wording. A candidate list can be long and still reject all answers that differ from the original. For a gap with multiple sensible completions, the wider cutoff asks whether the author’s own choice is among more of the candidates. It never asks whether a suggested replacement preserves the meaning. The authors identify formal or distributional similarity as possible ways to relax the latter requirement. The reported cutoff comparison tests only the former.

Looking inside the mixture of missing tokens

The authors’ most direct analysis of the test itself groups OneStopEnglish gaps by grammatical category. The reported completion metric is p@5. A determiner is a word that helps specify a noun phrase, and punctuation supplies written boundary or structural cues. Both can be predictable from a short prefix. A noun that names the entity under discussion may call for evidence about the larger passage. Verbs form another category for which local grammar and the wider events can matter in different cases.

The category-specific rates show how much the task changes with the kind of token removed. With WikiText-2 RNN on OneStopEnglish, the p@5 rate is 0.76 for punctuation, 0.61 for determiners, 0.08 for nouns, and 0.03 for verbs. For GPT-2 on the same dataset and metric, the rates are 0.87 for punctuation, 0.64 for determiners, 0.39 for nouns, and 0.24 for verbs. GPT-2’s particularly strong advantage over this recurrent setting on nouns and verbs changes what it can recover. The easiest categories remain easy for both systems.

Agreement with the reference levels is a separate matter within the categories as well. For the Wiki-Simple RNN on OneStopEnglish, the p@5 rank correlations are 0.08 for nouns, 0.03 for verbs, 0.04 for punctuation, and 0.05 for determiners. For GPT-2 on OneStopEnglish, the corresponding correlations are 0 for nouns, 0.04 for verbs, 0.01 for punctuation, and -0.02 for determiners. Some of the most informative correlations the authors find in this breakdown involve nouns or verbs, although the pattern differs by system. The GPT-2 noun result makes the paper’s main distinction visible within a single category. The capacity to recover a substantial share of nouns supplies no observed alignment with reading level in that comparison.

Uniform sampling gives each position a chance to be selected, so the resulting collection of gaps reflects the document’s mix of categories. If a category is more prevalent in one group of texts, the aggregate score for that group gives its prediction behavior more influence. The aggregate can change because the prediction of a given category becomes easier, because easier-to-predict categories are more common, or because both happen together. The authors note that differences in grammatical-category proportions have themselves been used as cues to readability. Those differences can carry useful information about the text while complicating what the cloze score represents. An AI readability formula for French as a foreign language

A possible follow-up would hold the selection of categories more nearly constant or deliberately choose gaps expected to require more context. The paper’s category analysis gives a reason to test such a procedure. Its correlations are for subsets of the gaps already used. They provide limited evidence for the improvement the authors expect from better control of the gap mix, since the paper does not report a full replacement benchmark with a balanced selection rule.

A check beyond educational news

The literary experiment asks whether the poor readability ordering might be specific to the news collections. It uses extracts listed with reading levels and tests the authors’ RNN trained on WikiText-2. The score is p@1, and the paper uses 5 chunks per document. This retains the basic distinction between word recovery and reading level while changing the type of writing. It also narrows the comparison to a single recurrent system and a single scoring cutoff.

The scores show substantial variation that fails to follow the assigned levels consistently. Peter Pan gives a p@1 completion rate of 0.33 at level K3, while Hamlet gives 0 at level K8. That pair on its own would fit the expected direction. Elsewhere in the list, The Black Arrow gives 0.27 at level K7, while texts at some earlier levels have substantially lower rates. Across the literary set, the reported Kendall rank coefficient is −0.28. Individual examples that fit the hypothesis therefore coexist with a poor overall ordering.

The authors treat this as a small confirmation study. It shows that moving outside the two news collections can leave the central problem in place under the tested conditions. It does not establish how stronger systems or wider candidate cutoffs would perform on literary text. The authors expect a larger later experiment and more permissive scoring to offer a better basis for examining that question.

Limitations

Limits the authors identify

The authors describe the study as preliminary. Their readers estimate words from a prefix, with most configurations built from recurrent predictors. They regard the selection of comprehension systems as open to further investigation. A larger or differently trained predictor could supply a different signal, and a system built to answer questions about a passage would test a different form of reading. The reported evidence is most directly about the tested systems working on the specified cloze exercise.

The paper also identifies the gap-generation procedure as a possible source of the small correlations. The main evaluation draws from all positions without first asking what linguistic evidence recovering a particular token would require. The authors suggest choosing gaps based on grammatical properties or removing only parts of words. They also propose using the context to the right. These changes would alter different aspects of the test. A more selective exercise could make the available gaps probe particular skills, while additional context would change the evidence available for solving a given gap.

Exact recovery is another limitation the authors raise. The original word supplies an unambiguous automatic scoring key. Its convenience comes with a narrow definition of success. It gives a single criterion to results that can differ substantially in their relation to the meaning of the passage. A different sensible word receives the same outcome as an unrelated word if both miss the reference. Similarity-based scoring might make those cases distinguishable, but the paper leaves that question open. The reported increases in completion with broader cutoffs stem from admitting more ranked candidates under exact matching.

The authors additionally call for studies that compare automatic and human performance directly, particularly with controlled groups of language learners. The graded corpora give reference categories and, in OneStopEnglish, expert rewrites intended for different readers. A direct study would ask whether a system and a specified population find the same gaps difficult under comparable conditions. The article-level comparisons reported here cannot establish that correspondence. They test whether the machine’s performance tends to follow an ordering assigned to the documents.

Further limits visible in the design

The reference levels and the cloze exercises differ in what they measure. Weebit brings together educational news intended for different audiences. OneStopEnglish supplies revisions prepared for different levels. Those labels are informative about the texts’ intended readers. A locally predictable gap in a difficult article is perfectly compatible with a sensible level assignment, since the reference judgment concerns the article as a whole. Conversely, a beginner text can contain a name or term for which the left context gives little clue. Such cases put a limit on how much any random set of exact word predictions can be expected to reflect the reference.

The comparison between the corpora illustrates a design tradeoff. OneStopEnglish has related versions of source articles, giving the researchers some control over subject matter across levels. The evaluated words can still differ in ways that affect predictability independently of how well a learner would understand each version. Weebit provides a broader set of educational texts, with more opportunity for topic or source to vary with level. Since these factors are bundled into the available collections, the different correlations cannot be assigned to a single difference in their construction.

The sampling description limits how precisely the correlations can be interpreted. The stated per-level sample and the overall OneStopEnglish document count leave the exact evaluation sample unclear. The paper characterizes the observed correlations as insignificant, while the results tables mainly give the coefficients themselves. They leave little basis for comparing the uncertainty around nearby coefficients or for knowing how sensitive the ordering of systems would be to a fresh sample of gaps. The fixed gap positions make the reported comparison reproducible in principle given the test construction. They cannot by themselves establish that the same differences would recur under new gap draws.

The test also combines aspects of the reader with aspects of the answer space. A word-level vocabulary can restrict which references can be proposed, and the GPT-2 heuristic can restrict which sequences of pieces are explored. Those constraints can affect a completion even if the relevant meaning is evident from the prefix. The paper’s evaluations do not isolate the proportion of errors attributable to these mechanisms. Its results concern the whole prediction procedure, from the available text and candidates to the strict answer check.

Finally, the readability benchmark compares rank agreement. It does not establish a conversion from a completion rate to an expected reading level, provide an error rate for assigning new documents to levels, or show that a particular rate corresponds to similar human performance across genres. The conventional index’s higher correlations have the same underlying scope as correlations. They show closer agreement with the reference order on these corpora. The paper’s main empirical claim is narrower and more direct. In this setup, higher rates of word recovery and closer agreement with the reading levels are sufficiently independent that either one can improve while the other remains weak.

What came after

DARES, a dataset for Arabic readability estimation of school materials (2024), cites the pilot in work on readability resources for Arabic school texts. Its focus brings the question of reference material to the foreground. Benzahra and Yvon needed collections with independent difficulty levels to decide whether a machine’s completion scores were meaningful for readability. DARES concerns the creation of a dataset for readability estimation in a different language and educational setting. Its citation establishes a connection to that assessment problem. Whether it reuses the pilot’s gap-filling procedure or tests its correlation result cannot be established from the citation and title.

Getting Close to Cloze (2026) cites the pilot while investigating human and automatic cloze performance in Afrikaans. Its stated comparison addresses the human side of the question the pilot left open. Benzahra and Yvon compared machine scores with levels assigned to texts and identified direct comparisons with human test performance as a further step. A study that examines both kinds of cloze performance concerns their correspondence more directly. The title and citation establish that focus, while leaving the gap-selection procedure, scoring choices, and findings unspecified.

Cite

Cite as Marc Benzahra and François Yvon. 2019. Measuring text readability with machine comprehension: a pilot study. Proceedings of the Fourteenth Workshop on Innovative Use of NLP for Building Educational Applications.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/w19-4443

@inproceedings{benzahra2019measuring,
  title = {{Measuring text readability with machine comprehension: a pilot study}},
  author = {Marc Benzahra and François Yvon},
  booktitle = {Proceedings of the Fourteenth Workshop on Innovative Use of NLP for Building Educational Applications},
  year = {2019},
  doi = {10.18653/v1/w19-4443},
  url = {https://doi.org/10.18653/v1/w19-4443}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/benzahra-2019-measuring-text-readability-machine-comprehension/