Elamur Research

Context-based Automated Scoring of Complex Mathematical Responses

Paper · 2020 · Aoife Cahill, James H Fife, Brian Riordan et al.

Summary

A student can write a correct equation and still leave an algebra question partly unanswered. The equation might give a valid solution while the task asks for a derivation, or it might give one root when the question calls for both. The reverse can happen too. A student can explain a valid step in words or demonstrate it by substituting values into a formula, without writing the separate equation a scoring program expects to find. This paper investigates how to assign a score to responses in which written explanations and mathematics supply evidence together.

The authors study responses to 3 algebra questions from a high-school pilot. Their approach first locates mathematical expressions, including those students typed as ordinary text. A computer algebra system checks the expressions against item-specific criteria. The scoring system can use the checks as separate features or replace each expression with a label in the response itself. The most detailed labels identify the rubric criteria an expression matches. This preserves where the mathematical evidence appears in the explanation and makes the individual matches available for inspection.

The authors compare these representations with systems that read the original mathematical notation after it has been converted to plain text. Agreement with human scores is measured using quadratically weighted kappa, which penalizes larger score discrepancies more heavily. On Item 1, the strongest system using rubric labels reaches 0.901, while the best result with unreplaced text is 0.897. On Item 2 the corresponding results are 0.829 and 0.835, and on Item 3 they are 0.894 and 0.935. A baseline that uses only the mathematical checks scores considerably lower on all the items. Human raters agree strongly with each other, with kappa ranging from 0.91 to 0.95 across the items.

The comparisons show that a rubric-linked representation can retain much of the evidence needed for scoring, with the tradeoff varying by question. The labels explain what the algebra checker recognized. The overall score still comes from a predictor trained on human judgments, and the experiments leave open how well the approach would support feedback to students or transfer to other kinds of mathematics questions. Interpretability

Deep dive: Context-based Automated Scoring of Complex Mathematical Responses

The paper tests how automated algebra scoring can combine students’ written explanations with equations checked against a grading rubric. · about 31 minutes to read

The problem and its context

The answer includes a method

The paper concerns constructed responses, questions on which students produce their own answers. The particular questions ask for written solutions to algebra problems. A response can include a sequence of mathematical steps, an explanation of what those steps accomplish, and the values obtained at the end. Scoring such work involves deciding how much of the requested reasoning the student has demonstrated.

A quadratic question in the study makes the distinction concrete. The student is asked to explain how to use the quadratic formula to obtain the requested values of the unknown. A response might give the roots with little evidence about their derivation. It might also set up the formula correctly and carry the calculation through for only one root. Each response contains a mathematical result worth recognizing. The rubric treats the completeness of the derivation and the number of solutions supplied as relevant to the award of credit.

The question also illustrates how different pieces of a response can stand in for one another. The rubric calls for identifying the coefficients of a quadratic in standard form. A student can list the coefficients separately. Correct substitution into the quadratic formula can demonstrate the same step implicitly. Similarly, when the coefficients have been found correctly, a verbal instruction to move a term across the equation can count as evidence for putting the equation in standard form. A scorer therefore needs to identify mathematical achievements even when the student distributes the evidence across different parts of the response.

The authors describe the goal in terms of construct validity. Here the construct is the mathematical work the assessment intends to evaluate. An example of an irrelevant difference would be two students expressing the same algebra with different input mechanisms. An example of a relevant difference would be one student showing both requested roots and another showing only one. A scorer intended to measure performance on the task has to handle the former variation while registering the latter.

Why existing scoring approaches addressed only part of the task

The paper describes two traditions of automated scoring. Research on short-answer scoring had studied how to assess answers written as text. Research on mathematical assessment had studied how to check answers given as equations or expressions. The authors position their contribution at the intersection. Within the earlier work they discuss, they knew of no previous attempt to automate scoring for this kind of response containing both an explanation and algebra. Natural language processing

The algebraic tradition supplies a way to handle equivalence. Students can write two expressions that look different but have the same mathematical value or meaning for the task. A computer algebra system can make that comparison directly. For a question answered by an expression alone, the result of such a check may supply the central evidence for scoring. In a written solution, it still matters, but the purpose of the expression and the surrounding work can determine how much credit it deserves.

The short-answer tradition supplies techniques for finding patterns associated with more and less successful explanations. It can represent words, phrases, parts of character strings, and grammatical relationships. In a mixed response, these techniques can potentially learn from the notation as well. A string containing familiar terms or signs might recur in high-scoring answers. The difficulty is that similarity of strings and equivalence of expressions answer different questions. A phrase or substring can be informative about how students generally answer an item, while a symbolic check identifies a specific mathematical relationship.

