High-Fidelity Random Forest Surrogates Explain DeBERTa Automated Writing Scores
Summary:The study applies a fidelity-first approach to explaining DeBERTa-v3-base automated writing assessment: it first validates how closely a transparent surrogate reproduces the teacher model, and only then interprets feature attribution. Across three Grade 6 and 8 writing prompts, with roughly 12,700 responses per prompt, each response is represented by 61 linguistic and writing-quality features. Random Forest surrogates achieve held-out R² values of 0.81–0.95 across all six prompt-by-trait condit
Core Finding
This study does not claim that DeBERTa automated writing assessment has become directly explainable. Instead, it asks a more testable question: can 61 human-readable linguistic and writing-quality features reproduce the teacher model’s outputs on held-out data? Random Forest surrogates achieve R² values of 0.81–0.95 across six prompt-by-trait conditions, indicating that they approximate DeBERTa’s decision behavior well within the evaluated distribution.
The more transferable contribution is the ordering of the methodology: fidelity first, interpretation second. If a surrogate cannot reproduce the teacher model, feature attribution calculated for that surrogate has little value as an audit of the teacher. Only after held-out fidelity is established can researchers responsibly discuss which observable characteristics are associated with score differences.
Mechanism: Fidelity Before Interpretation
Let x denote an original response, y = T(x) the output of DeBERTa-v3-base, z = φ(x) the 61 interpretable features extracted from the response, and gθ(z) a surrogate trained to approximate the teacher output. The central fidelity metric can be written as:
R² = 1 - Σᵢ(yᵢ - ŷᵢ)² / Σᵢ(yᵢ - ȳ)²
Here, y is the DeBERTa prediction rather than the human score. A high R² therefore shows that the surrogate reproduces variation in the teacher model’s outputs. It does not directly establish agreement with human raters, and it does not mean that the surrogate’s feature weights are equivalent to the Transformer’s internal attention or parameter contributions.
The study compares four surrogate strategies:
- Theory-driven composites combine linguistic indicators according to a predefined writing theory. They are easy to audit, but early aggregation can discard information needed to reproduce the teacher’s nonlinear behavior.
- Hierarchical feature groupings preserve raw variables alongside higher-level semantic groups, attempting to balance interpretability and predictive fidelity. However, correlated variables within a group can receive duplicated attribution.
- Exploratory factor analysis derives latent dimensions from covariance structure. This can compress the feature space and yield conceptual explanations, but statistical factors do not necessarily approximate the teacher’s output function.
- Random Forest surrogates combine piecewise-constant functions across many trees, allowing them to represent thresholds, nonlinearities, and feature interactions. They produce the highest held-out R² in the six tested conditions. The tradeoff is that the resulting explanation remains a model-based approximation, and its coverage is still limited to the 61 supplied features.
SHAP is then used to decompose the surrogate’s output rather than DeBERTa’s attention. For correlated linguistic features, marginal attribution depends on the background distribution and the chosen attribution definition. Because the abstract does not specify the precise SHAP formulation, individual feature rankings should not be treated as unique or causal conclusions.
Empirical Results and How to Read Them
| Evaluation evidence | Reported result | Engineering implication | |---|---:|---| | Random Forest held-out R² | 0.81–0.95 | The surrogate reproduces DeBERTa reasonably well in all six conditions, supporting subsequent interpretation | | Overlap among the top 20 features | 75%–90% | Expression and Conventions rely on substantially similar features rather than two disjoint feature sets | | Expression weighting | Greater emphasis on lexical and conceptual indicators | Expression differences are associated more strongly with word choice and conceptual organization | | Conventions weighting | Greater emphasis on sentence-level and syntactic-control indicators | Differences in writing conventions are reflected in the relative weight of structural-control features | | Rubric correspondence | Expression: 90%–95%; Conventions: 12%–18% | Researcher-defined mappings and feature coverage are critical conditions for interpretation |
The high overlap does not mean the two traits are indistinguishable. The model can differentiate them by changing the relative weights of a shared feature set: lexical diversity may receive more weight for Expression, while syntactic control dominates for Conventions. Rather than invoking two isolated feature detectors, this “shared features, different weighting” pattern is closer to how regression models commonly operate.
The large difference in rubric correspondence requires more caution. The low Conventions rate could result from insufficient sentence-level feature coverage, weak mappings between the rubric and available features, DeBERTa relying on signals that were not explicitly extracted, or a combination of these factors. The reported results do not identify which explanation is causal, nor do they justify concluding that the scorer ignores writing conventions.
Engineering Trade-offs and Evaluation Boundaries
First, surrogate fidelity conflicts with explanation simplicity. Theory-driven composites are easiest to inspect but may lose too much information to approximate the teacher. Random Forests preserve nonlinear interactions, yet the object being explained remains a model-based approximation of another model. The study quantifies this tradeoff rather than claiming that post-hoc explanation has replaced mechanistic analysis.
Second, the 61-feature set defines an interpretability ceiling. Even with R² of 0.95, residual error may concentrate near score boundaries and change students’ relative rankings. In high-stakes writing assessment, average R² cannot replace MAE, RMSE, score-band confusion matrices, or rank-correlation metrics.
Third, SHAP stability is affected by correlated features. Grammar-error rate, syntactic complexity, and sentence length often move together. A model may reach similar predictions by relying on substitute variables, while SHAP distributes credit according to its background assumptions. Production audit systems should combine grouped SHAP, bootstrap stability, and permutation tests instead of freezing a single ranking into a scoring rule.
Fourth, the evaluation protocol remains incomplete. The abstract reports sample size, models, and held-out R², but does not state whether splits isolate students, responses, or prompts. It also omits random seeds, variance, confidence intervals, the complete feature list, full baseline configurations, and code availability. If multiple responses from the same student or prompt-level artifacts appear in both training and test sets, held-out R² may be optimistic.
Finally, the surrogate has a lifecycle cost. Extracting 61 features is likely cheaper than running the full Transformer for every audit, but changes to the teacher model, rubric, or student population require new labels, surrogate training, and another fidelity check. The practical gain comes from offline distillation and repeated auditing, not from eliminating DeBERTa.
Deployment Guidance for Developers and Auditors
- Create a versioned feature contract. Freeze formulas, tokenization, segmentation rules, and missing-value handling for all 61 features. Version the teacher model, feature extractor, and surrogate independently; a change to any component should trigger a fidelity review.
- Set independent fidelity gates. In addition to a conventional random split, evaluate student-grouped, response-grouped, and leave-one-prompt-out tests. Report R², MAE, RMSE, score-band agreement, and Spearman rank correlation rather than relying on one metric.
- Inspect residuals before interpreting features. Break residuals down by prompt, score band, text length, and relevant subgroups. If errors concentrate in Conventions or particular syntactic patterns, the current surrogate is not yet a reliable explanation device for those samples.
- Use robust attribution for correlated features. Cross-check grouped SHAP, bootstrap procedures, and permutation importance. A feature that changes rank across methods should not appear as a firm audit conclusion or production rule.
- Independently validate rubric mappings. Have at least two reviewers construct and adjudicate feature-to-rubric mappings, particularly for Conventions. Add sentence-level, cohesion, and control-oriented features where correspondence is weak, then retrain the surrogate.
- Separate behavioral auditing from mechanistic research. Surrogate SHAP is appropriate for examining externally observable behavior. Explaining how DeBERTa internally forms representations requires activation probes, occlusion, or counterfactual interventions rather than direct reuse of the surrogate attribution.
Overall, the paper provides a practical sequence for auditing automated writing assessment: use an interpretable surrogate to establish whether teacher behavior can be reproduced, interpret SHAP only after that fidelity check, and treat high R² as a necessary rather than sufficient condition for explanation. Its practical value lies in model debugging, drift monitoring, and rubric auditing rather than direct interpretation of Transformer internals.
— END —Source: ArXiv NLP/LLM (cs.CL) (2026-11-27)
Tags: #DeBERTa-v3 #Automated Writing Assessment #Explainable AI #Surrogate Models #SHAP
Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.
Community Comments