SlideShare a Scribd company logo
1 of 25
Download to read offline
@theStephLocke @rencontres_R
Practical AI & data science
ethics
The ethical implications of our work can be staggering but how do we
balance commercial needs, ethical requirements, and productivity? Taking
a pragmatic approach through starting with simple checklists evolving to
the use of automation and structured processes, I look at how we can
make our work more robust from an ethical perspective.
Steph Locke
CEO @ Nightingale HQ
Data & AI specialist
Microsoft MVP, 5+ years
Microsoft MCT
T: @theStephLocke
Li: /stephanielocke
steph@nightingalehq.ai
@theStephLocke @rencontres_R
Step 0
Get alignment
It’s important to ensure that the team and stakeholders have a
commitment to an ethical approach and have outlined key areas of
focus.
@theStephLocke @rencontres_R
Responsible < Ethical
Responsible AI
minimises risk of
unintended negative
consequences
Ethical AI avoids
intended negative
consequences
@theStephLocke @rencontres_R
Education
• Communicate about ethics internally
• Run workshops to help understand implications
scu.edu/ethics-in-technology-practice
• Share stories about what data scientists fail to be ethical
@theStephLocke @rencontres_R
5 concepts of fairness
• group unaware - same cutoff points / decision boundary
• group thresholds - different cutoff points to allow different
volumes in
• demographic parity - different cutoff points to end up with
distribution like overall demographics
• equal opportunity - the same true positive rate holds across
groups
• equal accuracy - the same overall accuracy rate holds across
groups
@theStephLocke @rencontres_R
Step 1
Make others think before you
start
Spend time working on the process around designing a data science
/ AI product idea or feature to ensure ethical considerations are
considered up-front
@theStephLocke @rencontres_R
Checklists
• Responsible AI checklist
• Fairness
• Inclusive
• Reliability & safety
• Privacy & security
• Transparency
• Accountability
https://www.microsoft.com/en-gb/ai/responsible-ai
@theStephLocke @rencontres_R
Impact assessment
• Who / what will use the solution?
• What are the desired outcomes if things go right?
• What happens if something goes wrong?
• Are there different potential errors with different impacts/risks?
• Are there secondary groups impacted?
• What KPIs could this solution impact?
• What behaviours are we trying to drive?
@theStephLocke @rencontres_R
Frameworks
• ainowinstitute.org/aiareport2018.pdf
• www.gov.uk/government/publications/data-ethics-
framework/data-ethics-framework
@theStephLocke @rencontres_R
Compliance
• Legal requirements
• Contractual requirements
• Privacy
• Regulators
• Consultation processes
@theStephLocke @rencontres_R
Tools
microsoft/HAXPlaybook: The HAX Playbook is an interactive tool for generating interaction scenarios to test when designing
user-facing AI systems. (github.com)
@theStephLocke @rencontres_R
Step 2
Work robustly
Start implementing workflow practices and automations to ensure
“ethical hygiene” and alignment to identified outcomes & risks
@theStephLocke @rencontres_R
Synthetic data
https://cran.r-project.org/package=synthpop
@theStephLocke @rencontres_R
EDA
https://github.com/ropenscilabs/proxy-bias-
vignette/blob/master/EthicalMachineLearning.ipynb
@theStephLocke @rencontres_R
MLOps
https://ml-ops.org/content/mlops-principles
@theStephLocke @rencontres_R
Testing
• Functions for fairness concepts
• Analysis by groups
• Pen portrait / “Typical” entries
@theStephLocke @rencontres_R
Testing
https://github.com/kozodoi/fairness
@theStephLocke @rencontres_R
Testing
https://pair-code.github.io/what-if-tool/uci.html
@theStephLocke @rencontres_R
Testing
https://fairlearn.org/
@theStephLocke @rencontres_R
Step 3
Maintain vigilance
Ensure continued monitoring, stakeholder engagement, and
ongoing compliance. Reflect learnings back into processes and
internal education.
@theStephLocke @rencontres_R
Monitoring
• Protected characteristics
• Spot checks and counterfactuals
• Data drift
@theStephLocke @rencontres_R
Security
• Adversarial behaviours
• Robustness
• Dependencies
• Retro-engineering
• Lessons from security – Red and Blue Teams?
@theStephLocke @rencontres_R
Engagement
• Continued feedback and engagement from people affected by AI
use
• Mine customer service etc for ways AI may have caused problems
• Include AI in risk registers and other internal compliance
monitoring solutions
• Improve AI literacy
@theStephLocke @rencontres_R
Practical AI & data science
ethics
Step 0: Get alignment
Step 1: Make others think before you start
Step 2: Work robustly
Step 3: Maintain vigilance