The choice of school algebra is tied to the format of the answer. The authors describe these mixed responses as familiar in paper-based algebra exams. They consider tasks in areas such as trigonometry and calculus plausible settings for similar questions. At levels much below algebra, students are less likely to need notation that calls for a dedicated equation editor. At higher levels, the expressions themselves may pose additional difficulties for automated analysis. The study occupies a setting where the written argument matters and enough of the mathematics is amenable to symbolic checking to make a combined approach practical to test.

How digital entry complicates the evidence

A single response field can contain words, plain-text equations, and equations entered through an editor. The editor provides a way of recording the structure of a fraction, radical, or exponent. When students type notation directly into a text field, its meaning may depend on spacing, punctuation, or conventions that vary from one student to the next. Even a single equation can be split between an editor entry and ordinary typing.

This matters before any scoring takes place. A symbolic checker can evaluate the material it receives as an expression. The mixed response still has to be divided into mathematical spans and prose. If a program relies on editor markup to find the mathematics, anything entered outside the editor can escape that check. If it treats every character in the response as possible notation, it has to decide where a formula ends and an explanatory sentence resumes.

The paper also treats the visibility of scoring evidence as a design objective. The authors are interested in being able to point to parts of a response that correspond to the rubric. They connect that objective to transparency, scrutiny of fairness, and the possibility of later feedback. These are reasons to expose how the mathematical evidence is represented. Human-score agreement is the outcome the study evaluates directly. Bias, fairness & safety

The method, step by step

Put the mathematics in a common form for detection

The original response records distinguish editor-entered mathematics from the surrounding text. Equations entered with the editor are captured in MathML, a markup format for mathematical notation. The authors render this material as plain text so that one extraction procedure can look for mathematical expressions throughout the response. It can then search the material typed directly by the student as well as the material that originated in the editor.

This conversion changes the role of the editor markup. It helps convey what the student entered, but the presence of a marked equation is no longer the sole signal for locating mathematics. If part of an equation was entered with the editor and part outside it, the search takes place over the resulting text. The decision to use a common representation is especially important here because the students frequently typed their equations without the editor.

To locate the expressions, the authors write a regular-expression script. A regular expression describes forms of text that a program can recognize by matching characters in a pattern. The script assumes that variable names are single letters. It recognizes a restricted set of functions, including square roots, absolute values, and basic trigonometric functions. A line break within a written equation causes the extractor to treat it as separate equations.

The extractor proposes spans. Their mathematical status is determined later. For instance, characters joined in the pattern of an algebraic equality can be extracted even when the equality is incorrect. That separation is important for the experiments, because an incorrect span can still be represented explicitly and a detected expression can still fail to match the rubric.

A content expert manually checked the expressions found in the responses. The paper describes mistakes involving both large gaps within expressions and missing gaps where an equation ran into prose. The letter used as the variable can also serve as a multiplication mark when students type informally. The script sometimes interpreted that mark as a variable. These are examples of ambiguity at the point of detection, before the symbolic checker has the opportunity to compare a span with the intended mathematics.

Preparing and scoring a response with rubric labels

The steps in order.

Preparing and scoring a response with rubric labelsStep 1: Render editor entries as plain text1. Render editor entries as plain textStep 2: Locate equations and expressions in the response2. Locate equations and expressions in the responseStep 3: Compare each mathematical span with rubric targets3. Compare each mathematical span with rubric targetsStep 4: Encode rubric matches as features or labels4. Encode rubric matches as features or labelsStep 5: Represent the wording and available mathematical evidence5. Represent the wording and available mathematical evidenceStep 6: Predict the response score6. Predict the response score

Check what each expression demonstrates

The checker is m-rater, an Educational Testing Service scoring engine. It uses SymPy, a computer algebra system, to determine whether an expression supplied by the student is equivalent to a target. The comparison can handle ordinary mathematical notation such as exponents, radicals, and fractions. Its purpose in this study is to recognize correct or partially correct mathematical work within a response.

The authors describe the checker as deterministic for well-formed input. Given the same input and target, the rule-based mathematical comparison returns the same result. The full scoring procedure makes additional decisions. It first has to find and represent the expression, and it still has to interpret its contribution to the response score. The symbolic outcome is thus evidence for the final prediction, with its meaning bounded by the span supplied and the target being checked.

Item 2 gives an example of the equivalence that matters. One accepted standard form is:

2x² − 40x + 195 = 0

Here x is the unknown whose values the student is asked to find. The superscript ² squares x. The number 2 is the coefficient of the squared term, −40 is the signed coefficient of the linear term, and 195 is the constant. Juxtaposition denotes multiplication in 2x² and 40x, − subtracts the linear term, and + adds the constant. The equals sign relates the polynomial to 0.

The rubric also accepts the following form:

−2x² + 40x − 195 = 0

