Machine learning with football · Chapter 13

Fairness

A model can be accurate overall and still treat one group worse. Here: does a rating-based scouting shortlist give players at smaller clubs a fair chance?

Estimated time: 5 minutes · page 1 of 9

Good on average, unfair in the detail

A low loss says a model is right on average. It says nothing about whether it's right for everyone. Models decide about people: who gets a loan, a job interview, a place at university. If they learn from skewed data, they can quietly treat one group worse. Google's chapter uses university admissions. This one uses a football version.

A club's scouts shortlist the top quarter of Premier League's regulars, players with 450 minutes or more, by average rating. That rating is a silver label from a provider's model, as chapter 6 said. Are players at smaller clubs getting a fair chance? To ask that, we need groups, players at top-half and bottom-half clubs, and a notion of who deserves a place. Here a player counts as qualified if he's in the top quarter for goals plus assists per 90 minutes, whatever his club.

The board shows the shortlist overall, then split by group. The overall numbers look reasonable. Split by group they don't. Ratings rise with the team around a player, so a player at a top club gets picked far more often, even among equally productive players.

Goals and assists are a narrow measure, and kinder to attackers than defenders. That's fine for an example. A real club would define "qualified" with far more care, and that choice is itself a fairness decision.

Check yourself

The shortlist catches 45% of all productive players. Why is that not enough to call it fair?

What's in this chapter

The kinds of bias and where they enter, the red flags to look for in data, ways to reduce bias, and three definitions of fairness: demographic parity, equality of opportunity and counterfactual fairness. Each is tried on the scouting shortlist. It ends with an audit you run yourself.

Leagues