More Related Content

What's hot

HWTrek Intro_Expert
HWTrek Intro_ExpertHWTrek Intro_Expert
HWTrek Intro_Expert
Lucas Wang
 

What's hot (20)

DevOps at ING Analytics: combining data engineering with data operations - Gi...
DevOps at ING Analytics: combining data engineering with data operations - Gi...DevOps at ING Analytics: combining data engineering with data operations - Gi...
DevOps at ING Analytics: combining data engineering with data operations - Gi...
 
Next Steps In Your Digital Transformation
Next Steps In Your Digital TransformationNext Steps In Your Digital Transformation
Next Steps In Your Digital Transformation
 
Cloud-native Enterprise Data Science Teams
Cloud-native Enterprise Data Science TeamsCloud-native Enterprise Data Science Teams
Cloud-native Enterprise Data Science Teams
 
RightScale Roadtrip - Accelerate To Cloud
RightScale Roadtrip - Accelerate To CloudRightScale Roadtrip - Accelerate To Cloud
RightScale Roadtrip - Accelerate To Cloud
 
Modern IT Architecture Survey 2016
Modern IT Architecture Survey 2016Modern IT Architecture Survey 2016
Modern IT Architecture Survey 2016
 
Open Source Summit - AI4CI.pdf
Open Source Summit - AI4CI.pdfOpen Source Summit - AI4CI.pdf
Open Source Summit - AI4CI.pdf
 
The 3 Key Barriers Keeping Companies from Deploying Data Products
The 3 Key Barriers Keeping Companies from Deploying Data Products The 3 Key Barriers Keeping Companies from Deploying Data Products
The 3 Key Barriers Keeping Companies from Deploying Data Products
 
Seattle Code Camp 2016- Role of Data Science in HHealthcare
Seattle Code Camp 2016- Role of Data Science in HHealthcareSeattle Code Camp 2016- Role of Data Science in HHealthcare
Seattle Code Camp 2016- Role of Data Science in HHealthcare
 
5 Hottest Trends The DevOps World Wants You To Know!
5 Hottest Trends The DevOps World Wants You To Know!5 Hottest Trends The DevOps World Wants You To Know!
5 Hottest Trends The DevOps World Wants You To Know!
 
Metrics All The Way: Data Driven DevOps (devconf.cz 2022).pdf
Metrics All The Way: Data Driven DevOps (devconf.cz 2022).pdfMetrics All The Way: Data Driven DevOps (devconf.cz 2022).pdf
Metrics All The Way: Data Driven DevOps (devconf.cz 2022).pdf
 
