SlideShare a Scribd company logo
2019.07.09
Mitigating Unwanted Biases
with Adversarial Learning
- 인구통계학적 집단에 대한 편견이 훈련 데이터에 존재할 때, 이에 따라 훈련된 모델 또한 편견이 포함된다.
- Protected group를 modeling하려는 adversary와 model을 예측하려는 predictor를 동시에 학습시켜,
편견을 완화시키고자 한다.
- Measurements for Fairness:
> Demographic Parity
> Equality of Odds
> Equality of Opportunity
X
data
Y
predict
Z
Protected
attribute
predictor
Adversary
Adversarial Debiasing
1. Demographic parity
2. Equality of Odds
3. Equality of Opportunity
Adversarial Debiasing
Adversarial Debiasing
> 𝐿𝑃 ො
𝑦, 𝑦 를 최소화하기 위해 W를 update (using stochastic gradient descent)
Word Embedding
> 단어 유사성을 제시하지만 여기에 bias가 포함되어 있다는 문제
Adversarial Debiasing
AI Fairness 360 (AIF360)
AI Fairness 360 (AIF 360)
> 인공지능 기술의 활용 과정에서 등장할 수 있는 편향성을 시정하기 위해 IBM에서 이를 open source 형태로 발표.
https://github.com/IBM/AIF360
- Dataset과 model에서의 “편향성(bias)”을 완화하기 위한 알고리즘과 평가지표에 대한 설명
- Tutorial과 demo notebook 공개
AI Fairness 360 (AIF360)
https://arxiv.org/pdf/1810.01943.pdf
AI Fairness 360 (AIF360)
Algorithm Method
pre-processing
:데이터 자체의 편향성 문제
Re-weighing
(Kamiran&Calders, 2012)
Optimized pre-processing
(Calmon et al.,2017)
Learning fair
representation(LFR)
(Zemel et al.,2013)
Disparate import remover
(Feldman et al.,2015)
In-processing
: 특정 feature의 가중치로 인해
생성된 모델의 편향성 문제
Adversarial Debiasing
(Zhang et al.,2018)
Prejudice remover
(Kamishima et al.,2012)
Post-processing
: Test dataset자체의 편향성 문제
Equalized odds post-
processing (Hardt et al.,2016)
Calibrated eq. odds
postprocessing (Pleiss et al.,2017)
Reject Option classification
(Kamiran et al.,2012)
pre-processing
In-processing
Post-processing
Adversarial Debiasing (in-processing)
: 예측 정확도를 최대화하고 동시에 예측으로부터 protected attribute를 결정할 수 있는 Adversary’s ability를 감소시키는 classifier를 학습한다.
즉, adversary가 이용할 수 있는 집단 간 차별 정보(privileged group & unprivileged group)를 예측에 전달할 수 없기 때문에 공정한 classifier가 된다.
Adult / Census Income Dataset
In-processing _ Adversarial Debiasing
- Income이 >$50K인지를 예측하는 데이터셋
- 해당 모델에 대해 “Equality of Odds”를 강화하고자 한다.
- Protected Attribute: Sex
- Privileged Group: Male / Unprivileged Group: Female
In-processing _ Adversarial Debiasing
- Epoch: 50
- Batch_size: 128
- Plain model: without debias / model: with debias
In-processing _ Adversarial Debiasing
Statistical Parity Difference
= Pr(Unprivileged group) – Pr(privileged group)
Fairness는 -0.1~0.1의 값으로 평가된다.
Equal Opportunity Difference
= true positive rate
value < 0 , privileged group의 이익 / value > 0, unprivileged group의 이익
Fairness는 -0.1~0.1의 값으로 평가된다.
Average Odds Difference
= (false positive rate + true positive rate) / 2
value < 0, privileged group의 이익 / value > 0, unprivileged group의 이익
Fairness는 -0.1~0.1의 값으로 평가된다.
Disparate Impact
= Pr(Unprivileged group) / Pr(privileged group)
value < 1 , privileged group의 이익 / value > 1, unprivileged group의 이익
Fairness는 0.8~1.2의 값으로 평가된다.
Theil Index
= generalized entrop
각각의 data에 대한 inequality을 의미한다.
Perfect fairness = 0 (value 값이 낮을수록 fairness / 높을수록 problematic)
In-processing _ Adversarial Debiasing
Privileged Group: Male / Unprivileged Group: Female
Accuracy: 82%
Accuracy: 70%
In-processing _ Adversarial Debiasing
http://aif360.mybluemix.net/
Pre-processing _ Reweighing
The German credit dataset
> Protected attribute: AGE
> algorithm: Reweighing (pre-processing)
(protected attribute에 따라 편향성을 줄이도록 데이터셋을 변형시킨다.)
Privileged group이 training dataset에서 17%의 positive한 결과를 갖는다.
즉, 이러한 bias한 결과를 완화해야한다.
The German credit dataset
> Protected attribute: AGE
> algorithm: Reweighing (pre-processing)
(protected attribute에 따라 편향성을 줄이도록 데이터셋을 변형시킨다.)
Re-weighing model (pre-processing) 모델을 학습한 결과,
이전의 편향성이 0으로 줄어든 것을 확인할 수 있다.
Re-weighing model: classification이전에 fairness를 확인하기 위해 feature들의 조합(group, label)에 가중치를 부여한다.
Pre-processing _ Reweighing
Post-processing _ calibrate eq odds postprocessing
The Adult / Census Income dataset
> Protected attribute: Sex
> algorithm: Calibrated_eq_odds postprocessing (post-processing)
Logistic
regression
The Adult / Census Income dataset
> Protected attribute: Sex
> algorithm: Calibrated_eq_odds postprocessing (post-processing)
Post-processing
Post-processing _ calibrate eq odds postprocessing
The Adult / Census Income dataset
> Protected attribute: Sex
> algorithm: Calibrated_eq_odds postprocessing (post-processing)
Post-processing _ calibrate eq odds postprocessing
THANK YOU.

