SlideShare a Scribd company logo
1 of 27
Designing Fair Machine
Learning Models
Charmi Chokshi
ML Engineer | GDE for ML
@CharmiChokshi
Sharmistha Chatterjee
Author | Speaker | GDE for ML
Public Sapient | @sharmichat82
Key
Takeaways
-Why Fairness?
-What is Fairness?
-Examples and Demonstration
-Modeling fairness with TensorFlow
Let's do an eye test
:P
What do you see?
Let's do an eye test
:P
What do you see?
● Bananas
● Bananas on shelves
● Bananas with stickers
Let's do an eye test
:P
What do you see?
Let's do an eye test
:P
What do you see?
● Green Bananas
● Unripe Bananas
Let's do an eye test
:P
What do you see?
Let's do an eye test
:P
What do you see?
● Overripe Bananas
● Bananas good for bread
Let's do an eye test
:P
What do you see?
● Yellow Bananas
● Yellow is prototypical Bananas!
What is
Fairness?
What is Fairness?
In machine learning, a given algorithm is said to be fair, or to have
fairness, if
- its results are independent of given variables, especially those
considered sensitive,
- such as the traits of individuals which should not correlate
with the outcome (i.e. gender, ethnicity, sexual orientation,
disability, etc).
Does biases affect ML models?
1.Group Attribution Bias
2. Reporting Bias
3. Automation Bias
4. Selection Bias
5. Implicit Bias
Types of Biases
How bias in AI
systems affect
various domains
1. AI bias in Healthcare
2. AI bias in Hiring
3. AI bias in Finance
4. AI bias in Law
5. AI bias in Education
6. AI bias in Fashion
Bias in various domains
Never trust
speakers, ask
them to show
codes ;)
https://github.com/sharmi1206/fairness-tensorflow-
toxicity-classification
https://github.com/sharmi1206/fairness-india-hiring
Fairness Problem
Fairer Equitable ML Model across Sensitive Topic Groups
● Dataset - Jigsaw Unintended Bias in Toxicity Classification
● Training, Validation and Test Data set - 902437, 451218, 451218
● Identify small proportion of Sensitive Topics using Fairer Models
● Sensitive topics related to gender, sexuality, religion, race, mental
health, physical health and economic condition
TensorFlow Contrained
OptimizationOptimization Techniques
ProxyLagrangianOptimizer with
●Constraints on False Positives
●Constraints on False Positives and
False Negatives
●Non-convex and Non-
Differentiable Constraints
Limitation - No support for multi-
class
TensorFlow Contrained
OptimizationRobust Optimization
Different types of Mental Health
Results with Robust Optimization
Comparative Study
Smaller Sample
on BERT
AI Regulations
The head of Google and
parent company Alphabet has
called for artificial intelligence
(AI) to be regulated
○Fair Marketplace
○Legal Obligation
○Social Responsibility
○Business Requirement
Build
Products and
Technologies
that work for
EVERYONE!
References
● https://www.kaggle.com/c/jigsaw-unintended-bias-in-toxicity-classification/overview/faq
● https://github.com/google-research/tensorflow_constrained_optimization
● https://github.com/sharmi1206/fairness-tensorflow-toxicity-classification
● https://www.youtube.com/watch?v=6CwzDoE8J4M
● https://indiaai.in/article/how-bias-in-ai-systems-affect-various-domains
● https://developers.google.com/machine-learning/crash-course/fairness/video-lecture
● https://arxiv.org/pdf/1809.04198.pdf
Thank You!
Happy Learning
Charmi Chokshi
ML Engineer | GDE for ML
Sharmistha Chatterjee
Author | Speaker | GDE for ML
Questions?
Suggestions?
Comments?
Charmi Chokshi
ML Engineer | GDE for ML
Sharmistha Chatterjee
Author | Speaker | GDE for ML

More Related Content

Similar to Dev fest 2020 norway

Being a Cultural Warrior: 3 Proven Practices for Driving Engagement and Effic...
Being a Cultural Warrior: 3 Proven Practices for Driving Engagement and Effic...Being a Cultural Warrior: 3 Proven Practices for Driving Engagement and Effic...
Being a Cultural Warrior: 3 Proven Practices for Driving Engagement and Effic...
Snag
 
Responsible AI in Industry (Tutorials at AAAI 2021, FAccT 2021, and WWW 2021)
Responsible AI in Industry (Tutorials at AAAI 2021, FAccT 2021, and WWW 2021)Responsible AI in Industry (Tutorials at AAAI 2021, FAccT 2021, and WWW 2021)
Responsible AI in Industry (Tutorials at AAAI 2021, FAccT 2021, and WWW 2021)
Krishnaram Kenthapadi
 