DevOps - The Key to Rapid Productization (Introduction to the 5C's of DevOps)
DevOps - The Key to Rapid Productization (Introduction to the 5C's of DevOps)DevOps - The Key to Rapid Productization (Introduction to the 5C's of DevOps)
DevOps - The Key to Rapid Productization (Introduction to the 5C's of DevOps)
 
Cisco & Open Source
Cisco & Open SourceCisco & Open Source
Cisco & Open Source
 
Scaling Data Science: Engineering a Platform
Scaling Data Science: Engineering a PlatformScaling Data Science: Engineering a Platform
Scaling Data Science: Engineering a Platform
 
HWTrek Intro_Expert
HWTrek Intro_ExpertHWTrek Intro_Expert
HWTrek Intro_Expert
 
Delivering Insights: Building the DataScience Web Application
Delivering Insights: Building the DataScience Web ApplicationDelivering Insights: Building the DataScience Web Application
Delivering Insights: Building the DataScience Web Application
 
KISS: The Key to Igniting Digital Change Among Field Workers #COMIT2019
KISS: The Key to Igniting Digital Change Among Field Workers #COMIT2019KISS: The Key to Igniting Digital Change Among Field Workers #COMIT2019
KISS: The Key to Igniting Digital Change Among Field Workers #COMIT2019
 
Better Software is Better than Worse Software - Michael Coté (Johannesburg 2019)
Better Software is Better than Worse Software - Michael Coté (Johannesburg 2019)Better Software is Better than Worse Software - Michael Coté (Johannesburg 2019)
Better Software is Better than Worse Software - Michael Coté (Johannesburg 2019)
 
Defining Your Breakout IoT Strategy
Defining Your Breakout IoT StrategyDefining Your Breakout IoT Strategy
Defining Your Breakout IoT Strategy
 
If you don't know where you're going it doesn't matter how fast you get there
If you don't know where you're going it doesn't matter how fast you get thereIf you don't know where you're going it doesn't matter how fast you get there
If you don't know where you're going it doesn't matter how fast you get there
 
Case Studies: Harnessing Speed for Competitive Advantage
Case Studies: Harnessing Speed for Competitive AdvantageCase Studies: Harnessing Speed for Competitive Advantage
Case Studies: Harnessing Speed for Competitive Advantage
 

Similar to Practical AI & data science ethics

Metadata Matters: Business Critical Metadata
Metadata Matters: Business Critical MetadataMetadata Matters: Business Critical Metadata
Metadata Matters: Business Critical Metadata
Concept Searching, Inc
 
AI Maturity Levels and the Analytics Translator
AI Maturity Levels and the Analytics TranslatorAI Maturity Levels and the Analytics Translator
AI Maturity Levels and the Analytics Translator
GoDataDriven
 
Challenges of Executing AI
Challenges of Executing AIChallenges of Executing AI
Challenges of Executing AI
Dr. Umesh Rao.Hodeghatta
 

Similar to Practical AI & data science ethics (20)

Neotys PAC - Todd De Capua
Neotys PAC - Todd De CapuaNeotys PAC - Todd De Capua
Neotys PAC - Todd De Capua
 
Discovery, Risk, and Insight in a Metadata-Driven World Webinar
Discovery, Risk, and Insight in a Metadata-Driven World WebinarDiscovery, Risk, and Insight in a Metadata-Driven World Webinar
Discovery, Risk, and Insight in a Metadata-Driven World Webinar
 
Agile data science
Agile data scienceAgile data science
Agile data science
 
Metadata Matters: Business Critical Metadata
Metadata Matters: Business Critical MetadataMetadata Matters: Business Critical Metadata
Metadata Matters: Business Critical Metadata
 
Artificial Intelligence and the Cognitive Revolution – the next frontier?
Artificial Intelligence and the Cognitive Revolution – the next frontier?Artificial Intelligence and the Cognitive Revolution – the next frontier?
Artificial Intelligence and the Cognitive Revolution – the next frontier?
 
Why Use Add ins with SharePoint and SharePoint Online? Webinar
Why Use Add ins with SharePoint and SharePoint Online? WebinarWhy Use Add ins with SharePoint and SharePoint Online? Webinar
Why Use Add ins with SharePoint and SharePoint Online? Webinar
 
Introduction
IntroductionIntroduction
Introduction
 
Hans Eckman: 7 Agile and DevOps Insights I Wish I Knew Earlier
Hans Eckman: 7 Agile and DevOps Insights I Wish I Knew EarlierHans Eckman: 7 Agile and DevOps Insights I Wish I Knew Earlier
Hans Eckman: 7 Agile and DevOps Insights I Wish I Knew Earlier
 
Ethical AI at VDAB, presented by Vincent Buekenhout (Ethical AI Lead, VDAB) a...
Ethical AI at VDAB, presented by Vincent Buekenhout (Ethical AI Lead, VDAB) a...Ethical AI at VDAB, presented by Vincent Buekenhout (Ethical AI Lead, VDAB) a...
Ethical AI at VDAB, presented by Vincent Buekenhout (Ethical AI Lead, VDAB) a...
 
7 Steps to Transform Your Enterprise Architecture Practice
7 Steps to Transform Your Enterprise Architecture Practice7 Steps to Transform Your Enterprise Architecture Practice
7 Steps to Transform Your Enterprise Architecture Practice
 
How AI is revolutionizing the world
How AI is revolutionizing the worldHow AI is revolutionizing the world
How AI is revolutionizing the world
 
How the Analytics Translator can make your organisation more AI driven
How the Analytics Translator can make your organisation more AI drivenHow the Analytics Translator can make your organisation more AI driven
How the Analytics Translator can make your organisation more AI driven
 
AI Maturity Levels and the Analytics Translator
AI Maturity Levels and the Analytics TranslatorAI Maturity Levels and the Analytics Translator
AI Maturity Levels and the Analytics Translator
 
Challenges of Executing AI
Challenges of Executing AIChallenges of Executing AI
Challenges of Executing AI
 
AppSphere 15 - Transforming the Business: The Role of DevOps
AppSphere 15 - Transforming the Business: The Role of DevOpsAppSphere 15 - Transforming the Business: The Role of DevOps
AppSphere 15 - Transforming the Business: The Role of DevOps
 
Big Data LDN 2018: HOW AUTOMATION CAN ACCELERATE THE DELIVERY OF MACHINE LEAR...
Big Data LDN 2018: HOW AUTOMATION CAN ACCELERATE THE DELIVERY OF MACHINE LEAR...Big Data LDN 2018: HOW AUTOMATION CAN ACCELERATE THE DELIVERY OF MACHINE LEAR...
Big Data LDN 2018: HOW AUTOMATION CAN ACCELERATE THE DELIVERY OF MACHINE LEAR...
 
AI Orange Belt - Session 3
AI Orange Belt - Session 3AI Orange Belt - Session 3
AI Orange Belt - Session 3
 
The road to connected architecture
The road to connected architectureThe road to connected architecture
The road to connected architecture
 
Proyek Management E-Book- (3 Constraint)
Proyek Management E-Book- (3 Constraint)Proyek Management E-Book- (3 Constraint)
Proyek Management E-Book- (3 Constraint)
 
Intranets evolve (2)
Intranets evolve (2)Intranets evolve (2)
Intranets evolve (2)
 

More from Stephanie Locke

Wrangling data like a boss
Wrangling data like a bossWrangling data like a boss
Wrangling data like a boss
Stephanie Locke
 
Help There’s Too Many [Something]Ops!
Help There’s Too Many [Something]Ops!Help There’s Too Many [Something]Ops!
Help There’s Too Many [Something]Ops!
Stephanie Locke
 
AI in manufacturing - a technical perspective
AI in manufacturing - a technical perspectiveAI in manufacturing - a technical perspective
AI in manufacturing - a technical perspective
Stephanie Locke
 
AI for marketers
AI for marketersAI for marketers
AI for marketers
Stephanie Locke
 
AI in manufacturing
AI in manufacturingAI in manufacturing
AI in manufacturing
Stephanie Locke
 

More from Stephanie Locke (17)

Let's banish "it works on my machine"
Let's banish "it works on my machine"Let's banish "it works on my machine"
Let's banish "it works on my machine"
 
How to build brilliant managers.pdf
How to build brilliant managers.pdfHow to build brilliant managers.pdf
How to build brilliant managers.pdf
 
Working with data using Azure Functions.pdf
Working with data using Azure Functions.pdfWorking with data using Azure Functions.pdf
Working with data using Azure Functions.pdf
 
Developer Velocity
Developer VelocityDeveloper Velocity
Developer Velocity
 
The Microsoft Well Architected Framework For Data Analytics
The Microsoft Well Architected Framework For Data AnalyticsThe Microsoft Well Architected Framework For Data Analytics
The Microsoft Well Architected Framework For Data Analytics
 
Wrangling data like a boss
Wrangling data like a bossWrangling data like a boss
Wrangling data like a boss
 
The fundamentals of regression
The fundamentals of regressionThe fundamentals of regression
The fundamentals of regression
 
Help There’s Too Many [Something]Ops!
Help There’s Too Many [Something]Ops!Help There’s Too Many [Something]Ops!
Help There’s Too Many [Something]Ops!
 
Reproducible machine learning
Reproducible machine learningReproducible machine learning
Reproducible machine learning
 
AI monitoring in the workplace
AI monitoring in the workplaceAI monitoring in the workplace
AI monitoring in the workplace
 
Working with relational data in Microsoft Azure
Working with relational data in Microsoft AzureWorking with relational data in Microsoft Azure
Working with relational data in Microsoft Azure
 
Win more, win faster with sales automation
Win more, win faster with sales automationWin more, win faster with sales automation
Win more, win faster with sales automation
 
Build or buy AI?
Build or buy AI?Build or buy AI?
Build or buy AI?
 
AI in manufacturing - a technical perspective
AI in manufacturing - a technical perspectiveAI in manufacturing - a technical perspective
AI in manufacturing - a technical perspective
 
The historian and AI
The historian and AIThe historian and AI
The historian and AI
 
AI for marketers
AI for marketersAI for marketers
AI for marketers
 
AI in manufacturing
AI in manufacturingAI in manufacturing
AI in manufacturing
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Practical AI & data science ethics