Computing Bias and Crowdsourcing
AP Computer Science Principles · Unit 5 — Impact of Computing
Where computing bias comes from
Computing innovations can reflect existing human biases because of biases written into the algorithms or biases in the data used by the innovation. A program does not need a line of code that names a group to treat that group unfairly. The most common route is training data: a model that learns from past human decisions learns the patterns in those decisions, including unfair ones, and then applies them faster and at a larger scale.
Bias also enters through who is in the data. A face-recognition system trained mostly on one age group or skin tone will make more errors on people underrepresented in its training set. A dataset built from smartphone reports describes smartphone owners, not the whole population.
Bias can then be amplified by a feedback loop. If a lending model rejects most applicants from one group, the lender never observes whether those applicants would have repaid, so future training data still contains few successful examples from that group. Programmers can reduce bias by testing outcomes separately for each group, collecting more representative data, removing features that act as stand-ins for a protected characteristic, and having diverse teams review the design before release.
Crowdsourcing and citizen science
Crowdsourcing is the practice of obtaining input or information from a large number of people via the Internet. Examples include online reviews, traffic apps where drivers report accidents, crowdfunding, and volunteer translation. Citizen science is scientific research conducted in whole or part by distributed individuals, many of whom may not be scientists, who contribute relevant data: counting birds, classifying galaxy images, reporting air quality readings, or donating idle computer time.
The Internet makes this possible because contribution is cheap and fast: thousands of people can each do a small piece, and the combined work exceeds what any single lab or company could afford. Widespread access to information and collaboration tools also lets people in different places work on the same problem at once.
The weakness is that crowdsourced data reflects who chooses to contribute. Areas with more smartphone owners produce more reports; enthusiastic volunteers over-sample convenient locations; reviews come disproportionately from customers who were very pleased or very angry. Decisions made from raw counts of crowdsourced reports therefore inherit the digital divide. Good projects correct for this by normalizing by population, verifying a sample independently, or actively recruiting contributors from under-represented areas.
Worked example: đọc bảng duyệt vay
Một ngân hàng thử mô hình duyệt vay học từ 10 năm quyết định cũ. Số liệu giả định:
| Nhóm | Hồ sơ | Được duyệt | Trong số được duyệt: không trả nợ |
|---|---|---|---|
| P | 500 | 300 | 18 |
| Q | 500 | 150 | 6 |
Tính tỉ lệ duyệt và tỉ lệ không trả nợ của từng nhóm, rồi cho biết số liệu gợi ý điều gì về mô hình.
Solution
Tỉ lệ duyệt. P: $300/500=60\%$. Q: $150/500=30\%$. Nhóm Q được duyệt bằng một nửa nhóm P.
Tỉ lệ không trả nợ trong số được duyệt. P: $18/300=6\%$. Q: $6/150=4\%$. Người nhóm Q được duyệt lại trả nợ tốt hơn.
Diễn giải. Nếu mô hình đặt ngưỡng công bằng thì người được duyệt ở hai nhóm sẽ có rủi ro xấp xỉ nhau. Ở đây nhóm Q phải "tốt hơn" mới qua được, tức ngưỡng với Q khắt khe hơn — dấu hiệu mô hình đã học thiên lệch từ quyết định cũ. Thêm nữa, 350 người nhóm Q bị từ chối không bao giờ tạo ra dữ liệu trả nợ, nên nếu huấn luyện lại chỉ bằng dữ liệu mới, vòng phản hồi giữ nguyên lệch. Cách kiểm hợp lý: thử nới ngưỡng cho một mẫu nhỏ nhóm Q và đo kết quả thật.