ArtificialIntelligenceandMachineLearningforBusiness.pptx
ArtificialIntelligenceandMachineLearningforBusiness.pptxArtificialIntelligenceandMachineLearningforBusiness.pptx
ArtificialIntelligenceandMachineLearningforBusiness.pptx
PerumalPitchandi
 
School customer service presentation
School customer service presentationSchool customer service presentation
School customer service presentation
steve muzzy
 

Similar to Dev fest 2020 norway (20)

Being a Cultural Warrior: 3 Proven Practices for Driving Engagement and Effic...
Being a Cultural Warrior: 3 Proven Practices for Driving Engagement and Effic...Being a Cultural Warrior: 3 Proven Practices for Driving Engagement and Effic...
Being a Cultural Warrior: 3 Proven Practices for Driving Engagement and Effic...
 
How tech startups can leverage data analytics and visualization
How tech startups can leverage data analytics and visualizationHow tech startups can leverage data analytics and visualization
How tech startups can leverage data analytics and visualization
 
Responsible AI in Industry: Practical Challenges and Lessons Learned
Responsible AI in Industry: Practical Challenges and Lessons LearnedResponsible AI in Industry: Practical Challenges and Lessons Learned
Responsible AI in Industry: Practical Challenges and Lessons Learned
 
The Science of Innovation (Facts, Systems, Best practices)
The Science of Innovation (Facts, Systems, Best practices)The Science of Innovation (Facts, Systems, Best practices)
The Science of Innovation (Facts, Systems, Best practices)
 
Artificial Intelligence and Machine Learning for business
Artificial Intelligence and Machine Learning for businessArtificial Intelligence and Machine Learning for business
Artificial Intelligence and Machine Learning for business
 
Avoiding the Pitfalls of Vanity Metrics by Apple Senior PM
Avoiding the Pitfalls of Vanity Metrics by Apple Senior PMAvoiding the Pitfalls of Vanity Metrics by Apple Senior PM
Avoiding the Pitfalls of Vanity Metrics by Apple Senior PM
 
Personality tests, do they work
Personality tests, do they workPersonality tests, do they work
Personality tests, do they work
 
Behavioral competencies-at-work
Behavioral competencies-at-workBehavioral competencies-at-work
Behavioral competencies-at-work
 
2023-04-11-who-ai-win-fbg.pdf
2023-04-11-who-ai-win-fbg.pdf2023-04-11-who-ai-win-fbg.pdf
2023-04-11-who-ai-win-fbg.pdf
 
Conversion Rate Optimization for Business Growth
Conversion Rate Optimization for Business GrowthConversion Rate Optimization for Business Growth
Conversion Rate Optimization for Business Growth
 
WEAI for GIZ
WEAI for GIZWEAI for GIZ
WEAI for GIZ
 
Confessions of an uber optimiser conversion summit - craig sullivan - v 1.9
Confessions of an uber optimiser   conversion summit - craig sullivan - v 1.9Confessions of an uber optimiser   conversion summit - craig sullivan - v 1.9
Confessions of an uber optimiser conversion summit - craig sullivan - v 1.9
 
Responsible AI in Industry (Tutorials at AAAI 2021, FAccT 2021, and WWW 2021)
Responsible AI in Industry (Tutorials at AAAI 2021, FAccT 2021, and WWW 2021)Responsible AI in Industry (Tutorials at AAAI 2021, FAccT 2021, and WWW 2021)
Responsible AI in Industry (Tutorials at AAAI 2021, FAccT 2021, and WWW 2021)
 
ArtificialIntelligenceandMachineLearningforBusiness.pptx
ArtificialIntelligenceandMachineLearningforBusiness.pptxArtificialIntelligenceandMachineLearningforBusiness.pptx
ArtificialIntelligenceandMachineLearningforBusiness.pptx
 
Remembering marketing principles for work
Remembering marketing principles for workRemembering marketing principles for work
Remembering marketing principles for work
 
Towards Maturity L&D Health Check webinar
Towards Maturity L&D Health Check webinarTowards Maturity L&D Health Check webinar
Towards Maturity L&D Health Check webinar
 
1120 track2 bennett
1120 track2 bennett1120 track2 bennett
1120 track2 bennett
 
From data to business intelligence
From data to business intelligenceFrom data to business intelligence
From data to business intelligence
 
How to do User Research on a shoestring budget
How to do User Research on a shoestring budgetHow to do User Research on a shoestring budget
How to do User Research on a shoestring budget
 
School customer service presentation
School customer service presentationSchool customer service presentation
School customer service presentation
 

Recently uploaded

Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
Tonystark477637
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Recently uploaded (20)

Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 

Dev fest 2020 norway