TL;DR
Grading hundreds of short-answer exam questions by hand is an invitation to mental exhaustion, yet outsourcing the job to commercial LLMs introduces data privacy headaches and confident hallucinations. CHiLLER solves this by running open-weight LLMs locally on university hardware, automatically grading answers it is sure about while routing tricky ones to the professor. Better yet, it shows its work—highlighting which student words drove the score and citing specific course slides in its feedback.
What Problem Does This Paper Address?
Anyone who has graded a stack of exams at midnight knows that human grading suffers from fatigue and drift: an answer read at 8 PM might get a slightly different score than the exact same answer read at 1 AM. While LLMs can shoulder this burden, they are stochastic and notoriously prone to being confidently wrong.
Existing "human-in-the-loop" grading tools try to keep teachers in charge, edit-checking AI grades. However, almost all of them rely on closed, commercial APIs. Sending student exams to external corporate servers clashes with strict educational privacy laws. Furthermore, closed APIs are black boxes: you cannot access internal model weights to see why a grade was given (relying instead on the LLM's own generated explanations, which are often unfaithful), and providers are increasingly restricting fine-tuning, making it hard to adapt a grader to a specific course.
Methods
CHiLLER is an on-premise workflow that unifies four distinct capabilities using open-weight models (Qwen2.5), setting it apart from prior tools that only tackled pieces of the puzzle.
- Calibrated Grading & Routing: Instead of asking the LLM (
Qwen2.5-7B-Instruct) to chat out a grade, the system computes the log-likelihood of each possible structured score (e.g., 0, 1, 2, or 3). After adapting the model to a small "seed batch" of teacher-graded answers from the current exam using LoRA (Low-Rank Adaptation), it applies temperature scaling—a standard calibration technique—to turn those raw probabilities into reliable confidence scores. If confidence falls below a threshold ($\tau = 0.50$), the answer is routed to the human teacher. Because confidence comes directly from scoring the candidate grades, routing adds zero extra inference cost. - Token Attribution: Because the model runs locally with exposed weights, CHiLLER computes Gradient $\times$ Input attributions in a single backward pass. This mathematically pinpoints which exact words in the student's response pushed the model toward its predicted grade.
- Retrieval-Grounded Feedback: A separate, larger model (
Qwen2.5-14B-Instruct) generates student feedback. Using a FAISS vector index of Sentence-BERT embeddings, it retrieves the top 5 most relevant chunks from lecture slides and transcripts, acknowledging what the student got right, naming missing concepts, and strictly citing the course material.
Datasets
Rather than introducing a synthetic benchmark, the authors evaluated CHiLLER on real-world data from DAMI, a master's-level data mining course at Stockholm University:
- Base Training & Retrieval: Graded answers from the 2021–2023 editions of the course, alongside lecture slides and transcripts from 2021–2023 and 2025.
- Target Evaluation: The Spring 2025 exam, comprising 976 student answers across 45 questions (split into 657 answers for the LoRA seed batch, 139 for calibration validation, and 180 held-out answers for testing).
Key Insights and Ideas
- Decoupling grading from feedback prevents hallucinations: When the authors tried having the fine-tuned 7B grading model also write feedback, its explanations were unreliable and hallucinated. Splitting the job—using a specialized 7B model strictly for scoring and a 14B RAG-equipped model for feedback—kept both sharp.
- Confidence doesn't transfer across cohorts: Calibration proved heavily course-edition dependent. Applying a temperature scale learned on 2021–2023 exams made the model overconfident on the 2025 exam, proving that grading a small seed batch per exam is essential.
- Prompt injection beats naive confidence: In adversarial tests, an insufficiently adapted model gave full marks with maximum confidence to a student answer that simply asked for full marks. Confidence routing focuses human attention, but it isn't a silver bullet against manipulation—teacher adaptation and oversight remain vital.
Key Results
Evaluated on the 180 held-out answers at the $\tau = 0.50$ confidence threshold, CHiLLER routed just 16.1% (29 answers) to the teacher while catching 75% (9 out of 12) of "large grading errors" (deviations of 2+ marks).
On the 83.9% of answers accepted automatically, exact grade agreement jumped to 82.1% (up from 74.4% with no routing), and agreement within 1 mark reached 98.0%. Meanwhile, exact agreement on the routed answers was a dismal 34.5%, proving the system knows what it doesn't know.
Hardware-wise, the entire pipeline is remarkably lightweight on local RTX A5500 GPUs: adapting to the new exam took ~16 minutes (0.27 GPU-hours), single-pass grading for all 976 answers took 0.06 GPU-hours (0.23s per answer), token attribution took 124ms per answer, and generating routed feedback took 0.96 GPU-hours.
Limitations and Future Work
CHiLLER's evaluation thus far is a replay on a single university course, and as the prompt-injection test showed, raw confidence can be fooled if the model isn't sufficiently adapted to the specific question set. Furthermore, teachers only record corrections into a pool right now; in future work, the authors plan to study iterative live adaptation from those teacher corrections, test robustness across diverse subjects and student cohorts, and evaluate CHiLLER during live, real-world exam grading sessions.
Summary updated