In this form x has the same role and ² again indicates a square. The quadratic coefficient is −2, the linear coefficient is 40, and the constant is −195. The leading − gives the squared term its negative coefficient, + adds the linear term, and the second − subtracts the constant. The = sign sets the expression equal to 0. The signs throughout the polynomial are reversed together, so the equation describes the same solutions and supplies the same rubric evidence for standard form.

The rubric then asks the student to determine the coefficients and use the quadratic formula. It calls the coefficient of the squared term a, the coefficient of the linear term b, and the constant c. An accepted substitution using the first standard form can be written as:

x = (40 ± √(40² − 4 × 2 × 195)) ÷ (2 × 2)

Here x is the unknown and = gives its possible values. The 40 outside the radical comes from negating the signed linear coefficient. The ± directs the reader to use both addition and subtraction. The √ sign takes the square root of its parenthesized argument, and ² squares the 40 inside that argument. The − subtracts the product formed with the formula’s factor 4, the quadratic coefficient 2, and the constant 195. The × signs denote multiplication. The ÷ sign divides the entire parenthesized numerator by the product in the final parentheses, which is twice the quadratic coefficient.

The formula illustrates why a checker can look for mathematical equivalence instead of a preferred string. The rubric accepts an unsimplified expression for either root. It also accepts the combined plus-or-minus form as giving both. A student can use the other sign convention for the standard form and obtain equivalent answers. What matters for the scoring criterion is the mathematical content of the expression and, for the full award, the evidence that it came from using the requested method.

The paper’s sample response offers a complication that equivalence alone cannot resolve. The student’s typed standard form omits an exponent. The numbers appear in the appropriate places in the quadratic formula, and the authors use that substitution to infer that the student identified the coefficients correctly and understood the intended standard form. The student describes producing two answers but displays one root. The response earns 2 points on the item’s 0-3 scale. The example shows the kinds of judgments the rubric permits. The paper does not trace the automated prediction for that particular response.

Turn symbolic checks into features and labels

The authors use the word concept for a kind of mathematical evidence or recognizable misconception defined for an item. A concept is more specific than a general topic such as quadratics. It can be the presence of the correct standard form, the identification of a particular coefficient, or the appearance of an expected solution. Once the checker identifies a match, the scoring pipeline can represent it in more than one way.

One representation is a vector of binary features. Each feature records whether the response contains evidence of a particular kind. In Item 2, there are separate features for standard form, each of the coefficient assignments, and each of the roots. An indicator for a root is activated when the response contains a matching expression. As a response-level feature, it records presence wherever the expression appeared. It does not retain the original wording or location around the match.

The item rubric and the feature vector consequently have different levels of detail. The rubric can award credit for an achievement established by several related observations, such as getting the coefficients right. The features can record the individual pieces of that achievement. The score predictor learns how the available evidence relates to human scores. It does not simply count the indicators, and the method can also encode concepts associated with expected errors.

The other representation substitutes a label for a mathematical expression in the response itself. In one condition every detected span receives @expression@. The text still has a marker at the location of the original mathematics, but the marker gives no information about what the expression was or how it relates to the rubric. An explanation that introduces an equation remains distinguishable from one without an equation at that point. Different extracted equations at the same point all receive the same label.

Another condition uses @correct@ or @incorrect@. The checker determines which label to use by comparing the expression with the rubric. These labels carry more information about the individual span while leaving its exact notation unavailable in the transformed text. The label @incorrect@ is used for an expression that does not match the configured criteria. The label describes the outcome of that comparison and should be read at the scope of those criteria.

The most detailed condition uses @correct N@ for a match, where N stands for the set of rubric concept numbers associated with the expression. A span without a match still receives @incorrect@. The distinction among positive matches lets a predictor see where the student supplied evidence for a particular part of the rubric. The text can now distinguish a successful coefficient assignment from a successful solution even though neither appears in its original notation. Any original expression information beyond the match is discarded in this channel.

These two representations of symbolic evidence can coexist. A system may see the concept indicators for the response as a whole and also read a version in which the labels are placed in sequence. In that setup the indicators answer whether a criterion was matched somewhere. The sequence conveys where the labeled evidence occurs relative to the other material. A system that lacks the separate indicators can still receive symbolic evidence through the labels.

Represent the text and predict an overall score

The paper compares ordinary linear regression, feature-based support vector regression, and a recurrent neural network. Across these approaches the prediction target is the response score assigned by a human rater. The score reflects the item rubric and the judgment used to apply it to a complete response.

The mathematical baseline, LinReg m, is ordinary linear regression on the binary math features. A linear regression predicts by combining inputs with fitted weights. In this baseline its inputs say which mathematical concepts were found. A response with a particular set of indicators receives the prediction associated with that set, regardless of how the student explained the work. That baseline measures what these response-level checks can support with a simple predictor.

