SlideShare a Scribd company logo
1 of 27
Download to read offline
Augmenting Mental Healthcare
in the Digital Age
Machine Learning as a Therapist Assistant
Niels Bantilan
Machine Learning Engineer
1 in 5 U.S. adults live with mental illness
2 in 5 of those adults received treatment*
*Source: https://www.samhsa.gov/data/sites/default/files/NSDUH-FFR1-2016/NSDUH-FFR1-2016.htm
Access Stigma Therapist Fit
BARRIERS TO CARE
Cost
24
HOW IT WORKS
vs
Traditional Therapy Online Therapy
Client-therapist
Matching
Detection & Monitoring
of Potential Crisis Risk
Mental Health
Diagnosis Tools
MACHINE LEARNING AS A THERAPIST ASSISTANT
Client-therapist
Matching
Detection & Monitoring
of Potential Crisis Risk
Mental Health
Diagnosis Tools
MACHINE LEARNING AS A THERAPIST ASSISTANT
Machine Learning @ Talkspace
9 TIPS FOR BOOTSTRAPPING ML MODELS UNDER
CONDITIONS OF HEALTH DATA SENSITIVITY, LABEL
SCARCITY, AND LABELER SCARCITY.
Talkspace
TIP 1: BE HIPAA-COMPLIANT
Covered Entity Business Associate
Talkspac
e
Business
Associate
Agreement
S3
EC2
ECR
ECS
RDS
Sagemaker
Anonymized
Data
TIP 1: BE HIPAA-COMPLIANT
Encrypt Raw
Messages
Decrypt, Scrub
Messages
Encrypted
Data
EC2 Instance
Sagemaker
JupyterHub
AWS
Me
VPN, SSH, AWS Auth
VPN
User
AWS Auth
SSH
2-Factor
Auth
Productization
TIP 2: WORK WITH DOMAIN EXPERTS EARLY AND OFTEN
Problem
Framing
Data Labeling
Model Training /
Evaluation
Crisis Risk
Screening
TIP 2: WORK WITH DOMAIN EXPERTS EARLY AND OFTEN
Crisis Risk
Assessment
No Risk
Potential Risk Factors
Low Risk
Moderate Risk
High Risk
Crisis Risk
Alerting
TIP 3: GET TO KNOW YOUR DATA AT MULTIPLE LEVELS
Reading
Anonymized
Excerpts
QUALITATIVE
number of occurrences
the
and
happy
anxious
feelings
sad
friends
Token Occurrence
Counts
tSNE dim-1
tSNEdim-2
QUANTITATIVE
Document
Clustering
Class 1
Class 2
TIP 4: EMPLOY HUMAN-CENTERED DESIGN
Room ML Model Crisis Risk Score = 96%
! Crisis Risk Alert
Does the client need
a risk assessment?
Q1.
Q2.
Q3.
Yes
NoRisk AssessmentTreatment Plan
Goals
Objectives
Interventions
No Risk
Low,
Medium,
High
Threshold: > 95%
TIP 5: MAKE YOUR MODELS “INTERPRETABLE”
Accuracy
Interpretability
Linear Regression
Decision Tree
K-nearest neighbors
Random Forest
Support Vector Machines
Neural Nets
Time/Effort to Create
Interpretable Artifacts
Given today’s common
tools and techniques
TIP 5: MAKE YOUR MODELS “INTERPRETABLE”
Accuracy
Given enough raw data in
modeling settings that benefit
from non-linearities and/or
distributed representations
Linear Regression
Decision Tree
K-nearest neighbors
Random Forest
Support Vector Machines
Neural Nets
TIP 6: START WITH SIMPLE MODELS AND FEATURES
...
Weight Feature
** https://github.com/TeamHG-Memex/eli5
TIP 6: START WITH SIMPLE MODELS AND FEATURES
ModelingData Processing Metrics Visualization
* https://github.com/marcotcr/lime
* **
Explanations
TIP 6: START WITH SIMPLE MODELS AND FEATURES
https://arxiv.org/pdf/1602.06979.pdf
TIP 7: FIND PROXY LABELS AND AUGMENTATION DATASETS
SELECT *
FROM anonymized_messages_table
WHERE user_type = ‘therapist’ AND (
message LIKE ‘%1 (800) 233-4357%’
OR message LIKE ‘%1-800-233-4357%’
OR message LIKE ‘%18002334357%’
)
National Crisis Line, Anorexia and Bulimia +1 (800) 233-4357
TIP 7: FIND PROXY LABELS AND AUGMENTATION DATASETS
Crisis Risk
Proxy Label
Proxy Task
ML Model
Flat Vector Input (e.g. BoW)
TIP 7: FIND PROXY LABELS AND AUGMENTATION DATASETS
Crisis Risk
Label
Crisis Risk Task
ML Model
Flat Vector Input (e.g. BoW)
prioritize training
instances for obtaining
ground truth labels
Crisis Risk
Label
Augmented Crisis Risk Task
ML Model
Flat Vector Input (e.g. BoW)
Add augmentation
data to training set
Sequence Model
Subreddit
TIP 8: MAKE MODELS MULTI-TASK/TRANSFER LEARN
Dataset
Talkspace
Data
Reddit Data
CrisisRisk
Diagnosis
Features
Subreddit
Label
Multitask Learning
...
Token Input Sequence
Crisis Risk
Label
Primary
Diagnosis
Sequence
Model
TIP 8: MAKE MODELS MULTI-TASK/TRANSFER LEARN
Sequence
Model
...
Token Input Sequence
Crisis Risk Label
...
Token Input Sequence
Transfer Learning
...
Language Modeling Task
Fine-tune pre-trained
model on desired task
TIP 9: COMMUNICATE CAPABILITIES & LIMITATIONS OF ML
Internal Stakeholders Users (Therapists)
!
Crisis Risk Alert
Your client has mentioned the following
words/phrases indicating crisis risk
factors: “panic attacks”, “really bad”, “ill”,
“attacks”, “meds”.
This is not uncommon in therapy and
does not mean your client is currently
experiencing a crisis. Please assess your
client if your clinical judgment determines
it is warranted.
...
Weight FeatureROC Curve
Algorithms are Embedded in
Human Systems
As a prime concern, algorithms-in-the-loop should serve
to enhance the relationships between people.
THANKS!
(We’re hiring!)
@cosmicbboy