More Related Content

What's hot

Luận án tiến sĩ toán học định lý điểm bất động cho một số ánh xạ co suy rộng ...
Luận án tiến sĩ toán học định lý điểm bất động cho một số ánh xạ co suy rộng ...Luận án tiến sĩ toán học định lý điểm bất động cho một số ánh xạ co suy rộng ...
Luận án tiến sĩ toán học định lý điểm bất động cho một số ánh xạ co suy rộng ...
https://www.facebook.com/garmentspace
 
MATMA - Chuong3 l tso
MATMA - Chuong3 l tsoMATMA - Chuong3 l tso
MATMA - Chuong3 l tsoSai Lemovom
 
Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2
Fabian Pedregosa
 
CHƯƠNG 2 GIẢI PHƯƠNG TRÌNH VI PHÂN BẰNG PHƯƠNG PHÁP SỐ
CHƯƠNG 2  GIẢI PHƯƠNG TRÌNH VI PHÂN BẰNG PHƯƠNG PHÁP SỐCHƯƠNG 2  GIẢI PHƯƠNG TRÌNH VI PHÂN BẰNG PHƯƠNG PHÁP SỐ
CHƯƠNG 2 GIẢI PHƯƠNG TRÌNH VI PHÂN BẰNG PHƯƠNG PHÁP SỐ
Đinh Công Thiện Taydo University
 
Text to image generation using Midjourney
Text to image generation using MidjourneyText to image generation using Midjourney
Text to image generation using Midjourney
Dawood Shahzad
 
CÁC BÀI TOÁN VỀ CHUYỂN ĐỘNG CỦA VẬT VÀ HỆ VẬT
CÁC BÀI TOÁN VỀ CHUYỂN ĐỘNG CỦA VẬT VÀ HỆ VẬTCÁC BÀI TOÁN VỀ CHUYỂN ĐỘNG CỦA VẬT VÀ HỆ VẬT
CÁC BÀI TOÁN VỀ CHUYỂN ĐỘNG CỦA VẬT VÀ HỆ VẬT
Harvardedu
 