The feature-based systems use support vector regression, or SVR. Both include word n-grams and syntactic dependencies. A word n-gram is a sequence of adjacent words. It can capture expressions used to describe a step without requiring an exact match to the entire sentence. A syntactic dependency represents a grammatical relation between words, which can be informative even when the words are separated by other text. The SVRs use binary features indicating that these patterns occur in the response. N-gram Dependency parsing

The system labeled SVR csw also has character n-grams, which are spans of consecutive characters. In unreplaced text, they can capture fragments of notation as well as fragments of words and spelling variants. It has no separate features from m-rater. The system labeled SVR msw has the explicit math indicators in place of the character n-grams. With unreplaced input it can use both the matching outcomes and the words and grammatical relationships in the response. In the replacement conditions, its text features are derived from the transformed response and it retains the separate mathematical features.

The Word RNN uses a sequence of word tokens rather than hand-specified word, character, and dependency indicators. A recurrent neural network passes a representation along the sequence, updating it as it reads each token. The particular recurrent component is a gated recurrent unit, or GRU. Its gates regulate how information from the sequence is retained and updated. The unit is bidirectional, so it can build each position’s representation with information from both directions in the response.

Each word token starts with a vector representation. The GRU produces a sequence of hidden states, the internal vectors carrying information at the token positions. Max pooling condenses that sequence into a response-level representation by taking the largest value for each component across the positions. In this way a strong signal can survive even when it occurs only in one part of a long answer. The signal will have been formed in context by the recurrent layer. The pooling operation then retains the selected values without recording their positions. The authors cite Shen and colleagues for the pooling approach. Word embeddings Baseline Needs More Love

A fully connected layer maps the pooled representation to a score with a sigmoid activation. A sigmoid gives a bounded output appropriate to the scaled target used for training. The same recurrent architecture can read the original text with its notation or the text in which equations have been replaced. Its inputs in the latter case can therefore carry the results of symbolic checks without a separate response-level vector of mathematical features.

Prepare and train the recurrent scorer

The recurrent scorer uses spaCy tokenization, with adjustments for errors that arise in the noisy student responses. Tokenization divides the text into the units the scorer reads. A batch of responses is padded to a common sequence length for computation. A mask marks the padding so that those added positions are excluded during training. Tokenization

The starting word representations are GloVe vectors of 100 dimensions. Their values are updated during training. A token outside the pretrained vocabulary is assigned its own randomly initialized vector, giving the scorer a representation it can learn for that token from the task data. The GRU has 1 layer and a hidden-state size of 250. GloVe Fine-tuning

The score targets are scaled to the interval from 0 to 1 for training, and the predictions are returned to the item’s original scale for evaluation. Training minimizes mean squared error, the average squared discrepancy between the predicted and target values. That gives larger training errors greater influence on the objective. The evaluation measure is a separate agreement statistic applied to the held-out predictions and human scores.

The optimizer is RMSProp. The paper specifies a learning rate of 0. 001, with batches of 32 and a gradient clipping threshold of 10.0. The learning rate governs update size, the batch size determines how many responses are grouped for an update, and clipping limits the effect of very large gradients. Training also maintains an exponential moving average of the weights, which smooths the weight estimates by giving greater influence to more recent values.

Experiments and results

What was scored

The data come from 3 questions administered as part of a pilot in four high schools in different regions of the United States. The questions assumed one year of algebra and asked students to write solutions of the kind expected on a classroom test. Two questions involved quadratic functions. The students gave their answers digitally through an interface with an optional equation editor.

The authors report that 60% of the students used the editor. Across the equations students entered, 34% were entered through it. Those percentages describe different levels of use. A student counted as an editor user could still type another equation directly in the text. The distinction helps explain why identifying all the mathematics requires examining the full response even when structured entries are available.

More than 1,000 responses were collected for each question. Blank responses were excluded. The scoring analysis uses 924 responses for Item 1, 889 for Item 2, and 859 for Item 3. All retained responses were scored by two trained raters. Their agreement in quadratically weighted kappa ranged from 0.91 to 0.95 across the items.

The score distributions differ considerably. On Item 1, 49.35% of responses received a score of 0 and 24.35% received the highest score, 3. On Item 2, the share at 0 was 70.97% and the share at 3 was 4.95%. On Item 3, 77.65% were at 0 and 15.6% were at 3. Item 2 also had 12.49% at score 1 and 11.59% at score 2. On Item 3 the corresponding shares were 3.49% and 3.26%. These are different scoring distributions even though the items share a scale. An overall agreement figure summarizes performance over whichever mixture of scores the item elicited.

The paper reports a separate check of the expression extractor. It records 9 incorrect identifications and gives 2,672 as the denominator for that check. This finding concerns the detection stage, in which a content expert examined identified mathematics. It is distinct from agreement on the final response score. A correctly identified but mathematically wrong equation can still need a negative rubric label, and a response with several properly identified expressions can still receive the wrong overall prediction.