More Related Content

Similar to Augmenting Mental Healthcare with ML

HXR 2016: Data Insights: Mining, Modeling, and Visualizations- Niraj Katwala
HXR 2016: Data Insights: Mining, Modeling, and Visualizations- Niraj KatwalaHXR 2016: Data Insights: Mining, Modeling, and Visualizations- Niraj Katwala
HXR 2016: Data Insights: Mining, Modeling, and Visualizations- Niraj KatwalaHxRefactored
 
Big Data Plays a Vital Role in Healthcare Sector Discussion.pdf
Big Data Plays a Vital Role in Healthcare Sector Discussion.pdfBig Data Plays a Vital Role in Healthcare Sector Discussion.pdf
Big Data Plays a Vital Role in Healthcare Sector Discussion.pdfbkbk37
 
91422, 1134 AM Printhttpscontent.uagc.eduprintMcNe.docx
91422, 1134 AM Printhttpscontent.uagc.eduprintMcNe.docx91422, 1134 AM Printhttpscontent.uagc.eduprintMcNe.docx
91422, 1134 AM Printhttpscontent.uagc.eduprintMcNe.docxAbhinav816839
 
AI/ML Week: Improve Public Health
AI/ML Week: Improve Public HealthAI/ML Week: Improve Public Health
AI/ML Week: Improve Public HealthAmazon Web Services
 
ACS EMERGING & DEEP TECH WEBINAR: THE RISE OF AI AND DATA SCIENCE AND ITS IMP...
ACS EMERGING & DEEP TECH WEBINAR: THE RISE OF AI AND DATA SCIENCE AND ITS IMP...ACS EMERGING & DEEP TECH WEBINAR: THE RISE OF AI AND DATA SCIENCE AND ITS IMP...
ACS EMERGING & DEEP TECH WEBINAR: THE RISE OF AI AND DATA SCIENCE AND ITS IMP...Kelvin Ross
 
Risk Of Heart Disease Prediction Using Machine Learning
Risk Of Heart Disease Prediction Using Machine LearningRisk Of Heart Disease Prediction Using Machine Learning
Risk Of Heart Disease Prediction Using Machine LearningIRJET Journal
 
How to analyze cyber threats
How to analyze cyber threatsHow to analyze cyber threats
How to analyze cyber threatsAkankshaPathak27
 
