Accurate and unambiguous guidelines are critical for large language model (LLM) based graders, yet manually crafting these prompts is often sub-optimal as LLMs can misinterpret expert guidelines or lack necessary domain specificity. Consequently, the field has moved toward automated prompt optimization to refine grading guidelines without the burden of manual trial and error. However, existing frameworks typically aggregate independent and unstructured error samples into a single update step, resulting in "rule dilution" where conflicting constraints weaken the model's grading logic. To address these limitations, we introduce Confusion-Aware Rubric Optimization (CARO), a novel framework that enhances accuracy and computational efficiency by structurally separating error signals. CARO leverages the confusion matrix to decompose monolithic error signals into distinct modes, allowing for the diagnosis and repair of specific misclassification patterns individually. By synthesizing targeted "fixing patches" for dominant error modes and employing a diversity-aware selection mechanism, the framework prevents guidance conflict and eliminates the need for resource-heavy nested refinement loops. Empirical evaluations on teacher education and STEM datasets demonstrate that CARO significantly outperforms existing SOTA methods. These results suggest that replacing mixed-error aggregation with surgical, mode-specific repair yields robust improvements in automated assessment scalability and precision.
Figures & tables
Figure 1: Framework of the CARO algorithm.
Figure 2: Example Reflector prompt for analyzing the dominant error mode (0→1) . The prompt provides: (1) global context via the full confusion matrix, (2) local error examples with model reasoning traces, and (3) contrastive correct examples to establish decision boundaries.
Figure 3: Structured diagnosis output from the Reflector for mode (0→1) . The output identifies root causes, misleading patterns, and proposes targeted rule modifications with safety considerations.
Figure 4: Refiner prompt structure showing how cross-mode awareness is incorporated. The Refiner receives information about all active error modes to generate compatible rule fixes.
Figure 5: Two-phase rule consolidation. Phase 1 generates per-mode rules with cross-mode awareness. Phase 2 synthesizes them into a priority-weighted consolidated ruleset with explicit conflict resolution directives.
Dataset
Domain
#Samples
Scores
DI
Interaction
252
{0,1}
DT
Teacher Education
224 ∼ 236
{0,1,2}
DE
Elementary
199 ∼ 434
{0,1,2,3,4}
Table 1: A summary of statistics of the datasets
Type
Task
Naive
GradeOpt
CARO
Acc
κ
Acc
κ
Acc
κ
KSMT
T1
0.40
0.20
0.61
0.41
0.67
0.47
KSMT
T2
0.58
0.42
0.74
0.61
0.79
0.69
KSMT
T3
0.39
0.09
0.51
0.25
0.55
0.30
KSMT
Avg
0.46
0.24
0.62
0.42
0.67
0.49
KMT
T4
0.30
0.05
0.55
0.28
0.76
0.57
Table 2: Performance Comparison for Teacher Education Dataset DT
Category
Naive
GradeOpt
CARO
Acc
κ
Acc
κ
Acc
κ
1
0.94
0.79
0.96
0.84
0.98
0.92
2
0.86
0.71
0.88
0.76
0.93
0.87
3
0.82
0.52
0.85
0.61
0.95
0.89
4
0.52
0.19
0.64
0.36
0.81
0.62
5
0.62
0.18
0.95
0.72
0.96
0.78
Table 3: Performance Comparison for Interaction Dataset DI
Task
Naive
GradeOpt
CARE
Acc
κ
Acc
κ
Acc
κ
T1
0.16
-0.08
0.63
0.35
0.63
0.39
T2
0.49
0.30
0.74
0.64
0.75
0.66
T3
0.57
0.25
0.79
0.67
0.81
0.70
T4
0.48
0.20
0.71
0.57
0.74
0.62
T5
0.50
0.04
0.70
0.46
0.73
0.56
Table 4: Performance Comparison for EIR Dataset DE
Dataset
Naive
GradeOpt
CARO
Acc
κ
Acc
κ
Acc
κ
DI (avg)
0.58
0.25
0.75
0.43
0.90
0.55
DT (avg)
0.51
0.27
0.65
0.44
0.72
0.53
DE (avg)
0.44
0.14
0.71
0.54
0.73
0.59
Overall
0.51
0.22
0.70
0.47
0.78
0.56
Table 5: Summary of average performance across datasets.
Dataset
Per-Mode
Consolidated
Best κ
DI
93.9%
6.1%
Per-Mode
DT
91.7%
8.3%
Per-Mode
DE
93.3%
6.7%
Per-Mode
Avg
93.0%
7.0%
-
Table 6: Ablation: Per-mode vs. consolidated rule selection. Values show the percentage of final best prompts using each strategy.
Figure 6: Convergence comparison on T4 ( DI ). CARO achieves faster convergence and higher final accuracy.
Method
Rounds
API Calls
Est. Cost
GradeOpt
6
∼ 40,000
∼ $5
CARO
6
∼ 8,000
∼ $2
Reduction
–
80%
60%
Table 7: API cost comparison (average per task). Costs estimated using GPT-4o-mini pricing (0.15/1Minput,0.60/1M output tokens).
School of Computing and Augmented Intelligence, Arizona State University, USA · Mary Lou Fulton Teachers College, Arizona State University, USA · Department of Computer Science, National Yang Ming Chiao Tung University, TW