2025-11-23
Ethical questions can be contentious and personal. Please be respectful of other people’s right to speak and learn in this classroom.
Pretty easy to make “innocent” mistakes when we look at lots of data. Still unacceptable.
Q: Lots of ethics problems. Which are SE specific?
A: Maybe everything: software is used everywhere?


Fairness might mean being less accurate. For example, using k-anonymity to hide fine details.
| Prediction | People | Do Action | % |
|---|---|---|---|
| Unlikely | 125 | 25 | 20% |
| Likely | 125 | 75 | 60% |
| Group | Prediction | People | Actions | % |
|---|---|---|---|---|
| A | Unlikely | 100 | 20 | 20% |
| A | Likely | 25 | 15 | 60% |
| B | Unlikely | 25 | 5 | 20% |
| B | Likely | 100 | 60 | 60% |
Hidden confounds (or at least, not included in the model) interact with group membership.
What if “Action” is “chance of passing screening interview”?
What if Group A is “Citizens” and Group B is “non-Citizens”?
What if Group A is “Python users” and Group B s “R users”?
See also “21 Types of Fairness” by Arvind Narayanan.
Who and what do we work with? Surveillance equipment for totalitarian regimes? Face recognition for drones used by a powerful military? Do we hand over user info for any legal request?
Can we show why a model arrived at the decisions it does? Does it matter? Compare decision trees to CNNs.
LIME - a tool for interpreting machine learning results.
What should we be recommending? Everything, even if our users are unsavory? What should a company be required to “censor”? (note free speech is usually only applied to government restrictions).
We train our data on datasets that might themselves reflect the existing biases in our world.
We also need to reflect on how well the dataset we trained on reflects the current problems we are interested in!
How much individual information is obtainable from the model? How much protection does a user get? Can the model be retrained to forget that person?
https://newsletter.pragmaticengineer.com/p/asked-to-do-something-illegal-at
This would suck! You have no easy options.

Neil Ernst ©️ 2024-5