DATA LOSS PREVENTION OVERVIEW
DATA LOSS PREVENTION OVERVIEWDATA LOSS PREVENTION OVERVIEW
DATA LOSS PREVENTION OVERVIEWSylvain Martinez
 
AI/ML Webinar - Improve Public Health
AI/ML Webinar - Improve Public HealthAI/ML Webinar - Improve Public Health
AI/ML Webinar - Improve Public HealthAmazon Web Services
 
Harry Davis just finished interviewing a candidate to fill another.docx
Harry Davis just finished interviewing a candidate to fill another.docxHarry Davis just finished interviewing a candidate to fill another.docx
Harry Davis just finished interviewing a candidate to fill another.docxshericehewat
 
Cloud Computing: Scalable and Secure Sharing of Personal Health Records Using...
Cloud Computing: Scalable and Secure Sharing of Personal Health Records Using...Cloud Computing: Scalable and Secure Sharing of Personal Health Records Using...
Cloud Computing: Scalable and Secure Sharing of Personal Health Records Using...dbpublications
 
Transforming Insurance Analytics with Big Data and Automated Machine Learning

Transforming Insurance Analytics with Big Data and Automated Machine Learning
Transforming Insurance Analytics with Big Data and Automated Machine Learning

Transforming Insurance Analytics with Big Data and Automated Machine Learning
Cloudera, Inc.
 
Computer applications in Pharmacy BP205T Unit V - Computer as data analysis t...
Computer applications in Pharmacy BP205T Unit V - Computer as data analysis t...Computer applications in Pharmacy BP205T Unit V - Computer as data analysis t...
Computer applications in Pharmacy BP205T Unit V - Computer as data analysis t...premkumar baviskar
 
Data Analytics Basics for ManagersDon’t let a fear o
Data Analytics Basics for ManagersDon’t let a fear oData Analytics Basics for ManagersDon’t let a fear o
Data Analytics Basics for ManagersDon’t let a fear oOllieShoresna
 
Barga, roger. predictive analytics with microsoft azure machine learning
Barga, roger. predictive analytics with microsoft azure machine learningBarga, roger. predictive analytics with microsoft azure machine learning
Barga, roger. predictive analytics with microsoft azure machine learningmaldonadojorge
 
A guide to Sustainable Cyber Security
A guide to Sustainable Cyber SecurityA guide to Sustainable Cyber Security
A guide to Sustainable Cyber SecurityErnest Staats
 

Similar to Augmenting Mental Healthcare with ML (20)

HXR 2016: Data Insights: Mining, Modeling, and Visualizations- Niraj Katwala
HXR 2016: Data Insights: Mining, Modeling, and Visualizations- Niraj KatwalaHXR 2016: Data Insights: Mining, Modeling, and Visualizations- Niraj Katwala
HXR 2016: Data Insights: Mining, Modeling, and Visualizations- Niraj Katwala
 
Big Data Plays a Vital Role in Healthcare Sector Discussion.pdf
Big Data Plays a Vital Role in Healthcare Sector Discussion.pdfBig Data Plays a Vital Role in Healthcare Sector Discussion.pdf
Big Data Plays a Vital Role in Healthcare Sector Discussion.pdf
 
91422, 1134 AM Printhttpscontent.uagc.eduprintMcNe.docx
91422, 1134 AM Printhttpscontent.uagc.eduprintMcNe.docx91422, 1134 AM Printhttpscontent.uagc.eduprintMcNe.docx
91422, 1134 AM Printhttpscontent.uagc.eduprintMcNe.docx
 
AI/ML Week: Improve Public Health
AI/ML Week: Improve Public HealthAI/ML Week: Improve Public Health
AI/ML Week: Improve Public Health
 
ACS EMERGING & DEEP TECH WEBINAR: THE RISE OF AI AND DATA SCIENCE AND ITS IMP...
ACS EMERGING & DEEP TECH WEBINAR: THE RISE OF AI AND DATA SCIENCE AND ITS IMP...ACS EMERGING & DEEP TECH WEBINAR: THE RISE OF AI AND DATA SCIENCE AND ITS IMP...
ACS EMERGING & DEEP TECH WEBINAR: THE RISE OF AI AND DATA SCIENCE AND ITS IMP...
 
Risk Of Heart Disease Prediction Using Machine Learning
Risk Of Heart Disease Prediction Using Machine LearningRisk Of Heart Disease Prediction Using Machine Learning
Risk Of Heart Disease Prediction Using Machine Learning
 