VAE 처음부터 알아보기
VAE 처음부터 알아보기VAE 처음부터 알아보기
VAE 처음부터 알아보기
민석 김
 
Luận văn: Nghiên cứu Về cực trị hàm lồi, HAY, 9đ
Luận văn: Nghiên cứu Về cực trị hàm lồi, HAY, 9đLuận văn: Nghiên cứu Về cực trị hàm lồi, HAY, 9đ
Luận văn: Nghiên cứu Về cực trị hàm lồi, HAY, 9đ
Dịch vụ viết bài trọn gói ZALO 0917193864
 
Hệ phương trình hữu tỉ
Hệ phương trình hữu tỉHệ phương trình hữu tỉ
Hệ phương trình hữu tỉ
Nhập Vân Long
 
Tutorial on Generalization in Neural Fields, CVPR 2022 Tutorial on Neural Fie...
Tutorial on Generalization in Neural Fields, CVPR 2022 Tutorial on Neural Fie...Tutorial on Generalization in Neural Fields, CVPR 2022 Tutorial on Neural Fie...
Tutorial on Generalization in Neural Fields, CVPR 2022 Tutorial on Neural Fie...
Vincent Sitzmann
 
Chuyên đề tìm giới hạn nâng cao
Chuyên đề tìm giới hạn nâng caoChuyên đề tìm giới hạn nâng cao
Chuyên đề tìm giới hạn nâng cao
Bống Bình Boong
 
Cđ nguyên lí đi rich lê
Cđ nguyên lí đi rich lêCđ nguyên lí đi rich lê
Cđ nguyên lí đi rich lê
Cảnh
 
Giao trinh lap trinh visual basic cho excel
Giao trinh lap trinh visual basic cho excelGiao trinh lap trinh visual basic cho excel
Giao trinh lap trinh visual basic cho excel
Trường Tiền
 
Autoencoders
AutoencodersAutoencoders
Autoencoders
Ashok Govindarajan
 
Tổng Hợp Tài Liệu Công Thức Lượng Giác Bản Đầy Đủ
Tổng Hợp Tài Liệu Công Thức Lượng Giác Bản Đầy ĐủTổng Hợp Tài Liệu Công Thức Lượng Giác Bản Đầy Đủ
Tổng Hợp Tài Liệu Công Thức Lượng Giác Bản Đầy Đủ
Trung Tam Gia Su Tri Viet
 
Quy hoạch thực nghiệm (9)
Quy hoạch thực nghiệm (9)Quy hoạch thực nghiệm (9)
Quy hoạch thực nghiệm (9)Phạm Vấn
 
45099385 bai-tap-do-do-tich-phan (1)
45099385 bai-tap-do-do-tich-phan (1)45099385 bai-tap-do-do-tich-phan (1)
45099385 bai-tap-do-do-tich-phan (1)
Vinh Phan
 
bai tap hinh hoc xa anh-pham binh do
bai tap hinh hoc xa anh-pham binh dobai tap hinh hoc xa anh-pham binh do
bai tap hinh hoc xa anh-pham binh do
Bui Loi
 
Luận văn: Phương pháp xây dựng độ đo và tích phân, HOT, 9đ
Luận văn: Phương pháp xây dựng độ đo và tích phân, HOT, 9đLuận văn: Phương pháp xây dựng độ đo và tích phân, HOT, 9đ
Luận văn: Phương pháp xây dựng độ đo và tích phân, HOT, 9đ
Dịch vụ viết bài trọn gói ZALO: 0909232620
 
Diffusion models beat gans on image synthesis
Diffusion models beat gans on image synthesisDiffusion models beat gans on image synthesis
Diffusion models beat gans on image synthesis
BeerenSahu
 

What's hot (20)

