Regression or classification? Automated Essay Scoring for Norwegian
Paper · 2019 · Stig Johan Berggren, Taraka Rama and Lilja Øvrelid
Summary
An automated essay scorer reads a learner’s writing and estimates the proficiency level a human assessor would assign. For someone preparing for a Norwegian language exam, that estimate could help with deciding when to take a test or which level to attempt. The paper presents an initial study of this task for Norwegian using ASK, a collection of learner essays. The authors ask which works better: predicting the proficiency category outright or estimating a numerical score first and then assigning it to a category. They also compare ways of representing the writing and test whether learning to identify a writer’s first language helps with scoring the essay.
The essays have levels assigned on the Common European Framework of Reference, or CEFR. The authors run experiments with the original seven labels, which include intermediate judgments such as A2/B1, and with a four-label version that assigns an intermediate judgment to the higher of its two levels. They keep essay topics separate across training, development and final testing. Among the linear methods tried during development, support vector regression leads on both versions of the task. Which representation leads depends on the evaluation measure. In particular, word counts give the strongest linear result when all seven labels receive equal weight, and sequences of grammatical tags give the strongest linear result by that measure on the four-label task.
The strongest system on the held-out essays reads each essay in both directions with a gated recurrent unit, a component that maintains a running representation of the text. It learns to emphasize some parts of that representation when making its prediction. The system begins with word vectors trained on Norwegian newspaper and web text and updates them during essay-scoring training. It attains macro F1 of 0.388 on the original labels and 0.511 on the collapsed labels. Macro F1 gives each label equal influence. Its corresponding micro F1 scores, which pool decisions across essays, are 0.480 and 0.724.
Training the system to predict the writer’s first language alongside proficiency produces some competitive results, but the best final scores come from training for proficiency alone. The paper’s conclusion in favor of regression comes chiefly from the linear comparisons on ASK. Its strongest final result comes from the separate comparison of essay-reading architectures, where learned attention and the choice of word representation also matter.
Deep dive: Regression or classification? Automated Essay Scoring for Norwegian
A study of Norwegian learner essays compares regression and classification for predicting proficiency and tests whether native-language prediction helps. · about 32 minutes to read
The problem and its context
A score for a piece of writing
In automated essay scoring, the input is a free-form response, often written to answer an exam prompt. The output in this study is an estimate of the level reflected in that response. A learner might use an estimate to decide whether to sit an examination, an undertaking the authors describe as potentially inconvenient in both cost and logistics. Faster scoring could also make it practical for learners to obtain feedback more often. Those applications motivate the experiment. What the experiment measures is agreement with proficiency labels on previously scored essays.
The labels have a clear order. A system can place the levels from lower to higher proficiency, and the intermediate labels preserve distinctions a judge might want to make when a piece of writing falls between named levels. But an order leaves an important question unanswered. How much separates neighboring levels? The paper illustrates the difficulty with A2/B1, B1 and B1/B2. A numerical predictor needs values for those labels. Assigning them equally spaced values is a practical way to fit a regressor, but the ordering of the CEFR labels alone gives no evidence that the two steps represent equal gains in proficiency.
An ordinary multiclass predictor makes a different choice. It learns to select one of the available categories. The labels can retain their names without anyone specifying a unit of proficiency. As ordinarily implemented in the paper’s comparison, however, the learning problem also sets aside their order. Confusing a level with the one immediately above it and confusing it with a distant level both mean selecting a different category. Regression supplies a numerical notion of closeness, while direct text classification avoids committing to the spacing that makes that notion possible.
This distinction matters because the authors want their methods to answer the same practical question. An essay ultimately needs a label for comparison with the assessor’s judgment, even if the underlying predictor returns a continuous number. The numerical method therefore needs a rule for going from its output back to the original categories. Once that rule is defined, the authors can judge whether taking the ordered numerical route helps with exact label prediction. They can also ask whether the answer changes when the scale is made coarser.
What earlier essay scorers represented
The paper describes two broad approaches in earlier work. One begins by designing linguistic measurements that may differ with proficiency. Counts or distributions derived from the text become inputs to a statistical predictor. The other learns much of the essay representation as part of the scoring task. A neural system can, for example, learn how to combine words into local patterns or how to summarize a sequence over the length of an essay. Each approach needs examples that link writing samples to assessments, though the approaches differ in how much of the representation the researcher defines beforehand.
For English learner writing, earlier work on the First Certificate of English corpus illustrates what can be done with explicitly designed features. The study used grammatical tags and syntactic information and found that a discriminative ranking approach did better than the regression approach it tested. Ranking asks about relative position, making it another way to exploit order. That result belongs to the particular corpus and system comparison, and shows why the Norwegian authors had reason to consider more than the two alternatives in their title when they moved beyond linear systems. A New Dataset and Method for Automatically Grading ESOL Texts
The paper also describes Vajjala’s work on English learner essays from the First Certificate of English and TOEFL11 collections. There the measurements included aspects of vocabulary diversity, the distribution of grammatical tags, syntactic complexity and properties of discourse. These features cover several scales of writing. A vocabulary measure summarizes the words a writer uses. A grammatical tag distribution describes how frequently broad word classes occur. Syntactic and discourse features can represent organization beyond the individual word. The Norwegian study includes a more targeted selection of word, character and tag representations in its linear comparison.
Neural studies on the ASAP Kaggle student-essay collection offer a different precedent. As the Norwegian paper describes them, Alikaniotis and colleagues and Taghipour and Ng treated scoring as regression and compared architectures that learned representations from the essays. The related-work discussion points to results with recurrent processing in both directions and pretrained word vectors. Taghipour and Ng’s architecture is especially relevant because it gives the authors a starting point for adapting recurrent essay encoders to the Norwegian label set. A Neural Approach to Automated Essay Scoring
Convolution offers another route to a learned text representation. The Norwegian CNNs adapt an architecture originally described for sentence classification. Its use here raises a concrete question about essays. Can the strongest matches to patterns in short spans of text give a useful representation of an entire document? The recurrent systems provide a different means of answering the same scoring question, because their intermediate representations depend on the surrounding sequence. Convolutional Neural Networks for Sentence Classification
English dominated the earlier literature as the paper describes it, but there were CEFR studies for German, Estonian and Swedish learner writing. Those studies used support vector classification with linguistic features covering vocabulary, word form, syntax and meaning. The authors also discuss Vajjala and Rama’s work on the MERLIN corpus, which compared CEFR classification within a language, across languages and in multilingual settings. MERLIN used levels from A1 to C1 without the intermediate labels found in the Norwegian study. The distinction matters because a system evaluated against intermediate categories has to make finer decisions, even when the broad proficiency framework is shared.
Why predict the writer’s first language?
ASK had already been used to study learner Norwegian and the ways a writer’s first language can influence it. It had also been used for native language identification, abbreviated NLI. Given an essay written in Norwegian, an NLI system predicts the writer’s first language from the alternatives in the corpus. The hypothesis behind joint training is that textual patterns useful for detecting first-language influence might also help a system represent the writing for proficiency assessment. The predictions themselves still answer different questions. A proficiency judgment has an ordered scale. First-language categories have no corresponding progression. The ASK Corpus
Earlier Norwegian NLI work handled individual writing differences by constructing artificial documents. It pooled sentences by the writer’s first language and sampled them to create new documents. The aim was to make documents comparable in length and reduce the influence of individual authorship. The new documents also lost the organization of the original essays. The present study chooses to retain that organization and to evaluate with designated development and test sets. Accordingly, the earlier NLI experiments establish that ASK can support the task, while leaving open how their scores relate to scores on the original essays under a different evaluation design. Norwegian Native Language Identification
The use of NLI as an auxiliary task also changes the question being asked about it. A good stand-alone first-language predictor could be useful evidence that this information is recoverable from the essays. The joint experiment asks whether rewarding the extraction of such information during training improves the proficiency prediction. Its success has to be judged on essay scoring. An improvement on first-language prediction alone would leave the central question unanswered.
The method, step by step
From exam responses to learning examples
The authors begin with essays from the ASK learner corpus. Those essays come from an intermediate exam aimed at B1 and an advanced exam aimed at B2. The exam level records the test for which the piece was written. The CEFR label used for prediction is a separate judgment about the writing, added to part of the corpus by Carlsen. A response to a test aimed at a particular level can therefore carry a proficiency label above or below that level. The study takes the individually scored essays as its examples.
Each original corpus file contains both writing and markup. The markup can identify such things as paragraphs, sentences, errors and corrections. The authors convert the files to plain text, retaining the learner’s writing and stripping out the annotation tags and correction labels. The resulting files use spaces between tokens, line breaks between sentences and empty lines between paragraphs. The distinction between the writing and its annotations is important. The system encounters the essay as a sequence it must interpret, without being handed the human annotations that mark problems in it.
The authors process this text with UDPipe trained on the Norwegian Universal Dependencies treebank. A grammatical tag identifies a token’s broad word class, such as noun or verb. A dependency parse represents grammatical relations between words. Both are produced in preprocessing, although the feature comparisons described in detail use the tags rather than a separate set of dependency-relation features. A tag sequence can represent a pattern shared by passages that use different words. The authors use UPOS, the inventory of universal part-of-speech categories. Part-of-speech tagging · Dependency parsing · UDPipe
From ASK essays to held-out proficiency predictions
The steps in order.
The study uses two versions of the target. The full version retains the seven available labels from A2 through C1. The collapsed version keeps A2, B1, B2 and C1. For a label with a slash, the authors choose the level after the slash. Thus an essay judged A2/B1 in the full version counts as B1 in the collapsed version. This decision is made for the target labels as part of preparing the task. It is separate from converting a continuous prediction into a class after regression.
The main collapsed-label runs train and evaluate against the coarser target. The authors also try training on the original labels and then collapsing the predicted labels. These procedures can yield different predictors. In the latter case, training still rewards distinguishing A2/B1 from B1, although the final evaluation treats them alike. When training takes place directly on the collapsed labels, all examples with those two original judgments contribute to learning the same class.
The authors divide the essays into training, development and held-out test portions in an 8:1:1 distribution. Training supplies the examples used to learn the prediction rule. The development portion is used to compare and choose settings before the final evaluation. The test portion is reserved for the selected systems. The authors try to keep the joint distribution of proficiency and first language similar across the splits while ensuring that an essay topic belongs to only one split. The topic rule is intended to approximate a use case where an essay answers a prompt absent from the training data.
Linear predictors and their representations
The linear comparison uses logistic regression, support vector classification and support vector regression. Despite the name, logistic regression is used here to predict a category. It learns coefficients for the features under a multinomial loss, a training criterion that rewards assigning greater probability to the observed class. Support vector classification also predicts a category, learning boundaries between examples represented by their features. Support vector regression learns a rule that returns a continuous value. The comparison uses implementations from scikit-learn, and the authors report using default parameters for the support vector regressor. Machine learning
The paper compares these methods over four input representations. In the bag-of-words setting, called BOW in the results, words are features and their order is set aside. Character features instead use short contiguous sequences of characters. UPOS features use consecutive sequences of grammatical tags. The mixed setting uses function words alongside tag information, allowing some lexical distinctions to remain while representing other material more abstractly. These strings of neighboring elements are n-grams.
The representations differ in what can carry evidence from one essay to another. A word feature preserves the identity of a word. A character sequence can capture recurring spelling or word-form patterns without requiring a match on the whole word. A tag sequence can recur across essays even when the writers are discussing different subjects. The mixed representation can preserve particular function words while grouping other tokens by grammatical category. The comparison asks whether a predictor earns better scores with one type of evidence, holding the broad learning algorithm fixed within each group of runs.
For support vector regression, the ordered proficiency labels are represented by integers. A raw output may fall between two integers or outside the allowable range. The authors round it and clip it to get a valid class code. The conversion they describe can be written as follows.
ĉ = clip(round(s), ℓ, u)
Here, s is the continuous score returned for an essay. round selects a nearest integer. clip constrains that integer to the inclusive interval with lower endpoint ℓ and upper endpoint u, keeping values inside the interval and replacing those outside it with the relevant endpoint. The symbol ĉ is the resulting predicted class code, and = specifies how to obtain it. The allowed interval is [0, 6] for the full labels and [0, 3] for the collapsed labels. Each admissible code maps back to a proficiency category.
This rule makes the predictions comparable to those of the classifiers. It also shows where the assumption about distance enters. Consecutive class codes are spaced equally for the regressor, and rounding assigns a continuous prediction to a neighboring code. The numbers define the fitting and decoding problem. The paper treats the actual intervals between the proficiency judgments as unknown.
Reading with convolution
The convolutional systems start with structured sequences instead of a single inventory of document-level feature counts. Each token is mapped to an identifier, which retrieves a numerical vector from an embedding lookup. The authors pad documents shorter than 700 tokens and use a word-frequency cutoff to handle vocabulary outside the retained set. They test embeddings initialized randomly and embeddings initialized from FastText vectors trained on the Norwegian Newspaper Corpus and the Norwegian Web as Corpus. The vectors are updated during training on the task, a process known as fine-tuning.
A word vector gives the system a trainable numerical representation of a word. With random initialization, the initial values provide no information learned from an external Norwegian collection. With FastText initialization, the system starts from representations learned before essay-scoring training begins. Both can change as the system fits the ASK examples. The comparison is about the starting point for learning those representations, instead of a choice between frozen vectors and trainable ones. Word embeddings
A convolutional filter applies the same learned pattern detector at successive points in the sequence. Its window size tells it how many neighboring positions to consider at once. The reference architecture described by the paper uses 300 filters, with 100 filters for each of the window sizes 3, 4 and 5. After scanning the essay, the system takes the largest response of each filter. This maximum summarizes how strongly the filter responded anywhere in the text. The authors use separate pooling operations for the different window sizes and join the pooled outputs into a document vector.
The maximum operation gives the filter a direct way to represent the presence of a strong local pattern. Its contribution to the document vector depends on its highest response. Further occurrences and the location of the maximum are set aside by that operation. The learned filters can represent different patterns, so the joined vector can still collect several kinds of evidence. The architecture feeds this vector to a final prediction layer, and the classification version uses softmax to turn its outputs into probabilities over the categories. The paper also reports applying dropout at the final layer during training.
The CNN experiments include a conventional classifier, a regression version and an ordinal regression version, labeled Rank in the results. Ordinal regression uses the order of the categories. The paper gives scores for it, with less detail on its implementation than on the shared convolution and pooling architecture. The input variants include a word stream, a version with both words and UPOS in separate channels and a mixed representation. Separate channels allow the token and tag streams to contribute distinct information. They differ from the linear UPOS-only representation because the system still has access to word identities.
Reading with recurrence and attention
The recurrent systems update an internal state as they move through an essay. At each position, the update incorporates information about the current input and information carried from earlier positions in the direction of reading. The authors test long short-term memory units and gated recurrent units, abbreviated LSTM and GRU. Both use gates, learned controls that regulate how much information is kept or updated. The paper motivates the choice of gated recurrence with the length of the essays and the need to retain information across distant positions.
The authors test reading in a single direction and reading with both a forward and a backward recurrence. In the bidirectional GRU, abbreviated BiGRU, a representation at a position can incorporate preceding context through one stream and following context through the other. The recurrent experiments increase the embedding size to 100 dimensions from the 50 dimensions in the architecture they take as a starting point. The authors test random and pretrained initialization and again vary whether the input supplies word identities, grammatical tags or a combination.
The recurrent reader produces a sequence of internal states. To score a whole essay, it needs to reduce that sequence to a document representation. The authors compare averaging the states, taking their componentwise maxima and using learned attention. Averaging gives each position an equal contribution to the average. Max pooling retains the largest value of each component across positions. Learned attention uses a feed-forward network to decide how strongly different states should contribute to the document representation. This gives the scorer a way to emphasize different parts of different texts when producing the final prediction.
The paper describes a change from the earlier recurrent architecture’s single sigmoid output, whose value was in (0, 1), to a softmax output for the Norwegian task. Its recurrent methods discussion also describes scoring as regression, while its main recurrent comparison calls the systems classifiers. For the joint training experiment, the paper explicitly specifies a squared-error proficiency loss. These descriptions establish the shared essay-reading architecture and document the loss for the joint setting. They leave some ambiguity about the precise connection between the output layer and the training objective in the single-task recurrent runs. The final scores compare predicted proficiency labels with human labels in either case.
Adding the first-language task
The authors first train first-language predictors separately, with CNN, LSTM and GRU architectures. An NLI output represents a choice among first-language categories, so the experiment uses classification. The stand-alone setting establishes whether the architectures can recover some of that information from the essays. It also lets the authors compare document pooling choices for NLI before asking whether NLI makes a useful training signal for essay scoring.
For joint training, the authors choose two convolutional and two recurrent configurations based on their full-label development macro F1. The recurrent pair use attention, bidirectional GRU processing and 100-dimensional embeddings. RNN1 combines tokens with UPOS and begins with randomly initialized embeddings. RNN2 uses tokens with pretrained initialization. The corresponding convolutional selections are a mixed-UPOS configuration with random initialization and a token configuration with pretrained initialization. Those choices let the authors test the auxiliary task with more than one form of text representation and more than one architecture.
A joint system produces a proficiency prediction and a first-language prediction. The paper specifies mean squared loss for the proficiency output and categorical cross-entropy for the NLI output. Squared loss penalizes the numerical distance from the target in the proficiency calculation. Categorical cross-entropy penalizes a low assigned probability for the observed language. The authors combine the terms linearly, with weights that sum to 1. Their weighting scheme can be written as follows.
L = (1 − w) × L_AES + w × L_NLI
Here, L is the combined training loss. L_AES is the proficiency loss and L_NLI is the first-language loss. w is the auxiliary weight, and 1 − w is the remaining weight assigned to proficiency. The parentheses group the expression for the proficiency weight, × denotes multiplication, + adds the two weighted losses and = defines the combined quantity. At the endpoint where the auxiliary weight is zero, the NLI term makes no contribution to training. This supplies a single-task comparison within the same weight experiment.
The search spans [0, 1] in intervals of 0.1. The authors train and evaluate each configuration with five random seeds to examine the variation from training runs. A seed sets the starting point for the random choices in a run. Changing it provides a way to see whether an apparent gain from adjusting the loss is large relative to the variation the training process already produces. The paper makes the data and code for the experiments available under the name NorskASK.
Experiments and results
What the essays and metrics capture
The ASK corpus contains 1736 texts. The experiments use the 1212 with later CEFR annotations, containing roughly 487,000 tokens. Those scored texts come from writers with seven first languages. The represented backgrounds are German, English, Spanish, Polish, Russian, Vietnamese and Somali. Essays by learners whose first language is Dutch, Albanian or Bosnian-Croatian-Serbian lack the later scores and are left outside the scoring experiments. The corpus also records information such as exam level and topic, which helps the authors characterize the sample and design the splits.
The distribution makes the task different from predicting among equally represented labels. The proficiency mix varies by test level and first language. In the intermediate test, the authors find fewer essays below B1 for German and English than for the other included backgrounds. Vietnamese and Somali essays in that test rarely score above B1, and their most frequent level is A2/B1. B1 is the most frequent level for the represented Indo-European backgrounds in the same test. The authors observe these associations in the corpus. They are properties of the sampled essays and their scores.
The test-level distribution also illustrates the difficulty of preparing balanced splits. The scored set contains 7 Somali essays and 5 Vietnamese essays from the advanced exam, compared with 100 for each of those backgrounds from the intermediate exam. In the complete set of scored documents, 15 pairings of a first language with a proficiency label are represented by fewer than three documents each. Sparse combinations can occur in a partition only when an eligible essay is available there. Keeping topics apart further limits which essays can be moved to improve balance.
The authors report macro F1 and micro F1 for both versions of essay scoring. For a single label, precision asks what share of essays assigned that label actually have it, and recall asks what share of essays with that label the system retrieves. F1 combines precision and recall, so a high value requires doing well on both. Macro F1 averages each label’s F1 equally. Micro F1 pools the prediction counts before calculating the score, so performance on common labels has more influence. Since each essay supplies one reference label and each predictor assigns one, the pooled measure tracks exact decisions over essays.
The majority baseline always chooses the majority category for the setting. It helps show how far a system can get without reading an essay, especially when the categories are unevenly represented. On the development set, it scores 0.040 macro F1 and 0.163 micro F1 on the full labels. On the collapsed labels, it scores 0.127 macro F1 and 0.341 micro F1. The larger micro score on the collapsed task reflects the value of getting its most common outcome right repeatedly. The low macro score shows the limited coverage of the other categories.
The linear comparison on development essays
Support vector regression gives the highest linear development scores on the full label set. Using bag-of-words features, it reaches 0.444 macro F1 and 0.415 micro F1. With the same word representation, support vector classification reaches 0.210 macro F1 and 0.317 micro F1, while logistic regression reaches 0.199 macro F1 and 0.317 micro F1. Comparing these entries with the representation fixed gives a direct view of how the fitted prediction rule affects the outcome in this setting.
The full-label result favors a different representation from the best collapsed-label macro result. On the collapsed development task, support vector regression with UPOS n-grams reaches 0.476 macro F1. With character features it reaches 0.440, and with bag of words it reaches 0.429. The micro scores give a different ordering. Support vector regression with bag of words and with mixed features each scores 0.659 micro F1, compared with 0.593 for the UPOS version. The result singled out for grammatical tags is strongest when each proficiency category counts equally on the collapsed task.
Linear predictors on ASK development essays with all labels, macro F1
Support vector regression leads among the predictors using bag of words.
The numbers
| System or setting | macro F1 |
|---|---|
| Majority baseline | 0.040 |
| Logistic regression with bag of words | 0.199 |
| Support vector classification with bag of words | 0.210 |
| Support vector regression with bag of words (this paper) | 0.444 |
The linear classifiers also benefit from some representations. On the collapsed development labels, logistic regression with character sequences scores 0.399 macro F1, compared with 0.384 using bag of words. Its word-based version has the higher micro score, at 0.626 compared with 0.602. That contrast within an algorithm is a reminder of what the macro and micro measures reward. A choice that improves average performance across categories can produce a different outcome when each essay contributes to pooled counts.
Neural development results
Among the CNNs, the best macro F1 on the original development labels is 0.258. This comes from the regression system with randomly initialized embeddings and mixed input. With those same broad initialization and input choices, the ordinary classifier scores 0.201 macro F1 and the ordinal version scores 0.231. The regression and ordinary classification versions both have micro F1 of 0.398. The macro result supports the regression choice for that input setting, even though the pooled score does not distinguish the two.
On the collapsed development labels, the pretrained word-only CNN regressor reaches 0.463 macro F1. The strongest collapsed-label CNN micro score is 0.756, reached by both the ordinary classification and ordinal regression versions with pretrained embeddings and separate word and UPOS input. This is the setting in which the paper highlights ordinal regression. The table gives a tie on micro F1 with the corresponding classifier, while the best macro result comes from the word-only regressor. A reader looking for the strongest CNN therefore needs to specify both the target scale and the measure.
For recurrent essay scoring, the authors say GRUs generally worked better than LSTMs across their settings and present the GRU results in detail. The best full-label development macro F1 in that comparison is 0.460, from a bidirectional GRU with attention, separate word and tag input and random initialization. A word-only bidirectional GRU with attention and pretrained embeddings reaches 0.454. On the collapsed labels, a randomly initialized word-only GRU with attention in one direction reaches 0.806 macro F1. The highest collapsed micro score in the GRU comparison is 0.821, from a randomly initialized bidirectional attention system with separate words and tags.
The authors also compare ways to summarize a recurrent reader for first-language identification. Their best reported stand-alone setting is a pretrained, bidirectional GRU using words and averaging the states across the essay. It reaches 0.520 macro F1 and 0.537 micro F1 in the development comparison. The paper also describes 0.537 as its best accuracy. A previous result of 0.542 on original essays is mentioned for context. The authors qualify that comparison because the studies use different language coverage and evaluation arrangements. Averaging is the strongest choice in the reported stand-alone NLI settings, whereas the essay-scoring comparisons favor learned attention.
For the joint runs, the highest full-label macro F1 results on development fall in the range from 0.468 to 0.483 and occur with auxiliary weights from 0 to 0.5. The highest result occurs with proficiency alone. Some joint settings are close to it, and the authors use the variation across seeds to interpret that closeness. Their figure plots the mean macro F1 and a 95% confidence interval for the mean. It shows differences in response to the auxiliary weight across architectures, with no improvement from adding NLI for the CNNs. The paper carries an auxiliary weight of 0.1 forward to the final evaluation of the joint recurrent systems.
The held-out essays
The final evaluation compares the majority baseline, two support vector regressors and the selected recurrent systems trained with and without first-language prediction. On the full label set, the majority baseline reaches 0.045 macro F1 and 0.187 micro F1. The bag-of-words regressor reaches 0.231 macro F1 and 0.285 micro F1. The UPOS regressor reaches 0.271 macro F1 and 0.350 micro F1. Thus the feature setting that gave the strongest full-label linear development result does not lead among the linear systems on the held-out essays.
RNN2, the single-task attention BiGRU with pretrained word vectors, reaches 0.388 macro F1 and 0.480 micro F1 on the full held-out labels. RNN1, the randomly initialized counterpart with a different input representation, reaches 0.291 macro F1 and 0.439 micro F1. Its joint version scores 0.266 macro F1 and 0.398 micro F1. Joint RNN2 reaches 0.356 macro F1 and 0.447 micro F1. Both recurrent configurations perform better on the original label set when trained for essay scoring alone.
Selected predictors on held-out ASK essays with all labels, macro F1
The single-task recurrent system with pretrained word vectors leads the comparison.
The numbers
| System or setting | macro F1 |
|---|---|
| Majority baseline | 0.045 |
| Support vector regression with bag of words | 0.231 |
| Support vector regression with UPOS | 0.271 |
| RNN1 proficiency only | 0.291 |
| RNN2 proficiency only (this paper) | 0.388 |
| Joint RNN1 | 0.266 |
| Joint RNN2 | 0.356 |
On the collapsed held-out labels, the recurrent systems also lead. RNN2 achieves 0.511 macro F1 and 0.724 micro F1. The two support vector regressors attain macro F1 of 0.420 for bag of words and 0.422 for UPOS, and both obtain 0.602 micro F1. The baseline remains at 0.127 macro F1 and 0.341 micro F1. The strongest test result by macro F1 is therefore again the single-task recurrent system initialized with Norwegian word vectors.
The collapsed test results give a more mixed picture of auxiliary training. Joint RNN1 reaches 0.509 macro F1, above its single-task counterpart at 0.478 and close to the leading RNN2. Its micro F1 falls to 0.707, compared with 0.724 for single-task RNN1. Joint RNN2 scores 0.443 macro F1 and 0.724 micro F1. The paper’s discussion singles out joint RNN2 on collapsed micro F1, but the table shows that it shares the top score with both single-task recurrent systems. For the collapsed labels, whether the auxiliary objective appears helpful depends on the recurrent configuration and on how performance is averaged.
Recurrent predictors on held-out ASK essays with collapsed labels, macro F1
Joint training improves one recurrent configuration and lowers the score of the other.
The numbers
| System or setting | macro F1 |
|---|---|
| RNN1 proficiency only | 0.478 |
| RNN2 proficiency only (this paper) | 0.511 |
| Joint RNN1 | 0.509 |
| Joint RNN2 | 0.443 |
Most of the selected learned systems score lower on the held-out essays than in development. This reinforces the role of the final split. The development experiments help choose among input representations, architectures and training settings on essays with unseen topics. The held-out estimates answer the same prediction question on a different set of topics after those choices have been made. The difference between the two stages describes the outcomes on these partitions. The comparison cannot isolate how much comes from the topics, the distribution of labels or the choice to select settings in development.
What the ablations show
Separating the effect of input and prediction rule
The paper offers comparisons of input features, initialization, document pooling and auxiliary supervision. Some vary one part of a configuration while keeping the others in place. Other comparisons, especially among the finalists, carry forward several choices together. The distinction determines how specifically the resulting scores can explain the performance.
The linear experiments are the closest match to the question in the title. Comparing logistic regression, support vector classification and support vector regression on the same bag of words reduces the possibility that one method wins simply because it was given a different kind of text evidence. The numerical approach clearly leads on the original development labels under this comparison. Its lead on the best collapsed macro result shows that the benefit is also available after intermediate judgments have been consolidated. Even so, the comparison changes the fitted objective and predictor along with the handling of order. It supports using the tested support vector regressor on ASK, without isolating the contribution of numerical label order from the other differences between the algorithms.
The feature runs make clear why the paper’s emphasis on grammatical evidence needs a qualification. UPOS n-grams give the best linear macro result on the collapsed development task and the stronger full-label linear result among the tested finalists. On the original development labels, bag of words leads. The use of unseen topics makes abstract grammatical patterns a plausible source of transferable signals. The results alone leave open whether their benefit comes from topic generalization, better coverage of some categories or another property of the representation.
Likewise, training directly on the collapsed targets works better for the best performers than collapsing finer predictions after training. This is a comparison of where to put the simplification. When collapsing happens before training, the learner can spend all its capacity on boundaries that count at evaluation. When it happens afterward, the predictor has been optimized to recover some distinctions that the collapsed task sets aside. The paper reports which route produced the best systems without supplying a detailed set of paired scores for this comparison.
What the document summary contributes
The GRU runs give direct evidence about how to turn the sequence of states into a score. For example, the randomly initialized bidirectional system with separate word and UPOS inputs reaches full-label development macro F1 of 0.373 with mean pooling, 0.175 with max pooling and 0.460 with learned attention. These settings use the same broad architecture and input, so the large variation attaches more specifically to the summary operation. Similar patterns across the recurrent comparisons support the authors’ choice of attention for essay scoring.
An attention-weighted document summary lets the system assign unequal importance to states from different positions in a given essay. Mean pooling distributes their contributions uniformly, while max pooling preserves only the largest value of each state component. The comparison is consistent with a task that benefits from emphasizing some contextual patterns while preserving evidence from several parts of an essay. The scores show which pooling operation works better. The paper does not identify the particular grammatical errors, syntactic structures or passages that attention uses to reach its decisions.
First-language prediction illustrates that the usefulness of a pooling rule is task-dependent. The strongest reported NLI system averages its states. In its word-only, pretrained bidirectional comparison, averaging reaches 0.520 macro F1, compared with 0.447 for attention. Proficiency assessment and first-language identification can draw on the same essay while responding differently to how the essay is summarized. The pooling comparison says which summary gave better predictions for each target in these experiments. It does not establish how cues to the writer’s language are distributed across the text.
The evidence for pretrained initialization is more qualified than the evidence for attention. The authors themselves describe the development comparison as ambiguous. The best full-label GRU macro entry uses random initialization and separate words and tags. The held-out winner begins with pretrained word vectors and uses words alone. Its success shows that the pretrained configuration works well among the finalists. Since the two finalists differ in both initialization and input, the held-out comparison does not measure a gain attributable only to pretraining. The development runs are the closer comparisons for that specific question.
What changes when first language contributes to training
The loss-weight sweep examines auxiliary training within a given configuration. At zero weight, the same setup learns through proficiency alone. At positive weights, the combined objective also rewards first-language prediction. This is a more direct comparison than evaluating two unrelated systems. Repeating the runs with different seeds shows how much training variation coexists with the effect of the weight. A promising joint run has to be interpreted alongside that variation, especially when the highest single-task and joint runs are close.
On development, the best full-label score occurs at zero auxiliary weight, and some positive weights give competitive recurrent scores. The CNNs show no corresponding benefit. On held-out essays, both joint systems lose macro F1 on the full labels compared with their own single-task versions. On the collapsed labels, joint RNN1 gains by that measure and joint RNN2 loses, with the best overall macro score still going to single-task RNN2. The controlled sweep and the final comparison together give limited support for the auxiliary task as a practical route to better proficiency scoring.
The authors also inspect the held-out errors of joint RNN2 using confusion matrices, which count how frequently each reference category is paired with each predicted category. In the proficiency matrix, correct classifications form a visible diagonal, and most errors occur near it. The authors report that no prediction is more than two classes from the human label. This adds information beyond F1, which treats a neighboring error as a missed exact prediction. The observed pattern belongs to this particular system’s test predictions. It gives no controlled comparison of how far the errors move under different training objectives.
In the first-language matrix for the same joint system, each language is predicted as Spanish at some point. Predictions of German have 100% precision, but many actual German essays are assigned to English. The two facts can coexist. When the system chooses German, it is correct in these results, while that choice retrieves only part of the German set. The authors suggest a relationship between English and German as one possible interpretation of the confusion. They also observe that Russian and Polish are commonly mistaken for Spanish, rather than being especially confused with each other. The matrix establishes which confusions occurred, while the linguistic explanation remains tentative.
Limitations
Limits the authors identify
The authors emphasize the modest amount of labeled data and the difficulty of maintaining similar distributions across the topic-disjoint splits. Their aim is to preserve the mixture of proficiency and first-language categories, but very rare combinations leave few ways to assign essays. The full labels include upper levels with relatively little evidence. A system must still make predictions for these labels, and macro F1 gives them equal weight in evaluation. A small held-out partition can therefore give uncommon decisions substantial influence over the macro result.
The authors also identify a limitation in each basic formulation. Regression uses a numerical spacing between proficiency labels even though the spacing on the underlying scale is unknown. Ordinary multiclass classification sets aside order, even though order is part of what proficiency means. The conclusion favoring regression is tied to the systems compared on ASK. The paper’s CNN ordinal experiments offer another way to use order, but they do not amount to a test of all ways of representing the scale.
For native language identification, the authors spell out why earlier results are difficult to compare directly. Their CEFR-scored subset narrows the set of language backgrounds. Some earlier experiments construct essays by sampling sentences, and some evaluate by cross-validation, which uses different portions for testing across successive fits. This paper keeps the original essays and uses a held-out split. The difference in inputs and evaluation procedure makes earlier scores unsuitable as a clean baseline for the new NLI runs.
The authors also leave a more detailed error analysis for future research. ASK contains human annotations of writing errors, which the scoring experiments remove during preprocessing. The paper proposes comparing the system’s errors with the annotated language errors to investigate where it makes mistakes. Another proposal is to encode each sentence separately, then use an additional recurrent layer to build the essay representation from sentence representations. The motivation is that information in a very long document may be hard to retain. The proposed hierarchy is a future experiment, with no tested result in the paper.
Limits visible in the design
The held-out results concern essays from the same corpus and testing context used for development and training, even though essay topics are separated. That design gives evidence about transfer to other topics within ASK. It leaves open how the same predictor would work on a different Norwegian assessment, writing produced outside an examination, or a collection with different proportions of first-language backgrounds. The exclusion of essays without later CEFR judgments is another reason to distinguish the scored subset from the wider population of Norwegian learners.
The study also measures prediction of a document label. It does not measure learners’ progress over time, the quality of feedback they receive, or the usefulness of the output when choosing an exam. An assessment that predicts the human label with a given F1 score can describe how often labels agree. Determining whether a learner benefits from that estimate would require observations of how learners use it and what follows. The study’s educational motivation is broader than the outcome it evaluates.
Differences between the original and collapsed tasks have a specific interpretation. An apparent improvement after collapsing can reflect the removal of distinctions that previously counted as errors. For example, an essay with reference A2/B1 and prediction B1 has different labels under the original scheme. On the collapsed task, the corresponding judgments agree. The higher F1 scores on the collapsed set quantify performance against the coarser categories. They give no additional evidence that the system can reliably place an essay between adjacent canonical levels.
The aggregate metrics also leave some questions about individual errors open. The confusion matrix shows distance from the reference for the joint system selected for inspection, but the paper does not report a distance-sensitive comparison for all the systems. A system that gains macro F1 can still make some errors of a different severity. Conversely, a predictor that misses an exact label may still place the essay near the assessor’s judgment. Those aspects matter especially if the output is used to distinguish neighboring stages of readiness for a test.
The distribution of proficiency by first language is relevant to interpreting the auxiliary task. Joint training may encourage the shared representation to retain properties associated with a writer’s background. In this corpus, background co-occurs with differences in the distribution of scores and exam levels. The reported joint results cannot determine whether a gain in a particular setting comes from learning features of writing quality, exploiting those associations, or both. The paper describes the distributions and first-language errors but does not establish how consistently the proficiency predictor performs across language backgrounds.
Finally, the strongest result compares complete systems selected during development. It gives a practical answer about which of those configurations did best on the held-out essays. Claims about the cause of that advantage need narrower comparisons. The differences between RNN1 and RNN2, the ambiguity about the single-task recurrent output, and the absence of a final test comparison between all the linear classification and regression alternatives limit a broader claim about which formulation is inherently best. Within those bounds, the paper establishes a reproducible comparison on ASK and identifies an attention-based recurrent configuration that leads both versions of its held-out scoring task.
What came after
No subsequent study is documented here as extending this paper’s experiments. The follow-up directions described by the authors are to relate prediction errors to ASK’s human error annotations and to test a recurrent architecture that summarizes sentences before summarizing the essay. The first would investigate what kinds of writing the scorer has difficulty judging. The second would test whether preserving sentence-level representations helps on long responses. Both remain proposals in the paper.
Cite
Cite as Stig Johan Berggren, Taraka Rama and Lilja Øvrelid. 2019. Regression or classification? Automated Essay Scoring for Norwegian. Proceedings of the Fourteenth Workshop on Innovative Use of NLP for Building Educational Applications.
@inproceedings{berggren2019regression,
title = {{Regression or classification? Automated Essay Scoring for Norwegian}},
author = {Stig Johan Berggren, Taraka Rama and Lilja Øvrelid},
booktitle = {Proceedings of the Fourteenth Workshop on Innovative Use of NLP for Building Educational Applications},
year = {2019},
doi = {10.18653/v1/w19-4409},
url = {https://doi.org/10.18653/v1/w19-4409}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/berggren-2019-regression-or-classification-automated-essay/