Introduction
University course registration is often a source of significant stress for students, frequently resembling a "first-come, first-served" competition. Most institutions rely on Serial Dictatorship (SD) mechanisms, where students are ranked—typically by seniority—and allowed to select their entire course load sequentially. While SD is computationally efficient and Pareto optimal, it is inherently unfair, often leaving students at the end of the queue with incomplete schedules while those at the front "hoard" popular seats.
Researchers at UMass Amherst and Duke University have addressed this challenge by developing a scalable, fair framework for university course allocation. By adapting the Yankee Swap (YS) algorithm, they aim to achieve more equitable outcomes while providing the research community with the largest publicly available dataset of student course preferences to date.
Methodology: The Yankee Swap Framework
The researchers modeled course allocation as a problem of fair allocation of indivisible goods, where students act as agents and course seats are items. The core of their approach is an adaptation of the Yankee Swap algorithm, a "leximin" mechanism designed to maximize the welfare of the least-satisfied student.
Technical Innovations
To scale YS for university-wide deployment, several innovations were introduced:
- Item Multiplicity: Unlike the original YS which treats every item as unique, the modified version handles "item types" (courses with multiple identical seats), drastically reducing computational complexity.
- Linear Constraint Encoding: The system uses linear inequalities to manage constraints such as credit caps and scheduling conflicts, avoiding the need for students to rank every possible combination of classes.
- Transfer Paths: YS utilizes "transfer paths" to reallocate seats. If a student cannot find a desired seat, the algorithm identifies a chain of swaps that improves the unhappiest student's bundle without making others worse off. In practice, these paths are rarely longer than 2 or 3 swaps, ensuring high performance.
Datasets and Survey Design
A critical contribution of this work is the collection and release of a large-scale dataset from the Computer Science department at UMass Amherst for the Fall 2024 semester.
As shown in the survey summary, the researchers collected 1,065 responses from a population of 2,308 students. After filtering for completeness, 700 "effective" responses were identified. This dataset provides a realistic benchmark for testing allocation mechanisms.
The complexity of preferences varies across academic levels. As illustrated above, seniors and juniors were presented with a higher average number of classes compared to graduate students, reflecting the broader range of electives typically available at the undergraduate level.
Key Results and Performance
The study compared four mechanisms: Serial Dictatorship (SD), Round Robin (RR), Integer Linear Programming (ILP), and Yankee Swap (YS).
- Eliminating Zero-Utility Outcomes: In simulations involving 2,308 students, SD left approximately 110 students with zero desired classes, and RR left 40. In contrast, Yankee Swap ensured that every student received at least one desired course.
- Fairness and Distribution: YS outperformed other methods in fairness criteria such as Envy-Freeness (EF-1) and Pairwise Maximin Share (PMMS). It produced a tighter distribution of bundle sizes, with most students receiving 3 or 4 courses, whereas SD and RR showed much higher variance.
- Scalability: While ILP failed to scale beyond 500 students due to exponential computational growth, the optimized YS handled 3,000 students in under 25 minutes on standard server hardware.
Conclusion and Future Work
The deployment of the Yankee Swap framework demonstrates that fairness does not have to come at the cost of efficiency or scalability. By focusing on leximin objectives and utilizing efficient transfer paths, universities can move toward registration systems that prioritize the needs of all students.
Future research will address limitations such as student uncertainty regarding course selection and the complexities of "bundle synergies," where a student's preference for one course depends on the acquisition of another. Additionally, longitudinal studies are planned to evaluate how students perceive the fairness of these algorithmic choices over time.
Summary updated