Luận án tiến sĩ toán học định lý điểm bất động cho một số ánh xạ co suy rộng ...
Luận án tiến sĩ toán học định lý điểm bất động cho một số ánh xạ co suy rộng ...Luận án tiến sĩ toán học định lý điểm bất động cho một số ánh xạ co suy rộng ...
Luận án tiến sĩ toán học định lý điểm bất động cho một số ánh xạ co suy rộng ...
 
MATMA - Chuong3 l tso
MATMA - Chuong3 l tsoMATMA - Chuong3 l tso
MATMA - Chuong3 l tso
 
Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2
 
CHƯƠNG 2 GIẢI PHƯƠNG TRÌNH VI PHÂN BẰNG PHƯƠNG PHÁP SỐ
CHƯƠNG 2  GIẢI PHƯƠNG TRÌNH VI PHÂN BẰNG PHƯƠNG PHÁP SỐCHƯƠNG 2  GIẢI PHƯƠNG TRÌNH VI PHÂN BẰNG PHƯƠNG PHÁP SỐ
CHƯƠNG 2 GIẢI PHƯƠNG TRÌNH VI PHÂN BẰNG PHƯƠNG PHÁP SỐ
 
Text to image generation using Midjourney
Text to image generation using MidjourneyText to image generation using Midjourney
Text to image generation using Midjourney
 
CÁC BÀI TOÁN VỀ CHUYỂN ĐỘNG CỦA VẬT VÀ HỆ VẬT
CÁC BÀI TOÁN VỀ CHUYỂN ĐỘNG CỦA VẬT VÀ HỆ VẬTCÁC BÀI TOÁN VỀ CHUYỂN ĐỘNG CỦA VẬT VÀ HỆ VẬT
CÁC BÀI TOÁN VỀ CHUYỂN ĐỘNG CỦA VẬT VÀ HỆ VẬT
 
VAE 처음부터 알아보기
VAE 처음부터 알아보기VAE 처음부터 알아보기
VAE 처음부터 알아보기
 
Luận văn: Nghiên cứu Về cực trị hàm lồi, HAY, 9đ
Luận văn: Nghiên cứu Về cực trị hàm lồi, HAY, 9đLuận văn: Nghiên cứu Về cực trị hàm lồi, HAY, 9đ
Luận văn: Nghiên cứu Về cực trị hàm lồi, HAY, 9đ
 
Hệ phương trình hữu tỉ
Hệ phương trình hữu tỉHệ phương trình hữu tỉ
Hệ phương trình hữu tỉ
 
Tutorial on Generalization in Neural Fields, CVPR 2022 Tutorial on Neural Fie...
Tutorial on Generalization in Neural Fields, CVPR 2022 Tutorial on Neural Fie...Tutorial on Generalization in Neural Fields, CVPR 2022 Tutorial on Neural Fie...
Tutorial on Generalization in Neural Fields, CVPR 2022 Tutorial on Neural Fie...
 
Chuyên đề tìm giới hạn nâng cao
Chuyên đề tìm giới hạn nâng caoChuyên đề tìm giới hạn nâng cao
Chuyên đề tìm giới hạn nâng cao
 
Cđ nguyên lí đi rich lê
Cđ nguyên lí đi rich lêCđ nguyên lí đi rich lê
Cđ nguyên lí đi rich lê
 
Giao trinh lap trinh visual basic cho excel
Giao trinh lap trinh visual basic cho excelGiao trinh lap trinh visual basic cho excel
Giao trinh lap trinh visual basic cho excel
 
Autoencoders
AutoencodersAutoencoders
Autoencoders
 
Tổng Hợp Tài Liệu Công Thức Lượng Giác Bản Đầy Đủ
Tổng Hợp Tài Liệu Công Thức Lượng Giác Bản Đầy ĐủTổng Hợp Tài Liệu Công Thức Lượng Giác Bản Đầy Đủ
Tổng Hợp Tài Liệu Công Thức Lượng Giác Bản Đầy Đủ
 
