Prompt- and Trait Relation-aware Cross-prompt Essay Trait Scoring
Paper · 2023 · Heejin Do, Yunsu Kim and Gary Geunbae Lee
Summary
An essay can be fluent and well organized while answering a different question from the one it was assigned. That creates a problem for automated essay scoring when there are no graded responses to the assignment yet. A scorer trained on earlier assignments can look for features that tend to transfer, such as readability, but those features give it little purchase on whether the writer followed the new instructions. A single overall grade also leaves students and teachers with limited information about where an essay succeeds or falls short. ProTACT addresses both problems by predicting an overall grade and separate rubric scores for essays written to a prompt held out from supervised training.
The scorer uses the assignment in two ways. It reads the instructions alongside the essay and uses attention to select essay information in light of the prompt. It also estimates how much of the essay is concentrated in its strongest statistical topic. That second signal can be extracted from ungraded essays and is available when the target prompt has no rated responses for training. A separate change to the training objective uses relationships among rubric scores. When human scores for two traits are sufficiently correlated, ProTACT is encouraged to give those traits similar patterns of predictions across essays. It still learns to predict each trait’s own grades.
The authors test the approach on ASAP and ASAP++, holding out each writing prompt in turn. On the held-out test essays, ProTACT reaches an average of 0.592 across prompts and 0.586 across traits on Quadratic Weighted Kappa, a measure of agreement with human ratings. The corresponding figures for the authors’ implementation of the cross-prompt trait-scoring baseline are 0.554 and 0.547. ProTACT improves every prompt-level and trait-level aggregate in the main comparison. A particularly difficult case is Prompt 7, a narrative assignment for which the only other narrative prompt supplies 723 training essays of that type. On Prompt 7, Content rises from 0.398 to 0.501.
The component comparisons help explain where the gains come from. Reading the prompt directly helps some instruction-related traits and can weaken some scores concerned with writing structure or mechanics. The topic feature and direct attention to the instructions work better together than either addition does on its own. The trait-similarity objective raises every trait-level average at the final step of the authors’ comparison. The evidence comes from English essays in the combined benchmark, and the topic procedure uses ungraded essays from the held-out prompt at test time. The evaluation therefore shows transfer without target-prompt grades under a setup that can use a collection of target responses.
Deep dive: Prompt- and Trait Relation-aware Cross-prompt Essay Trait Scoring
ProTACT scores essays on unseen prompts by combining attention to the assignment, a topic-focus feature, and a loss that links related writing traits. · about 35 minutes to read
The problem and its context
A new assignment changes what counts as a good answer
The writing prompt is part of the task that a grader has to interpret. It can specify a genre, establish a subject, tell the student to draw on a reading, or ask for a particular kind of explanation. The benchmark in this paper includes an assignment asking students to persuade newspaper readers about the effects of computers, another asking them to explain the mood of a memoir using specific details, and a narrative assignment about patience. A clear sentence can contribute to any of these responses. The relevance of what the sentence says depends on the assignment it answers.
A scorer can learn that distinction indirectly if it has enough rated responses to the same assignment. Their grades provide examples of what human raters considered relevant, sufficiently developed, or well organized for that task. When an assignment changes, those examples may cease to be a good guide to its subject and demands. The paper takes the case in which graded essays for the new prompt are unavailable. The instructions themselves are still available, and at scoring time the system has the responses whose grades it must predict.
The second issue is the kind of grade the system returns. A holistic grade expresses an overall judgment. Trait grades follow separate parts of a rubric, such as Content, Organization, Word Choice, and Conventions. A piece can develop ample material while arranging it poorly, or use conventional grammar while giving an incomplete response. The paper’s task requires the scorer to provide the applicable trait grades as well as the overall grade. The rubric can change with the prompt, so the set of available labels also varies across essays.
These requirements interact in a way that matters for training. If a target assignment calls for a Narrativity grade, a source assignment with no such grade supplies no direct examples for that output. Its essays can still help train representations that are shared across traits. Similarly, a source assignment that does include Narrativity may teach something about that dimension without showing how it is judged for the new topic. The scorer must transfer what it can from other assignments while making sense of the instructions and the available rubric for the assignment in front of it.
What earlier scoring systems supplied
As the authors describe the field, much of automated essay scoring had focused on predicting a holistic grade for a prompt represented in training. Early systems treated grades as regression or classification targets and used features derived from essays. Later work learned representations of the text itself. A line of research built those representations hierarchically, deriving information about sentences from their words and combining the sentence representations to grade a document. The authors identify this hierarchy in earlier neural scoring work and in the recurrent convolutional approach that underlies their principal baseline. A Neural Approach to Automated Essay Scoring · Attention-based Recurrent Convolutional Neural Network for Automatic Essay Scoring
The paper also describes work adapting pretrained systems to essay scoring. One cited approach trained with both a regression objective and a ranking objective. Another learned essay representations at several scales. Such work addressed how to represent an essay and predict its holistic quality in a prompt-specific setting. A related study encoded a source passage for essays that depended on a reading and used attention to connect it with the response. ProTACT takes the assignment instructions as its additional text. For an essay about a memoir, that means encoding the request to explain the mood and support the answer, even though verifying the accuracy of the supporting details would also require knowledge of the memoir.
Cross-prompt scoring had already made transfer an explicit goal. In the account given by the authors, a common strategy was to emphasize features whose meaning generalizes across assignments. The Prompt Agnostic Essay Scorer, or PAES, uses measures of length, readability, complexity, variation, and sentiment. A number measuring readability can be calculated for a piece on patience as readily as for an argument about censorship. That makes such features useful to a scorer that encounters new subject matter. The same choice removes much of the information one would need to distinguish a relevant answer from a readable digression.
Trait scoring had developed along another line. Some earlier systems extended a holistic scorer by giving it several outputs. Others assigned a separate predictor to each trait. The paper’s closest predecessor, Cross-prompt Trait Scoring, or CTS, combined transfer across prompts with trait-specific processing. It used general essay features and allowed a trait to attend to representations computed for other traits. This meant that useful cross-trait information could already travel through the architecture. The supervision nonetheless treated closeness to the observed scores as the direct training objective, without explicitly requiring the patterns of predictions to reflect observed relationships among traits.
ProTACT retains that useful division between shared and trait-specific processing. Its additional question is what kinds of dependence a scorer should learn. One dependence concerns the essay and the instructions. The other concerns scores from different parts of the rubric. These are different sources of information. Prompt text is available for a new assignment, and the scorer can read it at prediction time. Relationships between human-assigned scores are learned from the rated training essays and affect how the scorer is fitted. The method assigns each a separate role.
The method, step by step
From the essay and the assignment to a set of grades
ProTACT has a learned text representation and a set of engineered essay features. Its text pipeline builds sentence representations, uses them to represent the essay for each rubric trait, and processes the prompt in a parallel branch. Attention then connects the two branches. The feature pipeline supplies general descriptions of the essay and a measure of concentration in a statistical topic. Each scoring branch receives those features and can consult the representations made for the other traits. Training combines errors on the actual grades with a separate penalty for insufficient similarity between selected patterns of predictions.
The two ways of using prompt information are easiest to distinguish with a source-dependent assignment. In the benchmark’s memoir task, the instructions ask the student to characterize the mood and support the characterization with details. Encoding those instructions gives the scorer words and phrases that can guide attention to parts of the student’s essay. An essay’s statistical topic distribution can offer a different clue, namely how much of the essay is occupied by a common theme. The topic calculation can yield a strong signal even when the words used to establish the theme differ from those in the instructions. The system learns to use both signals alongside information about how the essay is written.
How ProTACT represents essays and learns rubric scores
The steps in order.
Representing the essay through its sentences
The essay branch starts with part-of-speech tagging. Each word receives a grammatical category, and the category is mapped to a dense vector. The authors use NLTK for tagging. Representing the essay through these tags lets recurring patterns of grammar be recognized across writing topics. A sequence of grammatical categories can occur in an essay about computers, a response to a memoir, and a story about patience even when the words in those essays differ. The aim is to learn transferable patterns without making the main essay encoder depend heavily on the vocabulary of the training prompts.
The first learned transformation is a convolution over a sentence. A convolution applies the same set of learned weights to successive windows. Each resulting vector can respond to a local pattern in the grammatical sequence. In the paper’s notation, the calculation for a window is:
cᵢ = f(W_c · [xᵢ : xᵢ₊ₕw₋₁] + b_c)
Here i is the starting position of the window, x denotes the input vectors, and the brackets denote the span beginning at i and ending at i + h_w − 1. The width is h_w. The matrix W_c holds the convolution weights and b_c is its bias vector. The dot denotes multiplication by the weight matrix, f is the activation applied to the result, and cᵢ is the window’s feature vector. The subscript c identifies convolution parameters.
A sentence may yield several such vectors. Attention pooling combines them into a single representation by learning how much weight to give each position. The pooling operation first transforms each local feature into a vector used to determine its importance.
aᵢ = tanh(W_a · cᵢ + b_a)
The vector aᵢ is the transformed feature at position i. The window feature cᵢ is multiplied by the attention matrix W_a and shifted by the bias vector b_a. The function tanh is the hyperbolic tangent, applied to the result. The subscript a identifies the parameters used in the attention transformation.
uᵢ = exp(w_u · aᵢ) / Σⱼ exp(w_u · aⱼ)
The learned vector w_u turns each attention vector into a scalar through a dot product. The function exp exponentiates that scalar. The denominator sums those exponentiated values over positions indexed by j, which normalizes uᵢ, the weight for position i, relative to the other positions being pooled. The subscript u labels the parameter used to compute these weights.
s = Σᵢ uᵢ cᵢ
The sentence representation s is the sum over positions i of the feature vectors cᵢ, each scaled by its attention weight uᵢ. The pooling reduces the sequence to a vector while letting the contribution of the windows vary. The paper also uses attention pooling later, where the items to be combined are representations from higher in the architecture.
The sentence encoder is shared among the rubric outputs. This creates a common place to learn from graded essays even when their rubrics differ. An essay with Organization and Conventions labels can contribute to the shared encoding layers, and so can an essay with Prompt Adherence and Narrativity labels. Above that level, separate trait-specific branches can learn to use different aspects of the sentence information. The overall grade receives a branch of its own.
Relating sentences before reading them in order
Each trait branch receives the sequence of sentence representations. The first operation at this level is multi-head self-attention. In attention, a query determines which keys receive weight, and those weights govern the contribution of the corresponding values. In self-attention, the queries, keys, and values originate in the same sequence. In this case, a sentence can draw on another sentence directly even when several sentences intervene. The heads are separate learned projections of the sequence, so the branch can represent more than one pattern of connections. The authors draw this operation from the work on the Transformer and attention. Attention Is All You Need
Hⱼᵢ = Att(SWᵢⱼ₁, SWᵢⱼ₂, SWᵢⱼ₃)
The matrix S contains the sentence representations for the essay. Here j identifies a trait branch and i identifies one of its attention heads. The learned matrices Wᵢⱼ₁, Wᵢⱼ₂, and Wᵢⱼ₃ project the same input into queries, keys, and values, respectively. Juxtaposition denotes matrix multiplication. Att is scaled dot-product attention, and Hⱼᵢ is the sequence of outputs of head i for trait j. The projections let each head determine which parts of the essay to combine and what information to take from them.
MH(S)ⱼ = Concat(Hⱼ₁, …, Hⱼₕ) WⱼO
The expression MH(S)ⱼ is the multi-head output for trait j on sentence matrix S. Concat joins the outputs Hⱼ₁ through Hⱼₕ along the feature dimension, and h is the number of heads. The learned matrix WⱼO transforms the joined output for the branch. Its O identifies the output projection. After this step the branch has a sequence whose positions can already contain information from other sentences.
A recurrent layer processes that sequence in order. The paper uses a long short-term memory layer, or LSTM, to add sequential processing after the attention step has related positions across the essay. This order matters to the authors’ reasoning. Self-attention gives the branch a way to connect sentences across a distance. The recurrent layer processes those enriched representations as a sequence, where their position in the essay can still matter. The paper writes the recurrence as follows:
hⱼₜ = LSTM(mⱼ,ₜ₋₁, mⱼₜ)
Here j is the trait, t is the position in the sequence, and hⱼₜ is the resulting hidden representation. The m terms refer to the attention output for that trait at the indicated positions, with t − 1 denoting the preceding position. LSTM names the recurrent operation. The equation gives the position of the recurrent layer in the architecture and leaves its internal state and gate equations implicit. Attention pooling follows the LSTM. At this level, the pooled information describes the essay from the point of view of a particular scoring task.
Using the prompt to select essay evidence
The prompt branch also passes through embeddings, convolution and pooling, multi-head self-attention, recurrent processing, and attention pooling. It has a different need at the embedding stage. The difference between instructions asking a student to describe a mood and those asking the student to develop an argument is conveyed in part by the choice of words. The prompt branch therefore augments part-of-speech information with pretrained GloVe word vectors. The essay’s grammatical encoding and the prompt’s lexical information serve different purposes in the design.
The two streams meet in essay–prompt attention. The prompt representation supplies the queries, and the essay representation supplies the keys and values. With that assignment, prompt-derived queries place weight on essay-side information. The attended values come from the essay. In the memoir example, the instructions might make a part of the response that discusses the mood useful for a trait concerned with following the assignment. The operation learns which relationships help score the training essays. The paper gives the inputs to attention and the surrounding layers as its architectural description.
The essay–prompt attention output passes through another LSTM and attention pooling. The resulting vector, denoted paⱼ for trait j, summarizes essay information after conditioning it on the prompt. The different branches allow the same assignment to inform each grade through a different learned representation. That is useful because an instruction asking for evidence bears directly on some parts of a rubric, while an output concerned with grammatical conventions may draw primarily on properties of the essay itself.
Measuring concentration in a topic
Alongside the learned representations, ProTACT retains the general essay features used by the baseline. These give the scoring branches information about qualities such as length, readability, and textual variation. The authors add a scalar they call the topic-coherence feature. A high value means a statistical account of the essay assigns much of its topic probability to one topic. The authors use latent Dirichlet allocation, a method for finding topic distributions from a collection of texts. Topic modeling · Latent Dirichlet Allocation
For this purpose, each essay is a document. The number of topics is set to the number of prompts represented in the collection used for topic extraction. The topics are inferred from the collection of essays. A document receives a distribution across these topics, and the largest probability in that distribution becomes its feature. In an example in the paper, a distribution gives topic 0 a probability of 0.8337 and topic 5 a probability of 0.16295. The essay’s topic-coherence feature is 0.8337. The feature records concentration and discards the identity of the maximizing topic.
The distinction between concentration and adherence is important to the paper’s design. A concentrated essay has a prominent topic according to the statistical analysis. Its largest topic probability contains no direct comparison with what the instructions ask the student to do. The authors therefore examine whether inferred topics tend to align with actual prompt groups and whether higher feature values accompany higher grades on relevant traits. The essay–prompt attention branch supplies an additional signal based on the instructions themselves. The two signals can speak to different properties of the same response.
The extraction procedure also has a specific division between training and testing. LDA is run separately for each training collection, which omits essays of the target prompt. For the split in which Prompt 1 is held out, the training topic calculation uses essays for prompts 2–8. For the testing feature calculation, essays of the target prompt are included in the collection used to extract topics. The authors use Gensim, with 12 passes for the training extraction on essays from seven prompts and 15 passes for the test extraction on essays from eight prompts. This procedure uses no target grades in topic extraction. It can, however, use the ungraded batch of target responses to learn the recurring subject matter relevant to the feature.
Sharing information just before the grade is predicted
The prompt-aware vector for each branch is joined with the general essay features and the topic-coherence feature. The paper writes that joining operation as:
conⱼ = [paⱼ; f]
Here j identifies the trait, paⱼ is its prompt-aware essay vector, and f is the vector of engineered features for the essay. The brackets with a semicolon denote vector concatenation. conⱼ is the resulting vector, with the learned and engineered information retained as separate coordinates. The symbol f here names a feature vector. In the convolution it named an activation.
CTS already used attention across traits, and ProTACT applies that mechanism to its enriched vectors. The collection of trait representations is:
A = [con₁, …, con_M]
The symbol A denotes the assembled representations for the essay. Each con is associated with its indexed trait, and M is the number of prediction branches, including the overall grade. The ellipsis covers the intervening trait indices. In calculating cross-trait attention for a target branch, the system masks that branch’s own representation so the attention calculation draws information from the remaining branches.
vᵢʲ = exp(score(conⱼ, A₋ⱼ,ᵢ)) / Σₗ exp(score(conⱼ, A₋ⱼ,ₗ))
Here j identifies the target trait and i identifies a candidate trait in the collection with that target masked. A₋ⱼ,ᵢ denotes the candidate’s representation in that collection, and A₋ⱼ,ₗ denotes the entry indexed by l in the normalization. The function score is the attention scoring function for the target vector conⱼ and a candidate vector. The exponential function exp and the sum over l turn those scores into normalized attention weights vᵢʲ. The operation lets a branch weight the other branches according to their relevance to its current prediction.
tⱼ = Σᵢ vᵢʲ A₋ⱼ,ᵢ
The vector tⱼ is the weighted combination of the remaining trait representations for target j. The sum goes over candidate indices i, each supplying its vector A₋ⱼ,ᵢ and weight vᵢʲ. This attends across trait representations for a single essay. The additional training objective described below looks across essays to compare patterns of scores.
finalⱼ = [conⱼ; tⱼ]
The vector finalⱼ joins the target trait’s own enriched representation conⱼ with the cross-trait summary tⱼ. The brackets with a semicolon again mean concatenation. Keeping both vectors gives the output layer direct access to evidence prepared specifically for its trait as well as evidence selected from its neighbors.
ŷⱼ = sigmoid(wʸⱼ · finalⱼ + bʸⱼ)
The predicted score for trait j is ŷⱼ. The learned vector wʸⱼ takes a dot product with finalⱼ, and bʸⱼ adds the output bias for that trait. The superscript y identifies the grade-prediction parameters. The sigmoid maps the scalar result to its bounded output range. Each trait can therefore learn a different readout using the representation available to its branch.
Learning from grades and relationships among grades
The direct score objective is mean squared error. It acts on the difference between a predicted grade and its human-assigned counterpart. To see the need for the other objective, consider Content and Prompt Adherence for the same set of essays. If the essays with higher human Content scores also tend to have higher human Prompt Adherence scores, the authors want fitting the system to preserve some of that joint pattern. Predicting each grade accurately is still a goal. The added penalty addresses a property of the score vectors that is absent from an error calculated separately for each grade.
Coverage varies by assignment, so the paper uses a mask in loss calculation. For essay i, the mask records which rubrics have an observed grade.
maskᵢⱼ = 1 if Yⱼ ∈ Yᵢ, and 0 otherwise
Here i indexes an essay, j indexes a trait, Yⱼ names the trait at index j, and Yᵢ is the set of traits graded for essay i. The membership sign ∈ tests whether that trait belongs to the essay’s graded set. The value 1 keeps the score position and 0 masks it. The paper applies the same mask to the gold and predicted vectors:
yᵢ ← yᵢ ⊗ maskᵢ
Here yᵢ is the vector of human-assigned scores for essay i, maskᵢ is its vector of trait indicators, and ⊗ denotes elementwise multiplication in this expression. The arrow indicates replacing the vector with its masked version. An ungraded position is set to zero for the calculation.
ŷᵢ ← ŷᵢ ⊗ maskᵢ
The vector ŷᵢ contains the predicted scores for essay i. Multiplying it elementwise by maskᵢ under the same assignment makes the corresponding predicted position zero as well. In the squared-error term, the two masked entries then give no error contribution. The mask is tied to rubric availability, rather than to the numerical value an essay receives on a graded trait.
L_mse(y, ŷ) = (1 / (NM)) Σᵢ₌₁ᴺ Σⱼ₌₁ᴹ (ŷᵢⱼ − yᵢⱼ)²
The loss L_mse is the mean squared error as written in the paper. N is the number of essays involved in the calculation and M is the number of trait outputs, including Overall. The indices i and j range over essays and traits, and yᵢⱼ and ŷᵢⱼ are the corresponding human and predicted scores after masking. The exponent squares each discrepancy. NM is the product of the essay and trait counts used as the denominator in the published expression. The arrays y and ŷ hold the human and predicted grade entries.
To compare traits, the procedure reads the score array in a different direction. The gold vector yⱼ contains scores for trait j across essays, and ŷⱼ in the loss notation contains that trait’s predicted scores across the same essays. The authors use Pearson correlation to decide whether two gold vectors show sufficient association. Pearson correlation looks at how the scores move together relative to their means. If the gold association reaches the cutoff, the penalty uses cosine similarity to compare the predicted vectors. Cosine similarity measures alignment of the vectors using their dot product relative to their magnitudes. These measures play separate roles in the main objective.
TS(ŷⱼ, ŷₖ, yⱼ, yₖ) = 1 − cos(ŷⱼ, ŷₖ) if r(yⱼ, yₖ) ≥ δ, and 0 otherwise
TS is the contribution of the pair of traits indexed by j and k. The vectors yⱼ and yₖ hold the human scores across essays, and ŷⱼ and ŷₖ hold the corresponding predictions. r is Pearson’s correlation coefficient, δ is the required threshold, and ≥ includes pairs whose coefficient equals the threshold. For a selected pair, cos is cosine similarity and the subtraction from 1 makes better alignment produce a smaller penalty. The other case contributes 0. The selected vectors can align closely while their numerical score levels differ.
L_ts(y, ŷ) = (1 / c) Σⱼ₌₂ᴹ Σₖ₌ⱼ₊₁ᴹ TS(ŷⱼ, ŷₖ, yⱼ, yₖ)
L_ts is the trait-similarity loss, y and ŷ contain the gold and predicted scores, and M is the number of output traits including Overall. The outer sum starts at 2 because Overall is indexed by 1 and the authors observed relatively weak relationships between Overall and other traits. The inner index k starts just after j, so each unordered pair of eligible rubric traits is considered once. The pair contribution is TS. The paper defines the denominator c as the count of calculated contributions that are non-zero. Its displayed equation leaves the case where that count vanishes implicit.
L_total(y, ŷ) = λ · L_mse(y, ŷ) + (1 − λ) · L_ts(y, ŷ)
L_total is the objective optimized during training on gold scores y and predictions ŷ. L_mse is the direct grade-error term and L_ts is the relationship term. The weight λ multiplies the first, and its complement 1 − λ multiplies the second. The main configuration uses 0.7 for λ and 0.7 for the gold correlation cutoff δ. The training signal therefore preserves the individual grading objective while making an additional request about how predictions vary together for sufficiently associated traits.
Experiments and results
What is held out and what is graded
The evaluation combines the Automated Student Assessment Prize dataset, ASAP, with its extension, ASAP++. ASAP supplies essays in English for eight prompts and the human overall grades for all of them. The trait grades for prompts 7 and 8 also come from ASAP. ASAP++ supplies additional trait ratings for prompts 1–6 on the same underlying essays. This yields a collection in which the units of text come from the original dataset and the more detailed grade coverage comes from both sources. Following the baseline setup, the authors leave out Style and Voice, which are limited to one prompt.
The assignments fall into three writing types. Prompts 1 and 2 ask for argumentative writing. Prompts 3–6 ask for responses grounded in source readings, including assignments about the effect of a setting on a cyclist and the obstacles involved in a plan for dirigibles at the Empire State Building. Prompts 7 and 8 ask for stories, with patience and laughter as their respective subjects. The argumentative and source-dependent groups give a held-out prompt several possible relations to what remains in training. The narrative assignments put particular pressure on transfer because their collections are uneven in size.
The available traits also differ by group. The traits for prompts 1, 2, and 8 cover Content, Word Choice, Organization, Sentence Fluency, and Conventions. The source-dependent prompts use Content, Prompt Adherence, Narrativity, and Language. Prompt 7 uses Content, Organization, and Conventions. Overall is present throughout. Content can consequently draw on human ratings across the benchmark, while the assignments that provide gold ratings for Prompt Adherence belong to a narrower group. This difference is one reason to read the trait-wise results with the rubric coverage in mind.
The benchmark varies in essay length as well as subject. Prompt 5 has 1805 essays and a reported average length of 150. Prompt 7 has 1569 essays and an average length of 300. Prompt 8 has 723 essays and an average length of 650. When Prompt 7 is held out, those 723 essays from Prompt 8 are the available narratives in the training pool. When Prompt 8 is held out, the training pool instead has the larger narrative set from Prompt 7. A prompt’s own test-set size and the availability of similar essays during training are separate considerations.
The authors use prompt-wise cross-validation. They designate one prompt as the test prompt and train on other prompts, then repeat the procedure so that every prompt serves as the test case. Development essays come from prompts that are represented in training. Each checkpoint is therefore selected using development grades from familiar prompts, even though the final grades are assessed on a held-out assignment. In the topic procedure, the target essays can contribute text at test time as described above. Their grades remain reserved for evaluation.
Training choices and comparison systems
The authors retain the baseline’s training choices where the new components allow. They train for 50 epochs and choose the checkpoint with the highest average development QWK across traits for each run. They report a dropout rate of 0.5, 100 convolutional filters with a kernel size of 5, and 100 LSTM units. The part-of-speech vectors have dimension 50 and the batch size is 10. Multi-head attention uses two heads with an embedding dimension of 100. The paper reports 2.76M parameters for ProTACT.
Optimization uses RMSprop. The implementation uses TensorFlow 2.0.0 and Python 3.7.11, with a GeForce RTX 2080Ti for the experiments. The reported results average runs with seeds 12, 22, 32, 42, and 52. This averaging gives each system’s table entry a different interpretation from the best score it happens to reach in an individual run. The authors make the ProTACT code and datasets available, and they use the same benchmark data as the CTS baseline.
The comparisons include PAES, originally a cross-prompt holistic scorer and applied separately to each trait for this comparison, and the published CTS system, which learns to predict several grades together. ProTACT is also compared with the authors’ own CTS implementation. The paper uses that implementation as its primary baseline when quantifying the effect of its additions. The published and reproduced CTS results sit close to one another on the main averages, although individual prompt and trait scores can differ.
Quadratic Weighted Kappa, or QWK, is the agreement measure used in the ASAP competition. It compares the system’s grades with human grades and gives greater weight to larger disagreements between grade categories. It also relates the observed agreement to the grade distributions. This matters when interpreting the reported values. A QWK entry is a measure of agreement for grades in a specific evaluation group. The same unit is used whether the group is all applicable traits for a held-out prompt or one trait across the prompts that score it.
Agreement across prompts and across traits
The main prompt table first reports an average over the applicable grades for each held-out prompt and then summarizes those prompt-level values. The trait table instead starts with each trait, uses the prompts on which that trait has grades, and then summarizes the trait entries. These views weight the benchmark differently. A source-dependent assignment contributes to the Prompt Adherence row in the trait view, while a narrative assignment does not supply a grade for that row. Both assignments contribute their prompt averages to the prompt view.
Mean across held-out prompts on ASAP and ASAP++, QWK
ProTACT has the highest average agreement across held-out prompts.
The numbers
| System or setting | QWK |
|---|---|
| PAES | 0.536 |
| Published CTS | 0.553 |
| Reimplemented CTS | 0.554 |
| ProTACT (this paper) | 0.592 |
The paper reports a 3.8% average improvement in the prompt-based comparison with its CTS implementation. On Prompt 1, the baseline achieves 0.629 and ProTACT achieves 0.647. On Prompt 2, the corresponding averages are 0.543 and 0.587. These are both argumentative assignments, yet the starting scores and the room for improvement differ. For Prompt 4, the implementation starts at 0.620 and ProTACT reaches 0.632. Prompt 5 reaches 0.674 with ProTACT compared with 0.614 for the reimplementation. Reporting prompt-level comparisons makes these differences visible beneath the aggregate.
Mean across trait results on ASAP and ASAP++, QWK
ProTACT achieves the strongest average agreement across rubric traits.
The numbers
| System or setting | QWK |
|---|---|
| PAES | 0.527 |
| Published CTS | 0.545 |
| Reimplemented CTS | 0.547 |
| ProTACT (this paper) | 0.586 |
The paper reports a 3.9% average improvement in the trait-based comparison with the reimplementation. The gains vary by trait. Across the prompts that assess Organization, QWK rises from 0.459 to 0.518. For Prompt Adherence it rises from 0.568 to 0.619, and for Language it rises from 0.533 to 0.596. Content goes from 0.551 to 0.596. On Overall, where the reimplementation already reaches 0.670, ProTACT reaches 0.674. The improvements are therefore clearest in several of the detailed grades that motivate the task.
Among the other trait averages, Word Choice reaches 0.599, Sentence Fluency reaches 0.585, Conventions reaches 0.450, and Narrativity reaches 0.639 with ProTACT. The corresponding reimplemented CTS results are 0.562, 0.556, 0.413, and 0.610. Conventions remains difficult in this benchmark even with the improvement. The aggregate for Overall is higher than the aggregate for each detailed trait in the full-system comparison. The authors suggest that shared information can help weaker grading tasks, especially when they have restricted rubric coverage.
The seed summaries give another perspective on the reported averages. The average standard deviation in the prompt-level table is 0.020 for the authors’ CTS implementation and 0.016 for ProTACT. In the trait-level table it is 0.012 for the reimplementation and 0.009 for ProTACT. These statistics describe run-to-run variation in the reported setup. They complement the per-prompt and per-trait scores, which describe variation across evaluation groups.
The narrative prompt with scarce same-type training material
By the authors’ account, Prompt 7 is a particularly informative transfer case. The scorer has argumentative and source-dependent essays in training as well as narratives, but its source of same-type essays is limited to Prompt 8. The two narrative assignments also ask for different subjects. A collection of stories about laughter provides some evidence about narrative writing when the held-out task is a story about patience. It offers no graded examples of what human raters consider good responses to the patience assignment itself.
Mean across rubric scores for held-out ASAP Prompt 7, QWK
ProTACT achieves the highest agreement on the held-out patience assignment.
The numbers
| System or setting | QWK |
|---|---|
| PAES | 0.356 |
| Published CTS | 0.384 |
| Reimplemented CTS | 0.382 |
| ProTACT (this paper) | 0.446 |
The paper reports a 6.4% improvement in the Prompt 7 average relative to the reimplemented baseline. Content rises from 0.398 to 0.501, a reported 10.3% improvement. Organization rises from 0.231 to 0.315 and Conventions from 0.179 to 0.232. For Overall, the table gives 0.720 for the reimplementation and 0.735 for ProTACT. The low starting point for the detailed grades explains why this case matters even though the full scorer’s aggregate agreement is higher on several other assignments.
The authors compare these results with prompts 1, 2, and 8, all of which contain the same traits used in the Prompt 7 comparison. Considering those shared grades, their average is 0.557 for the reimplemented baseline and 0.592 for ProTACT, a reported improvement of 3.5%. The Content averages in that grouped comparison are 0.523 and 0.585. For Overall, the grouped result moves from 0.679 to 0.673, even as the Prompt 7 Overall result improves. This shows what the main tables aggregate away. Every prompt-level and every trait-level average improves in the headline comparison, and there are narrower prompt-and-trait groupings where that pattern is less uniform.
The paper also groups prompts 1, 2, 8, and 7 as assignments involving long essays and reports an average improvement of 4.2% on that group. The authors take the result as evidence consistent with their encoding strategy, which relates sentences before feeding them through a sequential layer. In that comparison, essay length varies alongside genre, prompt, and rubric. The group illustrates performance on those assignments, while the incremental component tests provide a more direct view of the changes in the encoder.
What the ablations show
What changes when the components are added in order
The authors start with the reimplemented CTS baseline and add the ProTACT components in stages. They first add multi-head self-attention in the essay encoder, then essay–prompt attention, then the topic-coherence feature, and finally the trait-similarity loss. This comparison traces the path from the baseline to the full scorer. Each step reports the effect of adding a component to the preceding configuration. The paper supplements that comparison by testing the two prompt-related additions separately on a common encoder.
Adding multi-head self-attention increases the mean across prompt-level test results from 0.554 to 0.565 and the mean across trait-level test results from 0.547 to 0.560. The trait improvement is especially visible in Organization, which rises from 0.459 to 0.486, and Conventions, which rises from 0.413 to 0.441. The authors connect those results to the goal of learning structural and syntactic patterns across an essay. Prompt Adherence stays at 0.568 and Narrativity stays at 0.610 in this step. Adding a way to relate sentences helps the aggregate and has different consequences for traits with different evidence needs.
Adding essay–prompt attention on top of that encoder produces a small change in the aggregates. The prompt mean reaches 0.566 and the trait mean reaches 0.561. Scores for particular traits move in different directions. Prompt Adherence rises from 0.568 to 0.573, and Narrativity rises from 0.610 to 0.618. Organization falls from 0.486 to 0.477, and Conventions falls from 0.441 to 0.435. Prompt 7’s mean falls from 0.404 to 0.397 at this step. The general encoder and the prompt-conditioned addition can consequently be useful in different circumstances, even within the same rubric.
The next step adds the topic feature to the configuration already using essay–prompt attention. The mean over the prompt results rises from 0.566 to 0.584. The mean over the trait results rises from 0.561 to 0.577. The gains for Content and Prompt Adherence are particularly relevant to the proposed purpose of the feature. Content moves from 0.565 to 0.592 and Prompt Adherence from 0.573 to 0.612. Narrativity rises from 0.618 to 0.633. Some other traits also improve at this step, including Organization from 0.477 to 0.500. Prompt 8 supplies an exception in the prompt table, moving from 0.531 to 0.525 even as the prompt average increases.
Adding the trait-similarity loss brings the prompt mean to 0.592 and the trait mean to 0.586. Each trait-level score improves at this step. Organization reaches 0.518, while Language rises from 0.570 to 0.596. The Overall score, which is excluded from the explicit similarity pairs, moves from 0.673 to 0.674. Changes to a shared system can affect an output even when that output is absent from the added pairwise penalty. The individual prompt results again show variation. Prompt 4’s mean goes from 0.634 to 0.632 at this final step, while Prompt 5’s rises from 0.657 to 0.674.
What the separate topic and prompt tests reveal
The order of the incremental test raises a question about the largest step. The topic feature follows the addition of essay–prompt attention, so its gain includes whatever the two signals contribute in combination. The appendix addresses this by taking the multi-head self-attention encoder and comparing the introduction of each prompt-related signal independently with the use of both. The trait mean is 0.560 for the common encoder, 0.561 when essay–prompt attention is added, 0.567 when the topic feature is added, and 0.577 when both are applied.
Prompt Adherence offers a clear example of what the topic feature can do by itself. Its QWK is 0.568 with the common encoder, 0.573 with essay–prompt attention, 0.609 with topic concentration, and 0.612 with both. For Content, the pattern is different. The common encoder has 0.562 and the encoder with the topic feature alone also has 0.562. Direct attention to the prompt raises it to 0.565. The combined configuration reaches 0.592. Thus the topic feature’s effect on Content depends strongly on which other prompt information the scoring system has available.
Organization provides another example of the interaction. Its common-encoder score is 0.486. The separate additions yield 0.477 for essay–prompt attention and 0.485 for topic concentration. With both, the score is 0.500. The corresponding Conventions values are 0.441 for the common encoder, 0.435 for essay–prompt attention, 0.428 for topic concentration, and 0.444 when they are combined. These results support the value of testing the signals as a pair. The benefit in the joint configuration can be obscured by looking only at their individual additions.
The architectural distinction helps make sense of the comparison. The topic feature indicates whether the essay is focused according to topics found in a collection. Essay–prompt attention gives the scorer a learned interaction between the specific instructions and the response. A focused piece can discuss an unhelpful subject, and an essay with several themes can still carry out a complex assignment. The experiment establishes that combining the two signals helps the tested scorer on average. It leaves the precise decisions made from those signals on individual essays open.
Whether topic concentration tracks the rubric
The authors also examine the feature directly. They use Narrativity grades to group essays and compare the distributions of the topic feature across grade levels. In this benchmark, the trait is available for prompts 3–6, with integer grades from 0–4. The illustrated split holds out Prompt 5. The training portion of the plot includes only the other prompts with relevant grades, namely 3, 4, and 6. Higher Narrativity groups tend to have more high feature values, and the paper reports a similar tendency among test essays for Prompt 5.
The appendix repeats that investigation with Prompt Adherence. It uses the same held-out prompt and the corresponding subset of the training data with that trait. Again, the distributions show a tendency towards higher topic concentration at higher rubric scores. These are descriptive comparisons of a scalar feature and graded essay groups. They give a reason for expecting the feature to help with prompt-related grades, and the incremental and separate-component tests measure how much it does help the combined scorer.
A second descriptive test asks whether essays written for the same prompts tend to share the same dominant topic. This uses the identity of the strongest topic, a different quantity from the probability assigned to it. The paper reports a prompt-group average of 0.961 in the training set that leaves out Prompt 1 and 0.992 for the training set that leaves out Prompt 5. Some individual groups show weaker agreement. One entry in the training set excluding Prompt 2 is 0.535. The mapping is therefore encouraging on these training collections, with meaningful variation across groups and splits. Topic indices are internal to each fitted LDA analysis, and agreement within a prompt group is the quantity being checked.
Which trait relationships drive the loss
The paper motivates trait-similarity training by examining the relationships between human score vectors. It starts with prompts 1, 2, and 8, which use the same trait composition, and extends the comparison to other groups in the appendix. The authors observe similar tendencies across prompts that share rubrics, with differences in the particular values. They find stronger links between some prompt-related traits, including Prompt Adherence and Content, and a comparatively weak link between traits like Conventions and Content, which assess different qualities. This variation is the rationale for screening pairs rather than applying the same similarity pressure to every pair.
The authors also vary the screening rule. In the main configuration, Pearson correlation between the human score vectors determines whether the pair enters the loss. Another version uses cosine similarity of those gold vectors at that decision point. The penalty for a selected pair continues to concern the alignment of the predicted vectors. With a cutoff of 0.5, the mean trait QWK is 0.583 under Pearson screening and 0.585 under cosine screening. At 0.6, the two results are 0.585 and 0.586, respectively. At the main cutoff of 0.7, the Pearson result is 0.586 and the cosine-screened result is 0.584.
With Pearson screening, the trait average is also 0.586 at 0.8 and at 0.9. The corresponding cosine-screened results are 0.585 in both cases. The authors report average gold-score associations of 0.87 by correlation and 0.97 by cosine similarity, and offer their generally high values as an explanation for the modest changes. The experiments show that several settings give similar aggregate agreement on this benchmark. They do not determine which threshold would work best for a rubric whose traits have weaker or differently distributed associations.
Limitations
Limits identified by the authors
The authors point out that a direct connection to the writing prompt can help grades that depend on the assignment and offer less value for grades focused on other qualities. The intermediate decreases for Organization and Conventions illustrate the concern. The deployed architecture includes essay–prompt attention in the trait branches, and the paper leaves open whether choosing components separately for each trait would produce better grades. This matters because the assignment can be informative about what evidence the writer should supply even when its vocabulary says little about whether the resulting sentences follow writing conventions.
The authors also identify the extra engineering involved in computing features. A scalar topic concentration can be examined alongside a trait grade, which gives it a legible interpretation. It still has to be produced by a separate topic extraction procedure run on a collection of essays. The general features bring their own preprocessing requirements. Applying the same design elsewhere involves reproducing these parts of the pipeline as well as fitting the learned scoring architecture.
The empirical scope is the combined ASAP and ASAP++ benchmark. The authors discuss the Feedback Prize dataset as a collection with multiple grades for English argumentative writing, but without the defined prompts needed for their cross-prompt setup. They mention Essay-BR as a possible route to evaluating the approach on another collection with multiple prompts and trait labels. The paper reports no results on those resources. Its gains describe the English benchmark under evaluation, with extension to other datasets and languages left for future work.
Limits visible in the experimental setup
A held-out prompt can be new in several senses. During supervised training, ProTACT encounters no graded responses to the target prompt. At prediction time it has that prompt’s instructions. In the test feature extraction, it also has access to a collection that includes ungraded responses to that prompt. This is a plausible setting for grading a batch. A service that receives an isolated submission to a new assignment has a different information budget. The paper gives no measurement of how the topic signal behaves under that condition, or of how much performance depends on fitting topics with a larger batch of new responses.
The feature’s interpretation also has a narrower scope than the term topic coherence may suggest. Concentration in one LDA topic is a document-level statistical property. A tightly focused response can be off-task, and a well-supported answer may legitimately cover multiple subjects. The checks against Narrativity and Prompt Adherence show a tendency in distributions for a selected split. The dominant-topic checks concern prompt groups within training sets. These analyses provide evidence that the feature is relevant to grades in the benchmark. A direct assessment of an essay’s reasoning, fidelity to a source reading, or continuity from one sentence to the next would require evidence beyond that scalar.
The trait-similarity loss has a related dependence on the benchmark. Correlation between human scores can be a productive training signal, but the equation encourages alignment across essays on the basis of associations in the available grades. If raters using a different rubric distinguish two traits more sharply, their patterns could call for a different pair selection or loss weight. The mask handles positions for which no grade exists, and the paper gives the rule that sets those positions to zero. The description leaves some implementation details open, including how the trait-similarity normalization is handled when there are no non-zero pair contributions. It also does not isolate how much improvement comes from sharing signal across genuinely weakly covered traits versus other effects of the additional penalty.
The comparison for Prompt 7 captures a useful case of limited similar training material, but the scarcity is observed within the benchmark rather than imposed in a controlled series of training sizes. Prompt 7 differs from the available narrative training prompt in topic and average length, and its test rubric has fewer traits. The paper shows that the system performs better for that held-out assignment. It cannot identify a learning curve for the amount of same-genre data needed, or attribute the full gain to the scarcity of narrative examples.
Finally, QWK concerns agreement with the benchmark’s recorded grades. The experiments do not measure whether exposing predicted trait grades improves student revision, whether teachers find the resulting feedback sufficiently explanatory, or how agreement varies across student populations. The authors report public data without private or confidential personal information. The paper’s motivation includes educational use, and its measured outcome is a grading comparison. A classroom benefit would require an evaluation of how people use the scores and what happens as a result.
What came after
Feature Engineering is not Dead: A Step Towards State of the Art for Arabic Automated Essay Scoring cites ProTACT and takes feature engineering as its focus in Arabic essay scoring. The connection is pertinent because ProTACT combines learned representations with deliberately constructed properties of essays. In ProTACT’s benchmark, the comparison of the topic feature alone with the feature combined with attention shows how an engineered quantity can contribute through its interaction with a learned representation. The later citation places that result in the discussion of engineered features for Arabic essay scoring. The documented connection establishes the citation and the later study’s focus. It leaves open whether that study uses ProTACT’s topic feature or any other component.
LAILA: A Large Trait-Based Dataset for Arabic Automated Essay Scoring also cites ProTACT and addresses the data side of assigning separate rubric grades, with a dataset for Arabic essay scoring. ProTACT’s experiments show why that side of the task matters. The trait labels that each prompt supplies determine the examples available for fitting its scoring branches, the relationships that can be studied in human grades, and the outputs for which agreement can be evaluated. LAILA’s focus is a trait-based dataset in a different language. The documented citation gives no basis for attributing ProTACT’s attention architecture, topic procedure, or trait-similarity objective to LAILA, or for treating the dataset as a cross-prompt replication of ProTACT’s results.
Cite
Cite as Heejin Do, Yunsu Kim and Gary Geunbae Lee. 2023. Prompt- and Trait Relation-aware Cross-prompt Essay Trait Scoring. Findings of the Association for Computational Linguistics: ACL 2023.
@inproceedings{do2023prompt,
title = {{Prompt- and Trait Relation-aware Cross-prompt Essay Trait Scoring}},
author = {Heejin Do, Yunsu Kim and Gary Geunbae Lee},
booktitle = {Findings of the Association for Computational Linguistics: ACL 2023},
year = {2023},
doi = {10.18653/v1/2023.findings-acl.98},
url = {https://doi.org/10.18653/v1/2023.findings-acl.98}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/do-2023-prompt-trait-relation-aware-cross/