How to analyze cyber threats
How to analyze cyber threatsHow to analyze cyber threats
How to analyze cyber threats
 
DATA LOSS PREVENTION OVERVIEW
DATA LOSS PREVENTION OVERVIEWDATA LOSS PREVENTION OVERVIEW
DATA LOSS PREVENTION OVERVIEW
 
AI/ML Webinar - Improve Public Health
AI/ML Webinar - Improve Public HealthAI/ML Webinar - Improve Public Health
AI/ML Webinar - Improve Public Health
 
Ai applied in healthcare
Ai applied in healthcareAi applied in healthcare
Ai applied in healthcare
 
Harry Davis just finished interviewing a candidate to fill another.docx
Harry Davis just finished interviewing a candidate to fill another.docxHarry Davis just finished interviewing a candidate to fill another.docx
Harry Davis just finished interviewing a candidate to fill another.docx
 
Cloud Computing: Scalable and Secure Sharing of Personal Health Records Using...
Cloud Computing: Scalable and Secure Sharing of Personal Health Records Using...Cloud Computing: Scalable and Secure Sharing of Personal Health Records Using...
Cloud Computing: Scalable and Secure Sharing of Personal Health Records Using...
 
Transforming Insurance Analytics with Big Data and Automated Machine Learning

Transforming Insurance Analytics with Big Data and Automated Machine Learning
Transforming Insurance Analytics with Big Data and Automated Machine Learning

Transforming Insurance Analytics with Big Data and Automated Machine Learning

 
Computer applications in Pharmacy BP205T Unit V - Computer as data analysis t...
Computer applications in Pharmacy BP205T Unit V - Computer as data analysis t...Computer applications in Pharmacy BP205T Unit V - Computer as data analysis t...
Computer applications in Pharmacy BP205T Unit V - Computer as data analysis t...
 
Data Analytics Basics for ManagersDon’t let a fear o
Data Analytics Basics for ManagersDon’t let a fear oData Analytics Basics for ManagersDon’t let a fear o
Data Analytics Basics for ManagersDon’t let a fear o
 
IJET-V3I2P10
IJET-V3I2P10IJET-V3I2P10
IJET-V3I2P10
 
Barga, roger. predictive analytics with microsoft azure machine learning
Barga, roger. predictive analytics with microsoft azure machine learningBarga, roger. predictive analytics with microsoft azure machine learning
Barga, roger. predictive analytics with microsoft azure machine learning
 
The Power of Data
The Power of DataThe Power of Data
The Power of Data
 
Major project.pptx
Major project.pptxMajor project.pptx
Major project.pptx
 
A guide to Sustainable Cyber Security
A guide to Sustainable Cyber SecurityA guide to Sustainable Cyber Security
A guide to Sustainable Cyber Security
 

More from MLconf

Jamila Smith-Loud - Understanding Human Impact: Social and Equity Assessments...
Jamila Smith-Loud - Understanding Human Impact: Social and Equity Assessments...Jamila Smith-Loud - Understanding Human Impact: Social and Equity Assessments...
Jamila Smith-Loud - Understanding Human Impact: Social and Equity Assessments...MLconf
 
Ted Willke - The Brain’s Guide to Dealing with Context in Language Understanding
Ted Willke - The Brain’s Guide to Dealing with Context in Language UnderstandingTed Willke - The Brain’s Guide to Dealing with Context in Language Understanding
Ted Willke - The Brain’s Guide to Dealing with Context in Language UnderstandingMLconf
 
Justin Armstrong - Applying Computer Vision to Reduce Contamination in the Re...
Justin Armstrong - Applying Computer Vision to Reduce Contamination in the Re...Justin Armstrong - Applying Computer Vision to Reduce Contamination in the Re...
Justin Armstrong - Applying Computer Vision to Reduce Contamination in the Re...MLconf
 
Igor Markov - Quantum Computing: a Treasure Hunt, not a Gold Rush
Igor Markov - Quantum Computing: a Treasure Hunt, not a Gold RushIgor Markov - Quantum Computing: a Treasure Hunt, not a Gold Rush
Igor Markov - Quantum Computing: a Treasure Hunt, not a Gold RushMLconf
 