Quy hoạch thực nghiệm (9)
Quy hoạch thực nghiệm (9)Quy hoạch thực nghiệm (9)
Quy hoạch thực nghiệm (9)
 
45099385 bai-tap-do-do-tich-phan (1)
45099385 bai-tap-do-do-tich-phan (1)45099385 bai-tap-do-do-tich-phan (1)
45099385 bai-tap-do-do-tich-phan (1)
 
bai tap hinh hoc xa anh-pham binh do
bai tap hinh hoc xa anh-pham binh dobai tap hinh hoc xa anh-pham binh do
bai tap hinh hoc xa anh-pham binh do
 
Luận văn: Phương pháp xây dựng độ đo và tích phân, HOT, 9đ
Luận văn: Phương pháp xây dựng độ đo và tích phân, HOT, 9đLuận văn: Phương pháp xây dựng độ đo và tích phân, HOT, 9đ
Luận văn: Phương pháp xây dựng độ đo và tích phân, HOT, 9đ
 
Diffusion models beat gans on image synthesis
Diffusion models beat gans on image synthesisDiffusion models beat gans on image synthesis
Diffusion models beat gans on image synthesis
 

More from Danbi Cho

Crf based named entity recognition using a korean lexical semantic network
Crf based named entity recognition using a korean lexical semantic networkCrf based named entity recognition using a korean lexical semantic network
Crf based named entity recognition using a korean lexical semantic network
Danbi Cho
 
Gpt models
Gpt modelsGpt models
Gpt models
Danbi Cho
 
Attention boosted deep networks for video classification
Attention boosted deep networks for video classificationAttention boosted deep networks for video classification
Attention boosted deep networks for video classification
Danbi Cho
 
A survey on deep learning based approaches for action and gesture recognition...
A survey on deep learning based approaches for action and gesture recognition...A survey on deep learning based approaches for action and gesture recognition...
A survey on deep learning based approaches for action and gesture recognition...
Danbi Cho
 
ELECTRA_Pretraining Text Encoders as Discriminators rather than Generators
ELECTRA_Pretraining Text Encoders as Discriminators rather than GeneratorsELECTRA_Pretraining Text Encoders as Discriminators rather than Generators
ELECTRA_Pretraining Text Encoders as Discriminators rather than Generators
Danbi Cho
 
A survey on automatic detection of hate speech in text
A survey on automatic detection of hate speech in textA survey on automatic detection of hate speech in text
A survey on automatic detection of hate speech in text
Danbi Cho
 
Zero wall detecting zero-day web attacks through encoder-decoder recurrent ne...
Zero wall detecting zero-day web attacks through encoder-decoder recurrent ne...Zero wall detecting zero-day web attacks through encoder-decoder recurrent ne...
Zero wall detecting zero-day web attacks through encoder-decoder recurrent ne...
Danbi Cho
 
Decision tree and ensemble
Decision tree and ensembleDecision tree and ensemble
Decision tree and ensemble
Danbi Cho
 
Can recurrent neural networks warp time
Can recurrent neural networks warp timeCan recurrent neural networks warp time
Can recurrent neural networks warp time
Danbi Cho
 
Man is to computer programmer as woman is to homemaker debiasing word embeddings
Man is to computer programmer as woman is to homemaker debiasing word embeddingsMan is to computer programmer as woman is to homemaker debiasing word embeddings
Man is to computer programmer as woman is to homemaker debiasing word embeddings
Danbi Cho
 
Situation recognition visual semantic role labeling for image understanding
Situation recognition visual semantic role labeling for image understandingSituation recognition visual semantic role labeling for image understanding
Situation recognition visual semantic role labeling for image understanding
Danbi Cho
 

More from Danbi Cho (11)

Crf based named entity recognition using a korean lexical semantic network
Crf based named entity recognition using a korean lexical semantic networkCrf based named entity recognition using a korean lexical semantic network
Crf based named entity recognition using a korean lexical semantic network
 
Gpt models
Gpt modelsGpt models
Gpt models
 