How the comparisons were run

The unreplaced condition, Exp 0, leaves the rendered mathematics in the response as plain text. The four scoring systems can therefore be compared on the same input condition, even though they take different kinds of evidence from it. LinReg m relies on the symbolic indicators. SVR csw can pick up mathematical strings through character features. SVR msw combines its textual features with the symbolic indicators. Word RNN learns from the token sequence.

The remaining experiments compare the three kinds of replacement. Exp 1 uses the generic expression marker, Exp 2 uses a correctness marker, and Exp 3 includes the matched concept numbers where applicable. Each replacement condition is evaluated with SVR msw, SVR csw, and Word RNN. The mathematical regression serves as a baseline in Exp 0, where its separate indicators already represent the whole input it uses.

The authors use 10-fold nested cross-validation for the system and input combinations. They describe the split as 80% for training, 10% for development, and 10% for testing. The development set is used for hyper-parameter tuning. With those choices made, the predictor is trained on the training and development portions together and applied to the held-out test portion. The test folds do not overlap. The authors combine the predictions from all test folds when they compute the main agreement scores against rater 1.

Quadratically weighted kappa measures agreement on ordered ratings while accounting for expected agreement from the rating distributions. A prediction close to the human rating receives a smaller penalty than a prediction far away. In this task that reflects the difference between assigning nearby levels of partial credit and placing a response at the opposite end of the scale. The main tables give this statistic for each item. They do not average the items into a single headline score.

Results with unreplaced mathematical notation

The weakest system on all the items is the mathematical regression. It obtains 0.506 on Item 1, 0.457 on Item 2, and 0.587 on Item 3. An input consisting of symbolic matches gives the regression access to recognized mathematical achievements, yet the resulting agreement is markedly lower than that of the approaches using text. The comparison combines a change of predictor with a change of inputs, which matters when deciding what causes the gap.

On Item 1, SVR msw has the highest kappa in Exp 0 at 0.897. Word RNN obtains 0.887 and SVR csw obtains 0.870. On Item 2, Word RNN leads with 0.835, followed by SVR msw at 0.797 and SVR csw at 0.789. The order changes again on Item 3, where SVR msw gives 0.935, SVR csw gives 0.933, and Word RNN gives 0.923. The seemingly small margins between the text-capable systems later receive a separate significance analysis.

Exp 0 scoring systems on Item 1, quadratically weighted kappa

The SVR with explicit mathematical features leads the unreplaced-text comparison, while mathematical regression trails the systems that read the explanation.

Exp 0 scoring systems on Item 1, quadratically weighted kappaLinReg m: 0.506LinReg m0.506SVR csw: 0.870SVR csw0.870Word RNN: 0.887Word RNN0.887SVR msw (this paper): 0.897SVR msw (this paper)0.897
The numbers
System or settingquadratically weighted kappa
LinReg m0.506
SVR csw0.870
Word RNN0.887
SVR msw (this paper)0.897

The ranking across items shows why the comparison keeps the questions separate. The word-sequence scorer leads on Item 2, even though the SVR with explicit mathematical features leads on the other items. Item 3 produces the highest Exp 0 kappas for both SVRs. Its very different score distribution is part of the evaluation context. The study reports performance on that distribution, leaving per-score error patterns for a different analysis.

Results when the expressions are replaced

Exp 1 removes the content of each detected expression and leaves a generic marker. SVR msw obtains 0.888 on Item 1, 0.783 on Item 2, and 0.897 on Item 3. Its separate indicators still carry symbolic information. SVR csw, with the same generic replacement but no separate mathematical indicators, obtains 0.788, 0.593, and 0.664 on those items. Word RNN obtains 0.767, 0.649, and 0.725. All three systems score below their own unreplaced results on each item.

Exp 2 supplies the correctness status of each expression in place. On Item 1, SVR msw reaches 0.891, SVR csw 0.827, and Word RNN 0.842. On Item 2, the respective kappas are 0.776, 0.689, and 0.75. On Item 3, they are 0.889, 0.867, and 0.887. Both systems without a separate math vector improve on every item compared with the generic marker. For SVR msw, which already receives the criteria as separate features, the change has mixed results.

Exp 3 supplies concept labels. On Item 1, Word RNN reaches 0.901, the highest observed result on the item. SVR msw reaches 0.894 and SVR csw reaches 0.882. On Item 2, Word RNN leads the replacement systems with 0.829, followed by SVR msw at 0.781 and SVR csw at 0.776. On Item 3, SVR msw leads the replacement systems at 0.894, while SVR csw obtains 0.891 and Word RNN obtains 0.888. The strongest results with concept labels fall below the strongest unreplaced results on Items 2 and 3.