Josh Wills - Data Labeling as Religious Experience
Josh Wills - Data Labeling as Religious ExperienceJosh Wills - Data Labeling as Religious Experience
Josh Wills - Data Labeling as Religious ExperienceMLconf
 
Vinay Prabhu - Project GaitNet: Ushering in the ImageNet moment for human Gai...
Vinay Prabhu - Project GaitNet: Ushering in the ImageNet moment for human Gai...Vinay Prabhu - Project GaitNet: Ushering in the ImageNet moment for human Gai...
Vinay Prabhu - Project GaitNet: Ushering in the ImageNet moment for human Gai...MLconf
 
Jekaterina Novikova - Machine Learning Methods in Detecting Alzheimer’s Disea...
Jekaterina Novikova - Machine Learning Methods in Detecting Alzheimer’s Disea...Jekaterina Novikova - Machine Learning Methods in Detecting Alzheimer’s Disea...
Jekaterina Novikova - Machine Learning Methods in Detecting Alzheimer’s Disea...MLconf
 
Meghana Ravikumar - Optimized Image Classification on the Cheap
Meghana Ravikumar - Optimized Image Classification on the CheapMeghana Ravikumar - Optimized Image Classification on the Cheap
Meghana Ravikumar - Optimized Image Classification on the CheapMLconf
 
Noam Finkelstein - The Importance of Modeling Data Collection
Noam Finkelstein - The Importance of Modeling Data CollectionNoam Finkelstein - The Importance of Modeling Data Collection
Noam Finkelstein - The Importance of Modeling Data CollectionMLconf
 
June Andrews - The Uncanny Valley of ML
June Andrews - The Uncanny Valley of MLJune Andrews - The Uncanny Valley of ML
June Andrews - The Uncanny Valley of MLMLconf
 
Sneha Rajana - Deep Learning Architectures for Semantic Relation Detection Tasks
Sneha Rajana - Deep Learning Architectures for Semantic Relation Detection TasksSneha Rajana - Deep Learning Architectures for Semantic Relation Detection Tasks
Sneha Rajana - Deep Learning Architectures for Semantic Relation Detection TasksMLconf
 
Anoop Deoras - Building an Incrementally Trained, Local Taste Aware, Global D...
Anoop Deoras - Building an Incrementally Trained, Local Taste Aware, Global D...Anoop Deoras - Building an Incrementally Trained, Local Taste Aware, Global D...
Anoop Deoras - Building an Incrementally Trained, Local Taste Aware, Global D...MLconf
 
Vito Ostuni - The Voice: New Challenges in a Zero UI World
Vito Ostuni - The Voice: New Challenges in a Zero UI WorldVito Ostuni - The Voice: New Challenges in a Zero UI World
Vito Ostuni - The Voice: New Challenges in a Zero UI WorldMLconf
 
Anna choromanska - Data-driven Challenges in AI: Scale, Information Selection...
Anna choromanska - Data-driven Challenges in AI: Scale, Information Selection...Anna choromanska - Data-driven Challenges in AI: Scale, Information Selection...
Anna choromanska - Data-driven Challenges in AI: Scale, Information Selection...MLconf
 
Janani Kalyanam - Machine Learning to Detect Illegal Online Sales of Prescrip...
Janani Kalyanam - Machine Learning to Detect Illegal Online Sales of Prescrip...Janani Kalyanam - Machine Learning to Detect Illegal Online Sales of Prescrip...
Janani Kalyanam - Machine Learning to Detect Illegal Online Sales of Prescrip...MLconf
 
Esperanza Lopez Aguilera - Using a Bayesian Neural Network in the Detection o...
Esperanza Lopez Aguilera - Using a Bayesian Neural Network in the Detection o...Esperanza Lopez Aguilera - Using a Bayesian Neural Network in the Detection o...
Esperanza Lopez Aguilera - Using a Bayesian Neural Network in the Detection o...MLconf
 
Neel Sundaresan - Teaching a machine to code
Neel Sundaresan - Teaching a machine to codeNeel Sundaresan - Teaching a machine to code
Neel Sundaresan - Teaching a machine to codeMLconf
 
Rishabh Mehrotra - Recommendations in a Marketplace: Personalizing Explainabl...
Rishabh Mehrotra - Recommendations in a Marketplace: Personalizing Explainabl...Rishabh Mehrotra - Recommendations in a Marketplace: Personalizing Explainabl...
Rishabh Mehrotra - Recommendations in a Marketplace: Personalizing Explainabl...MLconf
 
