← Latest papers
🤖 machine learning

SMaRT: Online Reusable Resource Assignment and an Application to Mediation in the Kenyan Judiciary

Motivated by the challenge of assigning mediators to cases in the Kenyan Judiciary, this paper introduces SMaRT, an online algorithm that combines quadratic programming and multi-agent bandit learning to efficiently allocate resources across a high-dimensional state space while balancing capacity constraints and mediator quality learning.

Original authors: Shafkat Farabi, Didac Marti Pinto, Wei Lu, Manuel Ramos-Maqueda, Sanmay Das, Antoine Deeb, Anja Sautmann

Published 2026-06-30
📖 5 min read🧠 Deep dive

Original authors: Shafkat Farabi, Didac Marti Pinto, Wei Lu, Manuel Ramos-Maqueda, Sanmay Das, Antoine Deeb, Anja Sautmann

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine the Kenyan court system as a massive, bustling hospital emergency room. Every day, hundreds of new patients (legal cases) walk through the door. To treat them, the hospital has a team of specialists (mediators). However, there are three big problems:

  1. Specialization: Not every specialist can treat every patient. Some only handle "family matters," others only "business disputes," and some are only allowed to work in specific cities.
  2. Unknown Skills: The hospital doesn't always know exactly how good a specialist is at getting patients to agree on a solution. Some are wizards at negotiation; others struggle. And new specialists are constantly joining the team.
  3. The "No Waiting" Rule: In this emergency room, you can't tell a patient, "Come back tomorrow when a specialist is free." They must be assigned a specialist immediately.

The paper introduces a new "Smart Triage System" called SMaRT (Selecting Mediators that are Right for the Task) to solve this mess.

The Old Way: The "Round-Robin" Shuffle

Previously, human officers tried to match patients to specialists manually. It was like a game of musical chairs where the rules kept changing.

  • They often assigned the same "star" specialist to too many patients, burning them out (overloading them).
  • They sometimes gave difficult cases to specialists who weren't very good at them, just because that specialist happened to be free.
  • The result? Many patients left without a solution and had to go back to the main court, creating a huge backlog.

The New System: SMaRT

SMaRT is an algorithm that acts like a super-smart, tireless dispatcher. It uses two main tricks to make better decisions:

1. The "Teacher's Report Card" (Learning Skills)

Just as schools track how much a teacher helps a student improve, SMaRT tracks how much a mediator helps a case get resolved.

  • The Guessing Game: When a new mediator joins, the system doesn't know their skill level. It starts with a guess.
  • The Update: As the mediator handles cases, the system updates its "belief" about their skill. If they keep solving cases, the system becomes more confident they are a star. If they struggle, it lowers its estimate.
  • The Balance: The system knows it needs to try new mediators (to see if they are good) but also use the ones it knows are good. It's like a parent trying a new babysitter while still trusting the old one.

2. The "Future-Proofing" Math (The Quadratic Program)

This is the most clever part. A simple system might say, "Give this case to the best available mediator right now." But SMaRT thinks ahead.

The Analogy: Imagine you have one brilliant chess player (Mediator A) who can play on two different boards (City A and City B), and a decent player (Mediator B) who can only play on Board A.

  • The Greedy Mistake: If a game comes in on Board A, a "greedy" system gives it to the brilliant player immediately. But then, a game comes in on Board B. The brilliant player is too busy, so the system is forced to use a terrible player for Board B.
  • The SMaRT Strategy: SMaRT might say, "Let's hold back the brilliant player for Board B, even if it means using the decent player for Board A right now." It accepts a slightly lower chance of winning today to ensure a much better chance of winning tomorrow.

To do this, SMaRT uses a mathematical formula (a Quadratic Program) that acts like a penalty system.

  • It wants to solve as many cases as possible.
  • But it also hates overloading a specialist.
  • The system has a "dial" (a parameter called λ\lambda). If you turn the dial up, the system becomes very strict about not overloading anyone, even if it means solving slightly fewer cases. If you turn it down, it pushes the best mediators harder to solve more cases, accepting that they might get a bit tired.

What Happened When They Tested It?

The researchers tested SMaRT using real data from the Kenyan Judiciary (over 30,000 cases and 2,000 mediators).

  • Better Results: SMaRT solved more cases than the old manual methods or simple "pick the best available" algorithms.
  • Fairer Workload: It prevented the "star" mediators from getting crushed by too much work, spreading the load more evenly.
  • Flexible: By adjusting the "dial," the court can decide: "Do we want to solve the maximum number of cases today, or do we want to make sure no one is overworked?"

The Bottom Line

The paper claims that SMaRT is ready to be the "brain" behind a new digital tool for the Kenyan courts. It is currently set to undergo a real-world test (a randomized trial) to see if it can officially replace the old manual system. If it works as well as the simulations suggest, it will help clear the court backlog and ensure that cases are handled by the right people at the right time, without burning out the mediators.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →