Abstract
Criminal courts across the United States handle millions of cases every year, and the scheduling of those cases must accommodate a diverse set of constraints, including the preferences and availability of courts, prosecutors, and defense teams. When criminal court schedules are formed, defendants' scheduling preferences often take the least priority, although defendants may face significant consequences (including arrest or detention) for missed court dates. Additionally, studies indicate that defendants' nonappearances impose costs on the courts and other system stakeholders. To address these issues, courts and commentators have begun to recognize that pretrial outcomes for defendants and for the system would be improved with greater attention to court processes, including court scheduling practices. There is thus a need for fair criminal court pretrial scheduling systems that account for defendants' preferences and availability, but the collection of such data poses logistical challenges. Furthermore, optimizing schedules fairly across various parties' preferences is a complex optimization problem, even when such data is available. In an effort to construct such a fair scheduling system under data uncertainty, this paper proposes a joint optimization and learning framework that combines machine learning models trained end-to-end with efficient matching algorithms. This framework aims to produce court scheduling schedules that optimize a principled measure of fairness, balancing the availability and preferences of all parties.
Introduction
In the United States, criminal court scheduling is a high-stakes logistical puzzle. While the availability of judges and prosecutors is prioritized, defendants' preferences are often ignored. For a defendant, a missed court date isn't just an inconvenience—it can lead to arrest warrants, detention, and job loss.
The core challenge is two-fold:
- Data Uncertainty: Courts rarely have access to defendants' real-time availability or preferences (e.g., childcare needs, work shifts, or transportation barriers).
- Computational Complexity: Optimizing a schedule to be "fair" across hundreds of individuals is an NP-hard problem. Traditional "two-stage" approaches—where you first predict preferences and then solve the schedule—often fail because the prediction model doesn't "know" how its errors will impact the final fairness of the schedule.
Methodology
The authors propose a joint optimization and learning framework that moves away from the disjointed two-stage pipeline.
The framework consists of several key components:
- Predictive Model: A neural network ($M_\theta$) takes socioeconomic and demographic features (like employment status and transportation access) and predicts a "preference score" or likelihood of appearance for every possible time slot.
- Differentiable Matching Layer: Instead of solving a complex, non-linear integer program, the authors use a differentiable surrogate. They treat the scheduling task as an assignment problem that can be solved efficiently. This allows the model to backpropagate gradients through the optimization step, as shown in Figure 1.
- Fair OWA Aggregation: To define "fairness," the paper uses Ordered Weighted Average (OWA) operators. Unlike simple utility maximization, OWA allows the system to prioritize the "worst-off" individuals (those with the lowest predicted utility) to ensure equitable outcomes.
- End-to-End Training: The model is trained to directly maximize the OWA-aggregated utility of the resulting schedule, rather than just minimizing prediction error.
As illustrated in Figure 2, the scheduling problem is represented as a matching between defendants ($x_i$) and courtroom slots. The likelihood of appearance matrix $Y$ informs the assignment matrix $\Pi$, ensuring that defendants are placed in slots where they are most likely to be able to attend.
Experimental Setup
Because no comprehensive real-world dataset exists that links court scheduling to sensitive demographic factors like childcare and transportation, the authors developed a novel synthetic dataset generation process:
- Causal Graph: They built a causal model relating Race, Age, and Gender to socioeconomic factors (Employment, Transportation) and ultimately to Schedule Preferences.
- Expert Informed: The underlying probability distributions were elicited from Census data and interviews with court scheduling experts.
- Scale: They generated training sets ranging from $N=25$ to $N=4000$ defendant pools to test scalability.
Key Results
- Superior Optimality: The proposed OWA Loss DQ (Decision Quality) model consistently achieved the lowest "regret" (loss of optimality relative to ground truth). In employment and transportation settings, it outperformed standard baselines by 4% to 7%.
- Robustness to Small Data: The model maintained high fairness and low regret even on small datasets ($N=25$), which is critical for smaller jurisdictions.
- Linear Scalability: While traditional Integer Linear Programming (ILP) approaches grow polynomially in complexity, the authors' matching layer scales linearly with the number of group partitions, solving 12-partition problems in just 0.002 seconds.
- Fairness Metrics: The model maintained a Normalized Mean Pairwise Difference (NMPD) below 0.08 across all settings, indicating highly consistent and equitable treatment of defendants.
Conclusion and Future Work
This research demonstrates that making the optimization step differentiable allows machine learning models to learn which preference predictions are most critical for maintaining a fair schedule. However, limitations remain:
- Synthetic vs. Real Data: Validating this on actual (anonymized) court data is a necessary next step.
- Constraint Complexity: Future work could incorporate more rigid constraints, such as specific courtroom capacities or the overlapping schedules of public defenders.
- Dynamic Scheduling: Extending this to a dynamic, multi-day horizon would better reflect the "rolling" nature of court calendars.
Summary updated