Soumith Chintala - Increasing the Impact of AI Through Better Software
Soumith Chintala - Increasing the Impact of AI Through Better SoftwareSoumith Chintala - Increasing the Impact of AI Through Better Software
Soumith Chintala - Increasing the Impact of AI Through Better SoftwareMLconf
 
Roy Lowrance - Predicting Bond Prices: Regime Changes
Roy Lowrance - Predicting Bond Prices: Regime ChangesRoy Lowrance - Predicting Bond Prices: Regime Changes
Roy Lowrance - Predicting Bond Prices: Regime ChangesMLconf
 

More from MLconf (20)

Jamila Smith-Loud - Understanding Human Impact: Social and Equity Assessments...
Jamila Smith-Loud - Understanding Human Impact: Social and Equity Assessments...Jamila Smith-Loud - Understanding Human Impact: Social and Equity Assessments...
Jamila Smith-Loud - Understanding Human Impact: Social and Equity Assessments...
 
Ted Willke - The Brain’s Guide to Dealing with Context in Language Understanding
Ted Willke - The Brain’s Guide to Dealing with Context in Language UnderstandingTed Willke - The Brain’s Guide to Dealing with Context in Language Understanding
Ted Willke - The Brain’s Guide to Dealing with Context in Language Understanding
 
Justin Armstrong - Applying Computer Vision to Reduce Contamination in the Re...
Justin Armstrong - Applying Computer Vision to Reduce Contamination in the Re...Justin Armstrong - Applying Computer Vision to Reduce Contamination in the Re...
Justin Armstrong - Applying Computer Vision to Reduce Contamination in the Re...
 
Igor Markov - Quantum Computing: a Treasure Hunt, not a Gold Rush
Igor Markov - Quantum Computing: a Treasure Hunt, not a Gold RushIgor Markov - Quantum Computing: a Treasure Hunt, not a Gold Rush
Igor Markov - Quantum Computing: a Treasure Hunt, not a Gold Rush
 
Josh Wills - Data Labeling as Religious Experience
Josh Wills - Data Labeling as Religious ExperienceJosh Wills - Data Labeling as Religious Experience
Josh Wills - Data Labeling as Religious Experience
 
Vinay Prabhu - Project GaitNet: Ushering in the ImageNet moment for human Gai...
Vinay Prabhu - Project GaitNet: Ushering in the ImageNet moment for human Gai...Vinay Prabhu - Project GaitNet: Ushering in the ImageNet moment for human Gai...
Vinay Prabhu - Project GaitNet: Ushering in the ImageNet moment for human Gai...
 
Jekaterina Novikova - Machine Learning Methods in Detecting Alzheimer’s Disea...
Jekaterina Novikova - Machine Learning Methods in Detecting Alzheimer’s Disea...Jekaterina Novikova - Machine Learning Methods in Detecting Alzheimer’s Disea...
Jekaterina Novikova - Machine Learning Methods in Detecting Alzheimer’s Disea...
 
Meghana Ravikumar - Optimized Image Classification on the Cheap
Meghana Ravikumar - Optimized Image Classification on the CheapMeghana Ravikumar - Optimized Image Classification on the Cheap
Meghana Ravikumar - Optimized Image Classification on the Cheap
 
Noam Finkelstein - The Importance of Modeling Data Collection
Noam Finkelstein - The Importance of Modeling Data CollectionNoam Finkelstein - The Importance of Modeling Data Collection
Noam Finkelstein - The Importance of Modeling Data Collection
 
June Andrews - The Uncanny Valley of ML
June Andrews - The Uncanny Valley of MLJune Andrews - The Uncanny Valley of ML
June Andrews - The Uncanny Valley of ML
 
Sneha Rajana - Deep Learning Architectures for Semantic Relation Detection Tasks
Sneha Rajana - Deep Learning Architectures for Semantic Relation Detection TasksSneha Rajana - Deep Learning Architectures for Semantic Relation Detection Tasks
Sneha Rajana - Deep Learning Architectures for Semantic Relation Detection Tasks
 
Anoop Deoras - Building an Incrementally Trained, Local Taste Aware, Global D...
Anoop Deoras - Building an Incrementally Trained, Local Taste Aware, Global D...Anoop Deoras - Building an Incrementally Trained, Local Taste Aware, Global D...
Anoop Deoras - Building an Incrementally Trained, Local Taste Aware, Global D...
 