Word RNN input variants on Item 2, quadratically weighted kappa

Concept labels recover much of the agreement lost when the expressions are replaced with an undifferentiated marker.

Word RNN input variants on Item 2, quadratically weighted kappaExp 1 generic expression mark: 0.649Exp 1 generic expression mark0.649Exp 2 correctness labels: 0.75Exp 2 correctness labels0.75Exp 3 rubric concept labels: 0.829Exp 3 rubric concept labels0.829Exp 0 unreplaced text (this paper): 0.835Exp 0 unreplaced text (this paper)0.835
The numbers
System or settingquadratically weighted kappa
Exp 1 generic expression mark0.649
Exp 2 correctness labels0.75
Exp 3 rubric concept labels0.829
Exp 0 unreplaced text (this paper)0.835

SVR csw input variants on Item 3, quadratically weighted kappa

The character-feature scorer gains agreement as replacement labels become more informative, with unreplaced notation giving the highest result.

SVR csw input variants on Item 3, quadratically weighted kappaExp 1 generic expression mark: 0.664Exp 1 generic expression mark0.664Exp 2 correctness labels: 0.867Exp 2 correctness labels0.867Exp 3 rubric concept labels: 0.891Exp 3 rubric concept labels0.891Exp 0 unreplaced text (this paper): 0.933Exp 0 unreplaced text (this paper)0.933
The numbers
System or settingquadratically weighted kappa
Exp 1 generic expression mark0.664
Exp 2 correctness labels0.867
Exp 3 rubric concept labels0.891
Exp 0 unreplaced text (this paper)0.933

The replacement results describe two changes at once. Precise mathematical labels add a recognizable relation to the rubric. Replacement also removes the original notation, which can carry predictive information even if a scorer never compares the expressions algebraically. Exp 3 demonstrates a useful combination of evidence visibility and agreement for the questions tested. Its outcome varies by item and by the way the predictor receives the mathematical information. Evaluation & benchmarks

What the ablations show

How much evidence survives each replacement

The replacement experiments give the clearest controlled comparisons in the study. Consider the same scoring system as it moves from the generic marker to correctness labels to concept labels. The response still supplies the explanatory words. The part under intervention is the information available at the locations of the detected mathematics. The generic marker preserves presence, the correctness label adds a result of checking, and the concept label identifies what the successful match demonstrates.

For SVR csw and Word RNN, the generic condition removes direct access to the particular expressions and gives neither system a separate mathematical feature vector. Their decline shows that the original mathematics provides evidence these systems were using. The remaining scores also show that the prose and the places where expressions occur still convey information. The effect is especially distinct on Item 3, where the unreplaced forms do well and the undifferentiated markers give much lower agreement.

Adding correctness information helps both scorers on every item. This is evidence that a local distinction between matching and unmatched expressions supplies scoring information when those expressions are otherwise hidden. It is not necessary for the scorer to read the original expression to obtain that benefit. The result comes through a label generated by the algebra checker and placed where the expression appeared.

Adding concept identity improves the observed kappas further for those two scorers across the items. A correct expression is more informative when the predictor can distinguish the kind of work it shows. A generic positive label treats a valid standard form and a valid root alike. The concept-specific representation gives the predictor a way to distinguish their roles, which matters when the rubric awards credit for several different achievements rather than rewarding any correct equation to the same degree.

The gains are uneven. On Item 2, the recurrent scorer nearly recovers its unreplaced result once given the rubric concepts. On Item 3, the comparison between the raw character-feature result and its rubric-labeled counterpart still favors raw notation. The experiments do not identify which particular raw strings explain that difference. It could reflect evidence beyond the rubric targets or differences in how the scorer learns from strings and labels. Both channels are evaluated as complete representations, without a trace showing what each predictor relied on for each response.

Why separate mathematical indicators change the pattern

SVR msw behaves differently as the labels become richer. The generic-marker condition leaves it with binary indicators that still tell it which criteria appeared somewhere. In this condition it leads the two scorers without a separate vector on all the items. This comparison shows the value of having access to substantive mathematical evidence when the text itself has been stripped of that content. It also involves different predictor inputs, so the ranking describes the tested systems instead of the effect of adding an identical feature to every system.

The correctness and concept labels make smaller and less consistent changes for SVR msw. On Item 1 its kappa moves from 0.888 with the generic marker to 0.891 with correctness and 0.894 with concept identity. On Item 2 it has 0.783 with the generic marker, 0.776 with correctness, and 0.781 with concepts. On Item 3 it has 0.897, 0.889, and 0.894 in those conditions. Its response-level features already identify specific mathematical achievements, so the extra information in the label may overlap with evidence already accessible to it. What changes is the availability of that information in the transformed text.