Attention boosted deep networks for video classification
Attention boosted deep networks for video classificationAttention boosted deep networks for video classification
Attention boosted deep networks for video classification
 
A survey on deep learning based approaches for action and gesture recognition...
A survey on deep learning based approaches for action and gesture recognition...A survey on deep learning based approaches for action and gesture recognition...
A survey on deep learning based approaches for action and gesture recognition...
 
ELECTRA_Pretraining Text Encoders as Discriminators rather than Generators
ELECTRA_Pretraining Text Encoders as Discriminators rather than GeneratorsELECTRA_Pretraining Text Encoders as Discriminators rather than Generators
ELECTRA_Pretraining Text Encoders as Discriminators rather than Generators
 
A survey on automatic detection of hate speech in text
A survey on automatic detection of hate speech in textA survey on automatic detection of hate speech in text
A survey on automatic detection of hate speech in text
 
Zero wall detecting zero-day web attacks through encoder-decoder recurrent ne...
Zero wall detecting zero-day web attacks through encoder-decoder recurrent ne...Zero wall detecting zero-day web attacks through encoder-decoder recurrent ne...
Zero wall detecting zero-day web attacks through encoder-decoder recurrent ne...
 
Decision tree and ensemble
Decision tree and ensembleDecision tree and ensemble
Decision tree and ensemble
 
Can recurrent neural networks warp time
Can recurrent neural networks warp timeCan recurrent neural networks warp time
Can recurrent neural networks warp time
 
Man is to computer programmer as woman is to homemaker debiasing word embeddings
Man is to computer programmer as woman is to homemaker debiasing word embeddingsMan is to computer programmer as woman is to homemaker debiasing word embeddings
Man is to computer programmer as woman is to homemaker debiasing word embeddings
 
Situation recognition visual semantic role labeling for image understanding
Situation recognition visual semantic role labeling for image understandingSituation recognition visual semantic role labeling for image understanding
Situation recognition visual semantic role labeling for image understanding
 

Recently uploaded

Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
ayushiqss
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
Sharepoint Designs
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Hivelance Technology
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
XfilesPro
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 

Recently uploaded (20)

Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 