Vito Ostuni - The Voice: New Challenges in a Zero UI World
Vito Ostuni - The Voice: New Challenges in a Zero UI WorldVito Ostuni - The Voice: New Challenges in a Zero UI World
Vito Ostuni - The Voice: New Challenges in a Zero UI World
 
Anna choromanska - Data-driven Challenges in AI: Scale, Information Selection...
Anna choromanska - Data-driven Challenges in AI: Scale, Information Selection...Anna choromanska - Data-driven Challenges in AI: Scale, Information Selection...
Anna choromanska - Data-driven Challenges in AI: Scale, Information Selection...
 
Janani Kalyanam - Machine Learning to Detect Illegal Online Sales of Prescrip...
Janani Kalyanam - Machine Learning to Detect Illegal Online Sales of Prescrip...Janani Kalyanam - Machine Learning to Detect Illegal Online Sales of Prescrip...
Janani Kalyanam - Machine Learning to Detect Illegal Online Sales of Prescrip...
 
Esperanza Lopez Aguilera - Using a Bayesian Neural Network in the Detection o...
Esperanza Lopez Aguilera - Using a Bayesian Neural Network in the Detection o...Esperanza Lopez Aguilera - Using a Bayesian Neural Network in the Detection o...
Esperanza Lopez Aguilera - Using a Bayesian Neural Network in the Detection o...
 
Neel Sundaresan - Teaching a machine to code
Neel Sundaresan - Teaching a machine to codeNeel Sundaresan - Teaching a machine to code
Neel Sundaresan - Teaching a machine to code
 
Rishabh Mehrotra - Recommendations in a Marketplace: Personalizing Explainabl...
Rishabh Mehrotra - Recommendations in a Marketplace: Personalizing Explainabl...Rishabh Mehrotra - Recommendations in a Marketplace: Personalizing Explainabl...
Rishabh Mehrotra - Recommendations in a Marketplace: Personalizing Explainabl...
 
Soumith Chintala - Increasing the Impact of AI Through Better Software
Soumith Chintala - Increasing the Impact of AI Through Better SoftwareSoumith Chintala - Increasing the Impact of AI Through Better Software
Soumith Chintala - Increasing the Impact of AI Through Better Software
 
Roy Lowrance - Predicting Bond Prices: Regime Changes
Roy Lowrance - Predicting Bond Prices: Regime ChangesRoy Lowrance - Predicting Bond Prices: Regime Changes
Roy Lowrance - Predicting Bond Prices: Regime Changes
 

Recently uploaded

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 

Recently uploaded (20)

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 