The study motivates this part of the design by emphasizing context. There are two relevant comparisons. The mathematics-only baseline shows how a simple response-level score predictor performs without the written explanation. The replacements then vary what the text carries at the position of an expression. Taken together the experiments show that the scoring systems benefit from evidence that the bare mathematical indicators omit, and that the type of information restored at an expression position matters.

A narrower claim about order would require holding expression information constant while changing only where it is placed. Here an indicator and a sequence label also differ in how the scorer accesses them, and the generic marker removes identity from the sequence. A gain from concept labels is evidence for the usefulness of that representation. The experiment cannot assign the entire gain to position, wording near the expression, or the presence of the concept itself.

What the character features and recurrent system reveal

On the unreplaced text, the SVR with separate mathematical features has a higher observed kappa than the one with character n-grams on each item. The comparison replaces one group of inputs with another while keeping the use of word and syntactic features. It asks whether a scorer with explicit mathematical checks is stronger than one that can learn fragments of the raw text. The reported statistical tests do not find a significant difference between these SVRs on any of the items.

The generic-marker experiment helps interpret the result. In Exp 0, SVR csw can see fragments of the equations. In Exp 1, after replacement, it has only the generic markers, surrounding text, and their derived features. Its agreement falls. Together with the strong unreplaced result, this supports the authors’ conclusion that character features capture substantial information associated with the expressions. It does not establish that those features can recognize algebraic equivalence the way m-rater can. Agreement with the final human score can be high as long as enough of the useful evidence recurs in forms the predictor recognizes.

Word RNN also achieves high agreement on the unreplaced responses, despite having neither a character n-gram feature vector nor the separate mathematical indicators. Its success shows what the word-sequence representation can support in this comparison. It performs best on Item 2 and comes close to the leading results on the other items. There is no significant difference between it and SVR msw on any item in Exp 0. The raw-text comparison therefore gives no general statistical ranking of the two approaches across these items.

The different input designs suggest why both can work. The explicit checks make some mathematical equivalences available directly. The recurrent representation can learn recurring patterns involving words and pieces of the mathematical text as tokenized. The study does not measure which algebraic equivalences the recurrent system could recognize on its own. Its strong score agreement answers a response-scoring question, whereas m-rater’s comparison answers a question about a given expression.

How the statistical comparisons qualify the rankings

The paper pools held-out predictions to give the main kappa results. For the significance analysis, it instead compares performance across the 10 folds item by item. The same item supplies repeated comparisons across competing systems. The authors note that the test folds are distinct while training data can overlap. They treat the fold results as related observations.

The appendix compares 6 configurations for each item. It includes the 4 systems from Exp 0 and the concept-label configurations of SVR csw and Word RNN from Exp 3. The Friedman test evaluates differences among configurations across the repeated folds. The Nemenyi procedure then makes pairwise comparisons. The appendix reports the fraction of items on which each selected pair shows a significant difference, instead of listing an individual significance outcome beside each pooled kappa.

Several comparisons favor systems using text over the mathematics-only baseline. Against LinReg m, the unreplaced Word RNN shows significant differences on 3/3 of the items. The unreplaced SVR msw shows a difference on 2/3, and the unreplaced SVR csw does so on 1/3. These fractions describe significance outcomes across items, while each item-level test uses the folds as repeated observations.

Some apparent differences in the main tables have little statistical support in these tests. The appendix records no significant differences between the unreplaced SVR msw and either of the selected Exp 3 systems. It likewise records none between the unreplaced and concept-labeled Word RNN. The concept-labeled SVR csw and the unreplaced Word RNN are an exception among the comparisons involving the labels, with a significant difference reported on 1/3 of the items. The two concept-label systems tested against each other have no significant difference in the appendix.

The authors judge the rubric-linked results competitive overall with the unreplaced alternatives. That conclusion is about the size of the observed scores and the selected significance comparisons. The comparisons do not establish that every rubric-linked configuration is equivalent to every unreplaced one. They also do not assign a significance result to each small change between Exp 1, Exp 2, and Exp 3. The ordered gains in the replacement tables describe the observed pattern, and the appendix addresses a more limited set of pairs.

Limitations

Limits the authors identify

The authors limit their extraction rules to the type of notation expected in the pilot. Single-letter variables, a restricted range of functions, and splitting at line breaks make the procedure manageable on these answers. A response that uses multi-letter names or lays out a single calculation over several lines can fall outside those assumptions. The paper’s account of spacing and multiplication ambiguities shows that variation in input matters even within the intended scope.

The claim about deterministic scoring applies to well-formed mathematical input. It concerns the behavior of m-rater when asked to evaluate an expression. The complete system receives mixed text, locates possible expressions, and derives matches from them. Correctness at the symbolic comparison stage cannot settle whether the detector recovered the span the student intended. Nor does a correct span establish how the student used it in the full explanation.

