69 points · by mwexler · 5y ago · 203 comments
Quick summary, is there are many meanings of the term bias in ML. First let's define which the author is talking about. Some options are:
1. The idea of ignoring relevant features, ala bias-variance trade off.
2. Data bias, where data is trained on inputs / behavior that society would deem biased. Ex. A company frequently discriminates against group X, an ML model is trained on data / decisions this company has made and as a result encodes the same biases.
3. Features are used which are a proxy for other items. Ex. (pulling this out of the air), a repair shop charges a variable rate for repair. It takes in a number of inputs. It's illegal to offer higher prices to women for the same repair as men, but instead an ML model uses as input the customer's first name which ends up being nothing more than a proxy for their gender and introduces that bias.
4. A group of people A have a much smaller portion of the training data size in an ML model than group B. The model makes decisions for offering some good (ex. a loan). Because it's training data is larger on people from group B than group A it always has more confidence in its predictions from group B. The model is set to be risk adverse, so by default it rejects the majority of people from group A even though most of them would have been valid loans. (Where A and B are different across some societal class like religion, race, ethnicity, gender...)
The author is talking about the fourth case. While yes there is over/under representation in the input data, the algorithm chosen to build the model encodes its own form of bias.
A simple example everyone should be familiar with, using Mean Squared Error vs. Mean Absolute Error (or MBE) produce models that handle rarely seen features or data points very differently. This choice of loss function introduces algorithmic bias into a model. That's essentially what underlies the concept. Yes there is data bias, but what is being argued is that the solution isn't "find perfectly unbiased data" (because in many cases that's impossible), it's understand how the choice of algorithm will produce models that respond to and represent differently those data biases.
But when you talking actually fixing models like this you’re actually forced to correct the final result, not filter the data. Being blind to ethnicity doesn’t work because one’s ethnicity permeates (to different degrees, sure) every part of their lives. All the data is bad, everything is a statistically detectable proxy for ethnicity.
These sorts of problems are often formulated theoretically (“suppose we want fairness with respect to variable Z”). It seems that half the battle is to figure out what to be fair with respect to. Often, the fairness variable in question isn’t even a feature, but is implicitly in the data (e.g., race in human photos). Therefore, the fairness space is potentially infinite.
For example, maybe life insurance models are biased toward those predisposed to developing cancer. Maybe ads target those suffering depression. You can continue partitioning the space in this way forever, and, therefore, it seems that the algorithms are relatively straightforward if you could formalize the bias requirements.
This is before you even consider the fairness variables interacting (e.g., age and gender and race), which requires potentially normalizing across exponentially growing feature combinations.
Data is truth. If we discover bias in data that tells us something about the world. I can't fix systemic racism with a SQL statement. But I can tell you where it happened.
Society can decide what classes are protected and data can tell us when that happens. It is then up to the offending entity to change their behavior.
In other words bias in data isn't unethical but bias in action can be.
* If you draw any conclusion from the data it will reflect the biases in the data.
* If you take any action from the data it will reflect the biases in the data.
So you’re going to be “correcting” at some point if you want to avoid that bias which is what really matters.
D – History (General)
DA – History of Great Britain – History of Ireland – History of the British Isles
DAW – History of Central Europe
OK so far, I guess?
DB – History of Austria – Liechtenstein – Hungary – Czechoslovakia
DC – History of France – Andorra – Monaco
Wait, what? I left out a bunch here, but various countries get their own class, or share a class with one or two other countries. But I guess not "central Europe?
10 DH – History of Low Countries – Benelux Countries
Huh?
17 DR – History of the Balkan Peninsula
Really drilling down here
18 DS – History of Asia
Uhm, Asia? ALL of Asia?
19 DT – History of Africa
20 DU – History of Oceania (South Seas)
Seems fair. Not.
21 DX – History of Gypsies
OK now they're just trolling us.
Say you want to know if you should approve someone for insurance.
SELECT AVG(profit) WHERE feature == $user_feature;
Say “feature” is education level and then suppose education level is correlated with race or gender. Then you implicitly are writing a query to filter by race or gender. Humans often don’t consider these implicit correlations.
An AI would do the same. When it’s human face detection, then sure, humans would find the mistakes quickly. But SQL data is very easy to implicitly bias, and like I said, you can slice the pie millions of ways for various reasons.
On the other hand, if we had a simple definition, then the database could raise an exception when the condition for the query failed.
We all know that it's really easy to screw up or invent connections between things when you use observational data instead of a randomized controlled trial. Observational data contains weird connections that you often can't tease apart, whether it's because there are important aspects of the mechanisms that were unrecorded (missing features), selection bias (missing data), or because regularization forces your hand in interesting ways.
Generally for statisticians, this leads to bias in parameter space. For ML practicioners, it's more interesting/useful to regard this as bias in function space.
There are useful lessons from the causal inference world too. There is a whole field of tools to try to get unbiased parameters/functions from observational data. There are even models that can guarantee unbiased parameters/functions under pretty reasonable assumptions and reasonable conditions. There is a rapidly developing field around learning unbiased (estimates of) functions from less "perfect" data.
I think the author is generally correct but there is a lot of focus on algorithmic design and not on how we collectively decide what is fair and ethical for these algorithms to do. Right now it is totally up to the algorithm developer to articulate their version of "fair" and implement it however they see fit. I'm not convinced that is a responsibility that belongs to private corporations.
Private corporations are, by and large, the entities which execute their business using these algorithms, which their employees write.
They are already responsible for business decisions whether made using computers or otherwise. Indeed, who else would possibly manage such a thing? This is tantamount to saying that private corporations should have no business deciding how to execute their business — definitely an opinion you can have, it's just that it's an incredibly statist-central-planning opinion the end.
No business is allowed to discriminate against protected groups. That's arguably a third-party standard for fairness, but I don't think this qualifies as central planning.
I see no reason why other types of third-party standards would be impossible or infeasible for machine learning applications.
I think the upshot to me is that businesses, whether it's one operating in criminal judicial risk assessment or advertising or whatever, don't really make obvious which definition (if any) of fairness that they are enforcing, and thus it becomes difficult to determine whether they are doing a good job at it.
Rather I view it more along the lines of how the US currently regulates accessibility standards for the web or enforces mortgage non-discrimination in protected categories. The role of government here is identify a class of tangible harms that can result from unfair models deployed in various contexts and to legislate in a way to ensure those harms are avoided.
If you trained a model to predict the outcome purely from the protected class and it was successful (in terms of predictive power), does that mean fairness is efectively impossible?
e.g. if you trained an educational performance predictor on wealth of parents, then I'd guess it would do reasonably well. And there is the argument that your parents are rich because they're smart and you are genetically connected to them.
But there's obvious counterexamples, like children adopted by rich families or children of refugees (who may have been professors or surgeons in their home country).
So if we can't avoid the bias in that extreme example, then adding extra data is only going to bury that truth under confusion.
I'm not sure we're ready to admit that we disadvantage the children of the poor to ourselves, which will make this whole AI bias thing a tricky conversation to have.
Let's say we train the NN using equal number of human faces of all races, and animals faces. Let's say the trained neural net made some mistakes, including a few cases where black faces are recognized as gorilla faces. And this doesn't happen at all or as likely with white faces. The results are horrible, right? And people immediately start to point fingers to the training data and the algorithms, stating the training data is racially biased and/or the training algorithms or even the use of neural nets are racially biased.
But is it really so? It's known that in order to take a black face photo with the same degree of details, the lighting condition and camera settings need to be adjusted. This is an effect purely due to physics. In other words, it could well be by nature, that recognizing black faces is harder than pale faces under the normal camera and scene settings. This is why you have night mode on your phones. It is just harder to take clear photos when less light gets into the camera. And this requires the camera and photography settings to be adjusted.
So, the unwanted results here are still due to the input data. But neither the input data, nor the algorithms contain any racial bias towards the black people. The results might be merely due to the difference between dark faces and pale faces under the natural law of physics.
These are unwanted results due to our social norms, but they are NOT racially biased or racist, because there is no such bias introduced or inherent during any part of the process.
We could and should correct such unwanted results by introducing adjustments to the input data, like improving dark face photography and camera sensitivity. But we can't just label the input data, the algorithms and the people who designed these algorithms as "racist" or "racially-biased". There is zero racial bias that is man-made here. The race just coincide with the side-effect of photography.
Likewise, there will be cases where the reverse is true, like white faces get unwanted results instead of dark faces.
So, while we work towards improving the data quality and the algorithms, we must stop this trend of labeling or calling people and algorithms racists.
This might be the crux. Why are pale-face-recognizing settings the "normal" settings? Why aren't the cameras designed and tuned to recognize darker skinned faces by default?
Cameras are designed and tuned by people - this is not a matter of fundamental physics having a preference.
We can be hopeful though that this will become less of an issue in the future due to camera technology advancements (like HDR exposure stacks).
You're describing something that happened, and the data sets very much did NOT represent a smooth spectrum of skin tones. It was heavily weighted towards light skin.
The premise is incongruent with reality. Your analysis is fundamentally flawed.
In this, and the reasoning above it, I think you are correct. Assuming we are right about this, what is the next step? You say the next step is to improve data collection, e.g. by creating better cameras. That seems a fine proposal to me, I support that, but I think there is more that might also be done. For instance, the use of ML models could be restricted or regulated in at least some contexts, until the problems with data collection are rectified. For instance, we could ban the police from using facial recognition models until the problems with data collection are solved. The bias is a side-effect of photography, not something intrinsic to the facial recognition algorithm, but restricting the use of that algorithm might nonetheless be a valid response to this circumstance.
Whether or not loss functions and model calibration are part of the "data" or the "algorithm" is just a question of semantics. Nobody who knows anything about ML would argue, as is incorrectly suggested by this article, that the choice of loss function plays no role in producing bias or inequity.
The actual argument that most closely resembles the straw man in this article goes something like this.
"The general project of using deep neural networks is extremely flexible and powerful. It is possible to build datasets and train deep neural networks so that the biases in those models are understood and acceptable. When existing models show bias, there are usually engineering solutions that can remove the bias within the paradigm of deep learning."
Counter arguments to this reasonable claim are much more difficult to defend. The research community rewards "whistleblowing" much more strongly than finding solutions, which is generally a good thing. But a nasty side effect is that the majority of algorithm fairness research is pessimistic, despite huge improvements and widespread belief in industry that these problems are solvable using known techniques.
In terms of the "unfairness based on what group you belong to" kind of bias, that's almost always a result of bad input; you'd have to work really hard to make an inherently racist architecture. So the problem is introduced in the training data. But it could be solved either by getting better training data, or by making clever improvements to your algorithm to work around the limitations of the training data. Often changing the algorithm is easier than improving the data, which I think is the point this article is making.
As an example of such a change, let's say we're designing an algorithm to estimate credit score, and we're worried about unfairness based on group membership. Let M be a variable representing what groups a person belongs to: race sex, etc, and let S be the output of the algorithm: that person's credit score. An easy thing to do would be to not allow M as an input to our algorithm. That way we can say that the output "does not depend on group membership". The problem is that we may still have proxies for M as inputs to the algorithm, and if the dataset is biased, that algorithm will still learn to use those proxies to discriminate based on group membership. A better method is surprisingly to keep M as an input during training of the model. Then, at inference time, average over M to get the final output of the model. That still erases the information about what group a particular person belongs to, but it also has the advantage that the model isn't incentivized to learn proxies for M during training, since it has access to M directly.
The example you gave about credit score, and the theme generally, is very well understood for a very long time. That's something we teach to stats undergrads early on. That's just one source of bias in the data, btw. There are numerous other data biases and tons of research exists on that. Even on one method of data collection, such as survey data, there is a huge literature on reducing the bias.
> you'd have to work really hard to make an inherently racist architecture.
That's precisely where my confusion comes from. If someone makes this racist architecture, it is not a systematic bias that anyone cares about. It's a rogue model. In fact, in many cases, this could be outright illegal. For example, if someone designs a credit scoring model to deliberately leave out one group of people based on their gender, ethnicity, or religion, that's not going to fly with regulators.
So anyway, I still don't have an example of a systematic bias that is not caused by data.
Ah yes the classic "why do people keep insisting on X despite consistent proof of not X", with...zero citations. Well, let's read the paper and see if they make the case.
> Even if we are able to label sensitive attributes at scale such as gender and race, algorithms can still leverage proxy variables to reconstruct the forbidden label. Data collection of even a limited number of protected attributes can be onerous. For example, it is hard to align on a standard taxonomy—categories attributed to race or gender are frequently encoded in inconsistent ways across datasets.2 Furthermore, procuring labels for these legally protected attributes is often perceived as intrusive leading to noisy or incomplete labels.3,4
> If we cannot guarantee we have fully addressed bias in data pipeline, the overall harm in a system is a product of the interactions between the data and our model design choices. Here, acknowledging the impact of model design bias can play an important role in curbing harm. Algorithms are not impartial, and some design choices are better than others. Recognizing how model design impacts harm opens up new mitigation techniques that are far less burdensome than comprehensive data collection.
> We are well-versed in the connection between function choice and test-set accuracy because objective functions such as cross-entropy or mean squared error reflect our preference to optimize for high test-set accuracy. Standard loss functions do not explicitly encode preferences for other objectives we care about such as algorithmic bias, robustness, compactness, or privacy. However, just because these desiderata are not reflected does not mean they have ceased to exist. Turing award winner Donald Knuth said that computers “do exactly what they are told, no more and no less.” A model can fulfill an objective in many ways, while still violating the spirit of said objective.
> Model design choices made to maximize test-set accuracy do not hold static other properties we care about such as robustness and fairness. On the contrary, training a parametric model is akin to having a fixed amount of materials to build a house with. If we decide to use more bricks building a bigger living room, we force the redistribution of the number of bricks available for all other rooms. In the same vein, when we prioritize one objective, whether that be test-set accuracy or additional criteria such as compactness and privacy, we inevitably introduce new trade-offs.
This is literally just saying "Well yes all the bias starts out in the data, and so a race/gender-neutral model will encode those features, but in principle you could design a model expressly to avoid that, and since that hasn't been done, the models are racist too". Which is...a certain kind of take. But even if we accept the reasoning, it is not at all at odds with the common understanding of their starting sentence: "A surprisingly sticky belief is that a machine learning model merely reflects existing algorithmic bias in the dataset and does not itself contribute to harm.".
Yes, people commonly believe the "bias is in the data". Models are designed to be mirrors, so they reflect whatever bias is in their training data. Yes, it's true you can design a distorted mirror that does not reflect certain attributes. But that would be inserting bias into a model to correct a bias that you found in the original data. It should be very clear that the root source of the bias here is the training data, not the model.
We can and should build models that attempt to correct those biases, and we also can and should attempt to de-bias the data itself. But can we stop torturing the meaning of English sentences to support people's preferred narratives? The models are neutral. The data contains the bias. Convolutional neural nets do not inherently work better on white faces. Multi-layer perceptrons do not have beliefs about race and gender.
One additional linguistic nitpick:
> The belief that model design merely reflects algorithmic bias in the dataset can be partly ascribed to the difficulty of measuring interactions between all the variables we care about.
There is no "algorithmic bias in the dataset". That is a contradiction in terms. The bias in the dataset is not "algorithmic". The algorithm is what processes the data. The dataset is just biased, it has not been biased algorithmically.
However, I must say they are quite consistent in their introductory paragraphs. They start by acting dumbfounded that people don't understand that algorithmic bias has already been demonstrated and proven to be a problem, so we should be talking about how to solve this problem instead of "pretending to be not aware ". Except they won't directly link to the work, simply mention the authors name - typically Gebru. And we must Google, read the paper, find that its garbage and waste our time.
FWIW, I am a person of color.
"You know the dogma so don't resist. Embrace it and live your life accordingly."
One of the heuristics I actually use when reviewing papers in this area is to check whether that particular book is cited without any references to page numbers, like a mantra rather than an academic citation. This seems to correlate fairly highly IMHO to low quality work with few, if any, interesting original contributions.
What if reality itself is the problem and the source of the "bias"? E.g. say that your ML algo gives less loans to African Americans, but it turns out that in reality African Americans pay back loans less often. Do you accept that some people will have a harder time getting a loan? Or do you instead work to equalise the loan rate across protected characteristics? Or maybe all characteristics?
Laundering the bias through an algorithm doesn't make it any more OK or more legal, it just makes it harder to detect the discrimination.
It is as you say, inserting bias, if you correct the data for biases you yourself dont agree to.
As for bias on white faces vs. black, its my understanding that it just is harder to recognize black faces because of lightning effects. Black people need to be lightened different from white. See also: https://www.npr.org/sections/codeswitch/2014/04/16/303721251...
If humans can manage it, then it's not harder a priori. It's harder with respect to certain algorithms – i.e., the choice of algorithm is introducing a bias. (Though in reality, this is usually more a problem of training data issues.)
One potential bias is, say, that a data set of loans shows that in a certain city, people born in one neighborhood are more likely to pay back large loans without defaulting than people born in another neighborhood. An algorithm could, based on this data, conclude that it should not issue large loans to anyone from the second neighborhood, because it lacks data that those people are usually but not always poorer, and thereby encode bias based on place of birth.
But the paper is talking about a different kind of bias, say, that a data set of loans has thousands of data points of people born in the first neighborhood and tens of data points of people born in the second neighborhood. Even if you were to control for economic status (or perhaps explicitly control for things like ethnicity), an algorithm that performs well on the data set as a whole might perform poorly on the particular subset of people born in the second neighborhood, simply because it has less data. The algorithm might have an acceptable (to its human supervisors) false-positive rate rejecting loans to people born in the first neighborhood, but the exact same model might have a much higher false-positive rate to people born in the second neighborhood.
That's different, and that effect could apply even if people in the second neighborhood were just as good as paying back loans, because you have fewer items in your sample and so there's more noise. That's what the section "Measuring complex trade-offs" is about.
Right, the paper is talking about models that perform poorly on data clusters with low cardinality in the dataset. This is a problem, but it's an intrinsic problem. We simply don't have enough information about those clusters to make informed judgments.
I think the paper is sort of assuming something is happening in which the model forgets information about the scarce groups to make room for even more information about the dense groups, but I don't think that really makes a lot of sense if you think it through. Most neural networks are information sparse, that is, they have lots of neuronal capacity to spare. They don't need to forget things to learn new things, and if they did, we could solve that problem by simply adding capacity, not by forcing the model to forget things its learned about the dense groups.
I accept that it is in principle possible for things to work the way they're describing, but I think there's very good reasons to believe that they don't, and I think it's pretty telling that this paper contains no math, and no supporting data or experiments to back up this model of statistical learning.
Here's an example. A group of 10 people work together and try to decide where to go for lunch every day. 6 love pizza 3 love burgers 1 loves BBQ. Given the choice, the lover of each would pick their food.
Imagine every day they need to make a decision, so they build an algorithmic "model" to best evaluate where to go for lunch. They do a vote. The majority 6 wins every day so they eat pizza every day all year.
Imagine now instead they choose a different algorithmic model "everyone puts their one preference in a hat, someone picks one and we go there". Now over the course of the year we'd expect ~60% of the time pizza, 30% burgers and 10% BBQ. In both cases there was over/under representation of different groups, but the two different algorithms handled the "bias" differently.
Now take that same type of concept and apply it to an ML model and that's similar to what the author is talking about.
I'm no expert but I've trained a few models, and I think there's a fair bit of manual tuning that goes on to maximize accuracy.
So in terms of the model vs data dichotomy, could we be optimizing for models based on biased data now, eg lack of labeled black faces in image recognition, and later once we fix the data, the model will still underperform on black faces?
I did a simple transfer learning project based on a model that had trained on an enormous data set, and my understanding is that it worked because the lower layers had "figured out" how to look at edges and contrast and such. But could those lower primitive features be biased so that even with more, new, training data, the model won't work so well? (e.g. focusing on contrast, which might not work as well on darker faces).
I think this all depends on a sort of "build a model once and retrain on new datasets" approach. Is that how it works in practice? Or is the model re-tuned, architected, etc each time there's a change to the training data? In that case since the model is effectively tied 1 to 1 to the data, I'm not sure it makes much sense to draw this distinction between model and data, right?
The "algorithm" doesnt capture the semantics of the data, and so introduces moral bias regardless of any statistical bias within the dataset.
Eg., consider training an NLP system on black rights literature. Negative words co-occur with racial terms -- the semantic association is one of "black people opposing hatred" NOT "black people COMEWITH hatred".
> The "algorithm" doesnt capture the semantics of the data, and so introduces moral bias regardless of any statistical bias within the dataset.
> Eg., consider training an NLP system on black rights literature. Negative words co-occur with racial terms -- the semantic association is one of "black people opposing hatred" NOT "black people COMEWITH hatred".
I agree that certain NLP models might learn an association like that, but that's a consequence of the pairing of model and data. The model itself does not encode a racial prejudice, it's simply poorly suited to the dataset in this context.
Nothing here is morally biased: neither the algorithm or the data. But when people say the "data is biased" they are suggesting that this is where the moral bias enters.
Not at all. The moral bias IS entering at the level of the algorithm. In this sense the algorithm is morally baised.
Of course it is really the human operator who selects this algorithm which causes the issue -- but by saying "the data is biased" we are obscuring this reality.
Models are not neutral. All models encode inbuilt priors reflecting some inherent bias. In fact, absent that bias a model would have little to no generalizability beyond its training set!
Yes, but those structural priors have nothing to do with race, gender, or any other protected attribute.
First thing is to eradicate the poorly-defined word "racism", and find a more fitting term regarding the flaw in question: unfairness, discrimination, prejudice, bias, etc., and then make it concrete.
Ie. instead of "structural racism", we could instead use the term "structural discrimination", to be more clear about what we're talking about.
It is also more neutral to view these flaws as bugs. That only becomes more important as algorithms gain more power over people's lives.
The sinister part of such algorithmic rules is the tolerance of a silent majority, benefitting unfairly from the outcomes.
This seems like wishful thinking. If fed a data set containing 'race' or 'gender' as one of the fields, most models have structural priors that will make them assume all correlations between race/gender and other fields are meaningful. Worse, just because an input data set doesn't have race or gender recorded doesn't mean that the model won't predict them, and then use the results of those predictions to bias its output
Yes, this is where the article unveiled its non-ML underpinnings.
I thought they were arguing that models can be designed (intentionally or unintentionally) to amplify or dampen biased data.
The metaphor is like "overfitting". You can extract too much from the data and make it bad for data not in your test set.
So is an overfitted model a neutral mirror and also one that's not overfitted also a neutral mirror? That seems odd if they put emphasis on different parts of the data. And we generally try to avoid overfitting don't we? Isn't that an algorithmic choice 'biasing' towards data we haven't included in our initial data?
You can't say it publicly but ethics is a trend. It's trendy right now to apply it to AI because there's a lot of academic funding going into AI so fields where there's no value production (like ethics) will slap "AI" on their grant proposal.
The point of ethics is to shame people or practices you don't like via some kind of cancel culture of peer pressure [0]. Of course, it's impossible to do it in court as you must actually prove things. So you get a large enough mob instead.
There's mostly no point in debating with the ethics crowd (you really can't do that since their papers typically won't be reproducible). Or acknowledging their existence really.
[0] https://syncedreview.com/2020/06/30/yann-lecun-quits-twitter...
In general, a primary factor reviewers in computing conferences are asked to consider is the degree to which a submission make a "substantial contribution" to the community. What is or isn't a substantial contribution is subjective and entirely dependent on the prevailing ethical perspectives in various communities. Papers -- a key unit of academic progress (for better or worse) are entirely subject to concerns of ethics. Certainly, there are interesting argument around how much time and paper space should be spent on speculating about negative impacts, and people are having those conversations.
The fact that ethics is "trending" is because more researchers would like tackle ethical challenges explicitly, instead of falling back on the default of a given community. For instance, here is a paper that quantitatively (with reproducibility!) analyzes the values in ML papers. https://arxiv.org/abs/2106.15590 This is one way to have a very empirically-grounded discussion of the topic.
IMO, many researchers can and do debate topics of ethics in AI, and in doing so move the field forward (and increase likelihood that computing will have more positive impacts than negative ones).
The trouble isn't that ethics is trendings, it is that it is happening in 2021.
Rant: The world has gotten poisoned by social media, and that has enabled screwball US academic philosophy to leaked out. In the current climate, philosophers are either cracked or cancelled. Most people who wax lyrical on ethics in AI (and basically anybody who actually calls themselves "an ethicists") are insufferable.
To think about ethics in technology you need to step outside the narrow confines of our current cultural assumptions of right and wrong, because they're are prone to fashion and hysteria. Right now, if you try to do that you run the risk of ending your career.
By all means if you want to make a political statement about how ethics is being applied (which would actually imply ethics being used as a smokescreen in this case) go ahead but we’ve been grappling with the concept and idea of ethics for thousands of years as a species.
I think there are many concerns around ethics in AI, but the majority of the players are not contributing (folks like Timnit, with the stochastic parrots paper, the sections on power consumption are completely technically wrong). Sara Hooker is a much better spokesperson for this, but I'm really struggling to see the point in her paper, beyond "we should identify existing data biases and make algorithmic changes to reduce them" which just sounds like "we need regularization that is the opposite of L1 and L2".
GP took advantage of an analogy to counter the claim that ethics is only about shaming and calling people out. Analogical reasoning is a powerful philosophical tool that can lead to important insights and discovering new questions. In this case, GP used the analogy where we apply ethics (relatively uncontroversial) in a scientific context. If the comparison is successful, it counters the claim that ethics is only a fashionable way of shaming people.
Lastly, GP never claimed to 'win' the argument with the analogy (even if it were a motte-and-bailey). It's entirely possible that GP has more work to do after getting a response to the analogy.
The person you responded to has a cogent reply and you haven't done anything to address the meat of the matter.
"I can't prove algorithms are unethical, therefore I'll make a point that the (clean) energy used to train them contributes to global warming (by assuming all the energy required came from jet fuel)". [0]
And then ethics tries to claim it's a real science!
[0] https://www.technologyreview.com/2020/12/04/1013294/google-a...
When the Eugenics Record Office opened its doors in 1910, the founding scientists were considered progressives, intent on applying classic genetics to breeding better citizens. Funding poured in from the Rockefeller family and the Carnegie Institution. Charles Davenport, a prolific Harvard biologist, and his colleague, Harry H. Laughlin, led the charge.
...
By the 1920s, the office had begun to influence the United States government. Laughlin testified before Congress, advocating forced sterilization and anti-immigration laws. Congress complied. The Immigration Act of 1924 effectively barred Eastern Europeans, Jews, Arabs and East Asians from entering the country. And, at the state level, thousands of people who were deemed unfit were sterilized.
I'm confused as to why that would be a bad thing. For instance, liars are shamed, even though it would be ridiculous (and harmful) to create laws against lying in all cases. At the same time, the law sometimes takes account of ethics (rather than harm) to make laws, for example, the illegality of corpse desecration is not about harm, but about ethics - what it says about our society if it were legal.
The ethical concerns in eugenics weren't about that at all, though, they are about removing autonomy from people based on morally and scientifically questionable ideas (the eugenicists had many more scientific ideas which were just not supported by data, then ones that were).
Later I got interested to know more about their views so I found out they have a policy of not giving a "platform" to their opponents - refusing to debate them in other words, preferring cancellations, shaming and appeals to emotion instead.
wow, that explains a lot! It sure seems like they take this policy very seriously.
It is trivial for algorithms to introduce novel racism: consider processing text analysing minority causes. These texts contain statistical associations between politically sensitive terms, negative terms, (and so on). However they are not racist, are not born of any racist project, and most humans reading them would be moved to more positively regard racial terms. The meaning text express consists in what they want their readers to do. It is an activity of coordination (writer/reader); and it here it has no racist aspect.
A machine if it should have learned anything at all from this text, should learn to associate minority terms with virtuous political projects; it should have acquired an understanding of the many types of associative relation: needing, wanting, opposing, supporting, trusting, advocating...
Yet a machine performing an action based on statistical associations will not learn these; and so, will act prejudicially. It will merely expect terms to co-occur, wholly unable to determine why. We expect charity workers to be greedy? No, we expect them to morally oppose greed. We expect movies to smell like candy? No, we expect them to be sold together. (And so on.)
It is somewhat alarming that statistical associations in terms in historical texts are being seen as characteristic of human communication, meaning, belief, association, ethics, action. I think it has led here to a great moral oversight: that absent the ability to understand text, machines here are introducing novel prejudice where none existed prior.
They only appear to because of co-occurrence with pre-given sentiment terms.
A conceptual relation between concept A and concept B isn't statistical. Eg., "Minorities" oppose "Racism" -- not because of any statistical occurrence of any of these terms, nor because of any statistical association at all.
P(Minority|Racism, Oppose) and P(Minority| Racism, W forall words) have no baring on the truth of the proposition.
It is true that in a large enough body of text if we took the powerset of all words and computing relative frequencies (ie., conditional probabilities on all possible co-occurances) we would find that "Minorities" oppose "Racism" more than, eg., "smell" it.
But that fact isnt sufficient to make "semantic distinctions" -- because the proposition isn't true in virtue of that frequency.
NLP systems have no means of generating text other than what is justified by those frequencies. This leads to trivial failures, such as facts in the world changing which invalidates those historical frequency-relationships.
But also to absolutely fundamental failures such as the text generated itself being meaningless: the system has nothing it wishes to express, because there is no world it is in to express anything about. All sentences are just justified by previous sentences, not eg., by that there is -- right now -- a sunny day.
When I say, "do you like the clothes I'm wearing?" i am not generating text justified by past frequencies. I am talking /about/ the clothes I am wearing, and that is what my words /mean/.
The trick here is that language models are (currently!) demonstrating you /can/ get most of the way to semantic distinctions just by analyzing symbol-level statistics. Whether you can get all the way is an open question.
I agree with you that "movie theaters" don't "sell candy" /because/ of some statistical artifact in large bodies of text. Movie theaters sell candy because people want to eat candy when they watch movies (and are willing to pay for it, etc.).
But this wraps back around: the statistical artifacts happen to exist in large bodies of text because it is true. So, with enough text, and the right kind of analysis, you can tease the semantics back out.
The power in language models is not that they "understand" text "the right way", from first principles, with a symbolic language model. The power is that they don't have to get most of the way there. Perhaps they'll get all the way there! And if they do, what then? Are we so sure that we don't do the same thing?
I’m not sure if I expect modern language models to work at that level of abstraction though? I guess you need a larger generated fragment to assess if the hypothetical sentence was statistical nonsense or part of some larger conceptual sequence
Kinda off-topic, but what haunts me is that this is equally true for people. People who don't understand what they read are always introducing new prejudices, where none existed prior.
> It is trivial for algorithms to introduce novel racism: consider processing text analysing minority causes. These texts contain statistical associations between politically sensitive terms, negative terms, (and so on). However they are not racist, are not born of any racist project, and most humans reading them would be moved to more positively regard racial terms. The meaning text express consists in what they want their readers to do. It is an activity of coordination (writer/reader); and it here it has no racist aspect.
Yes, negative words will associate with black people in such literature. They will also likely associate with white people. That is, emotionally intense language will associate with race in literature related to racial justice issues. That is a perfectly valid inference. What you seem to be implying is that the model will learn the propositional statement "black people are bad", but your example is just about associations, not propositional assertions. Associations are not assignments of quality, they are just that: associations. Such a model would correctly learn such associations and not be in any sense biased, morally or otherwise, because the model is not making decisions or evaluations of people or moral objects.
The notion of bias usually talked about in ML is in the context of either:
1. Making statistical decisions (e.g. granting a loan, or predicting criminal recidivism)
2. Providing a service of some kind (e.g. facial recognition in a camera/video, ad targeting)
Talking about bias in these cases brings the issue into focus, because there is a morally relevant objective function in these cases. And my point is that in these cases, standard untrained ML models are morally neutral. They come to the table with no preconceptions. In a society without racism, they will not learn racism. In a society without sexism, they will not learn sexism. They only reflect what we feed them.
Is it reasonable for me to describe my mirror as biased if I don't like how I look? In theory, I could build another "mirror" that reflects me the way I want. It just wouldn't comport with how I actually look, and we would no longer call that object a mirror.
I want to step back for a moment and say that I think we probably agree on the object-level facts here. I believe you can correct the morally biased ML-output problem at the model level or the data level equally well. I'm mostly objecting to the linguistic utility of locating the moral bias equally in each of them. I think that kind of relativism is just not a very useful way to describe things.
I think for some reason this idea has formed that saying the bias is in X means we have to correct it in X, but I think it's that view that's mistaken. We can and should correct it wherever we feel is most efficient and effective.
"having racist effects" counts as a perfectly valid usage of the word.
This is a cheap sophistry:
1. It's only racist if it was intended to be.
2. You can't read minds.
3. Therefore, you can't say "this is racist."
This isn't a useful usage of the term, except for attempting to deflect people from calling out racist effects.
I'd say something like "race-biased" or "race-sensitive" would be a more proper term.
You can't read minds, but you can read laws. Laws state the intent expressly, and also state the policy expressly. This is why "racist" can be very exactly applied to some laws (like those mandating segregation, different rights, etc, depending on the race). So, to my mind, using the word "racist" to denote intentional action makes enough sense.
"Racist" is a perfectly applicable word for its effects when applied by the humans applying it.
Some unrelated hypothetical about things not involving human agency is irrelevant to the question, and is functionally just another attempted deflection.
Race is explicitly about using visible differences to mark a group of people as a “lower” class. Race has nothing to do with genetics; it’s a sociological invention. There are some correlations between ancestral heritage and disease prevalence at the population level, but because genetic disease susceptibility is generally are not visible to the naked eye, conditions cannot be “racist”.
Skin color was chosen because it made it easier to identify escaped slaves, as all previous attempts to enslave people were difficult when the escaped slaves could blend in to the population. But other things like “Jewishness” or red hair have also been racialized at various points through history.
There’s also the interesting phenomenon how the definition of “white” keeps changing. At first it meant only English immigrants, but was later extended to all Protestant immigrants, and much later to Catholics (Irish and Italian minorities). Its absolutely a made-up distinction, and we just group people with dark skin together because it’s a lazy shortcut.
Depends. It would be wrong to call the virus itself racist, but it would also likewise be wrong to focus on the mechanics of infection rather than the mechanics of transmission, because the latter is the determinig factor in whether or not an outbreak occurs. Epidemics and pandemics are manufactured crises - that is, they are the result of human action. To have one effect one ethnic group more than another can conceivably be because of racist behavior. In this sense, the aspect that is important to people (whether or not one is likely to be infected) can involve racism.
>Would you call alcohol or milk "racist" because Europeans, North Siberian and Alaskan peoples, and East-Asian peoples react differently to them?
Again, it's not wrong to relate racism to these things because the central issue - not necessarily whether certain people can digest certain nutrients, but why nutrients that are only advantageous to certain people are privileged in food policy - can be affected by racial bias.
Reminder that racism is not necessarily based on intent; disparate impact also constitutes a reasonable rationale.
Here is an example: https://hn.algolia.com/?q=democratize
"emulsions and digital camera design, the rendering of non-Caucasian skin toneswas highly deficient and required the development of compensatory practicesand technology improvements to redress its shortcomings. Using the emblem-atic “Shirley” norm reference card as a central metaphor reflecting the changingstate of race relations/aesthetics, this essay analytically traces the colour adjust-ment processes in the industries"
https://sitn.hms.harvard.edu/flash/2020/racial-discriminatio...
"All three algorithms performed the worst on darker-skinned females, with error rates up to 34% higher than for lighter-skinned males"
I just want to understand if that's the rough idea or I'm far from the point. If my thinking is approximately correct, then I have a series of further questions and comments, but I think I must be understanding what shooker is saying.
Lets say you are building an ML model to decide whether to give someone insurance or not. Lets also assume your past behavior had some bias (say against some group). Now ML model trained on this past data will likely learn that bias.
Part of modern ML focus is then to understand what bias exists in data, and how can we train models to use the data but somehow counteract that bias.
This seems like a hard problem. For example, say that you have an ML model that decides whether someone will be a good sports athlete or not purely based on biometrics (blood oxygen level, blood pressure, BMI, reflex time, etc.). If the model starts predicting black people will be better athletes at higher rates than white people, is the ML model biased? Or is the reality that black people have higher-than-average advantageous physical characteristics? How do you tell the difference between bias and reality?
My comment is the naughtiest of wrong-think by HN standards, but the likely reality is that most human programmers will do their genuine best to deliver algorithms that treat all humans equally without bias towards race, gender, and other immutable characteristics and just try and deliver the best objective result (picking good athletes, getting the most money, getting the best employees, or whatever other task is involved), but then will be forced to either do 1 of 2 things when it inevitably yields an unequal outcome or decision that goes against the political correctness orthodoxy.
1) Reprogram their software to fit modern political correctness standards. Personally I think this is close to impossible. As an example: say you're creating some software to determine healthiness by various available data and it objectively determines that heavier people tend to be less healthy. You're boxed into an impossible corner here of either being politically incorrect or just lying to people about their health.
2) Go back to human decision makers for anything controversial because I don't even know how it will be possible to program an algorithm to take into account all of society's made-up, arbitrary, ever-changing rules on "equitable" outcomes. As far as I'm aware, Amazon had to abandon their effort to replace some of their HR efforts with algorithms because it yielded politically incorrect outcomes despite the programmers seemingly trying to just come up with the best possible employees and nothing else.
The ethics in AI folks, for the most part, seem to want models to predict what they would predict, based at least partly on subjective analysis of culture, not entirely based on scientific data.
At least that's what I think I've concluded about algorithmic bias. It's one of the situations where I really want to understand what they're saying before I make too many criticisms and counterarguments./
That's the opposite of what the author is saying, though - or rather, she's saying that data bias exists, but the algorithm itself introduces bias that would be there even if the data itself were somehow totally fair, for some unspecified definition of "fair".
I honestly don't think it can be what you're describing, or the debate is a very different one from what Sara and others in the "algorithmic bias exists and it is distinct from data bias" sense.
https://www.frontiersin.org/articles/10.3389/fpsyg.2013.0050...
Are convolutions "biased" because they are amplifying variance between adjacent pixels? Yes if your definition of biased is statistical, No if your definition of bias is social.
I have $300 for someone who can make a convincing technical argument that the inception architecture [1] is socially biased, without actually training it on a dataset.
Until then its the data or implementations that are biased. Maybe your trained model is biased - yep that's the data. Maybe you're cherry picking your algorithm to give you the best result on your chosen dataset - that's a biased implementation.
More broadly though, the concept that "systems/people will make inferences on new data which align with patterns they see more frequently" is just a reality of intelligence at this point. Humans constantly fail at this.
So yes we should be better and bias is real, to solve it we need to get way more technically accurate on what that bias consists of please.
[1]https://static.googleusercontent.com/media/research.google.c...
In that sense it is a "data solution", but it is not a data problem.
> de-biasing the data
The issue isnt statistical bias. The issue is semantic: occurrence doesnt capture meaning. Negative terms and racial terms can co-occur more frequently in some text (eg., a biography of MLK) without the remedy being to "rebalance them with positive terms".
Dataset engineering is an important field of research. It is also an important part of the modelling process. Neither of these things are included in model research. Researchers who design computer vision models and other novel mathematical models can be held ethically responsible for the societal results of the novel part of their research but if we agree that their field of research is valuable for society then they cannot be held responsible for the misuse of these models by people who skip or fail integral parts of the modelling process.
You cannot ask a researcher to invent a new more performant computer-vision model, invent a way to correct for bias, and design a fair dataset all in one. That's three entirely different careers.
Might it not sometimes be reasonable to ask researchers in one domain to slow their roll, if researchers in a related domain are making slower progress? If I invent 10 new forms of nerve gas every year, while you invent 5 new antidotes to nerve gas every year, where does the problem lay? Solely with you, for not working fast enough? I don't think that's reasonable. Does the problem lay with me, for not inventing nerve gas antidotes? I don't think that's reasonable either, antidotes are not my specialty and I can't be expected to create them. But if I'm the one inventing new systems that become a problem for society because your domain of counter-research isn't keeping up, then I have some substantial share in that blame nonetheless.
The model is the result and the outcome of the whole process. The model is supposed to be a reliable representation of reality that has acceptable accuracy within predetermined operational limits.
If someone tries to generate models that interpolate and/or extrapolate data and the data it uses to seed the model is garbage then the model is garbage, and the person responsible for putting it together is the person responsible for the model failing to do its job.
There is no separation between model and the data used to generate the model. Garbage in, garbage out. If a machine learning model uses garbage data then the model is garbage, and throwing machine learning buzzwords at the problem does not justify why garbage was sent in.
This is the problem. That is NOT what ML models are supposed to be outside of newspaper articles and research grant proposals.
ML models interpolate between co-occurrences; that is all they do. Representations of reality are not interpolations between statistical co-occurances -- that is the furthest thing from what they are.
Reality has a counter-factual (ie., modal) structure, causal structure, generative structure (etc.) and much more.
No, not really. That is the very definition of a model, and the very reason why people bother with then. Stating otherwise requires a gross misunderstanding of the whole subject and problem domain.
Also, it makes absolutely no difference if you know a model fails to output accurate results on specific scenarios. The key factor if you know the domain where the model does indeed provide acceptable results. That's why in some applications gravity is modelled as a constant acceleration of 9.8m/s2 pointing straight down, or materials modelled having a linear relationship between stress and strain. Those who use those models know that they are only valid if specific circumstances are met. This is something known forever in engineering, and made famous in statistical model circles by George Box with his quote of "all models are wrong".
My take is that there is a kind of naive arrogance plaguing ML circles where throwing novel hightech approaches to old and basic modeling applications leads those in the field into believing that they can take a blank slate approach to modeling and ignore lessons learned throughout the centuries because they aren't needed anymore. And this is the end result.
The algorithm outputs a matching between two sets A and B (e.g., bachelors and bachelorettes) where each member of set A has ranked each member of set B in preference order and vice versa. The output is called stable because there's no situation where any pair would prefer to be with each other than their current partners, e.g., there's never a case where Alice prefers Bob to her current partner and Bob prefers Alice to his current partner and are tempted to run away with each other.
But a curious property of this algorithm is that the matching is always best for one group and always worst for the other. Of the possible answers to the problem, this algorithm an answer that is at least as good for set A as any other one, and at least as bad for set B as any other one. You can, of course, flip sets A and B when running the algorithm, and it will them be optimal for set B and pessimal for set A.
This has absolutely nothing to do with ML or data fitting or anything. It's a deterministic, classical algorithm. And yet it is clearly partial, and you must choose when using it whether to be partial to set A or set B, to the men or to the women, to med school students or to their employers, etc. It would be silly to say that the algorithm is impartial and that it's solely the operator's choice to make it impartial - this particular algorithm forces the operator to make some choice.
I think in the end you're agreeing with the author, who is saying that you must make a tradeoff of some sort, and the question is which tradeoff to choose. The author (and I) would describe that as the algorithm being partial, and the operator only being able to make some choice about what to do with that.
It's important to be aware of the asymmetry in the Gale-Shapley algorithm (and i wasn't - thank you), and to not accidentally (or intentionally!) use it in an unfair way. But if someone does, it is they who have introduced the partiality, not the algorithm.
PS It seems there are at least two algorithms for solving the stable marriage problem equitably, one given in this paper, and one it mentions given by Knuth and attributed to Selkow:
Generally, I do not agree with the author in what they call "bias". Sometimes algorithms are too noisy for particular data subsets; quite often they are over-confident in their predictions, thus exacerbating the differences between small and large sub-populations. These are all _technical_ issues that surely need to be taken into account when making decisions based on systems' outputs and when designing new systems, but the general idea of the ethical AI literature seems to be to recast these technical issues as ethical issues and to ask AI people to strive to eliminate those altogether. I think that this is misguided and very unlikely to work.
there are plenty of cases where the 'of course' does not apply.
In computer vision for example models generally have a bias towards scale invariance but struggle with rotational invariance. This is not a problem of 'bad data', but of the kind of features that the architecture is prone to extract and represent while it struggles with others. That's why there is an entire zoo of different ML architectures and systems, because there is no magical uniform, algorithm that performs equally well in every domain. CNN's excel at spatial data, while RNNs perform better on sequential data, and so on.
Of course one can attempt to reframe this as a 'data problem' and argue that just means you need to input 100x more data of X than of Y, but that actually just shows that algorithm performance is not uniform, and the more productive thing would actually be to understand strengths and weaknesses of architecture.
It should also be stressed that in this context "bias" is a kin to interpolating between data points where resolution in the training set is relatively low, thus leads to a simpler model that does not exactly match the test set.
What this implies is that this "bias" does not reflect a preference, let alone an intention to favour one group over another. It just means that a combination of the test set being too sparse or with too few dimensions, the choice of model being too inflexible, and the problem domain having too much uncertainty at that resolution.
Critics may single out the model, but the core of the problem actually lies on the data and the problem domain.
"At one time there were 'Marxists' in our country who asserted that the railways left to us after the October Revolution were bourgeois railways, that it would be unseemly for us Marxists to use them, that they should be torn up and new, 'proletarian' railways built. For this they were nicknamed 'troglodytes'.
It goes without saying that such a primitive-anarchist view of society, of classes, of language has nothing in common with Marxism. But it undoubtedly exists and continues to prevail in the minds of certain of our muddled comrades."
- Stalin, Marxism and the Problem of Linguistics.[1]
You could easily redo this for the 21st century:
"At one time there were 'Social Justice Warriors' in our country who asserted that the data and algorithms left to us after the Critical Race Theory Revolution were systematically racist data and algorithms, that it would be unseemly for us Social Justice Warriors to use those data and algorithms, that those data and algorithms should be destroyed and new, 'anti-racist' data and algorithms be built. For this they were nicknamed the 'cancel mob'.
It goes without saying that such a primitive-woke view of computing, of races, of machine learning has nothing in common with 'Social Justice Warrior Ideology'. But it undoubtedly exists and continues to prevail in the minds of certain of our muddled comrades."
The Soviets almost failed to implement the atomic bomb because they had an ideological problem with relativity:
"According to a story related by Mr. Holloway, Beria had asked Kurchatov shortly before the conference whether it was true that quantum mechanics and relativity theory were idealist and antimaterialist. Kurchatov reportedly replied that if relativity theory and quantum mechanics had to be rejected by Russian science, the atomic bomb would have to be rejected, too. According to another story in the book, Stalin phrased his decision to cancel this way: "Leave them [ the physicists ] in peace. We can always shoot them later." He could afford a charlatan like Lysenko in biology, but physics was another matter. Stalin relied on his physicists for the bomb -- and for Soviet status as a superpower. When his first atomic bomb was tested in August 1949, five months after the aborted conference, those scientists who would have been shot in the event of failure received the highest awards: Hero of Socialist Labor and so on, down the line."[2]
The 21st century version:
"Leave them [the data scientists] in peace. We can always cancel them later."
I love my downvotes. Thank you :).
[1] https://www.marxists.org/reference/archive/stalin/works/1950...
[2] https://archive.nytimes.com/www.nytimes.com/books/98/12/06/s...
Or if I'm being too subtle, this is the ML practitoner's "Guns don't kill people. People kill people."
Which is absolutely right, I might add; but also a stop point and consideration that should be had before you go training something on sketchy data, and unleashing it on an unknowing populace.
They are saying that data biases are a problem but not the only one: other things can amplify biases such as the model's architecture. So when working to remove biases, fixing the data might not be enough.
There would be less issue with bias (for society), if the expectation/sales pitch was different.
As an analogy:
Somebody sells the idea of "The Unbreakable Rope" and it breaks after you hang 10kg on it. A blog post "Moving beyond material" goes in depth on how to process material. This is a good thing for people producing rope. However, for a layman who still sees people assuming "The Unbreakable Rope" is attainable, the content is going to be a little underwhelming.