Augmenting Mental Healthcare with ML

  • 1. Augmenting Mental Healthcare in the Digital Age Machine Learning as a Therapist Assistant Niels Bantilan Machine Learning Engineer
  • 2. 1 in 5 U.S. adults live with mental illness 2 in 5 of those adults received treatment* *Source: https://www.samhsa.gov/data/sites/default/files/NSDUH-FFR1-2016/NSDUH-FFR1-2016.htm
  • 3. Access Stigma Therapist Fit BARRIERS TO CARE Cost 24
  • 6. Client-therapist Matching Detection & Monitoring of Potential Crisis Risk Mental Health Diagnosis Tools MACHINE LEARNING AS A THERAPIST ASSISTANT
  • 7. Client-therapist Matching Detection & Monitoring of Potential Crisis Risk Mental Health Diagnosis Tools MACHINE LEARNING AS A THERAPIST ASSISTANT
  • 8. Machine Learning @ Talkspace 9 TIPS FOR BOOTSTRAPPING ML MODELS UNDER CONDITIONS OF HEALTH DATA SENSITIVITY, LABEL SCARCITY, AND LABELER SCARCITY.
  • 9. Talkspace TIP 1: BE HIPAA-COMPLIANT Covered Entity Business Associate Talkspac e Business Associate Agreement S3 EC2 ECR ECS RDS Sagemaker
  • 10. Anonymized Data TIP 1: BE HIPAA-COMPLIANT Encrypt Raw Messages Decrypt, Scrub Messages Encrypted Data EC2 Instance Sagemaker JupyterHub AWS Me VPN, SSH, AWS Auth VPN User AWS Auth SSH 2-Factor Auth
  • 11. Productization TIP 2: WORK WITH DOMAIN EXPERTS EARLY AND OFTEN Problem Framing Data Labeling Model Training / Evaluation
  • 12. Crisis Risk Screening TIP 2: WORK WITH DOMAIN EXPERTS EARLY AND OFTEN Crisis Risk Assessment No Risk Potential Risk Factors Low Risk Moderate Risk High Risk Crisis Risk Alerting
  • 13. TIP 3: GET TO KNOW YOUR DATA AT MULTIPLE LEVELS Reading Anonymized Excerpts QUALITATIVE number of occurrences the and happy anxious feelings sad friends Token Occurrence Counts tSNE dim-1 tSNEdim-2 QUANTITATIVE Document Clustering Class 1 Class 2
  • 14. TIP 4: EMPLOY HUMAN-CENTERED DESIGN Room ML Model Crisis Risk Score = 96% ! Crisis Risk Alert Does the client need a risk assessment? Q1. Q2. Q3. Yes NoRisk AssessmentTreatment Plan Goals Objectives Interventions No Risk Low, Medium, High Threshold: > 95%
  • 15. TIP 5: MAKE YOUR MODELS “INTERPRETABLE” Accuracy Interpretability Linear Regression Decision Tree K-nearest neighbors Random Forest Support Vector Machines Neural Nets
  • 16. Time/Effort to Create Interpretable Artifacts Given today’s common tools and techniques TIP 5: MAKE YOUR MODELS “INTERPRETABLE” Accuracy Given enough raw data in modeling settings that benefit from non-linearities and/or distributed representations Linear Regression Decision Tree K-nearest neighbors Random Forest Support Vector Machines Neural Nets
  • 17. TIP 6: START WITH SIMPLE MODELS AND FEATURES ... Weight Feature
  • 18. ** https://github.com/TeamHG-Memex/eli5 TIP 6: START WITH SIMPLE MODELS AND FEATURES ModelingData Processing Metrics Visualization * https://github.com/marcotcr/lime * ** Explanations
  • 19. TIP 6: START WITH SIMPLE MODELS AND FEATURES https://arxiv.org/pdf/1602.06979.pdf
  • 20. TIP 7: FIND PROXY LABELS AND AUGMENTATION DATASETS SELECT * FROM anonymized_messages_table WHERE user_type = ‘therapist’ AND ( message LIKE ‘%1 (800) 233-4357%’ OR message LIKE ‘%1-800-233-4357%’ OR message LIKE ‘%18002334357%’ ) National Crisis Line, Anorexia and Bulimia +1 (800) 233-4357
  • 21. TIP 7: FIND PROXY LABELS AND AUGMENTATION DATASETS
  • 22. Crisis Risk Proxy Label Proxy Task ML Model Flat Vector Input (e.g. BoW) TIP 7: FIND PROXY LABELS AND AUGMENTATION DATASETS Crisis Risk Label Crisis Risk Task ML Model Flat Vector Input (e.g. BoW) prioritize training instances for obtaining ground truth labels Crisis Risk Label Augmented Crisis Risk Task ML Model Flat Vector Input (e.g. BoW) Add augmentation data to training set
  • 23. Sequence Model Subreddit TIP 8: MAKE MODELS MULTI-TASK/TRANSFER LEARN Dataset Talkspace Data Reddit Data CrisisRisk Diagnosis Features Subreddit Label Multitask Learning ... Token Input Sequence Crisis Risk Label Primary Diagnosis
  • 24. Sequence Model TIP 8: MAKE MODELS MULTI-TASK/TRANSFER LEARN Sequence Model ... Token Input Sequence Crisis Risk Label ... Token Input Sequence Transfer Learning ... Language Modeling Task Fine-tune pre-trained model on desired task
  • 25. TIP 9: COMMUNICATE CAPABILITIES & LIMITATIONS OF ML Internal Stakeholders Users (Therapists) ! Crisis Risk Alert Your client has mentioned the following words/phrases indicating crisis risk factors: “panic attacks”, “really bad”, “ill”, “attacks”, “meds”. This is not uncommon in therapy and does not mean your client is currently experiencing a crisis. Please assess your client if your clinical judgment determines it is warranted. ... Weight FeatureROC Curve
  • 26. Algorithms are Embedded in Human Systems As a prime concern, algorithms-in-the-loop should serve to enhance the relationships between people.