Fair Grading Algorithms for Randomized Exams

Jiale Chen, Jason D. Hartline, Onno Zoeter · DOI

Abstract

Randomized exams are a common tool to prevent cheating in large-scale online assessments. However, they often introduce "luck-of-the-draw" unfairness, where students are penalized for receiving a harder set of questions. This paper proposes a grading algorithm based on the Bradley-Terry-Luce (BTL) model that adjusts for question difficulty. By treating the exam as a bipartite graph, the algorithm provides more accurate estimates of student ability and drastically reduces ex-post unfairness compared to standard simple averaging.

The Challenge of Randomized Exams

To deter cheating in remote learning environments, instructors frequently use large question banks to assign a random subset of questions to each student. While this approach is "ex-ante" fair—meaning every student has the same expected difficulty before the exam begins—it is rarely "ex-post" fair. Once the questions are realized, one student might receive a set of easy questions while another gets a significantly harder set.

The standard grading method, simple averaging, calculates a grade based solely on the questions a student was asked. This fails to account for heterogeneous question difficulty, leading to grades that reflect a student's luck as much as their actual proficiency. The authors seek a grading algorithm that can infer a student's true ability across the entire question bank, even when they only interact with a small fraction of it.

A Graph-Based Approach to Grading

The authors model the exam as a bipartite graph where students ($S$) and questions ($Q$) are nodes, and edges represent the outcome of an answer. They utilize the Bradley-Terry-Luce (BTL) model (also known in psychometrics as the Rasch model). In this framework, every student has an ability parameter ($u_i$) and every question has a difficulty parameter ($u_j$). The probability of a correct answer is defined by the logistic function of the difference between these two values.

Comparison of task assignment, result graphs, and grading methods.

The key technical innovation lies in how these parameters are estimated and used:

  • Maximum Likelihood Estimation (MLE): The algorithm jointly estimates student abilities and question difficulties from the realized exam data.
  • Graph Connectivity: The authors demonstrate that the existence and uniqueness of a fair grade depend on the strong connectivity of the exam result graph. If the graph is connected, the difficulty of different questions can be "linked" through the overlapping performance of different students.
  • Theoretical Consistency: The paper provides a proof that the MLE is consistent, meaning it converges to true values even with sparse data, provided the number of questions per student meets a minimum threshold (at least the cubed-logarithm of the total number of students).

Key Results and Efficiency

The proposed method was evaluated using both real-world exam data (35 students, 22 questions) and large-scale numerical simulations. The results highlight a significant improvement over traditional methods:

  1. Massive Fairness Improvement: In simulations where students answered 10 out of 22 questions, the expected maximum "ex-post bias" for simple averaging was 100 times higher than the proposed algorithm.
  2. Superior Accuracy: On real-world data, the algorithm outperformed simple averaging once students were asked at least 7 questions. For the "most unlucky" student, simple averaging resulted in a 13% deviation from their true benchmark, whereas the proposed algorithm limited that deviation to just 1.6%.
  3. Efficiency Gains: The algorithm is remarkably efficient. Simulations showed that the proposed method could achieve the same grading accuracy with only 5 questions per student that simple averaging required 20 questions to achieve.

Discussion and Future Work

While the BTL-based approach offers a significant leap in fairness, several challenges remain. The current model assumes student ability is one-dimensional, ignoring topic-specific strengths (e.g., a student who excels at Calculus but struggles with Geometry). Additionally, in very short exams where the result graph isn't strongly connected—the "cold start" problem—the MLE may be less reliable.

Furthermore, there is the issue of explainability. Adjusted grades, while mathematically fairer, can be harder to explain to students than a simple percentage. Future work will focus on refining the model for multi-dimensional abilities and finding transparent ways to communicate these fair grading results to students.

Summary updated

BibTeX
@inproceedings{chen2023fair,
  author = {Jiale Chen and Jason D. Hartline and Onno Zoeter},
  title = {{Fair Grading Algorithms for Randomized Exams}},
  booktitle = {FORC},
  year = {2023},
  doi = {10.4230/lipics.forc.2023.7},
}
Figure