The authors distinguish the objective of making the scorer more transparent from the future possibility of offering feedback. The experiment exposes correspondences between mathematical spans and rubric criteria. It evaluates agreement with human scores. It does not evaluate messages shown to students, the intelligibility of those messages, or whether receiving them improves subsequent work. References to fairness and accountability motivate making evidence inspectable. The paper reports no direct test of those outcomes.

The authors also acknowledge the dependence among cross-validation results that arises from overlapping training data. The tests use repeated observations within each item rather than treating the folds as independently collected datasets. The decision to assess each item individually keeps the inference tied to the questions studied. It cannot supply independent evidence from additional prompts or administrations.

Limits implied by the study design

The evaluation tests predictions for held-out responses to the same questions. A successful result indicates that the scoring system can learn to assess further responses drawn from the pilot data for a configured item. A new question would bring its own rubric and its own set of mathematical targets. The paper gives no test in which an unseen item is scored using a configuration learned from other items, so the results leave the setup effort and agreement on new questions unresolved.

The schools give the study responses from several locations, but the paper reports per-item results for the pilot as a whole. It does not test transfer to a separate school population or to another administration. Input habits are relevant here as well as mathematical proficiency. If students respond with different conventions for functions, typographic symbols, or line breaks, the extraction stage may face a different mix of cases. The manual check characterizes errors under the notation and interface used in the study.

The charts and tables also give aggregate agreement. On Item 3, for example, the pilot has a large share of score-0 responses and relatively small shares at the middle scores. Quadratically weighted kappa accounts for expected agreement and the seriousness of score discrepancies. It still compresses all the decisions into a single value. A high result leaves open whether a scorer is especially good at recognizing fully developed answers, at identifying responses that earn no credit, or at distinguishing the middle levels. Per-score predictions or examples of disagreements would be needed to make those distinctions.

Human-human agreement supplies a reference for interpreting the automated results, while the evaluation uses rater 1 as the comparison target. Matching that rater gives evidence about reproducing the judgments used in the experiment. The paper does not use an independent assessment of mathematical understanding as the target. A mismatch can signal a scoring error, a difference in how evidence is interpreted, or a difficult response on which human judgments could also vary.

The manual extraction check establishes that relatively few incorrect identifications were observed in the reported review. The paper describes the review in terms of checking the identified expressions. It does not give separate precision and recall estimates or a breakdown of missed spans by type. The final agreement results likewise do not attribute individual score errors to detection, symbolic matching, text processing, or prediction. The paper therefore cannot locate every source of error in the pipeline from its headline kappa values.

The mathematical evidence is easier to inspect when the expression carries a rubric label. That transparency applies to the match itself. The trained predictor still combines its inputs to estimate the score, and the paper does not give a complete explanation for every individual prediction. A label can tell a reader that an expression matched a root criterion. By itself it cannot establish how much that match contributed to the output, how the surrounding words influenced it, or whether the score would change if the expression were removed.

This boundary is especially important for negative labels. A checker configured for several expected achievements can give a negative result for a span that fails to match them. That alone leaves open whether the span is a mathematically false statement, a legitimate intermediate step outside the target set, or something the detector represented imperfectly. A useful explanation of a full score would have to account for those possibilities and for the way the rubric treats the response as a whole.

Finally, the strong agreement under the concept-label conditions does not establish an accuracy-preserving result for every application. The best rubric-linked result exceeds the best unreplaced result on one item and falls below it on the others. The small collection of questions and selected significance comparisons support a finding of competitive performance in the pilot. They do not provide an equivalence margin or the range of effects to expect across different tasks.

What came after

The paper leaves a concrete empirical question about extending the rubric connection beyond scoring. Its experiments establish how symbolic matches can be incorporated into the representation of a written solution and how the resulting scores agree with human judgments. The authors identify student feedback as a possible application. Whether students can interpret feedback derived from those matches, and whether it reflects the reasoning their answers contain, remain open questions in the account of this work.

Cite

Cite as Aoife Cahill, James H Fife, Brian Riordan, Avijit Vajpayee and Dmytro Galochkin. 2020. Context-based Automated Scoring of Complex Mathematical Responses. Proceedings of the Fifteenth 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/2020.bea-1.19

@inproceedings{cahill2020context,
  title = {{Context-based Automated Scoring of Complex Mathematical Responses}},
  author = {Aoife Cahill, James H Fife, Brian Riordan, Avijit Vajpayee and Dmytro Galochkin},
  booktitle = {Proceedings of the Fifteenth Workshop on Innovative Use of NLP for Building Educational Applications},
  year = {2020},
  doi = {10.18653/v1/2020.bea-1.19},
  url = {https://doi.org/10.18653/v1/2020.bea-1.19}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/cahill-2020-context-based-automated-scoring-complex/