Mitigating unwanted biases with adversarial learning

  • 2. - 인구통계학적 집단에 대한 편견이 훈련 데이터에 존재할 때, 이에 따라 훈련된 모델 또한 편견이 포함된다. - Protected group를 modeling하려는 adversary와 model을 예측하려는 predictor를 동시에 학습시켜, 편견을 완화시키고자 한다. - Measurements for Fairness: > Demographic Parity > Equality of Odds > Equality of Opportunity X data Y predict Z Protected attribute predictor Adversary Adversarial Debiasing
  • 3. 1. Demographic parity 2. Equality of Odds 3. Equality of Opportunity Adversarial Debiasing
  • 4. Adversarial Debiasing > 𝐿𝑃 ො 𝑦, 𝑦 를 최소화하기 위해 W를 update (using stochastic gradient descent) Word Embedding > 단어 유사성을 제시하지만 여기에 bias가 포함되어 있다는 문제
  • 6. AI Fairness 360 (AIF360) AI Fairness 360 (AIF 360) > 인공지능 기술의 활용 과정에서 등장할 수 있는 편향성을 시정하기 위해 IBM에서 이를 open source 형태로 발표. https://github.com/IBM/AIF360 - Dataset과 model에서의 “편향성(bias)”을 완화하기 위한 알고리즘과 평가지표에 대한 설명 - Tutorial과 demo notebook 공개
  • 7. AI Fairness 360 (AIF360) https://arxiv.org/pdf/1810.01943.pdf
  • 8. AI Fairness 360 (AIF360) Algorithm Method pre-processing :데이터 자체의 편향성 문제 Re-weighing (Kamiran&Calders, 2012) Optimized pre-processing (Calmon et al.,2017) Learning fair representation(LFR) (Zemel et al.,2013) Disparate import remover (Feldman et al.,2015) In-processing : 특정 feature의 가중치로 인해 생성된 모델의 편향성 문제 Adversarial Debiasing (Zhang et al.,2018) Prejudice remover (Kamishima et al.,2012) Post-processing : Test dataset자체의 편향성 문제 Equalized odds post- processing (Hardt et al.,2016) Calibrated eq. odds postprocessing (Pleiss et al.,2017) Reject Option classification (Kamiran et al.,2012) pre-processing In-processing Post-processing
  • 9. Adversarial Debiasing (in-processing) : 예측 정확도를 최대화하고 동시에 예측으로부터 protected attribute를 결정할 수 있는 Adversary’s ability를 감소시키는 classifier를 학습한다. 즉, adversary가 이용할 수 있는 집단 간 차별 정보(privileged group & unprivileged group)를 예측에 전달할 수 없기 때문에 공정한 classifier가 된다. Adult / Census Income Dataset In-processing _ Adversarial Debiasing
  • 10. - Income이 >$50K인지를 예측하는 데이터셋 - 해당 모델에 대해 “Equality of Odds”를 강화하고자 한다. - Protected Attribute: Sex - Privileged Group: Male / Unprivileged Group: Female In-processing _ Adversarial Debiasing
  • 11. - Epoch: 50 - Batch_size: 128 - Plain model: without debias / model: with debias In-processing _ Adversarial Debiasing
  • 12. Statistical Parity Difference = Pr(Unprivileged group) – Pr(privileged group) Fairness는 -0.1~0.1의 값으로 평가된다. Equal Opportunity Difference = true positive rate value < 0 , privileged group의 이익 / value > 0, unprivileged group의 이익 Fairness는 -0.1~0.1의 값으로 평가된다. Average Odds Difference = (false positive rate + true positive rate) / 2 value < 0, privileged group의 이익 / value > 0, unprivileged group의 이익 Fairness는 -0.1~0.1의 값으로 평가된다. Disparate Impact = Pr(Unprivileged group) / Pr(privileged group) value < 1 , privileged group의 이익 / value > 1, unprivileged group의 이익 Fairness는 0.8~1.2의 값으로 평가된다. Theil Index = generalized entrop 각각의 data에 대한 inequality을 의미한다. Perfect fairness = 0 (value 값이 낮을수록 fairness / 높을수록 problematic) In-processing _ Adversarial Debiasing
  • 13. Privileged Group: Male / Unprivileged Group: Female Accuracy: 82% Accuracy: 70% In-processing _ Adversarial Debiasing http://aif360.mybluemix.net/
  • 14. Pre-processing _ Reweighing The German credit dataset > Protected attribute: AGE > algorithm: Reweighing (pre-processing) (protected attribute에 따라 편향성을 줄이도록 데이터셋을 변형시킨다.) Privileged group이 training dataset에서 17%의 positive한 결과를 갖는다. 즉, 이러한 bias한 결과를 완화해야한다.
  • 15. The German credit dataset > Protected attribute: AGE > algorithm: Reweighing (pre-processing) (protected attribute에 따라 편향성을 줄이도록 데이터셋을 변형시킨다.) Re-weighing model (pre-processing) 모델을 학습한 결과, 이전의 편향성이 0으로 줄어든 것을 확인할 수 있다. Re-weighing model: classification이전에 fairness를 확인하기 위해 feature들의 조합(group, label)에 가중치를 부여한다. Pre-processing _ Reweighing
  • 16. Post-processing _ calibrate eq odds postprocessing The Adult / Census Income dataset > Protected attribute: Sex > algorithm: Calibrated_eq_odds postprocessing (post-processing) Logistic regression
  • 17. The Adult / Census Income dataset > Protected attribute: Sex > algorithm: Calibrated_eq_odds postprocessing (post-processing) Post-processing Post-processing _ calibrate eq odds postprocessing
  • 18. The Adult / Census Income dataset > Protected attribute: Sex > algorithm: Calibrated_eq_odds postprocessing (post-processing) Post-processing _ calibrate eq odds postprocessing